diff options
author | Xuelei Zhang <zhangxuelei4@huawei.com> | 2019-12-19 13:49:46 +0000 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2019-12-19 16:31:04 -0300 |
commit | 2911cb68ed3d6c515ad1979237e74e1fefab3674 (patch) | |
tree | e7a53b39337a460ef833279f1d0a3c2ab54177fb /io/flock.c | |
parent | 0237b61526e716fa9597f521643908a4fda3b46a (diff) | |
download | glibc-2911cb68ed3d6c515ad1979237e74e1fefab3674.zip glibc-2911cb68ed3d6c515ad1979237e74e1fefab3674.tar.gz glibc-2911cb68ed3d6c515ad1979237e74e1fefab3674.tar.bz2 |
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 'io/flock.c')
0 files changed, 0 insertions, 0 deletions