Message ID | CAMXFM3s3v8NFUM_OeZjXGoY3dTXXan_78ZxuJWrebgDJ6x4ByA@mail.gmail.com |
---|---|
State | New |
Headers | show |
Andrew Senkevich <andrew.n.senkevich@gmail.com> writes: > diff --git a/sysdeps/x86_64/configure.ac b/sysdeps/x86_64/configure.ac > index 1c2b35f..dcf6cb5 100644 > --- a/sysdeps/x86_64/configure.ac > +++ b/sysdeps/x86_64/configure.ac > @@ -26,7 +26,7 @@ LIBC_CONFIG_VAR([config-cflags-avx], [$libc_cv_cc_avx]) > 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 Please keep them both. Andreas.
diff --git a/sysdeps/x86_64/configure b/sysdeps/x86_64/configure index 1493523..e109a7a 100644 --- a/sysdeps/x86_64/configure +++ b/sysdeps/x86_64/configure @@ -101,7 +101,7 @@ if ${libc_cv_asm_avx512+:} false; then : $as_echo_n "(cached) " >&6 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 1c2b35f..dcf6cb5 100644 --- a/sysdeps/x86_64/configure.ac +++ b/sysdeps/x86_64/configure.ac @@ -26,7 +26,7 @@ LIBC_CONFIG_VAR([config-cflags-avx], [$libc_cv_cc_avx]) 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