This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] powerpc: Handle worstcase behavior in strstr() for POWER7
- From: Steven Munroe <munroesj at linux dot vnet dot ibm dot com>
- To: Rajalakshmi Srinivasaraghavan <raji at linux dot vnet dot ibm dot com>
- Cc: libc-alpha at sourceware dot org, sjmunroe at us dot ibm dot com
- Date: Tue, 18 Aug 2015 14:36:08 -0500
- Subject: Re: [PATCH] powerpc: Handle worstcase behavior in strstr() for POWER7
- Authentication-results: sourceware.org; auth=none
- References: <1439917856-27196-1-git-send-email-raji at linux dot vnet dot ibm dot com>
- Reply-to: munroesj at linux dot vnet dot ibm dot com
On Tue, 2015-08-18 at 22:40 +0530, Rajalakshmi Srinivasaraghavan wrote:
> 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