const char *cpu;
unsigned int cpuid;
} cpu_is_info[] = {
+ { "power10", PPC_PLATFORM_POWER10 },
{ "power9", PPC_PLATFORM_POWER9 },
{ "power8", PPC_PLATFORM_POWER8 },
{ "power7", PPC_PLATFORM_POWER7 },
The following CPU names can be detected:
@table @samp
+@item power10
+IBM POWER10 Server CPU.
@item power9
IBM POWER9 Server CPU.
@item power8
CPU supports ISA 2.07 (eg, POWER8)
@item arch_3_00
CPU supports ISA 3.0 (eg, POWER9)
+@item arch_3_1
+CPU supports ISA 3.1 (eg, POWER10)
@item archpmu
CPU supports the set of compatible performance monitoring events.
@item booke
CPU supports 128-bit IEEE binary floating point instructions.
@item isel
CPU supports the integer select instruction.
+@item mma
+CPU supports the matrix-multiply assist instructions.
@item mmu
CPU has a memory management unit.
@item notb
p[12] = __builtin_cpu_is ("ppc440");
p[13] = __builtin_cpu_is ("ppc405");
p[14] = __builtin_cpu_is ("ppc-cell-be");
+ p[15] = __builtin_cpu_is ("power10");
#else
p[0] = 0;
#endif
p[38] = __builtin_cpu_supports ("darn");
p[39] = __builtin_cpu_supports ("scv");
p[40] = __builtin_cpu_supports ("htm-no-suspend");
+ p[41] = __builtin_cpu_supports ("arch_3_1");
+ p[42] = __builtin_cpu_supports ("mma");
#else
p[0] = 0;
#endif