diff options
author | Richard Earnshaw <rearnsha@arm.com> | 2014-11-05 13:51:56 +0000 |
---|---|---|
committer | Marcus Shawcroft <marcus.shawcroft@arm.com> | 2014-11-05 13:51:56 +0000 |
commit | be9d4ccc7fe62751db1a5fdcb31958561dbbda9a (patch) | |
tree | 7a4140cf429ff51370f03fae459f8055701baef2 /time/mktime.c | |
parent | 7110166d4fe36899c5ecf6fd31635f3cd75d8931 (diff) | |
download | glibc-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 'time/mktime.c')
0 files changed, 0 insertions, 0 deletions