[PATCH] PowerPC - Optimization for nearbyint[f]

Ryan S. Arnold ryan.arnold@gmail.com
Wed Dec 14 15:20:00 GMT 2011


On Wed, Nov 30, 2011 at 7:32 AM, Adhemerval Zanella
<azanella@linux.vnet.ibm.com> wrote:
> This patch provides throughput boost for the nearbyint[f] functions
> for POWER. For POWER7, it improves performance for nearbyintf from
> 5 (ppc32) to 6 times (ppc64) and for nearbyint from 2.5 up to 5
> times. For POWER6 it improves nearbyintf up to 4x (ppc64) and
> nearbyint up to 2x.

I'm acking this patch for PowerPC.  We discussed the maintenance
implications of having this coded in asm and feel that the performance
improvements are worth it.

Ryan S. Arnold



More information about the Libc-alpha mailing list