Skip to content

Commit

Permalink
Merge pull request #3970 from linouxis9/develop
Browse files Browse the repository at this point in the history
Improve Intel Raptor Lake detection
  • Loading branch information
martin-frbg authored Mar 28, 2023
2 parents 867eee6 + 280b6d5 commit 5d9d382
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cpuid_x86.c
Original file line number Diff line number Diff line change
Expand Up @@ -1547,6 +1547,8 @@ int get_cpuname(void){
case 11: //family 6 exmodel 11
switch (model) {
case 7: // Raptor Lake
case 10:
case 15:
if(support_avx2())
return CPUTYPE_HASWELL;
if(support_avx())
Expand Down Expand Up @@ -2348,6 +2350,8 @@ int get_coretype(void){
case 11:
switch (model) {
case 7: // Raptor Lake
case 10:
case 15:
#ifndef NO_AVX2
if(support_avx2())
return CORE_HASWELL;
Expand Down

0 comments on commit 5d9d382

Please sign in to comment.