[LLVMbugs] [Bug 219] NEW: [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:01:56 PST 2004


http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=219

           Summary: [x86] X86 backend code generates -0.0 as +0.0
           Product: libraries
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: X86 Backend
        AssignedTo: gaeke+bugs at uiuc.edu
        ReportedBy: sabre at nondot.org


Testcase here:
test/Programs/SingleSource/UnitTests/2004-02-02-NegativeZero.c
http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20040202/011067.html

The problem is that the X86 backend emits the fldz instruction to produce a -0.0
value, but fldz pushes +0.0 on the stack!

-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