]> git.ipfire.org Git - thirdparty/glibc.git/commit
x86-64: Add vector tanh/tanhf implementation to libmvec
authorSunil K Pandey <skpgkp2@gmail.com>
Wed, 29 Dec 2021 18:00:47 +0000 (10:00 -0800)
committerSunil K Pandey <skpgkp2@gmail.com>
Wed, 29 Dec 2021 19:38:50 +0000 (11:38 -0800)
commitc0f36fc3032047cc2f50be5b705d6d445a9ad21b
treec4f41388ff216118516192d111601e5b33ca4586
parentf9ce13fdac6c27745f872561102f1a9f746c5b2e
x86-64: Add vector tanh/tanhf implementation to libmvec

Implement vectorized tanh/tanhf containing SSE, AVX, AVX2 and
AVX512 versions for libmvec as per vector ABI.  It also contains
accuracy and ABI tests for vector tanh/tanhf with regenerated ulps.

Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
50 files changed:
bits/libm-simd-decl-stubs.h
math/bits/mathcalls.h
sysdeps/unix/sysv/linux/x86_64/libmvec.abilist
sysdeps/x86/fpu/bits/math-vector.h
sysdeps/x86/fpu/finclude/math-vector-fortran.h
sysdeps/x86_64/fpu/Makeconfig
sysdeps/x86_64/fpu/Versions
sysdeps/x86_64/fpu/libm-test-ulps
sysdeps/x86_64/fpu/multiarch/svml_d_tanh2_core-sse2.S [new file with mode: 0644]
sysdeps/x86_64/fpu/multiarch/svml_d_tanh2_core.c [new file with mode: 0644]
sysdeps/x86_64/fpu/multiarch/svml_d_tanh2_core_sse4.S [new file with mode: 0644]
sysdeps/x86_64/fpu/multiarch/svml_d_tanh4_core-sse.S [new file with mode: 0644]
sysdeps/x86_64/fpu/multiarch/svml_d_tanh4_core.c [new file with mode: 0644]
sysdeps/x86_64/fpu/multiarch/svml_d_tanh4_core_avx2.S [new file with mode: 0644]
sysdeps/x86_64/fpu/multiarch/svml_d_tanh8_core-avx2.S [new file with mode: 0644]
sysdeps/x86_64/fpu/multiarch/svml_d_tanh8_core.c [new file with mode: 0644]
sysdeps/x86_64/fpu/multiarch/svml_d_tanh8_core_avx512.S [new file with mode: 0644]
sysdeps/x86_64/fpu/multiarch/svml_s_tanhf16_core-avx2.S [new file with mode: 0644]
sysdeps/x86_64/fpu/multiarch/svml_s_tanhf16_core.c [new file with mode: 0644]
sysdeps/x86_64/fpu/multiarch/svml_s_tanhf16_core_avx512.S [new file with mode: 0644]
sysdeps/x86_64/fpu/multiarch/svml_s_tanhf4_core-sse2.S [new file with mode: 0644]
sysdeps/x86_64/fpu/multiarch/svml_s_tanhf4_core.c [new file with mode: 0644]
sysdeps/x86_64/fpu/multiarch/svml_s_tanhf4_core_sse4.S [new file with mode: 0644]
sysdeps/x86_64/fpu/multiarch/svml_s_tanhf8_core-sse.S [new file with mode: 0644]
sysdeps/x86_64/fpu/multiarch/svml_s_tanhf8_core.c [new file with mode: 0644]
sysdeps/x86_64/fpu/multiarch/svml_s_tanhf8_core_avx2.S [new file with mode: 0644]
sysdeps/x86_64/fpu/svml_d_tanh2_core.S [new file with mode: 0644]
sysdeps/x86_64/fpu/svml_d_tanh4_core.S [new file with mode: 0644]
sysdeps/x86_64/fpu/svml_d_tanh4_core_avx.S [new file with mode: 0644]
sysdeps/x86_64/fpu/svml_d_tanh8_core.S [new file with mode: 0644]
sysdeps/x86_64/fpu/svml_s_tanhf16_core.S [new file with mode: 0644]
sysdeps/x86_64/fpu/svml_s_tanhf4_core.S [new file with mode: 0644]
sysdeps/x86_64/fpu/svml_s_tanhf8_core.S [new file with mode: 0644]
sysdeps/x86_64/fpu/svml_s_tanhf8_core_avx.S [new file with mode: 0644]
sysdeps/x86_64/fpu/test-double-libmvec-tanh-avx.c [new file with mode: 0644]
sysdeps/x86_64/fpu/test-double-libmvec-tanh-avx2.c [new file with mode: 0644]
sysdeps/x86_64/fpu/test-double-libmvec-tanh-avx512f.c [new file with mode: 0644]
sysdeps/x86_64/fpu/test-double-libmvec-tanh.c [new file with mode: 0644]
sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c
sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c
sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c
sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c
sysdeps/x86_64/fpu/test-float-libmvec-tanhf-avx.c [new file with mode: 0644]
sysdeps/x86_64/fpu/test-float-libmvec-tanhf-avx2.c [new file with mode: 0644]
sysdeps/x86_64/fpu/test-float-libmvec-tanhf-avx512f.c [new file with mode: 0644]
sysdeps/x86_64/fpu/test-float-libmvec-tanhf.c [new file with mode: 0644]
sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c
sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c
sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c
sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c