We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 55a0718 + a8d3619 commit 302ca7eCopy full SHA for 302ca7e
cmake/cc.cmake
@@ -282,6 +282,18 @@ if (${CORE} STREQUAL POWER8)
282
endif ()
283
284
285
+if (${CORE} STREQUAL PPC970)
286
+ if (NOT DYNAMIC_ARCH)
287
+ set (CCOMMON_OPT "${CCOMMON_OPT} -mcpu=970 -mtune=970 -maltivec -fno-fast-math")
288
+ endif ()
289
+endif ()
290
+
291
+if (${CORE} STREQUAL PPCG4)
292
293
+ set (CCOMMON_OPT "${CCOMMON_OPT} -mcpu=G4 -mtune=G4 -maltivec -fno-fast-math")
294
295
296
297
if (NOT DYNAMIC_ARCH)
298
if (HAVE_AVX2)
299
set (CCOMMON_OPT "${CCOMMON_OPT} -mavx2")
0 commit comments