Browse Source

Fix core detection for Kaby Lake without AVX (G4560)

Should fix #1109)
tags/v0.2.20^2
Martin Kroeker GitHub 9 years ago
parent
commit
688267edf3
1 changed files with 8 additions and 1 deletions
  1. +8
    -1
      cpuid_x86.c

+ 8
- 1
cpuid_x86.c View File

@@ -1777,7 +1777,14 @@ int get_coretype(void){
case 9:
case 8:
if (model == 14) // Kaby Lake
return CORE_HASWELL;
if(support_avx())
#ifndef NO_AVX2
return CORE_HASWELL;
#else
return CORE_SANDYBRIDGE;
#endif
else
return CORE_NEHALEM;
}
break;



Loading…
Cancel
Save