diff options
author | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-11-16 14:51:13 +0000 |
---|---|---|
committer | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-11-16 14:51:13 +0000 |
commit | 785d9613ab4ce8b0de8e518eab4b08e114158e38 (patch) | |
tree | 1ededce8fb76ae83be5d610ad2778951cde915ae /libitm | |
parent | 4f81a0eebc3f4127ac88e9b6b9e8076861fe6923 (diff) | |
download | gcc-785d9613ab4ce8b0de8e518eab4b08e114158e38.tar.gz |
PR bootstrap/51098
* 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
Diffstat (limited to 'libitm')
-rw-r--r-- | libitm/ChangeLog | 6 | ||||
-rw-r--r-- | libitm/acinclude.m4 | 2 | ||||
-rw-r--r-- | libitm/configure | 2 |
3 files changed, 8 insertions, 2 deletions
diff --git a/libitm/ChangeLog b/libitm/ChangeLog index b01b24de97d..3a0ffe7b0ec 100644 --- a/libitm/ChangeLog +++ b/libitm/ChangeLog @@ -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. 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]) diff --git a/libitm/configure b/libitm/configure index c0317ccfc4d..5fafca3c899 100644 --- a/libitm/configure +++ b/libitm/configure @@ -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 : |