about summary refs log tree commit diff
path: root/sysdeps/x86_64/configure.ac
diff options
context:
space:
mode:
authorAndrew Senkevich <andrew.senkevich@intel.com>2015-06-11 13:50:07 +0300
committerAndrew Senkevich <andrew.senkevich@intel.com>2015-06-11 13:50:07 +0300
commit0724d898bb1c15872b1b59c01a9e9d9d74bb4f56 (patch)
tree52543c1f75ef31f3955ad52f6cd83c24731e129c /sysdeps/x86_64/configure.ac
parent1477b3830740b272e36187e85a7207a09833012b (diff)
downloadglibc-0724d898bb1c15872b1b59c01a9e9d9d74bb4f56.tar.gz
glibc-0724d898bb1c15872b1b59c01a9e9d9d74bb4f56.tar.xz
glibc-0724d898bb1c15872b1b59c01a9e9d9d74bb4f56.zip
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.
Diffstat (limited to 'sysdeps/x86_64/configure.ac')
-rw-r--r--sysdeps/x86_64/configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/x86_64/configure.ac b/sysdeps/x86_64/configure.ac
index 1c2b35fe92..e7208c9b30 100644
--- a/sysdeps/x86_64/configure.ac
+++ b/sysdeps/x86_64/configure.ac
@@ -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