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

2016-09-08 Thread lhmouse
送: 主题:Re: [Mingw-w64-public] sinl/cosl/tanl accuracy problem On 07.09.2016 17:21, lhmouse wrote: > (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.) I don't have time to write a patch but I c

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

2016-09-08 Thread Thomas Bickel
On 07.09.2016 17:21, lhmouse wrote: (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.) I don't have time to write a patch but I can donate some code that AFAIK does what you need for the sin functions. >gcc -m32

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

2016-09-08 Thread lhmouse
- 发件人:NightStrike 发送日期:2016-09-08 15:06 收件人:mingw-w64-public@lists.sourceforge.net 抄送: 主题:Re: [Mingw-w64-public] sinl/cosl/tanl accuracy problem What does gcc's __builtin_sinl

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

2016-09-08 Thread NightStrike
es, I am all ears > > -- > Best regards, > lh_mouse > 2016-09-08 > > - > 发件人:Riot > 发送日期:2016-09-08 04:00 > 收件人:mingw-w64-public > 抄送: > 主题:Re: [Mingw-w64-public] sinl/cosl/tanl accuracy problem > > Som

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

2016-09-07 Thread lhmouse
- 发件人:Riot 发送日期:2016-09-08 04:00 收件人:mingw-w64-public 抄送: 主题:Re: [Mingw-w64-public] sinl/cosl/tanl accuracy problem Some of us (game developers especially) greatly prefer a minor inaccuracy to a potentially major slowdown; I would personally opposed this change, as you&#x

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