diff options
author | 2023-01-11 13:53:05 +0000 | |
---|---|---|
committer | 2023-01-17 15:09:18 +0000 | |
commit | ad098893ba3c3344a5f2f6ab1627c47204afdb47 (patch) | |
tree | 91d9ebc4e4ca1b8624eb93bd60e63236bb73c4c1 /scripts/build-many-glibcs.py | |
parent | AArch64: Optimize strlen (diff) | |
download | glibc-ad098893ba3c3344a5f2f6ab1627c47204afdb47.tar.xz glibc-ad098893ba3c3344a5f2f6ab1627c47204afdb47.zip |
AArch64: Optimize strnlen
Optimize strnlen using the shrn instruction and improve the main loop.
Small strings are around 10% faster, large strings are 40% faster on
modern CPUs.
Reviewed-by: Szabolcs Nagy <szabolcs.nagy@arm.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions