[PATCH] powerpc64: strrchr optimization for power8

Rajalakshmi Srinivasaraghavan raji@linux.vnet.ibm.com
Thu Mar 9 06:14:00 GMT 2017



On 02/28/2017 01:02 PM, Rajalakshmi Srinivasaraghavan wrote:
>
>
> On 02/20/2017 09:36 PM, Carlos O'Donell wrote:
>> 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.
>
> Carlos,
> Posted benchtest modification here:
> https://sourceware.org/ml/libc-alpha/2017-02/msg00380.html

Carlos,

Do you have further comments?

-- 
Thanks
Rajalakshmi S



More information about the Libc-alpha mailing list