[LLVMbugs] [Bug 23158] New: sNAN is not handled correct on legacy X87.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Apr 7 22:44:33 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=23158

            Bug ID: 23158
           Summary: sNAN is not handled correct on legacy X87.
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: chunyang.cdai2 at gmail.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

When handling the float or double signaling NaN (sNAN) value with legacy X87 on
x86. If it loads signal NaN to the x87 FP, the sNAN will be changed into into
quiet NANs (qNAN). And Sometimes the value will be handled with normal regiter
because of optimzation. This will leads to difference result.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150408/93aeb8f0/attachment.html>


More information about the llvm-bugs mailing list