From a9e8ea51cc8e800a81375d5f99f9a42c6be142a8 Mon Sep 17 00:00:00 2001 From: Andrew Senkevich Date: Thu, 30 Jul 2015 18:00:24 +0300 Subject: Prevent runtime fail of SSE vector math tests on non SSE4.1 machine. [BZ #18740] * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags, float-vlen4-arch-ext-cflags): Removed. * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c, CFLAGS-test-float-vlen4-wrappers.c): Likewise. --- ChangeLog | 8 ++++++++ math/Makefile | 2 -- sysdeps/x86_64/fpu/Makefile | 2 -- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2295f82373..8a424d0a5c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2015-07-30 Andrew Senkevich + + [BZ #18740] + * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags, + float-vlen4-arch-ext-cflags): Removed. + * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c, + CFLAGS-test-float-vlen4-wrappers.c): Likewise. + 2015-07-30 Mike Frysinger [BZ #14113] diff --git a/math/Makefile b/math/Makefile index 2c78dd0bb9..6388baec89 100644 --- a/math/Makefile +++ b/math/Makefile @@ -151,7 +151,6 @@ libm-test-vec-cflags = $(libm-test-fast-math-cflags) -fno-inline \ -ffloat-store -D_OPENMP=201307 -Wno-unknown-pragmas CFLAGS-test-double-vlen2.c = $(libm-test-vec-cflags) -CFLAGS-test-double-vlen2-wrappers.c = $(double-vlen2-arch-ext-cflags) CFLAGS-test-double-vlen4.c = $(libm-test-vec-cflags) CFLAGS-test-double-vlen4-wrappers.c = $(double-vlen4-arch-ext-cflags) @@ -160,7 +159,6 @@ CFLAGS-test-double-vlen8.c = $(libm-test-vec-cflags) CFLAGS-test-double-vlen8-wrappers.c = $(double-vlen8-arch-ext-cflags) CFLAGS-test-float-vlen4.c = $(libm-test-vec-cflags) -CFLAGS-test-float-vlen4-wrappers.c = $(float-vlen4-arch-ext-cflags) CFLAGS-test-float-vlen8.c = $(libm-test-vec-cflags) CFLAGS-test-float-vlen8-wrappers.c = $(float-vlen8-arch-ext-cflags) diff --git a/sysdeps/x86_64/fpu/Makefile b/sysdeps/x86_64/fpu/Makefile index e270b8af55..1ebe5118bf 100644 --- a/sysdeps/x86_64/fpu/Makefile +++ b/sysdeps/x86_64/fpu/Makefile @@ -33,12 +33,10 @@ ifeq (yes,$(config-cflags-avx512)) libmvec-tests += double-vlen8 float-vlen16 endif -double-vlen2-arch-ext-cflags = -msse4 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-vlen8-arch-ext-cflags = -mavx float-vlen8-arch-ext2-cflags = -mavx2 float-vlen16-arch-ext-cflags = -mavx512f -- cgit 1.4.1