about summary refs log tree commit diff
path: root/sysdeps/x86/fpu/bits
diff options
context:
space:
mode:
authorSunil K Pandey <skpgkp2@gmail.com>2021-12-29 08:59:16 -0800
committerSunil K Pandey <skpgkp2@gmail.com>2021-12-29 11:37:49 -0800
commit76ddc74e86f7bc36468736dd22c4c29e39cd62d8 (patch)
tree41692fa99b3484c5445ef0ea2dfcad0f8990d800 /sysdeps/x86/fpu/bits
parentef7ea9c1327be11c54462cb539ea8854979a21f3 (diff)
downloadglibc-76ddc74e86f7bc36468736dd22c4c29e39cd62d8.tar.gz
glibc-76ddc74e86f7bc36468736dd22c4c29e39cd62d8.tar.xz
glibc-76ddc74e86f7bc36468736dd22c4c29e39cd62d8.zip
x86-64: Add vector expm1/expm1f implementation to libmvec
Implement vectorized expm1/expm1f containing SSE, AVX, AVX2 and
AVX512 versions for libmvec as per vector ABI.  It also contains
accuracy and ABI tests for vector expm1/expm1f with regenerated ulps.

Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
Diffstat (limited to 'sysdeps/x86/fpu/bits')
-rw-r--r--sysdeps/x86/fpu/bits/math-vector.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/x86/fpu/bits/math-vector.h b/sysdeps/x86/fpu/bits/math-vector.h
index 708e81b3d0..e2f98e176f 100644
--- a/sysdeps/x86/fpu/bits/math-vector.h
+++ b/sysdeps/x86/fpu/bits/math-vector.h
@@ -86,6 +86,10 @@
 #  define __DECL_SIMD_cosh __DECL_SIMD_x86_64
 #  undef __DECL_SIMD_coshf
 #  define __DECL_SIMD_coshf __DECL_SIMD_x86_64
+#  undef __DECL_SIMD_expm1
+#  define __DECL_SIMD_expm1 __DECL_SIMD_x86_64
+#  undef __DECL_SIMD_expm1f
+#  define __DECL_SIMD_expm1f __DECL_SIMD_x86_64
 
 # endif
 #endif