This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v3] New generic cosf
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Paul Clarke <pc at us dot ibm dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>, Joseph Myers <joseph at codesourcery dot com>, Matt Turner <mattst88 at gmail dot com>, Andreas Schwab <schwab at linux-m68k dot org>
- Date: Thu, 7 Dec 2017 09:59:53 -0800
- Subject: Re: [PATCH v3] New generic cosf
- Authentication-results: sourceware.org; auth=none
- References: <e0b12db6-0266-8dd9-9945-97db87aafacb@us.ibm.com>
On Thu, Dec 7, 2017 at 9:07 AM, Paul Clarke <pc@us.ibm.com> wrote:
> The same logic used in s_cosf.S version for x86 and powerpc
> is used to create a generic s_cosf.c, so there is no performance
> improvement in x86_64 and powerpc64.
>
> 2017-12-06 Paul A. Clarke <pc@us.ibm.com>
>
> * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
Please take a look at sysdeps/ieee754/flt-32/math_config.h to see how
to share constants between s_cosf.c and s_sinf.c.
--
H.J.