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:
parent
d2c4de6167
commit
90f24ec29d
13
arch/Kconfig
13
arch/Kconfig
|
@ -440,6 +440,11 @@ config ARCH_HAVE_DPFPU
|
|||
default n
|
||||
select ARCH_HAVE_FPU
|
||||
|
||||
config ARCH_HAVE_QPFPU
|
||||
bool
|
||||
default n
|
||||
select ARCH_HAVE_DPFPU
|
||||
|
||||
config ARCH_HAVE_LAZYFPU
|
||||
bool
|
||||
default n
|
||||
|
@ -577,6 +582,14 @@ config ARCH_DPFPU
|
|||
Enable toolchain support for double precision (64-bit) floating
|
||||
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
|
||||
bool "Enable lazy FPU state save / restore"
|
||||
default n
|
||||
|
|
Loading…
Reference in New Issue