[LLVMbugs] [Bug 219] [x86] X86 backend code generates -0.0 as +0.0

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Feb 2 11:35:15 PST 2004


sabre at nondot.org changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

------- Additional Comments From sabre at nondot.org  2004-02-02 13:35 -------
This patch fixes the bug (do not trust == to compare FP values!):

While I was at it, I also added this patch:

which causes the X86 code generator to generate the 'fchs' instruction to negate
FP numbers efficiently.


------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

More information about the llvm-bugs mailing list