diff options
author | Sunil K Pandey <skpgkp2@gmail.com> | 2021-12-29 08:35:22 -0800 |
---|---|---|
committer | Sunil K Pandey <skpgkp2@gmail.com> | 2021-12-29 11:37:21 -0800 |
commit | 37475ba88303929e85704693455c7294e50aba77 (patch) | |
tree | 4defc4412f556258f878588351b27b3b44406fb8 /sysdeps/x86/fpu/bits | |
parent | 11c01de14c879ffc8dbac8ce32242a7552cbd4ad (diff) | |
download | glibc-37475ba88303929e85704693455c7294e50aba77.tar.gz glibc-37475ba88303929e85704693455c7294e50aba77.tar.xz glibc-37475ba88303929e85704693455c7294e50aba77.zip |
x86-64: Add vector hypot/hypotf implementation to libmvec
Implement vectorized hypot/hypotf containing SSE, AVX, AVX2 and AVX512 versions for libmvec as per vector ABI. It also contains accuracy and ABI tests for vector hypot/hypotf 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.h | 4 |
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 73cb8849ff..437977c5fd 100644 --- a/sysdeps/x86/fpu/bits/math-vector.h +++ b/sysdeps/x86/fpu/bits/math-vector.h @@ -70,6 +70,10 @@ # define __DECL_SIMD_asin __DECL_SIMD_x86_64 # undef __DECL_SIMD_asinf # define __DECL_SIMD_asinf __DECL_SIMD_x86_64 +# undef __DECL_SIMD_hypot +# define __DECL_SIMD_hypot __DECL_SIMD_x86_64 +# undef __DECL_SIMD_hypotf +# define __DECL_SIMD_hypotf __DECL_SIMD_x86_64 # endif #endif |