This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] powerpc: power7 strncmp optimization
- From: "Ryan S. Arnold" <ryan dot arnold at gmail dot com>
- To: GNU C Library <libc-alpha at sourceware dot org>
- Cc: will_schmidt at vnet dot ibm dot com
- Date: Wed, 7 Sep 2011 10:12:01 -0500
- Subject: Re: [PATCH] powerpc: power7 strncmp optimization
- References: <1312464973.1806.78.camel@farscape><1314046829.1792.18.camel@farscape>
On Mon, Aug 22, 2011 at 4:00 PM, Will Schmidt <will_schmidt@vnet.ibm.com> wrote:
>
> Reposting. ÂThis patch has been checked into the ibm/2.13/master branch,
> commit a7e0baec8c61a6bdf3b8fcb4ccb725477254f1d3
> and has been running string in our internal testing, etc.
>
> Hi,
> ÂThe following code change provides a throughput boost to the 64-bit
> power7 strncmp code of approx 15%. ÂThe 32-bit throughput is not notably
> affected by this change, so the change to the 32-bit code is done to
> keep the two files in sync with each other.
>
> 2011-08-04 ÂWill Schmidt Â<will_schmidt@vnet.ibm.com>
>
> Â Â Â Â* sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
> Â Â Â Âand add nop instructions for throughput optimization.
> Â Â Â Â* sysdeps/powerpc/powerpc64/power7/strncmp.S: Adjust the alignment
> Â Â Â Âand nop instructions for throughput optimization.
Ack!
Please consider this patch for commit.
Ryan S. Arnold