Skip to content

Commit

Permalink
Don't assume that AVX implies PCLMULQDQ when using LLVM on Windows.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 507790741
Change-Id: I347357f9a2d698510f29b7d1b065ef73f9289292
  • Loading branch information
saran-t authored and copybara-github committed Feb 7, 2023
1 parent 92fc445 commit f8fa267
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion absl/crc/internal/crc32_x86_arm_combined_simd.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit f8fa267

Please sign in to comment.