[LLVMbugs] [Bug 7273] New: error in sse code with _mm_set1_ps

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon May 31 11:41:37 PDT 2010


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

           Summary: error in sse code with _mm_set1_ps
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: scoopr at iki.fi
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=4956)
 --> (http://llvm.org/bugs/attachment.cgi?id=4956)
testcase

Attached testcase fails in codegen. 

For reference, this is reduced from Bullet Physics
src/BulletDynamics/ConstraintSolver/btSequentialImpulseConstraintSolver.cpp 

Actually, just  
__m128 v; __mm_set1_ps(v);
Triggers the codegen failure, I don't know if that should even go as far as
codegen, I see _mm_set1_ps defined as taking a float argument.

But the test-case relies on implicit cast operator to float, and I'm guessing
it is choosing the wrong cast.

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