[PATCH] powerpc: Handle worstcase behavior in strstr() for POWER7
Tulio Magno Quites Machado Filho
tuliom@linux.vnet.ibm.com
Tue Aug 25 16:45:00 GMT 2015
Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com> writes:
> Instead of checking needle length, constant 'n' number of comparisons
> is checked to fall back to default implementation. This patch is tested
> on powerpc64 and powerpc64le.
>
> 2015-08-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
>
> * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
LGTM too.
I'm pushing it.
Thanks!
--
Tulio Magno
More information about the Libc-alpha
mailing list