HomeFreeBSD

lib/libc/amd64/string: implement strpbrk() through strcspn()

Description

lib/libc/amd64/string: implement strpbrk() through strcspn()

This lets us use our optimised strcspn() routine for strpbrk() calls.

Sponsored by: The FreeBSD Foundation
Tested by: developers@, exp-run
Approved by: mjg
MFC after: 1 month
MFC to: stable/14
PR: 275785
Differential Revision: https://reviews.freebsd.org/D41980

Details

Provenance
fuzAuthored on Sep 25 2023, 9:43 PM
Differential Revision
D41980: lib/libc/amd64/string: implement strpbrk() through strcspn()
Parents
rG47adb1e01264: share/man/man7/simd.7: document new amd64 baseline strcmp()
Branches
Unknown
Tags
Unknown