#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#

if ARCH_ARMV7M

config ARMV7M_MEMCPY
	bool "Enable optimized memcpy() for ARMv7-M"
	default n
	select MACHINE_OPTS_ARMV7M
	select LIBC_ARCH_MEMCPY
	depends on ARCH_TOOLCHAIN_GNU
	---help---
		Enable optimized ARMv7-M specific memcpy() library function

config ARMV7M_LIBM
	bool "Architecture specific FPU optimizations"
	default n
	select MACHINE_OPTS_ARMV7M
	select LIBM_ARCH_FABSF
	select LIBM_ARCH_SQRTF
	depends on ARCH_FPU
	depends on LIBM
	---help---
		Enable ARMv7E-M specific floating point optimizations
		for fabsf() and fsqrtf()

config MACHINE_OPTS_ARMV7M
	bool
	default n

config LIBM_ARCH_FABSF
	bool
	default n

config LIBM_ARCH_SQRTF
	bool
	default n

endif
