[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
http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=219
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!):
http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20040202/011066.html
While I was at it, I also added this patch:
http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20040202/011074.html
which causes the X86 code generator to generate the 'fchs' instruction to negate
FP numbers efficiently.
-Chris
------- 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