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] powerpc64: strrchr optimization for power8


On 02/20/2017 11:01 AM, Rajalakshmi Srinivasaraghavan wrote:
> 
> 
> On 02/20/2017 07:12 PM, Carlos O'Donell wrote:
>> On 02/14/2017 06:05 AM, Rajalakshmi Srinivasaraghavan wrote:
>>> P7 code is used for <=32B strings and for > 32B vectorized loops are used.
>>> This shows as an average 25% improvement depending on the position of search
>>> character.  The performance is same for shorter strings.
>>> Tested on ppc64 and ppc64le.
>> What did you use to test the 25% improvement?
> 
> This improvement is seen when compared to power7. Benchtest is
> modified to use length from 0 to 400  to find the average for
> different lengths.
 
Could you post your modifications for review an explain your
process in a little more detail. I'm curious about the changes
you made.

-- 
Cheers,
Carlos.


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