diff options
author | Torbjorn Granlund <tg@gmplib.org> | 2019-11-18 00:23:03 +0100 |
---|---|---|
committer | Torbjorn Granlund <tg@gmplib.org> | 2019-11-18 00:23:03 +0100 |
commit | 15c40a6593383660a52b61462cd3b95592e69294 (patch) | |
tree | d40810718b8b425c51a39ab4cf647b7b365c981b /config.guess | |
parent | 33fdd0ad3c05366fa7431418f6ba0da52a2c5091 (diff) | |
download | gmp-15c40a6593383660a52b61462cd3b95592e69294.tar.gz |
Recognise zen2.
Diffstat (limited to 'config.guess')
-rwxr-xr-x | config.guess | 15 |
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) |