aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/aarch64/strchrnul.S
AgeCommit message (Collapse)Author
2016-01-04Update copyright dates with scripts/update-copyrights.Joseph Myers
2015-01-02Update copyright dates with scripts/update-copyrights.Joseph Myers
2014-12-10[AArch64] Fix strchrnul clobbering v15Richard Earnshaw
2014-11-05[AArch64] Add optimized strchrnul.Richard Earnshaw
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.