This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 5/5] Inline all support functions for sin and cos
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Siddhesh Poyarekar <siddhesh at sourceware dot org>
- Cc: <libc-alpha at sourceware dot org>
- Date: Thu, 1 Sep 2016 16:36:09 +0000
- Subject: Re: [PATCH 5/5] Inline all support functions for sin and cos
- Authentication-results: sourceware.org; auth=none
- References: <1471976565-3576-1-git-send-email-siddhesh@sourceware.org> <1471976565-3576-6-git-send-email-siddhesh@sourceware.org>
On Tue, 23 Aug 2016, Siddhesh Poyarekar wrote:
> The support functions for sin and cos have a lot of identical
> functionality, so inlining them gives a pretty decent jump in
> functionality: ~19% in the sincos function. On SPEC2006 this
> translates to about 2.1% in the tonto test.
>
> * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
> (do_cos_slow): Likewise.
> (do_sin): Likewise.
> (do_sin_slow): Likewise.
> (slow): Likewise.
> (slow1): Likewise.
> (slow2): Likewise.
> (sloww): Likewise.
> (sloww1): Likewise.
> (sloww2): Likewise.
> (bsloww): Likewise.
> (bsloww1): Likewise.
> (bsloww2): Likewise.
> (cslow2): Likewise.
OK.
--
Joseph S. Myers
joseph@codesourcery.com