diff options
author | 2019-12-19 13:49:46 +0000 | |
---|---|---|
committer | 2019-12-19 16:31:04 -0300 | |
commit | 2911cb68ed3d6c515ad1979237e74e1fefab3674 (patch) | |
tree | e7a53b39337a460ef833279f1d0a3c2ab54177fb /malloc/dynarray_resize.c | |
parent | aarch64: Optimized implementation of strcpy (diff) | |
download | glibc-2911cb68ed3d6c515ad1979237e74e1fefab3674.tar.xz glibc-2911cb68ed3d6c515ad1979237e74e1fefab3674.zip |
aarch64: Optimized implementation of strnlen
Optimize the strlen implementation by using vector operations and
loop unrooling in main loop. Compared to aarch64/strnlen.S, it
reduces latency of cases in bench-strnlen by 11%~24% when the length
of src is greater than 64 bytes, with gains throughout the benchmark.
Checked on aarch64-linux-gnu.
Reviewed-by: Wilco Dijkstra <Wilco.Dijkstra@arm.com>
Diffstat (limited to 'malloc/dynarray_resize.c')
0 files changed, 0 insertions, 0 deletions