summaryrefslogtreecommitdiff
path: root/libitm/acinclude.m4
diff options
context:
space:
mode:
Diffstat (limited to 'libitm/acinclude.m4')
-rw-r--r--libitm/acinclude.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/libitm/acinclude.m4 b/libitm/acinclude.m4
index 58fbf424c60..9ff1393db97 100644
--- a/libitm/acinclude.m4
+++ b/libitm/acinclude.m4
@@ -98,7 +98,7 @@ AC_DEFUN([LIBITM_CHECK_SIZE_T_MANGLING], [
dnl Check if as supports AVX instructions.
AC_DEFUN([LIBITM_CHECK_AS_AVX], [
case "${target_cpu}" in
-i[3456]86 | x86_64)
+i[[34567]]86 | x86_64)
AC_CACHE_CHECK([if the assembler supports AVX], libitm_cv_as_avx, [
AC_TRY_COMPILE([], [asm("vzeroupper");],
[libitm_cv_as_avx=yes], [libitm_cv_as_avx=no])