[PATCH v3] New generic cosf

H.J. Lu hjl.tools@gmail.com
Thu Dec 7 17:59:00 GMT 2017


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.



More information about the Libc-alpha mailing list