[PATCH] powerpc64: strrchr optimization for power8

Carlos O'Donell carlos@redhat.com
Mon Apr 17 15:20:00 GMT 2017


On 04/03/2017 11:29 AM, Tulio Magno Quites Machado Filho wrote:
> Carlos O'Donell <carlos@redhat.com> writes:
> 
>> Now I plotted the power8 performance and there is a big bump in the middle,
>> any idea why?
> 
> I remember that we discussed this on #glibc and you noticed the same behavior
> on simple_strrchr and we agreed this could be raw hardware behavior.
> 
> Do you think this question is still blocking this patch?
 
My question does not block the patch.

At this point the patch looks good to me.

You just have an unexplained issue with performance, but it appears to impact
_all_ the algorithms, simple, and the new POWER8 one, so it must be some semantic
of the hardware showing up in the algorithm. It's odd to see that consistent bump.

-- 
Cheers,
Carlos.



More information about the Libc-alpha mailing list