--- cpuid_x86.c.orig 2017-07-24 06:03:35.000000000 +0200 +++ cpuid_x86.c 2018-10-10 12:07:34.237824000 +0200 @@ -1329,6 +1329,7 @@ case 8: switch (model) { case 1: + case 8: // AMD Ryzen if(support_avx()) #ifndef NO_AVX2 @@ -1865,6 +1866,7 @@ } else if (exfamily == 8) { switch (model) { case 1: + case 8: // AMD Ryzen if(support_avx()) #ifndef NO_AVX2