aboutsummaryrefslogtreecommitdiff
path: root/include/printf_buffer.h
diff options
context:
space:
mode:
authorWilco Dijkstra <wilco.dijkstra@arm.com>2024-08-07 14:43:47 +0100
committerWilco Dijkstra <wilco.dijkstra@arm.com>2024-08-07 14:58:46 +0100
commit3dc426b642dcafdbc11a99f2767e081d086f5fc7 (patch)
tree058c20fba971358470c60d25c67afff6fe505100 /include/printf_buffer.h
parentd5ce0e960dea325ccf12769681d5ce45f7b7411d (diff)
downloadglibc-3dc426b642dcafdbc11a99f2767e081d086f5fc7.tar.xz
glibc-3dc426b642dcafdbc11a99f2767e081d086f5fc7.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>
Diffstat (limited to 'include/printf_buffer.h')
0 files changed, 0 insertions, 0 deletions