This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] PowerPC - Optimization for nearbyint[f]


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]