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> (cherry picked from commit 252cad02)
Loading
Please register or sign in to comment