OSDN Git Service

PR bootstrap/51098
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 16 Nov 2011 14:51:13 +0000 (14:51 +0000)
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 16 Nov 2011 14:51:13 +0000 (14:51 +0000)
* acinclude.m4 (LIBITM_CHECK_AS_AVX): Fix target selector.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181408 138bc75d-0d04-0410-961f-82ee72b054a4

libitm/ChangeLog
libitm/acinclude.m4
libitm/configure

index b01b24d..3a0ffe7 100644 (file)
@@ -1,3 +1,9 @@
+2011-11-16  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR bootstrap/51098
+       * acinclude.m4 (LIBITM_CHECK_AS_AVX): Fix target selector.
+       * configure: Regenerate.
+
 2011-11-14  H.J. Lu  <hongjiu.lu@intel.com>
 
        * testsuite/lib/libitm.exp: Check ia32 instead of ilp32.
index 58fbf42..9ff1393 100644 (file)
@@ -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])
index c0317cc..5fafca3 100644 (file)
@@ -17118,7 +17118,7 @@ $as_echo "#define HAVE_64BIT_SYNC_BUILTINS 1" >>confdefs.h
   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 :