From 0f78154c046a8f25fed6266fe4dbf4c903b6c4ce Mon Sep 17 00:00:00 2001 From: Raghuveer Devulapalli Date: Thu, 23 May 2019 11:31:51 -0700 Subject: BUG: eliminate unsed variables warning in cpuid --- numpy/core/src/umath/cpuid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy') 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) -- cgit v1.2.1