]> git.ipfire.org Git - thirdparty/glibc.git/commit
x86-64: Add vector atan2/atan2f implementation to libmvec
authorSunil K Pandey <skpgkp2@gmail.com>
Wed, 29 Dec 2021 17:17:28 +0000 (09:17 -0800)
committerSunil K Pandey <skpgkp2@gmail.com>
Wed, 29 Dec 2021 19:38:09 +0000 (11:38 -0800)
commit2941a24f8c914403bd14b035f806de9491622453
tree91a6863e30155acae88de47bcc8067f19e1f3ee7
parent2bf02c5843896c5c109b1467c64ecf11cbc2ad7b
x86-64: Add vector atan2/atan2f implementation to libmvec

Implement vectorized atan2/atan2f containing SSE, AVX, AVX2 and
AVX512 versions for libmvec as per vector ABI.  It also contains
accuracy and ABI tests for vector atan2/atan2f 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_atan22_core-sse2.S [new file with mode: 0644]
sysdeps/x86_64/fpu/multiarch/svml_d_atan22_core.c [new file with mode: 0644]
sysdeps/x86_64/fpu/multiarch/svml_d_atan22_core_sse4.S [new file with mode: 0644]
sysdeps/x86_64/fpu/multiarch/svml_d_atan24_core-sse.S [new file with mode: 0644]
sysdeps/x86_64/fpu/multiarch/svml_d_atan24_core.c [new file with mode: 0644]
sysdeps/x86_64/fpu/multiarch/svml_d_atan24_core_avx2.S [new file with mode: 0644]
sysdeps/x86_64/fpu/multiarch/svml_d_atan28_core-avx2.S [new file with mode: 0644]
sysdeps/x86_64/fpu/multiarch/svml_d_atan28_core.c [new file with mode: 0644]
sysdeps/x86_64/fpu/multiarch/svml_d_atan28_core_avx512.S [new file with mode: 0644]
sysdeps/x86_64/fpu/multiarch/svml_s_atan2f16_core-avx2.S [new file with mode: 0644]
sysdeps/x86_64/fpu/multiarch/svml_s_atan2f16_core.c [new file with mode: 0644]
sysdeps/x86_64/fpu/multiarch/svml_s_atan2f16_core_avx512.S [new file with mode: 0644]
sysdeps/x86_64/fpu/multiarch/svml_s_atan2f4_core-sse2.S [new file with mode: 0644]
sysdeps/x86_64/fpu/multiarch/svml_s_atan2f4_core.c [new file with mode: 0644]
sysdeps/x86_64/fpu/multiarch/svml_s_atan2f4_core_sse4.S [new file with mode: 0644]
sysdeps/x86_64/fpu/multiarch/svml_s_atan2f8_core-sse.S [new file with mode: 0644]
sysdeps/x86_64/fpu/multiarch/svml_s_atan2f8_core.c [new file with mode: 0644]
sysdeps/x86_64/fpu/multiarch/svml_s_atan2f8_core_avx2.S [new file with mode: 0644]
sysdeps/x86_64/fpu/svml_d_atan22_core.S [new file with mode: 0644]
sysdeps/x86_64/fpu/svml_d_atan24_core.S [new file with mode: 0644]
sysdeps/x86_64/fpu/svml_d_atan24_core_avx.S [new file with mode: 0644]
sysdeps/x86_64/fpu/svml_d_atan28_core.S [new file with mode: 0644]
sysdeps/x86_64/fpu/svml_s_atan2f16_core.S [new file with mode: 0644]
sysdeps/x86_64/fpu/svml_s_atan2f4_core.S [new file with mode: 0644]
sysdeps/x86_64/fpu/svml_s_atan2f8_core.S [new file with mode: 0644]
sysdeps/x86_64/fpu/svml_s_atan2f8_core_avx.S [new file with mode: 0644]
sysdeps/x86_64/fpu/test-double-libmvec-atan2-avx.c [new file with mode: 0644]
sysdeps/x86_64/fpu/test-double-libmvec-atan2-avx2.c [new file with mode: 0644]
sysdeps/x86_64/fpu/test-double-libmvec-atan2-avx512f.c [new file with mode: 0644]
sysdeps/x86_64/fpu/test-double-libmvec-atan2.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-atan2f-avx.c [new file with mode: 0644]
sysdeps/x86_64/fpu/test-float-libmvec-atan2f-avx2.c [new file with mode: 0644]
sysdeps/x86_64/fpu/test-float-libmvec-atan2f-avx512f.c [new file with mode: 0644]
sysdeps/x86_64/fpu/test-float-libmvec-atan2f.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