This is the mail archive of the
mailing list for the glibc project.
Re: [PATCH] s_sinf.c: Replace floor with FLOOR_DOUBLE_TO_INT/FLOOR_INT_TO_DOUBLE_HALF
On Tue, 5 Dec 2017, Rajalakshmi Srinivasaraghavan wrote:
> > Here is the patch to replace floor with simple casts. It improves
> > performance
> > of max and mean by 30% on x86-64. Rajalakshmi, can you try it on s390?
> Mean value reduced from 22.0 to 20.0 with this patch on s390x.
Thanks. The patch is OK.
Joseph S. Myers