We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5d02f2e + e27ad3a commit 4743d80Copy full SHA for 4743d80
cpuid_x86.c
@@ -1544,6 +1544,13 @@ int get_cpuname(void){
1544
return CPUTYPE_NEHALEM;
1545
}
1546
break;
1547
+ case 11: //family 6 exmodel 11
1548
+ switch (model) {
1549
+ case 7: // Raptor Lake
1550
+ if(support_avx2())
1551
+ return CPUTYPE_HASWELL;
1552
+ }
1553
+ break;
1554
1555
1556
case 0x7:
@@ -2334,6 +2341,12 @@ int get_coretype(void){
2334
2341
return CORE_NEHALEM;
2335
2342
2336
2343
2344
+ case 11:
2345
2346
2347
2348
+ return CORE_HASWELL;
2349
2337
2350
case 15:
2338
2351
if (model <= 0x2) return CORE_NORTHWOOD;
2339
2352
else return CORE_PRESCOTT;
0 commit comments