#
# 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

