Skip to content
Commit 405dd5b5 authored by Wilco Dijkstra's avatar Wilco Dijkstra
Browse files

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: default avatarSzabolcs Nagy <szabolcs.nagy@arm.com>
(cherry picked from commit 252cad02)
parent 0dc9ac6d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment