Re: [Mingw-w64-public] sinl/cosl/tanl accuracy problem

2016-09-07 Thread lhmouse
If performance is the problem there are a number of solutions such as inline assembly, static lookup tables, etc. `fsinl()` is apparently not one of them. But yes, I am all ears -- Best regards, lh_mouse 2016-09-08

Re: [Mingw-w64-public] [PATCH 1/4] winstorecompat: Add a GetStartupInfo stub

2016-09-07 Thread Hugo Beauzée-Luyssen
On 09/07/2016 10:09 PM, David Wohlferd wrote: > I'm confused. Is GetStartupInfo even a winstore function? Nope > Is this to deal with the fact that __tmainCRTStartup uses it? Exactly. In the end, the function won't be used since __tmainCRTStartup won't be used for a windows store app, but we

Re: [Mingw-w64-public] [PATCH 1/4] winstorecompat: Add a GetStartupInfo stub

2016-09-07 Thread David Wohlferd
I'm confused. Is GetStartupInfo even a winstore function? Is this to deal with the fact that __tmainCRTStartup uses it? dw On 9/7/2016 1:31 AM, Hugo Beauzée-Luyssen wrote: > On 09/07/2016 10:25 AM, Jacek Caban wrote: >> Hi Hugo, >> >> On 06.09.2016 16:11, Hugo Beauzée-Luyssen wrote: >>>

Re: [Mingw-w64-public] sinl/cosl/tanl accuracy problem

2016-09-07 Thread Riot
Some of us (game developers especially) greatly prefer a minor inaccuracy to a potentially major slowdown; I would personally opposed this change, as you're noticeably increasing the cost of something that's used heavily in tightly looped code. Perhaps an appropriately named #ifdef switch would

[Mingw-w64-public] sinl/cosl/tanl accuracy problem

2016-09-07 Thread lhmouse
(I don't write AT assembly so I am unable to make a patch. Nevertheless I hope someone who writes AT assembly could fix it.) The x87 `sinl` instruction has been suffering from an accuracy problem since decades ago, which is described in this article:

[Mingw-w64-public] CRT math implementations on ARM

2016-09-07 Thread Martin Storsjö
Hi, In my testing with mingw-w64 on ARM, I've run into a number of issues with the implementation of the math routines. Some of these issues are: The whole family of log functions is problematic (even after my fix for the number of iterations in 41de4baaccba), e.g. log2() only returns values

Re: [Mingw-w64-public] [PATCH 1/4] winstorecompat: Add a GetStartupInfo stub

2016-09-07 Thread Hugo Beauzée-Luyssen
On 09/07/2016 10:25 AM, Jacek Caban wrote: > Hi Hugo, > > On 06.09.2016 16:11, Hugo Beauzée-Luyssen wrote: >> +#define GetStartupInfo __GetStartupInfo >> +#include >> +#undef GetStartupInfo >> + >> +VOID WINAPI GetStartupInfo( LPSTARTUPINFO lpStartupInfo ) >> +{ >> +(void)lpStartupInfo; >> +}

Re: [Mingw-w64-public] [PATCH] Add a windowsapp.lib

2016-09-07 Thread Hugo Beauzée-Luyssen
On 09/07/2016 02:15 AM, Martell Malone wrote: > Hey, > > Are you sure this is correct? > It seems to be for libarm32 but the xbox1 is x64. > > Best, > Martell > > On Tue, Sep 6, 2016 at 8:27 AM, Hugo Beauzée-Luyssen > wrote: > >> Hi, >> >> When building apps for Xbox1 (at least),