Merge pull request #3299 from martin-frbg/issue3298

Fix copy-paste error in LIBCORE assignment for Tiger Lake
This commit is contained in:
Martin Kroeker 2021-07-10 20:48:53 +02:00 committed by GitHub
commit 993e56b7b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

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