FP negation optimization

Chris Lattner sabre@nondot.org
Sun Feb 1 08:30:00 GMT 2004


Is '-0.0 - X' always guaranteed to be the same as '-X' with IEEE math?
If so, GCC should know this.  :)  Right now it does get it right with
-ffast-math, but not by default.

-Chris

-- 
http://llvm.cs.uiuc.edu/
http://www.nondot.org/~sabre/Projects/



More information about the Gcc mailing list