summaryrefslogtreecommitdiff
path: root/config.guess
diff options
context:
space:
mode:
authorTorbjorn Granlund <tg@gmplib.org>2019-11-18 00:23:03 +0100
committerTorbjorn Granlund <tg@gmplib.org>2019-11-18 00:23:03 +0100
commit15c40a6593383660a52b61462cd3b95592e69294 (patch)
treed40810718b8b425c51a39ab4cf647b7b365c981b /config.guess
parent33fdd0ad3c05366fa7431418f6ba0da52a2c5091 (diff)
downloadgmp-15c40a6593383660a52b61462cd3b95592e69294.tar.gz
Recognise zen2.
Diffstat (limited to 'config.guess')
-rwxr-xr-xconfig.guess15
1 files changed, 13 insertions, 2 deletions
diff --git a/config.guess b/config.guess
index ca3da03cf..663148895 100755
--- a/config.guess
+++ b/config.guess
@@ -980,8 +980,19 @@ main ()
cpu_64bit = 1, cpu_avx = 1, modelstr = "jaguar";
break;
case 23: /* Zen */
- cpu_64bit = 1, cpu_avx = 1, modelstr = "zen";
- break;
+ cpu_64bit = 1, cpu_avx = 1;
+ switch (model)
+ {
+ case 1:
+ case 8:
+ case 17:
+ case 24:
+ modelstr = "zen";
+ break;
+ default:
+ modelstr = "zen2";
+ break;
+ }
}
}
else if (strcmp (vendor_string, "CyrixInstead") == 0)