File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -316,6 +316,13 @@ if (DEFINED TARGET)
316316 set (KERNEL_DEFINITIONS "${KERNEL_DEFINITIONS} -mcpu=power8 -mtune=power8 -mvsx -fno-fast-math" )
317317 endif ()
318318
319+ if (${TARGET} STREQUAL Z13)
320+ set (KERNEL_DEFINITIONS "${KERNEL_DEFINITIONS} -march=z13 -mzvector"
321+ endif()
322+ if (${TARGET} STREQUAL Z14)
323+ set (KERNEL_DEFINITIONS "${KERNEL_DEFINITIONS} -march=z14 -mzvector"
324+ endif()
325+
319326if (${TARGET} STREQUAL NEOVERSEV1)
320327 if (${CMAKE_C_COMPILER_ID} STREQUAL "PGI" AND NOT NO_SVE)
321328 set (KERNEL_DEFINITIONS "${KERNEL_DEFINITIONS} -Msve_intrinsics -march=armv8.4-a+sve+bf16 -mtune=neoverse-v1" )
@@ -485,7 +492,7 @@ if (SMALL_MATRIX_OPT)
485492endif ()
486493
487494if (DYNAMIC_ARCH)
488- if (X86 OR X86_64 OR ARM64 OR POWER OR RISCV64 OR LOONGARCH64)
495+ if (X86 OR X86_64 OR ARM64 OR POWER OR RISCV64 OR LOONGARCH64 OR ZARCH )
489496 set(CCOMMON_OPT "${CCOMMON_OPT} -DDYNAMIC_ARCH" )
490497 if (DYNAMIC_OLDER)
491498 set(CCOMMON_OPT "${CCOMMON_OPT} -DDYNAMIC_OLDER" )
You can’t perform that action at this time.
0 commit comments