[PATCH, AArch64] Add optimized strrchr

Marcus Shawcroft marcus.shawcroft@gmail.com
Wed Jan 7 11:18:00 GMT 2015


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



More information about the Libc-alpha mailing list