diff options
author | Wilco Dijkstra <wilco.dijkstra@arm.com> | 2021-07-01 15:30:42 +0100 |
---|---|---|
committer | Wilco Dijkstra <wdijkstr@arm.com> | 2021-07-01 15:32:36 +0100 |
commit | 252cad02d4c63540501b9b8c988cb91248563224 (patch) | |
tree | f43c836158ad49a84b5b348d241d59eb97a9bd0a /bits/sched.h | |
parent | eb68d7d23cc411acdf68a60f194343a6774d6194 (diff) | |
download | glibc-252cad02d4c63540501b9b8c988cb91248563224.tar.gz glibc-252cad02d4c63540501b9b8c988cb91248563224.tar.xz glibc-252cad02d4c63540501b9b8c988cb91248563224.zip |
AArch64: Improve strnlen performance
Optimize strnlen by avoiding UMINV which is slow on most cores. On Neoverse N1 large strings are 1.8x faster than the current version, and bench-strnlen is 50% faster overall. This version is MTE compatible. Reviewed-by: Szabolcs Nagy <szabolcs.nagy@arm.com>
Diffstat (limited to 'bits/sched.h')
0 files changed, 0 insertions, 0 deletions