diff options
author | Xuelei Zhang <zhangxuelei4@huawei.com> | 2019-12-19 13:41:40 +0000 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2019-12-19 16:31:04 -0300 |
commit | c2150769d015dca1805334af7743829f1e4c0b6a (patch) | |
tree | 9a57061392d7a63e1696ab208005677b3968bfce /sysdeps/s390/ifunc-strspn.h | |
parent | 0db8e7b36665fa90c53161742dedab21d786924c (diff) | |
download | glibc-c2150769d015dca1805334af7743829f1e4c0b6a.tar glibc-c2150769d015dca1805334af7743829f1e4c0b6a.tar.gz glibc-c2150769d015dca1805334af7743829f1e4c0b6a.tar.bz2 glibc-c2150769d015dca1805334af7743829f1e4c0b6a.zip |
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: Wilco Dijkstra <Wilco.Dijkstra@arm.com>
Diffstat (limited to 'sysdeps/s390/ifunc-strspn.h')
0 files changed, 0 insertions, 0 deletions