Browse Source

add raptor lake ids

tags/v0.3.22^2
Guillaume Horel 2 years ago
parent
commit
e27ad3a6cc
1 changed files with 13 additions and 0 deletions
  1. +13
    -0
      cpuid_x86.c

+ 13
- 0
cpuid_x86.c View File

@@ -1544,6 +1544,13 @@ int get_cpuname(void){
return CPUTYPE_NEHALEM;
}
break;
case 11: //family 6 exmodel 11
switch (model) {
case 7: // Raptor Lake
if(support_avx2())
return CPUTYPE_HASWELL;
}
break;
}
break;
case 0x7:
@@ -2334,6 +2341,12 @@ int get_coretype(void){
return CORE_NEHALEM;
}

case 11:
switch (model) {
case 7: // Raptor Lake
if(support_avx2())
return CORE_HASWELL;
}
case 15:
if (model <= 0x2) return CORE_NORTHWOOD;
else return CORE_PRESCOTT;


Loading…
Cancel
Save