From 4f4e286bf67aeb92132f06dd1637e437d3ec759d Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Sat, 10 Jul 2021 18:20:40 +0200 Subject: [PATCH] Fix copy-paste error in LIBCORE assignment for Tiger Lake --- cpuid_x86.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cpuid_x86.c b/cpuid_x86.c index 4737b1851..00fc8baa0 100644 --- a/cpuid_x86.c +++ b/cpuid_x86.c @@ -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())