Skip to content

Commit 426b5f2

Browse files
authored
Add compiler options for VORTEXM4
1 parent 4328c91 commit 426b5f2

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

cmake/system.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,9 @@ if (${TARGET} STREQUAL NEOVERSEV1)
361361
if (${TARGET} STREQUAL ARMV9SME)
362362
set (KERNEL_DEFINITIONS "${KERNEL_DEFINITIONS} -march=armv9-a+sme -O3")
363363
endif()
364+
if (${TARGET} STREQUAL VORTEXM4)
365+
set (KERNEL_DEFINITIONS "${KERNEL_DEFINITIONS} -march=armv8.4-a+sme -O3")
366+
endif()
364367
if (${TARGET} STREQUAL A64FX)
365368
if (${CMAKE_C_COMPILER_ID} STREQUAL "PGI" AND NOT NO_SVE)
366369
set (KERNEL_DEFINITIONS "${KERNEL_DEFINITIONS} -Msve-intrinsics -march=armv8.2-a+sve -mtune=a64fx")

0 commit comments

Comments
 (0)