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 s

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: >>> +#defi

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 be

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

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

[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 i

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 1/4] winstorecompat: Add a GetStartupInfo stub

2016-09-07 Thread Jacek Caban
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; > +} Callers of this function expect passed STARTUPINFO to

Re: [Mingw-w64-public] Pre-built toolchains and packages gone from the Downloads page

2016-09-07 Thread Adrien Nader
On Tue, Sep 06, 2016, Norbert Pfeiler wrote: > Also: http://mingw-w64.org/doku.php/versions Done, thanks. (a few days ago already but I was slow to answer here) > On Mon, Sep 5, 2016 at 2:03 PM Norbert Pfeiler < > norbert.pfeiler+mingw-...@gmail.com> wrote: > > > I, too, think alphabetical order