Browse Source

Fix copy-paste error in LIBCORE assignment for Tiger Lake

tags/v0.3.16^2
Martin Kroeker GitHub 4 years ago
parent
commit
4f4e286bf6
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      cpuid_x86.c

+ 4
- 4
cpuid_x86.c View File

@@ -2164,13 +2164,13 @@ int get_coretype(void){
case 8: case 8:
if (model == 12) { // Tiger Lake if (model == 12) { // Tiger Lake
if(support_avx512()) if(support_avx512())
return CPUTYPE_SKYLAKEX;
return CORE_SKYLAKEX;
if(support_avx2()) if(support_avx2())
return CPUTYPE_HASWELL;
return CORE_HASWELL;
if(support_avx()) if(support_avx())
return CPUTYPE_SANDYBRIDGE;
return CORE_SANDYBRIDGE;
else else
return CPUTYPE_NEHALEM;
return CORE_NEHALEM;
} }
if (model == 14) { // Kaby Lake if (model == 14) { // Kaby Lake
if(support_avx()) if(support_avx())


Loading…
Cancel
Save