http://llvm.org/bugs/show_bug.cgi?id=6050

           Summary: floating-point operations have side effects
           Product: new-bugs
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


Floating-point instructions, such as add, sub, mul, and div, as well as math
library functions in -fno-math-errno mode, are considered to have no side
effects in LLVM.  This is incorrect; they may set floating-point exception
flags, and they may trap if the processor is configured to trap on
floating-point exceptions.

As a consequence of this, these side effects may be reordered or eliminated by
the optimizer and codegen.


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to