Skip to content
Commit c2150769 authored by Xuelei Zhang's avatar Xuelei Zhang Committed by Adhemerval Zanella
Browse files

aarch64: Optimized strlen for strlen_asimd



Optimize the strlen implementation by using vector operations and
loop unrolling in main loop.Compared to __strlen_generic,it reduces
latency of cases in bench-strlen by 7%~18% when the length of src
is greater than 128 bytes, with gains throughout the benchmark.

Checked on aarch64-linux-gnu.

Reviewed-by: default avatarWilco Dijkstra <Wilco.Dijkstra@arm.com>
parent 0db8e7b3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment