[LLVMbugs] [Bug 4031] New: no LLVM intrinsic for __builtin_ia32_ptestz128 SSE4. 1 instruction

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Apr 22 08:01:58 PDT 2009


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

           Summary: no LLVM intrinsic for __builtin_ia32_ptestz128 SSE4.1
                    instruction
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: edwintorok at gmail.com
                CC: llvmbugs at cs.uiuc.edu


This causes _mm_testz_si128 to be unlowerable:
/home/edwin/llvm-bootstrap/install/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.2.1/include/smmintrin.h:258:
error: unsupported targetbuiltin ‘__builtin_ia32_ptestz128’ used

I see that llc has +sse41, so I assume that LLVM wants to support sse4.1, so I
looked at LLVM LangRef, but didn't find a corresponding intrinsic to lower it
to.


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