HomeFreeBSD

lib/libc/aarch64/string: add strspn optimized implementation

Description

lib/libc/aarch64/string: add strspn optimized implementation

This is a port of the Scalar optimized variant of strspn for amd64
to aarch64.

It utilizes a LUT to speed up the function, a SIMD variant is still
under development.

See the DR for benchmark results.

Tested by: fuz (exprun)
Reviewed by: fuz, emaste
Sponsored by: Google LLC (GSoC 2024)
PR: 281175
Differential Revision: https://reviews.freebsd.org/D46396

Details

Provenance
getzAuthored on Aug 26 2024, 6:13 PM
fuzCommitted on Jan 10 2025, 3:02 PM
Reviewer
fuz
Differential Revision
D46396: lib/libc/aarch64/string: add strspn optimized implementation
Parents
rG5e7d93a60440: lib/libc/aarch64/string: add strcmp SIMD implementation
Branches
Unknown
Tags
Unknown