summary refs log tree commit diff
path: root/benchtests
diff options
context:
space:
mode:
authorRichard Earnshaw <rearnsha@arm.com>2014-11-05 13:51:56 +0000
committerMarcus Shawcroft <marcus.shawcroft@arm.com>2014-11-05 13:51:56 +0000
commitbe9d4ccc7fe62751db1a5fdcb31958561dbbda9a (patch)
tree7a4140cf429ff51370f03fae459f8055701baef2 /benchtests
parent7110166d4fe36899c5ecf6fd31635f3cd75d8931 (diff)
downloadglibc-be9d4ccc7fe62751db1a5fdcb31958561dbbda9a.tar.gz
glibc-be9d4ccc7fe62751db1a5fdcb31958561dbbda9a.tar.xz
glibc-be9d4ccc7fe62751db1a5fdcb31958561dbbda9a.zip
[AArch64] Add optimized strchrnul.
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.
Diffstat (limited to 'benchtests')
0 files changed, 0 insertions, 0 deletions