Commit f8fa267e by Saran Tunyasuvunakool Committed by Copybara-Service

Don't assume that AVX implies PCLMULQDQ when using LLVM on Windows.

PiperOrigin-RevId: 507790741
Change-Id: I347357f9a2d698510f29b7d1b065ef73f9289292
parent 92fc445f
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
#include <x86intrin.h> #include <x86intrin.h>
#define ABSL_CRC_INTERNAL_HAVE_X86_SIMD #define ABSL_CRC_INTERNAL_HAVE_X86_SIMD
#elif defined(_MSC_VER) && defined(__AVX__) #elif defined(_MSC_VER) && !defined(__clang__) && defined(__AVX__)
// MSVC AVX (/arch:AVX) implies SSE 4.2 and PCLMULQDQ. // MSVC AVX (/arch:AVX) implies SSE 4.2 and PCLMULQDQ.
#include <intrin.h> #include <intrin.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment