]> git.ipfire.org Git - thirdparty/glibc.git/commit
aarch64: Optimized implementation of strcpy
authorXuelei Zhang <zhangxuelei4@huawei.com>
Thu, 19 Dec 2019 13:08:11 +0000 (13:08 +0000)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 19 Dec 2019 19:31:04 +0000 (16:31 -0300)
commit0237b61526e716fa9597f521643908a4fda3b46a
treebac85f002ba42d2039bbb7a7af5ac7ba3c985f3a
parent233efd433d847e69480fe587c4c29a32fe554174
aarch64: Optimized implementation of strcpy

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.

Checked on aarch64-linux-gnu.

Reviewed-by: Wilco Dijkstra <Wilco.Dijkstra@arm.com>
sysdeps/aarch64/strcpy.S