add raptor lake ids

This commit is contained in:
Guillaume Horel 2022-10-28 09:10:40 -04:00
parent 8c10f0abba
commit e27ad3a6cc
1 changed files with 13 additions and 0 deletions

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;