Home
last modified time | relevance | path

Searched hist:"25 c485e147691f3929b0b5029bab58bf56d3606b" (Results 1 – 2 of 2) sorted by relevance

/freebsd/lib/libc/aarch64/string/
H A Dstrncmp.S25c485e147691f3929b0b5029bab58bf56d3606b Mon Aug 26 20:14:37 CEST 2024 Getz Mikalsen <getz@FreeBSD.org> lib/libc/aarch64/string: add strncmp SIMD implementation

This changeset includes a port of the SIMD implementation of
strncmp for amd64 to Aarch64.

It is based on D45839 with added handling for the limit.

An extended unit test for strncmp is currently being written to
make sure the bounds checks for page crossings work as expected.

Performance is significantly better than the existing
implementation from the Arm Optimized Routines repository.

Benchmark results are generated by the strperf utility by fuz.

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/D45943
H A DMakefile.incdiff 25c485e147691f3929b0b5029bab58bf56d3606b Mon Aug 26 20:14:37 CEST 2024 Getz Mikalsen <getz@FreeBSD.org> lib/libc/aarch64/string: add strncmp SIMD implementation

This changeset includes a port of the SIMD implementation of
strncmp for amd64 to Aarch64.

It is based on D45839 with added handling for the limit.

An extended unit test for strncmp is currently being written to
make sure the bounds checks for page crossings work as expected.

Performance is significantly better than the existing
implementation from the Arm Optimized Routines repository.

Benchmark results are generated by the strperf utility by fuz.

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/D45943