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 3a39062 commit e9437eeCopy full SHA for e9437ee
cpuid_x86.c
@@ -1197,7 +1197,11 @@ int get_cpuname(void){
1197
case 3:
1198
case 5:
1199
case 6:
1200
+#if defined(__x86_64__) || defined(__amd64__)
1201
+ return CPUTYPE_CORE2;
1202
+#else
1203
return CPUTYPE_PENTIUM2;
1204
+#endif
1205
case 7:
1206
case 8:
1207
case 10:
@@ -1379,6 +1383,8 @@ int get_cpuname(void){
1379
1383
break;
1380
1384
case 7: // family 6 exmodel 7
1381
1385
switch (model) {
1386
+ case 10: // Goldmont Plus
1387
+ return CPUTYPE_NEHALEM;
1382
1388
case 14: // Ice Lake
1389
if(support_avx512())
1390
return CPUTYPE_SKYLAKEX;
0 commit comments