public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/4] Use __copysign in sincos wherever possible
@ 2016-09-27 17:49 Siddhesh Poyarekar
  2016-09-27 17:49 ` [PATCH 4/4] Use copysign instead of ternary for some sin/cos input ranges Siddhesh Poyarekar
                   ` (4 more replies)
  0 siblings, 5 replies; 17+ messages in thread
From: Siddhesh Poyarekar @ 2016-09-27 17:49 UTC (permalink / raw)
  To: libc-alpha

Hi,

The following set of patches is another set of cleanups to sin/cos functions
and their helpers.  The key change is to replace ternary conditions in the code
with copysign wherever applicable.  This results in improving performance of
the SPEC2006 test tonto by 4.5%.

Siddhesh Poyarekar (4):
  consolidate sign checks for slow2
  Check n instead of k1 to decide on sign of sin/cos result
  Use copysign instead of ternary conditions for positive constants
  Use copysign instead of ternary for some sin/cos input ranges

 sysdeps/ieee754/dbl-64/s_sin.c | 80 ++++++++++++++++++++++--------------------
 1 file changed, 41 insertions(+), 39 deletions(-)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2016-10-05 19:08 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-27 17:49 [PATCH 0/4] Use __copysign in sincos wherever possible Siddhesh Poyarekar
2016-09-27 17:49 ` [PATCH 4/4] Use copysign instead of ternary for some sin/cos input ranges Siddhesh Poyarekar
2016-09-28 12:59   ` Manfred
2016-09-28 20:04     ` Carlos O'Donell
2016-09-28 21:32     ` Siddhesh Poyarekar
2016-09-28 20:09   ` Carlos O'Donell
2016-09-27 17:49 ` [PATCH 1/4] consolidate sign checks for slow2 Siddhesh Poyarekar
2016-09-27 20:03   ` Carlos O'Donell
2016-09-27 17:49 ` [PATCH 2/4] Check n instead of k1 to decide on sign of sin/cos result Siddhesh Poyarekar
2016-09-28 19:55   ` Carlos O'Donell
2016-09-28 21:58     ` Siddhesh Poyarekar
2016-09-30  0:37       ` Carlos O'Donell
2016-10-05 19:08         ` Siddhesh Poyarekar
2016-09-27 17:49 ` [PATCH 3/4] Use copysign instead of ternary conditions for positive constants Siddhesh Poyarekar
2016-09-28 19:58   ` Carlos O'Donell
2016-09-27 19:10 ` [PATCH 0/4] Use __copysign in sincos wherever possible Carlos O'Donell
2016-09-27 19:18   ` Siddhesh Poyarekar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).