Add initial support for ARMV9 Cortex 510/710/X1/X2
@@ -161,6 +161,30 @@ if (${CORE} STREQUAL ARMV8SVE)
endif ()
endif ()
+if (${CORE} STREQUAL CORTEXA510)
+ if (NOT DYNAMIC_ARCH)
+ set (CCOMMON_OPT "${CCOMMON_OPT} -march=armv8-a+sve")
+ endif ()
+endif ()
+
+if (${CORE} STREQUAL CORTEXA710)
+ if (NOT DYNAMIC_ARCH)
+ set (CCOMMON_OPT "${CCOMMON_OPT} -march=armv8-a+sve")
+ endif ()
+endif ()
+
+if (${CORE} STREQUAL CORTEXX1)
+ if (NOT DYNAMIC_ARCH)
+ set (CCOMMON_OPT "${CCOMMON_OPT} -march=armv8-a+sve")
+ endif ()
+endif ()
+
+if (${CORE} STREQUAL CORTEXX2)
+ if (NOT DYNAMIC_ARCH)
+ set (CCOMMON_OPT "${CCOMMON_OPT} -march=armv8-a+sve")
+ endif ()
+endif ()
+
if (${CORE} STREQUAL POWER10)
if (NOT DYNAMIC_ARCH)
execute_process(COMMAND ${CMAKE_C_COMPILER} -dumpversion OUTPUT_VARIABLE GCC_VERSION)
