Hello!
2011-11-16 Uros Bizjak <[email protected]>
PR bootstrap/51098
* acinclude.m4 (LIBITM_CHECK_AS_AVX): Fix target selector.
* configure: Regenerate.
Tested on x86_64-pc-linux-gnu, committed to mainline SVN.
Uros.
Index: acinclude.m4
===================================================================
--- acinclude.m4 (revision 181402)
+++ acinclude.m4 (working copy)
@@ -98,7 +98,7 @@
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])
Index: configure
===================================================================
--- configure (revision 181402)
+++ configure (working copy)
@@ -17118,7 +17118,7 @@
fi
case "${target_cpu}" in
-i345686 | x86_64)
+i[34567]86 | x86_64)
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the assembler supports
AVX" >&5
$as_echo_n "checking if the assembler supports AVX... " >&6; }
if test "${libitm_cv_as_avx+set}" = set; then :