Shanks0224 opened a new pull request, #22211: URL: https://github.com/apache/nuttx/pull/22211
*Note: Please adhere to [Contributing Guidelines](https://github.com/apache/nuttx/blob/master/CONTRIBUTING.md).* ## Summary For armv8-r: - Add ARM-state `memcmp`, `strchr`, `strchrnul`, `strncmp`, `strnlen` and `strrchr`, sharing the ARMv7-A sources. They scan a word at a time instead of a byte at a time. - Speed up `memmove`: the forward path copies 16 bytes per iteration with NEON when available, and a word at a time otherwise. The overlapping backward path stays a byte loop. - Compare 8 bytes per iteration in `memcmp` with `ldrd`. Each function has its own Kconfig option that selects the matching `LIBC_ARCH_*` symbol (default n). Split from #22186. ## Impact - Opt-in only; the default configuration is unchanged. - No impact on the build system, documentation or hardware. ## Testing Build host: Linux x86_64. - `qemu-armv8r-aarch32:nsh` builds with the new options enabled. - Not run: the qemu-armv8r-aarch32 board does not start on the QEMU version used. The same sources pass 11976 cases on Cortex-A7 and Cortex-R5F (see #22186). -- 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]
