diff options
author | Wilco Dijkstra <wilco.dijkstra@arm.com> | 2023-01-11 13:52:53 +0000 |
---|---|---|
committer | Wilco Dijkstra <wilco.dijkstra@arm.com> | 2024-04-08 17:27:15 +0100 |
commit | 3a1557efef9d3aa334122f44c495dd0c5d78b787 (patch) | |
tree | bc957271d4244916c49ab3e177bede2b4dbcd474 /sysdeps/aarch64/strnlen.S | |
parent | 6f2ca6aab9c60f8f74aba8bf8585fb4932863184 (diff) | |
download | glibc-3a1557efef9d3aa334122f44c495dd0c5d78b787.tar.gz glibc-3a1557efef9d3aa334122f44c495dd0c5d78b787.tar.xz glibc-3a1557efef9d3aa334122f44c495dd0c5d78b787.zip |
AArch64: Optimize strlen
Optimize strlen by unrolling the main loop. Large strings are 64% faster on modern CPUs. Reviewed-by: Szabolcs Nagy <szabolcs.nagy@arm.com> (cherry picked from commit 03c8ce5000198947a4dd7b2c14e5131738fda62b)
Diffstat (limited to 'sysdeps/aarch64/strnlen.S')
0 files changed, 0 insertions, 0 deletions