Browse Source
Merge pull request #3970 from linouxis9/develop
Improve Intel Raptor Lake detection
tags/v0.3.23
Martin Kroeker
GitHub
3 years ago
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
0 deletions
-
cpuid_x86.c
|
|
|
@@ -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()) |
|
|
|
@@ -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; |
|
|
|
|