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 371e6f7 + 883c397 commit 0925ef7Copy full SHA for 0925ef7
cpuid_zarch.c
@@ -30,17 +30,20 @@
30
#define CPU_GENERIC 0
31
#define CPU_Z13 1
32
#define CPU_Z14 2
33
+#define CPU_Z15 3
34
35
static char *cpuname[] = {
36
"ZARCH_GENERIC",
37
"Z13",
- "Z14"
38
+ "Z14",
39
+ "Z15"
40
};
41
42
static char *cpuname_lower[] = {
43
"zarch_generic",
44
"z13",
- "z14"
45
+ "z14",
46
+ "z15"
47
48
49
int detect(void)
@@ -66,6 +69,7 @@ int detect(void)
66
69
if (strstr(p, "2965")) return CPU_Z13;
67
70
if (strstr(p, "3906")) return CPU_Z14;
68
71
if (strstr(p, "3907")) return CPU_Z14;
72
+ if (strstr(p, "8561")) return CPU_Z14; // fallback z15 to z14
73
74
return CPU_GENERIC;
75
}
0 commit comments