This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
FP negation optimization
- From: Chris Lattner <sabre at nondot dot org>
- To: gcc at gcc dot gnu dot org
- Date: Sun, 1 Feb 2004 02:50:31 -0600 (CST)
- Subject: FP negation optimization
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/