nuttx/libs/libc/machine/arm/armv7-r/Kconfig
chenrun1 fb74c46e4d arm64/gnu:Set arch_* optimizations to be on by default.
Signed-off-by: chenrun1 <chenrun1@xiaomi.com>
2023-08-19 18:43:08 +08:00

65 lines
1.6 KiB
Plaintext

#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
config ARMV7R_STRING_FUNCTION
bool "Enable optimized ARMv7R specific string function"
default n
depends on ARCH_TOOLCHAIN_GNU
select ARMV7R_MEMCHR
select ARMV7R_MEMCPY
select ARMV7R_MEMMOVE
select ARMV7R_MEMSET
select ARMV7R_STRCMP
select ARMV7R_STRLEN
config ARMV7R_MEMCHR
bool "Enable optimized memchr() for ARMv7-R"
default n
select LIBC_ARCH_MEMCHR
depends on ARCH_TOOLCHAIN_GNU
---help---
Enable optimized ARMv7-R specific memchr() library function
config ARMV7R_MEMCPY
bool "Enable optimized memcpy() for ARMv7-R"
select LIBC_ARCH_MEMCPY
depends on ARCH_TOOLCHAIN_GNU
---help---
Enable optimized ARMv7-R specific memcpy() library function
config ARMV7R_MEMMOVE
bool "Enable optimized memmove() for ARMv7-R"
default n
select LIBC_ARCH_MEMMOVE
depends on ARCH_TOOLCHAIN_GNU
---help---
Enable optimized ARMv7-R specific memmove() library function
config ARMV7R_MEMSET
bool "Enable optimized memset() for ARMv7-R"
default n
select LIBC_ARCH_MEMSET
depends on ARCH_TOOLCHAIN_GNU
depends on ARM_NEON
---help---
Enable optimized ARMv7-R specific memset() library function
config ARMV7R_STRCMP
bool "Enable optimized strcmp() for ARMv7-R"
default n
select LIBC_ARCH_STRCMP
depends on ARCH_TOOLCHAIN_GNU
---help---
Enable optimized ARMv7-R specific strcmp() library function
config ARMV7R_STRLEN
bool "Enable optimized strlen() for ARMv7-R"
default n
select LIBC_ARCH_STRLEN
depends on ARCH_TOOLCHAIN_GNU
---help---
Enable optimized ARMv7-R specific strlen() library function