summary refs log tree commit diff
path: root/sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c
diff options
context:
space:
mode:
authorSunil K Pandey <skpgkp2@gmail.com>2021-12-29 09:29:44 -0800
committerSunil K Pandey <skpgkp2@gmail.com>2021-12-29 11:38:21 -0800
commit7e1722fec84c65bf95f249f9ad8d15ab12d8c853 (patch)
tree6c0b107f2c3f2081a8ad639a9a298c30a5506501 /sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c
parent8f8566026dbe4ab104cab5845c4cdc9896702fdb (diff)
downloadglibc-7e1722fec84c65bf95f249f9ad8d15ab12d8c853.tar.gz
glibc-7e1722fec84c65bf95f249f9ad8d15ab12d8c853.tar.xz
glibc-7e1722fec84c65bf95f249f9ad8d15ab12d8c853.zip
x86-64: Add vector log2/log2f implementation to libmvec
Implement vectorized log2/log2f containing SSE, AVX, AVX2 and
AVX512 versions for libmvec as per vector ABI.  It also contains
accuracy and ABI tests for vector log2/log2f with regenerated ulps.

Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
Diffstat (limited to 'sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c')
-rw-r--r--sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c b/sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c
index 272e754e1b..1c7db5146c 100644
--- a/sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c
+++ b/sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c
@@ -39,6 +39,7 @@ VECTOR_WRAPPER (WRAPPER_NAME (sinhf), _ZGVeN16v_sinhf)
 VECTOR_WRAPPER (WRAPPER_NAME (cbrtf), _ZGVeN16v_cbrtf)
 VECTOR_WRAPPER_ff (WRAPPER_NAME (atan2f), _ZGVeN16vv_atan2f)
 VECTOR_WRAPPER (WRAPPER_NAME (log10f), _ZGVeN16v_log10f)
+VECTOR_WRAPPER (WRAPPER_NAME (log2f), _ZGVeN16v_log2f)
 
 #define VEC_INT_TYPE __m512i