[PATCH] powerpc64: strrchr optimization for power8

Rajalakshmi Srinivasaraghavan raji@linux.vnet.ibm.com
Mon Feb 20 16:01:00 GMT 2017



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.


-- 
Thanks
Rajalakshmi S



More information about the Libc-alpha mailing list