summaryrefslogtreecommitdiff
path: root/config.guess
diff options
context:
space:
mode:
authorTorbjorn Granlund <tg@gmplib.org>2020-10-15 23:44:34 +0200
committerTorbjorn Granlund <tg@gmplib.org>2020-10-15 23:44:34 +0200
commit2d210cc0aa254f609bdfa31f62872f9767038389 (patch)
tree22a4a2e5688c1cafd12385271417b379bb2280b9 /config.guess
parentd8aa1dcc94212f0a91ede1317ac29645d85337dc (diff)
downloadgmp-2d210cc0aa254f609bdfa31f62872f9767038389.tar.gz
Recognise zen3.
Diffstat (limited to 'config.guess')
-rwxr-xr-xconfig.guess12
1 files changed, 11 insertions, 1 deletions
diff --git a/config.guess b/config.guess
index 663148895..2d2680315 100755
--- a/config.guess
+++ b/config.guess
@@ -992,9 +992,19 @@ main ()
default:
modelstr = "zen2";
break;
- }
+ }
+ break;
+ case 25: /* Zen 3 */
+ cpu_64bit = 1, cpu_avx = 1;
+ modelstr = "zen3";
+ break;
}
}
+ else if (strcmp (vendor_string, "HygonGenuine") == 0)
+ {
+ cpu_64bit = 1, cpu_avx = 1;
+ modelstr = "zen";
+ }
else if (strcmp (vendor_string, "CyrixInstead") == 0)
{
/* Should recognize Cyrix' processors too. */