Merge pull request #1836 from martin-frbg/zen2core

Fix detection of Ryzen2 (missing CORE_ZEN)
This commit is contained in:
Martin Kroeker 2018-10-28 20:00:01 +01:00 committed by GitHub
commit 8a43baacb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -2009,6 +2009,8 @@ int get_coretype(void){
switch (model) {
case 1:
// AMD Ryzen
case 8:
// Ryzen 2
if(support_avx())
#ifndef NO_AVX2
return CORE_ZEN;