diff options
Diffstat (limited to 'absl/base')
-rw-r--r-- | absl/base/prefetch.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/absl/base/prefetch.h b/absl/base/prefetch.h index a0b1efe6..de7a180d 100644 --- a/absl/base/prefetch.h +++ b/absl/base/prefetch.h @@ -34,7 +34,6 @@ (defined(_M_X64) || defined(_M_IX86)) #include <intrin.h> #pragma intrinsic(_mm_prefetch) -#pragma intrinsic(_m_prefetchw) #endif namespace absl { @@ -176,10 +175,6 @@ inline void PrefetchToLocalCacheNta(const void* addr) { inline void PrefetchToLocalCacheForWrite(const void* addr) { #if defined(_MM_HINT_ET0) _mm_prefetch(reinterpret_cast<const char*>(addr), _MM_HINT_ET0); -#elif defined(_MSC_VER) && _MSC_VER >= 1900 && \ - (defined(_M_X64) || defined(_M_IX86)) - // MSVC 2015 and up on x86/x64 supports prefetchw (feature listed as 3DNOW) - _m_prefetchw(const_cast<void*>(addr)); #elif !defined(_MSC_VER) && defined(__x86_64__) // _MM_HINT_ET0 is not universally supported. As we commented further // up, PREFETCHW is recognized as a no-op on older Intel processors |