Page MenuHomeFreeBSD

lib/libc/aarch64/string: add strncat SIMD implementation
ClosedPublic

Authored by getz on Aug 14 2024, 2:12 PM.
Tags
None
Referenced Files
F108749624: D46292.id142444.diff
Mon, Jan 27, 5:07 PM
Unknown Object (File)
Thu, Jan 23, 6:52 PM
Unknown Object (File)
Fri, Jan 10, 6:58 PM
Unknown Object (File)
Sat, Jan 4, 3:02 AM
Unknown Object (File)
Dec 26 2024, 7:33 PM
Unknown Object (File)
Dec 25 2024, 8:30 PM
Unknown Object (File)
Dec 2 2024, 10:24 PM
Unknown Object (File)
Nov 30 2024, 6:23 AM
Subscribers

Details

Summary

This patch requires D46170 as it depends on strlcpy being labeled
__memccpy.

It's a direct copy from the amd64 string functions.

Test Plan

Passes all tests

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

getz requested review of this revision.Aug 14 2024, 2:12 PM

This looks reasonable.

This revision is now accepted and ready to land.Aug 14 2024, 5:11 PM
This revision now requires review to proceed.Aug 26 2024, 6:02 PM

Could this be made machine independent?

@andrew If we don't have an assembly implementation for memccpy, it's generally faster to implement this function directly.

exp-run says it's fine.

This revision is now accepted and ready to land.Nov 6 2024, 2:24 PM
This revision was automatically updated to reflect the committed changes.