diff options
author | Saran Tunyasuvunakool <stunya@google.com> | 2023-02-07 08:35:38 -0800 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2023-02-07 08:36:23 -0800 |
commit | f8fa267ec230b8577507b3798ac234999b72f348 (patch) | |
tree | c754e8052783b6a09661eb4eafbd03d70383400e /absl/crc | |
parent | 92fc445f7c0d8158c5f26abab9049fcfbcd0ccff (diff) |
Don't assume that AVX implies PCLMULQDQ when using LLVM on Windows.
PiperOrigin-RevId: 507790741
Change-Id: I347357f9a2d698510f29b7d1b065ef73f9289292
Diffstat (limited to 'absl/crc')
-rw-r--r-- | absl/crc/internal/crc32_x86_arm_combined_simd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/crc/internal/crc32_x86_arm_combined_simd.h b/absl/crc/internal/crc32_x86_arm_combined_simd.h index fb643986..39e53dd0 100644 --- a/absl/crc/internal/crc32_x86_arm_combined_simd.h +++ b/absl/crc/internal/crc32_x86_arm_combined_simd.h @@ -33,7 +33,7 @@ #include <x86intrin.h> #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. #include <intrin.h> |