about summary refs log tree commit diff
path: root/sysdeps/aarch64/strnlen.S
diff options
context:
space:
mode:
authorWilco Dijkstra <wilco.dijkstra@arm.com>2023-01-11 13:52:53 +0000
committerWilco Dijkstra <wilco.dijkstra@arm.com>2024-04-08 17:27:15 +0100
commit3a1557efef9d3aa334122f44c495dd0c5d78b787 (patch)
treebc957271d4244916c49ab3e177bede2b4dbcd474 /sysdeps/aarch64/strnlen.S
parent6f2ca6aab9c60f8f74aba8bf8585fb4932863184 (diff)
downloadglibc-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