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.
1 parent 55a0718 commit a8d3619Copy full SHA for a8d3619
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