diff options
| author | Wilco Dijkstra <wilco.dijkstra@arm.com> | 2023-01-11 13:52:08 +0000 |
|---|---|---|
| committer | Wilco Dijkstra <wilco.dijkstra@arm.com> | 2023-01-17 15:09:18 +0000 |
| commit | 51541a229740801882490177fa178e49264b13fb (patch) | |
| tree | 98b0dc945b5ff82427af70fc58773449941afe84 /malloc/alloc_buffer_alloc_array.c | |
| parent | 1bbb1a2022e126f21810d3d0ebe0a975d5243e43 (diff) | |
| download | glibc-51541a229740801882490177fa178e49264b13fb.tar.xz glibc-51541a229740801882490177fa178e49264b13fb.zip | |
AArch64: Optimize strchr
Simplify calculation of the mask using shrn. Unroll the main loop.
Small strings are 20% faster on modern CPUs.
Reviewed-by: Szabolcs Nagy <szabolcs.nagy@arm.com>
Diffstat (limited to 'malloc/alloc_buffer_alloc_array.c')
0 files changed, 0 insertions, 0 deletions
