no1wudi commented on a change in pull request #5662:
URL: https://github.com/apache/incubator-nuttx/pull/5662#discussion_r819206165
##########
File path: arch/arm/Kconfig
##########
@@ -887,20 +886,38 @@ config ARM_HAVE_WFE_SEV
---help---
Use WFE and SEV instructions for spinlock to reduce power
consumption
-config ARM_HAVE_FPU_D32
+config ARM_HAVE_DPFPU32
bool
- select ARCH_HAVE_FPU
default n
+ select ARCH_HAVE_DPFPU
---help---
- FPU implemented in the VFPv3-D32 format that supports
+ FPU implemented in the VFPv[3|4]-D32 format that supports
32 double-precision floating-point registers.
config ARM_HAVE_NEON
bool
default n
+ select ARM_HAVE_DPFPU32
---help---
Decide whether support NEON instruction
+config ARM_FPU_ABI_SOFT
+ bool "Soft Float ABI"
+ default n
+ depends on ARCH_HAVE_FPU
+ ---help---
+ Pass float value via integer register (-mfloat-abi=softfp)
+
+config ARM_DPFPU32
+ bool "FPU with 32 double-precision register"
+ default y
+ depends on ARCH_DPFPU && ARM_HAVE_DPFPU32
Review comment:
Why ? The relationship between ARM_DPFPU32 and ARCH_DPFPU is like
ARCH_DPFPU and ARCH_FPU, you can enable DPFPU with ARCH_FPU disabled.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]