This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Update of minimal required version of Binutils to 2.25
- From: Andrew Senkevich <andrew dot n dot senkevich at gmail dot com>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: Joseph Myers <joseph at codesourcery dot com>, libc-alpha <libc-alpha at sourceware dot org>
- Date: Wed, 10 Jun 2015 14:58:44 +0300
- Subject: Re: [PATCH] Update of minimal required version of Binutils to 2.25
- Authentication-results: sourceware.org; auth=none
- References: <CAMXFM3umo+WyJgWJ8ozzzoNN9L+u9oFj7jxib4wL1Qxv40EOgg at mail dot gmail dot com> <alpine dot DEB dot 2 dot 10 dot 1506092109210 dot 16480 at digraph dot polyomino dot org dot uk> <CAMXFM3vMzGUuVisF4BwuUiN1DHzNNRZpDmbcu9KBe1cNB_bkyg at mail dot gmail dot com> <alpine dot DEB dot 2 dot 10 dot 1506101007490 dot 1487 at digraph dot polyomino dot org dot uk> <CAMXFM3s3v8NFUM_OeZjXGoY3dTXXan_78ZxuJWrebgDJ6x4ByA at mail dot gmail dot com> <mvm381zg73h dot fsf at hawking dot suse dot de>
2015-06-10 14:01 GMT+03:00 Andreas Schwab <schwab@suse.de>:
> 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.
diff --git a/sysdeps/x86_64/configure b/sysdeps/x86_64/configure
index 1493523..552f535 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 1c2b35f..e7208c9 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
Ok for commit?
--
WBR,
Andrew