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-22 06:20:41 -0800
committerSunil K Pandey <skpgkp2@gmail.com>2021-12-22 13:03:14 -0800
commitf20f980c71651e2b2c49e717f547d958cbe29a55 (patch)
tree49c6a6b55bfe523ac0c230182e6fbcbdc1e7c5e2 /sysdeps/x86/fpu/bits
parentc6d7d6312c21bbcfb236d48bb7c11cedb234389f (diff)
downloadglibc-f20f980c71651e2b2c49e717f547d958cbe29a55.tar.gz
glibc-f20f980c71651e2b2c49e717f547d958cbe29a55.tar.xz
glibc-f20f980c71651e2b2c49e717f547d958cbe29a55.zip
x86-64: Add vector acos/acosf implementation to libmvec
Implement vectorized acos/acosf containing SSE, AVX, AVX2 and
AVX512 versions for libmvec as per vector ABI.  It also contains
accuracy and ABI tests for vector acos/acosf 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 dc0bfb3705..dabb74cbb9 100644
--- a/sysdeps/x86/fpu/bits/math-vector.h
+++ b/sysdeps/x86/fpu/bits/math-vector.h
@@ -58,6 +58,10 @@
 #  define __DECL_SIMD_pow __DECL_SIMD_x86_64
 #  undef __DECL_SIMD_powf
 #  define __DECL_SIMD_powf __DECL_SIMD_x86_64
+#  undef __DECL_SIMD_acos
+#  define __DECL_SIMD_acos __DECL_SIMD_x86_64
+#  undef __DECL_SIMD_acosf
+#  define __DECL_SIMD_acosf __DECL_SIMD_x86_64
 
 # endif
 #endif