nuttx: Add new config ARM_HAVE_MVE for MVE instruction
Signed-off-by: lishaoen <lishaoen@xiaomi.com>
This commit is contained in:
parent
83a5e9958f
commit
aa0c9fd788
|
@ -901,6 +901,12 @@ config ARM_HAVE_NEON
|
|||
---help---
|
||||
Decide whether support NEON instruction
|
||||
|
||||
config ARM_HAVE_MVE
|
||||
bool
|
||||
default n
|
||||
---help---
|
||||
Decide whether support MVE instruction
|
||||
|
||||
config ARM_FPU_ABI_SOFT
|
||||
bool "Soft Float ABI"
|
||||
default n
|
||||
|
|
|
@ -100,7 +100,11 @@ else ifeq ($(CONFIG_ARCH_CORTEXM35P),y)
|
|||
endif
|
||||
else ifeq ($(CONFIG_ARCH_CORTEXM55),y)
|
||||
TOOLCHAIN_MTUNE := -mtune=cortex-m55
|
||||
TOOLCHAIN_MARCH := -march=armv8.1-m.main+dsp
|
||||
ifeq ($(CONFIG_ARM_HAVE_MVE),y)
|
||||
TOOLCHAIN_MARCH := -march=armv8.1-m.main+mve.fp+fp.dp
|
||||
else
|
||||
TOOLCHAIN_MARCH := -march=armv8.1-m.main+dsp
|
||||
endif
|
||||
ifeq ($(CONFIG_ARCH_FPU),y)
|
||||
TOOLCHAIN_MFLOAT := -mfpu=fpv5-d16
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue