aboutsummaryrefslogtreecommitdiff
path: root/malloc/alloc_buffer_alloc_array.c
diff options
context:
space:
mode:
authorWilco Dijkstra <wilco.dijkstra@arm.com>2024-08-07 14:43:47 +0100
committerWilco Dijkstra <wilco.dijkstra@arm.com>2025-02-28 14:31:33 +0000
commit65a96a6f2bb9f6f6f896394662279d263d59cdd2 (patch)
tree050f357eee25890709947360f7eec7503a6e1cfd /malloc/alloc_buffer_alloc_array.c
parent4073e4ee2c68de89b7220afba8d0780f86d9c60e (diff)
downloadglibc-65a96a6f2bb9f6f6f896394662279d263d59cdd2.tar.xz
glibc-65a96a6f2bb9f6f6f896394662279d263d59cdd2.zip
AArch64: Improve generic strlen
Improve performance by handling another 16 bytes before entering the loop. Use ADDHN in the loop to avoid SHRN+FMOV when it terminates. Change final size computation to avoid increasing latency. On Neoverse V1 performance of the random strlen benchmark improves by 4.6%. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org> (cherry picked from commit 3dc426b642dcafdbc11a99f2767e081d086f5fc7)
Diffstat (limited to 'malloc/alloc_buffer_alloc_array.c')
0 files changed, 0 insertions, 0 deletions