about summary refs log tree commit diff
path: root/math/w_log.c
diff options
context:
space:
mode:
authorWilco Dijkstra <wilco.dijkstra@arm.com>2023-01-11 13:53:05 +0000
committerWilco Dijkstra <wilco.dijkstra@arm.com>2023-01-17 15:09:18 +0000
commitad098893ba3c3344a5f2f6ab1627c47204afdb47 (patch)
tree91d9ebc4e4ca1b8624eb93bd60e63236bb73c4c1 /math/w_log.c
parent03c8ce5000198947a4dd7b2c14e5131738fda62b (diff)
downloadglibc-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 'math/w_log.c')
0 files changed, 0 insertions, 0 deletions