about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/x86_64/configure1
-rw-r--r--sysdeps/x86_64/configure.ac1
3 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 3089ce236b..72db3d801f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/sysdeps/x86_64/configure b/sysdeps/x86_64/configure
index 1493523e1c..552f535ac6 100644
--- a/sysdeps/x86_64/configure
+++ b/sysdeps/x86_64/configure
@@ -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
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