[PATCH, AArch64] Add optimized strchrnul
Marcus Shawcroft
marcus.shawcroft@gmail.com
Wed Nov 5 14:02:00 GMT 2014
On 13 June 2014 11:23, Richard Earnshaw <rearnsha@arm.com> wrote:
> Here is an optimized implementation of __strchrnul. The simplification
> that we don't have to track precisely why the loop terminates (match or
> end-of-string) means we have to do less work in both setup and the core
> inner loop. That means this should never be slower than strchr.
>
> As with strchr, the use of LD1 means we do not need different versions
> for big-/little-endian.
>
> <date> Richard Earnshaw <rearnsha@arm.com>
>
> * sysdeps/aarch64/strchrnul.S: New file.
Committed. + NEWS entry. /Marcus
More information about the Libc-alpha
mailing list