Add cpuid for AMD Ryzen 2

for #1664
This commit is contained in:
Martin Kroeker
2018-07-03 21:01:35 +02:00
committed by GitHub
parent 61659f8765
commit 3f73e8b8cf

View File

@@ -1452,6 +1452,8 @@ int get_cpuname(void){
switch (model) {
case 1:
// AMD Ryzen
case 8:
// AMD Ryzen2
if(support_avx())
#ifndef NO_AVX2
return CPUTYPE_ZEN;