diff --git a/src/bitutils.c b/src/bitutils.c index 655f34ab..9ef8f71c 100644 --- a/src/bitutils.c +++ b/src/bitutils.c @@ -26,7 +26,7 @@ #endif /* Disable for LLVM due to crash with bitcode generation */ -#if defined(USE_TARGET_CLONES) && defined(__x86_64__) && !defined(__POPCNT__) && !defined(__llvm__) +#if defined(USE_TARGET_CLONES) && defined(__x86_64__) && !defined(__llvm__) #define BIT_TARGET_CLONES __attribute__((target_clones("default", "popcnt"))) #else #define BIT_TARGET_CLONES diff --git a/src/vecutils.c b/src/vecutils.c index 618ed024..2f72aa27 100644 --- a/src/vecutils.c +++ b/src/vecutils.c @@ -5,7 +5,7 @@ #include "halfvec.h" /* for USE_TARGET_CLONES */ #include "vecutils.h" -#if defined(USE_TARGET_CLONES) && defined(__x86_64__) && !defined(__FMA__) +#if defined(USE_TARGET_CLONES) && defined(__x86_64__) #if (defined(__GNUC__) && __GNUC__ >= 12) || (defined(__clang_major__) && __clang_major__ >= 18) #define VECTOR_TARGET_CLONES __attribute__((target_clones("default", "arch=x86-64-v3", "arch=x86-64-v4"))) #else