This is the mail archive of the
mailing list for the glibc project.
Re: [PATCH 1/3] New generic sincosf
On 12/16/2017 08:13 PM, H.J. Lu wrote:
On Sat, Dec 16, 2017 at 12:52 AM, Rajalakshmi Srinivasaraghavan
On 12/16/2017 02:20 AM, Joseph Myers wrote:
On Fri, 15 Dec 2017, H.J. Lu wrote:
One comment, should sysdeps/ieee754/flt-32/s_sincos.h be renamed
Yes, I think so.
Pushed as 984ae9967b49830173490a33ae6130880f3f70d9 with the file
name changed as s_sincosf.h. Thanks for the review.
I noticed that sysdeps/x86_64/fpu/s_sincosf.S is still faster:
The SSE2 is 28% faster. Do they use the same algorithm?
Yes, they are same. One small difference is generic version calls
reduced_sin() and reduced_cos() whereas asm version handles both in the
same branch for reconstruction.