mirror of
https://github.com/apache/nuttx.git
synced 2026-05-29 04:19:37 +08:00
arch/risc-v: add ARCH_QPFPU for Quad-Precision Floating-Point
new options to enable toolchain support for quadruple precision (128 bits or 16 bytes) floating point if both the toolchain and the hardware support it. Signed-off-by: chao an <anchao@lixiang.com>
This commit is contained in:
@@ -440,6 +440,11 @@ config ARCH_HAVE_DPFPU
|
|||||||
default n
|
default n
|
||||||
select ARCH_HAVE_FPU
|
select ARCH_HAVE_FPU
|
||||||
|
|
||||||
|
config ARCH_HAVE_QPFPU
|
||||||
|
bool
|
||||||
|
default n
|
||||||
|
select ARCH_HAVE_DPFPU
|
||||||
|
|
||||||
config ARCH_HAVE_LAZYFPU
|
config ARCH_HAVE_LAZYFPU
|
||||||
bool
|
bool
|
||||||
default n
|
default n
|
||||||
@@ -577,6 +582,14 @@ config ARCH_DPFPU
|
|||||||
Enable toolchain support for double precision (64-bit) floating
|
Enable toolchain support for double precision (64-bit) floating
|
||||||
point if both the toolchain and the hardware support it.
|
point if both the toolchain and the hardware support it.
|
||||||
|
|
||||||
|
config ARCH_QPFPU
|
||||||
|
bool "Quad-Precision FPU support"
|
||||||
|
default y
|
||||||
|
depends on ARCH_FPU && ARCH_HAVE_DPFPU && ARCH_HAVE_QPFPU
|
||||||
|
---help---
|
||||||
|
Enable toolchain support for quadruple precision (128 bits or 16 bytes) floating
|
||||||
|
point if both the toolchain and the hardware support it.
|
||||||
|
|
||||||
config ARCH_LAZYFPU
|
config ARCH_LAZYFPU
|
||||||
bool "Enable lazy FPU state save / restore"
|
bool "Enable lazy FPU state save / restore"
|
||||||
default n
|
default n
|
||||||
|
|||||||
Reference in New Issue
Block a user