[PATCH v2] aarch64: Optimized implementation of strcpy

Adhemerval Zanella adhemerval.zanella@linaro.org
Thu Dec 19 19:45:00 GMT 2019



On 22/10/2019 14:54, Wilco Dijkstra wrote:
> Hi Xuelei,
> 
>> Optimize the strcpy implementation by using vector loads and operations
>> in main loop.Compared to aarch64/strcpy.S, it reduces latency of cases
>> in bench-strlen by 5%~18% when the length of src is greater than 64
>> bytes, with gains throughout the benchmark.
> 
> This is OK. I tried it on a few microarchitectures, and it's either as fast or
> faster on long strings.
> 
> Wilco

I pushed it upstream.



More information about the Libc-alpha mailing list