This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 0/3] sincos performance improvements


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]