This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH]: Optimization for strpbrk on PowerPC
- From: Adhemerval Zanella <azanella at linux dot vnet dot ibm dot com>
- To: libc-alpha at sourceware dot org
- Date: Fri, 28 Feb 2014 15:36:32 -0300
- Subject: Re: [PATCH]: Optimization for strpbrk on PowerPC
- Authentication-results: sourceware.org; auth=none
- References: <530F7D06 dot 4090309 at linux dot vnet dot ibm dot com> <20140227202420 dot GA20898 at domone dot podge> <530FA5D2 dot 7090208 at linux dot vnet dot ibm dot com> <530FA99B dot 3070500 at linux dot vnet dot ibm dot com> <5310A62D dot 40401 at linux dot vnet dot ibm dot com>
On 28-02-2014 12:07, R Vidya wrote:
> Hi
> Agree, I am also seeing performance improvement with x86_64 approach
> The advantage I am seeing with this approach is that it avoids scanning duplicate
> chars in the needle via hash table/dictionary in addition to loop unrolling.
>
> Adhemerval ,
> Lets push the current implementation and work on similar approach for Power7
> shortly. thanks.
>
> Regards
> Vidya
>
Hi Vidya,
Since you will work on new implementation based on Ondrej comments, I'll wait for it to avoid
push a patch that will be replaced shortly.