[PATCH][AArch64] Optimize strlen
Marcus Shawcroft
marcus.shawcroft@gmail.com
Mon Jul 6 14:42:00 GMT 2015
On 16 January 2015 at 17:39, Wilco Dijkstra <wdijkstr@arm.com> wrote:
> Optimize the strlen implementation by using a page cross check and a fast check
> for nul bytes which reverts to separate loop when a non-ASCII char is encountered.
> Speedup on test-strlen is ~10%, long ASCII strings are processed ~60% faster,
> and on random tests it is ~80% better.
>
> ChangeLog:
>
> 2015-01-16 Wilco Dijkstra <wdijkstr@arm.com>
>
> * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
OK /Marcus
More information about the Libc-alpha
mailing list