This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH 0/3] sincos performance improvements
- From: Siddhesh Poyarekar <siddhesh dot poyarekar at linaro dot org>
- To: libc-alpha at sourceware dot org
- Cc: Siddhesh Poyarekar <siddhesh dot poyarekar at linaro dot org>
- Date: Fri, 11 Dec 2015 17:41:47 +0530
- Subject: [PATCH 0/3] sincos performance improvements
- Authentication-results: sourceware.org; auth=none
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