HomeFreeBSD

lib/libc/amd64/string: add memchr(3) scalar, baseline implementation

Description

lib/libc/amd64/string: add memchr(3) scalar, baseline implementation

This is conceptually similar to strchr(3), but there are
slight changes to account for the buffer having an explicit
buffer length.

Sponsored by: The FreeBSD Foundation
Approved by: mjg
MFC after: 1 week
MFC to: stable/14
Differential Revision: https://reviews.freebsd.org/D41598

Details

Provenance
fuzAuthored on Aug 24 2023, 4:43 PM
Differential Revision
D41598: lib/libc/amd64/string: add memchr(3) scalar, baseline implementation
Parents
rGa559ef1ac859: share/man/man7/simd.7: document simd-enhanced strspn(3)
Branches
Unknown
Tags
Unknown