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] powerpc: Handle worstcase behavior in strstr() for POWER7


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


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