From patchwork Wed Jun 10 11:58:44 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Senkevich X-Patchwork-Id: 7097 Received: (qmail 12082 invoked by alias); 10 Jun 2015 11:59:21 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 11838 invoked by uid 89); 10 Jun 2015 11:59:20 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-la0-f45.google.com X-Received: by 10.152.6.105 with SMTP id z9mr3377505laz.98.1433937555447; Wed, 10 Jun 2015 04:59:15 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: From: Andrew Senkevich Date: Wed, 10 Jun 2015 14:58:44 +0300 Message-ID: Subject: Re: [PATCH] Update of minimal required version of Binutils to 2.25 To: Andreas Schwab Cc: Joseph Myers , libc-alpha 2015-06-10 14:01 GMT+03:00 Andreas Schwab : > Andrew Senkevich 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. Ok for commit? --- WBR, Andrew 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