Fix dynamic detection for ZEN CPUs.
authorGian-Carlo Pascutto <gcp@sjeng.org>
Mon, 10 Apr 2017 17:07:52 +0000 (19:07 +0200)
committerGian-Carlo Pascutto <gcp@sjeng.org>
Mon, 10 Apr 2017 17:08:37 +0000 (19:08 +0200)
driver/others/dynamic.c

index 54b18f2..ad7c0df 100644 (file)
@@ -392,7 +392,7 @@ static gotoblas_t *get_coretype(void){
 
          }
        }
-      } else if (family == 8) {
+      } else if (exfamily == 8) {
        if (model == 1) {
          if(support_avx())
            return &gotoblas_ZEN;