diff options
author | Wilco Dijkstra <wilco.dijkstra@arm.com> | 2023-01-11 13:53:05 +0000 |
---|---|---|
committer | Wilco Dijkstra <wilco.dijkstra@arm.com> | 2023-01-17 15:09:18 +0000 |
commit | ad098893ba3c3344a5f2f6ab1627c47204afdb47 (patch) | |
tree | 91d9ebc4e4ca1b8624eb93bd60e63236bb73c4c1 /benchtests/y1-inputs | |
parent | 03c8ce5000198947a4dd7b2c14e5131738fda62b (diff) | |
download | glibc-ad098893ba3c3344a5f2f6ab1627c47204afdb47.tar.gz 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 'benchtests/y1-inputs')
0 files changed, 0 insertions, 0 deletions