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---
|
---help---
|
||||||
Decide whether support NEON instruction
|
Decide whether support NEON instruction
|
||||||
|
|
||||||
|
config ARM_HAVE_MVE
|
||||||
|
bool
|
||||||
|
default n
|
||||||
|
---help---
|
||||||
|
Decide whether support MVE instruction
|
||||||
|
|
||||||
config ARM_FPU_ABI_SOFT
|
config ARM_FPU_ABI_SOFT
|
||||||
bool "Soft Float ABI"
|
bool "Soft Float ABI"
|
||||||
default n
|
default n
|
||||||
|
@ -100,7 +100,11 @@ else ifeq ($(CONFIG_ARCH_CORTEXM35P),y)
|
|||||||
endif
|
endif
|
||||||
else ifeq ($(CONFIG_ARCH_CORTEXM55),y)
|
else ifeq ($(CONFIG_ARCH_CORTEXM55),y)
|
||||||
TOOLCHAIN_MTUNE := -mtune=cortex-m55
|
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)
|
ifeq ($(CONFIG_ARCH_FPU),y)
|
||||||
TOOLCHAIN_MFLOAT := -mfpu=fpv5-d16
|
TOOLCHAIN_MFLOAT := -mfpu=fpv5-d16
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user