[PATCH v3] aarch64: add optimised strspn/strcspn

Wilco Dijkstra Wilco.Dijkstra@arm.com
Wed Sep 10 16:16:03 GMT 2025


Hi remph,

> Requires Neon (aka. Advanced SIMD).  Looks up 16 characters at a time,
> for a 2-3x perfomance improvement, and a ~30% speedup on the strtok &
> strsep benchtests, as tested on Cortex A-{53,72}.
>
> Signed-off-by: remph <lhr@disroot.org>

This version looks great indeed, I have committed it for you.

Reviewed-by: Wilco Dijkstra  <Wilco.Dijkstra@arm.com>

Cheers,
Wilco


More information about the Libc-alpha mailing list