mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-26 06:50:07 +00:00
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:
parent
1477b38307
commit
0724d898bb
@ -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
|
||||
|
1
sysdeps/x86_64/configure
vendored
1
sysdeps/x86_64/configure
vendored
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user