2017-01-20 15:24:59 +01:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
|
|
#
|
|
|
|
|
2020-11-26 12:59:11 +01:00
|
|
|
if ARCH_ARMV8M
|
2017-01-20 15:24:59 +01:00
|
|
|
|
2020-11-26 13:06:21 +01:00
|
|
|
config ARMV8M_LIBM
|
2017-01-20 15:24:59 +01:00
|
|
|
bool "Architecture specific optimizations"
|
|
|
|
default n
|
2022-01-07 03:56:12 +01:00
|
|
|
select LIBM_ARCH_CEIL if ARCH_DPFPU
|
|
|
|
select LIBM_ARCH_FLOOR if ARCH_DPFPU
|
|
|
|
select LIBM_ARCH_NEARBYINT if ARCH_DPFPU
|
|
|
|
select LIBM_ARCH_RINT if ARCH_DPFPU
|
|
|
|
select LIBM_ARCH_ROUND if ARCH_DPFPU
|
|
|
|
select LIBM_ARCH_TRUNC if ARCH_DPFPU
|
|
|
|
select LIBM_ARCH_CEILF if ARCH_FPU
|
|
|
|
select LIBM_ARCH_FLOORF if ARCH_FPU
|
|
|
|
select LIBM_ARCH_NEARBYINTF if ARCH_FPU
|
|
|
|
select LIBM_ARCH_RINTF if ARCH_FPU
|
|
|
|
select LIBM_ARCH_ROUNDF if ARCH_FPU
|
|
|
|
select LIBM_ARCH_TRUNCF if ARCH_FPU
|
2017-01-20 15:24:59 +01:00
|
|
|
depends on LIBM
|
|
|
|
---help---
|
|
|
|
Enable ARMv8 specific floating point optimizations.
|
|
|
|
|
|
|
|
endif
|