From b0eedfd7ba65879ad023fc9ec6a8c66adeb9fa53 Mon Sep 17 00:00:00 2001 From: Antonin Portelli Date: Fri, 17 Jul 2015 11:15:57 +0900 Subject: [PATCH] fix of AX_GCC_X86_AVX_XGETBV macro --- m4/ax_gcc_x86_avx_xgetbv.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m4/ax_gcc_x86_avx_xgetbv.m4 b/m4/ax_gcc_x86_avx_xgetbv.m4 index 2da9a6ab..c8c1c504 100644 --- a/m4/ax_gcc_x86_avx_xgetbv.m4 +++ b/m4/ax_gcc_x86_avx_xgetbv.m4 @@ -65,7 +65,7 @@ AC_CACHE_CHECK(for x86-AVX xgetbv $1 output, ax_cv_gcc_x86_avx_xgetbv_$1, FILE *f; /* Opcodes for xgetbv */ __asm__(".byte 0x0f, 0x01, 0xd0" - : "=a" (eax), "=d" (edx), + : "=a" (eax), "=d" (edx) : "c" (op)); f = fopen("conftest_xgetbv", "w"); if (!f) return 1; fprintf(f, "%x:%x\n", eax, edx);