Skip to content

Commit

Permalink
try to fix macos failed
Browse files Browse the repository at this point in the history
  • Loading branch information
xia-mc committed Nov 13, 2024
1 parent cad9a95 commit 45cf538
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyfastutil/src/utils/simd/SIMD.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ bool osSupportsAVX() {
#if defined(__GNUC__) && (__GNUC__ >= 8)
// GCC 8+ has __builtin_ia32_xgetbv()
unsigned long long xcrFeatureMask = __builtin_ia32_xgetbv(0);
#elif defined(__arm__)
#elif defined(__arm__) || defined(__arm64__)
return false;
#else
__asm__ __volatile__(
Expand Down

0 comments on commit 45cf538

Please sign in to comment.