Skip to content

Commit 5d9d382

Browse files
authored
Merge pull request #3970 from linouxis9/develop
Improve Intel Raptor Lake detection
2 parents 867eee6 + 280b6d5 commit 5d9d382

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cpuid_x86.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1547,6 +1547,8 @@ int get_cpuname(void){
15471547
case 11: //family 6 exmodel 11
15481548
switch (model) {
15491549
case 7: // Raptor Lake
1550+
case 10:
1551+
case 15:
15501552
if(support_avx2())
15511553
return CPUTYPE_HASWELL;
15521554
if(support_avx())
@@ -2348,6 +2350,8 @@ int get_coretype(void){
23482350
case 11:
23492351
switch (model) {
23502352
case 7: // Raptor Lake
2353+
case 10:
2354+
case 15:
23512355
#ifndef NO_AVX2
23522356
if(support_avx2())
23532357
return CORE_HASWELL;

0 commit comments

Comments
 (0)