File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments