summaryrefslogtreecommitdiff
path: root/config.guess
diff options
context:
space:
mode:
authorTorbjorn Granlund <tege@gmplib.org>2014-01-24 14:56:57 +0100
committerTorbjorn Granlund <tege@gmplib.org>2014-01-24 14:56:57 +0100
commit3b636872b399d32c12806760e05f8fd10f6ac966 (patch)
treee1fa0824e851b997e31a81066ff31f9e6b3aa3c0 /config.guess
parentd34a2bd495ad869a9f2f45c7de347fba6a6ef781 (diff)
downloadgmp-3b636872b399d32c12806760e05f8fd10f6ac966.tar.gz
Amend last AMD change.
Diffstat (limited to 'config.guess')
-rwxr-xr-xconfig.guess8
1 files changed, 4 insertions, 4 deletions
diff --git a/config.guess b/config.guess
index dadf22b2f..7bd9423a1 100755
--- a/config.guess
+++ b/config.guess
@@ -844,13 +844,13 @@ main ()
break;
case 21: /* Bulldozer */
cpu_64bit = 1;
- if (model == 1)
+ if (model <= 1)
modelstr = "bulldozer";
- else if (model == 2)
+ else if (model < 0x20) /* really 2, [0x10-0x20) */
modelstr = "piledriver";
- else if (model == 3)
+ else if (model < 0x40) /* really [0x30-0x40) */
modelstr = "steamroller";
- else /* if (model < 0x9) */
+ else /* really [0x60-0x70) */
modelstr = "excavator";
break;
case 22: /* Jaguar, an improved bobcat */