[PATCH 0/3] sincos performance improvements
Siddhesh Poyarekar
siddhesh.poyarekar@linaro.org
Fri Dec 11 12:12:00 GMT 2015
Hi,
Here are three more patches that consolidate code between sin and cos
functions to reduce computations in sincos. The total improvement due
to these patches is 15% in the average case as measured on aarch64. I
don't have a dedicated machine to reliably measure performance on
x86_64 anymore, but I expect the improvements to be just as good if
not better.
Siddhesh
Siddhesh Poyarekar (3):
Consolidate range reduction in sincos for x > 281474976710656
Consolidate sin and cos code for 105414350 <|x|< 281474976710656
Consolidate sincos computation for 2.426265 < |x| < 105414350
sysdeps/ieee754/dbl-64/s_sin.c | 32 ++-
sysdeps/ieee754/dbl-64/s_sincos.c | 488 +++++++++++++++++++++++++++++++++++++-
2 files changed, 499 insertions(+), 21 deletions(-)
--
2.5.0
More information about the Libc-alpha
mailing list