[LLVMbugs] [Bug 8011] New: _MM_HINT_T0, 1, 2 defined incorrectly (xmmintrin.h)
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Aug 27 11:54:03 PDT 2010
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: unassignedclangbugs at nondot.org
ReportedBy: jed at 59a2.org
CC: llvmbugs at cs.uiuc.edu
_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.
More information about the llvm-bugs
mailing list