re PR bootstrap/51098 (bootstrap failed on avx i686, svn revision 181259 to 181267)

PR bootstrap/51098
	* acinclude.m4 (LIBITM_CHECK_AS_AVX): Fix target selector.
	* configure: Regenerate.

From-SVN: r181408
This commit is contained in:
Uros Bizjak 2011-11-16 15:51:13 +01:00 committed by Uros Bizjak
parent 75abb33d21
commit 807133470c
3 changed files with 8 additions and 2 deletions

View 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.

View 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])

2
libitm/configure vendored
View 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 :