diff options
author | Andrew Senkevich <andrew.senkevich@intel.com> | 2015-06-09 18:32:42 +0300 |
---|---|---|
committer | Andrew Senkevich <andrew.senkevich@intel.com> | 2015-06-09 18:32:42 +0300 |
commit | 2a523216d5dc973d8bf91a00f00b70b7df42b91d (patch) | |
tree | 4f59a679b860d81b57a7c6cad66ac454ecad505d /sysdeps/x86_64/fpu/Makefile | |
parent | 04f496d6025753058bdd071fd711e9f56df149a7 (diff) | |
download | glibc-2a523216d5dc973d8bf91a00f00b70b7df42b91d.tar.gz glibc-2a523216d5dc973d8bf91a00f00b70b7df42b91d.tar.xz glibc-2a523216d5dc973d8bf91a00f00b70b7df42b91d.zip |
This patch adds vector cosf tests.
* math/Makefile: Added CFLAGS for new tests. * math/test-float-vlen16.h: New file. * math/test-float-vlen4.h: New file. * math/test-float-vlen8.h: New file. * math/test-double-vlen2.h: Fixed 2 argument macro and comment. * sysdeps/x86_64/fpu/Makefile: Added new tests and variables. * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated. * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file. * sysdeps/x86_64/fpu/test-float-vlen16.c: New file. * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file. * sysdeps/x86_64/fpu/test-float-vlen4.c: New file. * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file. * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file. * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file. * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
Diffstat (limited to 'sysdeps/x86_64/fpu/Makefile')
-rw-r--r-- | sysdeps/x86_64/fpu/Makefile | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/sysdeps/x86_64/fpu/Makefile b/sysdeps/x86_64/fpu/Makefile index af0d2af261..454cfbad0b 100644 --- a/sysdeps/x86_64/fpu/Makefile +++ b/sysdeps/x86_64/fpu/Makefile @@ -9,10 +9,11 @@ endif # Variables for libmvec tests. ifeq ($(subdir),math) ifeq ($(build-mathvec),yes) -libmvec-tests += double-vlen2 double-vlen4 double-vlen4-avx2 +libmvec-tests += double-vlen2 double-vlen4 double-vlen4-avx2 \ + float-vlen4 float-vlen8 float-vlen8-avx2 ifeq (yes,$(config-cflags-avx512)) -libmvec-tests += double-vlen8 +libmvec-tests += double-vlen8 float-vlen16 endif double-vlen2-arch-ext-cflags = -msse4 @@ -20,8 +21,16 @@ 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 + CFLAGS-test-double-vlen4-avx2.c = $(libm-test-vec-cflags) CFLAGS-test-double-vlen4-avx2-wrappers.c = $(double-vlen4-arch-ext2-cflags) +CFLAGS-test-float-vlen8-avx2.c = $(libm-test-vec-cflags) +CFLAGS-test-float-vlen8-avx2-wrappers.c = $(float-vlen8-arch-ext2-cflags) + endif endif |