Skip to content

Commit 8a43baa

Browse files
authored
Merge pull request #1836 from martin-frbg/zen2core
Fix detection of Ryzen2 (missing CORE_ZEN)
2 parents 76a66ea + 64ca448 commit 8a43baa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cpuid_x86.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2009,6 +2009,8 @@ int get_coretype(void){
20092009
switch (model) {
20102010
case 1:
20112011
// AMD Ryzen
2012+
case 8:
2013+
// Ryzen 2
20122014
if(support_avx())
20132015
#ifndef NO_AVX2
20142016
return CORE_ZEN;

0 commit comments

Comments
 (0)