[LLVMbugs] [Bug 10471] New: FLT_EVAL_METHOD sometimes wrong for Intel FPUs

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Jul 24 17:37:24 PDT 2011


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

           Summary: FLT_EVAL_METHOD sometimes wrong for Intel FPUs
           Product: new-bugs
           Version: 2.8
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: tydeman at tybor.com
                CC: llvmbugs at cs.uiuc.edu


FLT_EVAL_METHOD needs to depend upon which FPU code is being generated for.
If the sse2 FPU is being used for float, then FLT_EVAL_METHOD should be 0.
If the x87 FPU is being use for float, then FLT_EVAL_METHOD should be 2.
I forced the use of x87 on a Pentium 4 with -mno-see
Is there some macro symbol defined by the compiler that the user's program
can check to see which FPU is being used?

-- 
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.



More information about the llvm-bugs mailing list