Shanks0224 opened a new pull request, #22212: URL: https://github.com/apache/nuttx/pull/22212
*Note: Please adhere to [Contributing Guidelines](https://github.com/apache/nuttx/blob/master/CONTRIBUTING.md).* ## Summary For armv8-m: - Add Thumb-2 `memcmp`, `strchr`, `strchrnul`, `strncmp`, `strnlen` and `strrchr`. They scan a word at a time instead of a byte at a time. - Speed up `memmove`: an MVE low-overhead loop copies 16 bytes per iteration when MVE is available, a word at a time otherwise. The scratch register moves from r12 to r6 so that r12 keeps the PAC signature and is checked with `aut` on return. - Add MVE paths to `memchr`, `strlen` and `strcpy`. Each function has its own Kconfig option that selects the matching `LIBC_ARCH_*` symbol (default n). Split from #22187. ## Impact - Opt-in only; the default configuration is unchanged. - No impact on the build system, documentation or hardware. ## Testing Build host: Linux x86_64. - 11976 cases over offsets, lengths and overlaps, compared with a byte-by-byte reference, on QEMU mps3-an547 (Cortex-M55, MVE path): 0 failures. - Pointer authentication (PAC/BTI) code paths were only assembled, not run. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
