More strict check of AVX512 support in assembler.

Binutils 2.24 doesn't support some AVX512 instructions with ZMM
registers, so we need add more strict check.

    * configure.ac: Added more strict check.
    * configure: Regenerated.
This commit is contained in:
Andrew Senkevich 2015-06-11 13:50:07 +03:00
parent 1477b38307
commit 0724d898bb
3 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
* configure.ac: More strict check for AVX512 assembler support.
* configure: Regenerated.
2015-06-11 Florian Weimer <fweimer@redhat.com>
* nptl/pthread_key_create.c (__pthread_key_create): Fix typo in

View File

@ -102,6 +102,7 @@ if ${libc_cv_asm_avx512+:} false; then :
else
cat > conftest.s <<\EOF
vmovdqu64 %zmm0, (%rsp)
vandpd (%rax), %zmm6, %zmm1
EOF
if { ac_try='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5

View File

@ -27,6 +27,7 @@ dnl Check if asm supports AVX512.
AC_CACHE_CHECK(for AVX512 support in assembler, libc_cv_asm_avx512, [dnl
cat > conftest.s <<\EOF
vmovdqu64 %zmm0, (%rsp)
vandpd (%rax), %zmm6, %zmm1
EOF
if AC_TRY_COMMAND(${CC-cc} -c $ASFLAGS conftest.s 1>&AS_MESSAGE_LOG_FD); then
libc_cv_asm_avx512=yes