nuttx/libs/libc/machine/arm/armv7-a/Kconfig
zhangyuan21 650f17169a libc: add armv7-a armv7-m armv8-m libc function
Porting memory and string optimize functions from newlib and bionic

Signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com>
2023-01-10 11:31:26 +08:00

53 lines
1.4 KiB
Plaintext

#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
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
depends on ARM_NEON
---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