nuttx/libs/libc/machine/risc-v/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

37 lines
933 B
Plaintext

#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
config RISCV_STRING_FUNCTION
bool "Enable optimized RISC-V specific string function"
default n
depends on ARCH_TOOLCHAIN_GNU
select RISCV_MEMCPY
select RISCV_MEMSET
select RISCV_STRCMP
config RISCV_MEMCPY
bool "Enable optimized memcpy() for RISC-V"
select LIBC_ARCH_MEMCPY
depends on ARCH_TOOLCHAIN_GNU
---help---
Enable optimized RISC-V specific memcpy() library function
config RISCV_MEMSET
bool "Enable optimized memset() for RISC-V"
default n
select LIBC_ARCH_MEMSET
depends on ARCH_TOOLCHAIN_GNU
---help---
Enable optimized RISC-V specific memset() library function
config RISCV_STRCMP
bool "Enable optimized strcmp() for RISC-V"
default n
select LIBC_ARCH_STRCMP
depends on ARCH_TOOLCHAIN_GNU
---help---
Enable optimized RISC-V specific strcmp() library function