This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project. See the Cygwin home page for more information.
Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: (patch) newlib rint fix


Chris Faylor <cgf@cygnus.com> writes:
> 
> Ok.  I wasn't necessarily advocating the use of -ffloat-store, I was
> just relaying the one response to the "volatile" fix that you mentioned.

I understand. I just wanted to point out the drawbacks of float-store.
I've had to add tons of "weird" tweaks to my own numerical code to avoid 
these problems[1]. It's useful to note that the same problems occur with
gcc/egcs on other x86 OS's as well, even if in different contexts. 

> It's entirely likely that we might (soon) have an assembly fix for this,
> similar to Jacob Navia's.  Hopefully, the newlib maintainer will have a
> strong opinion on how this should be fixed and will fix it soon once and
> for all.

Great. Thanks for the heads up.

Regards,
Mumit

[1] These hacks aren't necessary using a few non-free compilers that I 
use, where the rounding modes are dealt with internally somehow. There 
are still problems however, notably when using 128bit doubles and such.


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com