From patchwork Thu Jul 30 14:27:46 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Senkevich X-Patchwork-Id: 7935 Received: (qmail 108111 invoked by alias); 30 Jul 2015 14:28:30 -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 108090 invoked by uid 89); 30 Jul 2015 14:28:29 -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-f50.google.com X-Received: by 10.112.50.177 with SMTP id d17mr44302851lbo.18.1438266496150; Thu, 30 Jul 2015 07:28:16 -0700 (PDT) MIME-Version: 1.0 From: Andrew Senkevich Date: Thu, 30 Jul 2015 17:27:46 +0300 Message-ID: Subject: [PATCH][BZ #18740] Fix for SSE vector math tests run on non SSE4.1 machines To: libc-alpha Hi, we can build SSE vector math tests with -msse2 because ifunc in vector function itself selects SSE2 or SSE4 implementation to test. 2015-07-30 Andrew Senkevich [BZ #18740] * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags, float-vlen4-arch-ext-cflags): Use -msee2 instead of -msse4. --- WBR, Andrew diff --git a/ChangeLog b/ChangeLog index bcb14cf..b5c21b5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2015-07-30 Andrew Senkevich + + [BZ #18740] + * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags, + float-vlen4-arch-ext-cflags): Use -msee2 instead of -msse4. + 2015-07-30 Mike Frysinger * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change diff --git a/sysdeps/x86_64/fpu/Makefile b/sysdeps/x86_64/fpu/Makefile index e270b8a..28802dd 100644 --- a/sysdeps/x86_64/fpu/Makefile +++ b/sysdeps/x86_64/fpu/Makefile @@ -33,12 +33,12 @@ ifeq (yes,$(config-cflags-avx512)) libmvec-tests += double-vlen8 float-vlen16 endif -double-vlen2-arch-ext-cflags = -msse4 +double-vlen2-arch-ext-cflags = -msse2 double-vlen4-arch-ext-cflags = -mavx double-vlen4-arch-ext2-cflags = -mavx2 double-vlen8-arch-ext-cflags = -mavx512f -float-vlen4-arch-ext-cflags = -msse4 +float-vlen4-arch-ext-cflags = -msse2 float-vlen8-arch-ext-cflags = -mavx float-vlen8-arch-ext2-cflags = -mavx2 float-vlen16-arch-ext-cflags = -mavx512f