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

           Summary: Do not automatically use SSE for math when SSE is
                    available
           Product: dragonegg
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: New Bugs
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


GCC only uses SSE for floating point math if TARGET_SSE_MATH (there is also a
mysterious TARGET_MIX_SSE_I387), even if SSE is otherwise available.  Add
support
for this.  This means some changes to the X86 target.  I think what is needed
is
for these tests for whether to use the FP stack to get more complicated:

def FPStackf32   : Predicate<"!Subtarget->hasXMM()">;
def FPStackf64   : Predicate<"!Subtarget->hasXMMInt()">;

Noticed when building wine on an x86-64 machine with -m32: GCC uses the
floating
point stack for math, while dragonegg uses SSE.

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