aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/x86_64
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2021-01-14 18:39:24 -0800
committerH.J. Lu <hjl.tools@gmail.com>2021-01-19 06:20:46 -0800
commit0ec583d926f9d4744918bd191cc7b8c3a74515a1 (patch)
tree9c0704f53d295f42ca30cc129dd14ad58a89c96a /sysdeps/x86_64
parent0887fff0b099f0a1a457effb3dc0e9b412c5ee33 (diff)
downloadglibc-0ec583d926f9d4744918bd191cc7b8c3a74515a1.tar
glibc-0ec583d926f9d4744918bd191cc7b8c3a74515a1.tar.gz
glibc-0ec583d926f9d4744918bd191cc7b8c3a74515a1.tar.bz2
glibc-0ec583d926f9d4744918bd191cc7b8c3a74515a1.zip
libmvec: Add extra-test-objs to test-extras
Add extra-test-objs to test-extras so that they are compiled with -DMODULE_NAME=testsuite instead of -DMODULE_NAME=libc. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'sysdeps/x86_64')
-rw-r--r--sysdeps/x86_64/fpu/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/sysdeps/x86_64/fpu/Makefile b/sysdeps/x86_64/fpu/Makefile
index a4ff2723a8..9a4bdd075c 100644
--- a/sysdeps/x86_64/fpu/Makefile
+++ b/sysdeps/x86_64/fpu/Makefile
@@ -31,6 +31,12 @@ libmvec-tests += double-vlen2 double-vlen4 double-vlen4-avx2 \
tests += test-double-libmvec-sincos test-double-libmvec-sincos-avx \
test-double-libmvec-sincos-avx2 test-float-libmvec-sincosf \
test-float-libmvec-sincosf-avx test-float-libmvec-sincosf-avx2
+test-extras += test-double-libmvec-sincos-avx-main \
+ test-double-libmvec-sincos-avx2-main \
+ test-double-libmvec-sincos-main \
+ test-float-libmvec-sincosf-avx-main \
+ test-float-libmvec-sincosf-avx2-main \
+ test-float-libmvec-sincosf-main
extra-test-objs += test-double-libmvec-sincos-avx-main.o \
test-double-libmvec-sincos-avx2-main.o \
test-double-libmvec-sincos-main.o \
@@ -66,6 +72,8 @@ ifeq (yes,$(config-cflags-avx512))
libmvec-tests += double-vlen8 float-vlen16
tests += test-double-libmvec-sincos-avx512 \
test-float-libmvec-sincosf-avx512
+test-extras += test-double-libmvec-sincos-avx512-main \
+ test-float-libmvec-sincosf-avx512-main
extra-test-objs += test-double-libmvec-sincos-avx512-main.o \
test-float-libmvec-sincosf-avx512-main.o