diff options
| author | Wilco Dijkstra <wilco.dijkstra@arm.com> | 2024-08-07 14:43:47 +0100 |
|---|---|---|
| committer | Wilco Dijkstra <wilco.dijkstra@arm.com> | 2025-02-28 14:22:28 +0000 |
| commit | 64896b7d329809127035fde42768a6f7eeffed75 (patch) | |
| tree | 14c02acfdf675f44adf24c82d041fcaaaaac97cf /malloc/alloc_buffer_alloc_array.c | |
| parent | fd9a3a36fdcf14d1678c469e8b9033a46aa6c6fb (diff) | |
| download | glibc-64896b7d329809127035fde42768a6f7eeffed75.tar.xz glibc-64896b7d329809127035fde42768a6f7eeffed75.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
