Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [AArch64] Fix strchrnul clobbering v15 | Richard Earnshaw | 2014-12-10 | 1 | -1/+1 |
| | |||||
* | [AArch64] Add optimized strchrnul. | Richard Earnshaw | 2014-11-05 | 1 | -0/+130 |
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. |