Skip to content

Commit 57f92b7

Browse files
committed
Put back the macro in #if 0 for Doxygen
1 parent 371d448 commit 57f92b7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

clang/lib/Headers/xmmintrin.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2197,6 +2197,7 @@ _mm_storer_ps(float *__p, __m128 __a)
21972197
#define _MM_HINT_T2 1
21982198
#define _MM_HINT_NTA 0
21992199

2200+
#if 0
22002201
/// Loads one cache line of data from the specified address to a location
22012202
/// closer to the processor.
22022203
///
@@ -2225,6 +2226,9 @@ _mm_storer_ps(float *__p, __m128 __a)
22252226
/// _mm_prefetch is implemented as a "library builtin" directly in Clang,
22262227
/// similar to how it is done in MSVC. Clang will warn if the user doesn't
22272228
/// include xmmintrin.h or immintrin.h.
2229+
#define _mm_prefetch(a, sel) (__builtin_prefetch((const void *)(a), \
2230+
((sel) >> 2) & 1, (sel) & 0x3))
2231+
#endif
22282232

22292233
/// Stores a 64-bit integer in the specified aligned memory location. To
22302234
/// minimize caching, the data is flagged as non-temporal (unlikely to be

0 commit comments

Comments
 (0)