mirror of
https://github.com/apache/nuttx.git
synced 2026-10-07 22:35:22 +00:00
Add memset implementation for ARMv7-A/R targets without NEON support, ensuring proper operation on CPUs lacking NEON instructions. Signed-off-by: ligd <liguiding1@xiaomi.com>
62 lines
1.6 KiB
Text
62 lines
1.6 KiB
Text
#
|
|
# For a description of the syntax of this configuration file,
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
#
|
|
|
|
config ARMV7A_STRING_FUNCTION
|
|
bool "Enable optimized ARMv7A specific string function"
|
|
default n
|
|
depends on ARCH_TOOLCHAIN_GNU
|
|
select ARMV7A_MEMCHR
|
|
select ARMV7A_MEMCPY
|
|
select ARMV7A_MEMMOVE
|
|
select ARMV7A_MEMSET
|
|
select ARMV7A_STRCMP
|
|
select ARMV7A_STRLEN
|
|
|
|
config ARMV7A_MEMCHR
|
|
bool "Enable optimized memchr() for ARMv7-A"
|
|
default n
|
|
select LIBC_ARCH_MEMCHR
|
|
depends on ARCH_TOOLCHAIN_GNU
|
|
---help---
|
|
Enable optimized ARMv7-A specific memchr() library function
|
|
|
|
config ARMV7A_MEMCPY
|
|
bool "Enable optimized memcpy() for ARMv7-A"
|
|
select LIBC_ARCH_MEMCPY
|
|
depends on ARCH_TOOLCHAIN_GNU
|
|
---help---
|
|
Enable optimized ARMv7-A specific memcpy() library function
|
|
|
|
config ARMV7A_MEMMOVE
|
|
bool "Enable optimized memmove() for ARMv7-A"
|
|
default n
|
|
select LIBC_ARCH_MEMMOVE
|
|
depends on ARCH_TOOLCHAIN_GNU
|
|
---help---
|
|
Enable optimized ARMv7-A specific memmove() library function
|
|
|
|
config ARMV7A_MEMSET
|
|
bool "Enable optimized memset() for ARMv7-A"
|
|
default n
|
|
select LIBC_ARCH_MEMSET
|
|
depends on ARCH_TOOLCHAIN_GNU
|
|
---help---
|
|
Enable optimized ARMv7-A specific memset() library function
|
|
|
|
config ARMV7A_STRCMP
|
|
bool "Enable optimized strcmp() for ARMv7-A"
|
|
default n
|
|
select LIBC_ARCH_STRCMP
|
|
depends on ARCH_TOOLCHAIN_GNU
|
|
---help---
|
|
Enable optimized ARMv7-A specific strcmp() library function
|
|
|
|
config ARMV7A_STRLEN
|
|
bool "Enable optimized strlen() for ARMv7-A"
|
|
default n
|
|
select LIBC_ARCH_STRLEN
|
|
depends on ARCH_TOOLCHAIN_GNU
|
|
---help---
|
|
Enable optimized ARMv7-A specific strlen() library function
|