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

           Summary: _MM_HINT_T0,1,2 defined incorrectly (xmmintrin.h)
           Product: clang
           Version: 2.7
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Headers
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


_mm_prefetch(0,_MM_HINT_T0) compiles to prefetcht2.  Since _mm_prefetch() is
implemented in terms of __builtin_prefetch, the hints should be defined the
same way as GCC:

_MM_HINT_T0  3
_MM_HINT_T1  2
_MM_HINT_T2  1
_MM_HINT_NTA 0

This is a 2-line fix in the xmmintrin.h header.

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