summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
Diffstat (limited to 'numpy')
-rw-r--r--numpy/core/src/umath/cpuid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/src/umath/cpuid.c b/numpy/core/src/umath/cpuid.c
index 9d4ba13d8..72c6493e8 100644
--- a/numpy/core/src/umath/cpuid.c
+++ b/numpy/core/src/umath/cpuid.c
@@ -51,9 +51,9 @@ int os_avx512_support(void)
static NPY_INLINE
int cpu_supports_fma(void)
{
+#ifdef __x86_64__
unsigned int feature = 0x01;
unsigned int a, b, c, d;
-#ifdef __x86_64__
__asm__ volatile (
"cpuid" "\n\t"
: "=a" (a), "=b" (b), "=c" (c), "=d" (d)