x86_64: Optimize sincos where sin/cos is optimized (bug 29193)
commitdc1e5eeb25c4bcb1cc0c883a2d67cf93eb252478
authorAndreas Schwab <schwab@suse.de>
Tue, 31 May 2022 11:09:38 +0000 (31 13:09 +0200)
committerAndreas Schwab <schwab@suse.de>
Wed, 1 Jun 2022 08:29:52 +0000 (1 10:29 +0200)
tree4064d9da2fa13bcacbf498fe6de9709bfbd754a7
parentd976d44a89ab0e4e8bd077f7063030e2e04975aa
x86_64: Optimize sincos where sin/cos is optimized (bug 29193)

The compiler may substitute calls to sin or cos with calls to sincos, thus
we should have the same optimized implementations for sincos.  The
optimized implementations may produce results that differ, that also makes
sure that the sincos call aggrees with the sin and cos calls.
sysdeps/ieee754/dbl-64/s_sincos.c
sysdeps/x86_64/fpu/multiarch/Makefile
sysdeps/x86_64/fpu/multiarch/s_sincos-avx.c [new file with mode: 0644]
sysdeps/x86_64/fpu/multiarch/s_sincos-fma.c [new file with mode: 0644]
sysdeps/x86_64/fpu/multiarch/s_sincos-fma4.c [new file with mode: 0644]
sysdeps/x86_64/fpu/multiarch/s_sincos.c [new file with mode: 0644]