about summary refs log tree commit diff
path: root/bits/sched.h
diff options
context:
space:
mode:
authorWilco Dijkstra <wilco.dijkstra@arm.com>2021-07-01 15:30:42 +0100
committerWilco Dijkstra <wdijkstr@arm.com>2021-07-01 15:32:36 +0100
commit252cad02d4c63540501b9b8c988cb91248563224 (patch)
treef43c836158ad49a84b5b348d241d59eb97a9bd0a /bits/sched.h
parenteb68d7d23cc411acdf68a60f194343a6774d6194 (diff)
downloadglibc-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