This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH, AArch64] Add optimized strrchr
- From: Marcus Shawcroft <marcus dot shawcroft at gmail dot com>
- To: Richard Earnshaw <rearnsha at arm dot com>
- Cc: "libc-alpha at sourceware dot org" <libc-alpha at sourceware dot org>
- Date: Wed, 7 Jan 2015 11:18:37 +0000
- Subject: Re: [PATCH, AArch64] Add optimized strrchr
- Authentication-results: sourceware.org; auth=none
- References: <54AD0ECB dot 4070105 at arm dot com>
On 7 January 2015 at 10:47, Richard Earnshaw <rearnsha@arm.com> wrote:
> Similar to the strchr implementation, attached is an implementation of
> strrchr. Unlike the generic C version, this finds the last instance of
> a string without having to repeatedly call strchr. This gives notable
> performance improvements when there is more than one instance of the
> target character in the string (something the benchmarks never measure,
> by the way).
>
> OK?
>
> R.
> sysdeps/aarch64/strrchr.S: New file.
OK, can you add a news entry for this one aswell?
/Marcus