about summary refs log tree commit diff
path: root/bits
diff options
context:
space:
mode:
authorSunil K Pandey <skpgkp2@gmail.com>2021-12-29 10:19:39 -0800
committerSunil K Pandey <skpgkp2@gmail.com>2021-12-30 10:19:13 -0800
commitc21c7bc24ec58c516d1608695d9c5a86f2f2fc0c (patch)
tree0aa72249cd873496766c00736e08bd13ddd23b9d /bits
parent8881cca8fb8d3a7ee89d174017dd27eded90366c (diff)
downloadglibc-c21c7bc24ec58c516d1608695d9c5a86f2f2fc0c.tar.gz
glibc-c21c7bc24ec58c516d1608695d9c5a86f2f2fc0c.tar.xz
glibc-c21c7bc24ec58c516d1608695d9c5a86f2f2fc0c.zip
x86-64: Add vector tan/tanf implementation to libmvec
Implement vectorized tan/tanf containing SSE, AVX, AVX2 and
AVX512 versions for libmvec as per vector ABI.  It also contains
accuracy and ABI tests for vector tan/tanf with regenerated ulps.

Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
Diffstat (limited to 'bits')
-rw-r--r--bits/libm-simd-decl-stubs.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/bits/libm-simd-decl-stubs.h b/bits/libm-simd-decl-stubs.h
index e716664306..4b63a53742 100644
--- a/bits/libm-simd-decl-stubs.h
+++ b/bits/libm-simd-decl-stubs.h
@@ -318,4 +318,15 @@
 #define __DECL_SIMD_erfcf32x
 #define __DECL_SIMD_erfcf64x
 #define __DECL_SIMD_erfcf128x
+
+#define __DECL_SIMD_tan
+#define __DECL_SIMD_tanf
+#define __DECL_SIMD_tanl
+#define __DECL_SIMD_tanf16
+#define __DECL_SIMD_tanf32
+#define __DECL_SIMD_tanf64
+#define __DECL_SIMD_tanf128
+#define __DECL_SIMD_tanf32x
+#define __DECL_SIMD_tanf64x
+#define __DECL_SIMD_tanf128x
 #endif