summaryrefslogtreecommitdiff
path: root/config.guess
diff options
context:
space:
mode:
authortege <tege@gmplib.org>2008-06-19 19:20:44 +0200
committertege <tege@gmplib.org>2008-06-19 19:20:44 +0200
commitb599aac5f692e89231ec70a81558b09e6a42fc0a (patch)
tree93217125321465360c97a8c6c89646e5fd6c7414 /config.guess
parent22cb5a8a86088f7ff0f1eb89d9f24355df367a97 (diff)
downloadgmp-b599aac5f692e89231ec70a81558b09e6a42fc0a.tar.gz
Recognize pentiumm and AMD geode.
Diffstat (limited to 'config.guess')
-rwxr-xr-xconfig.guess18
1 files changed, 11 insertions, 7 deletions
diff --git a/config.guess b/config.guess
index d8c516014..4e7ab6384 100755
--- a/config.guess
+++ b/config.guess
@@ -3,8 +3,8 @@
# GMP config.guess wrapper.
-# Copyright 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
-# Inc.
+# Copyright 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2008 Free Software
+# Foundation, Inc.
#
# This file is part of the GNU MP Library.
#
@@ -718,9 +718,12 @@ main ()
else if (model >= 4) modelstr = "pentiummmx";
break;
case 6:
- if (model == 1) modelstr = "pentiumpro";
+ if (model <= 1) modelstr = "pentiumpro";
else if (model <= 6) modelstr = "pentium2";
- else if (model <= 14) modelstr = "pentium3";
+ else if (model <= 8) modelstr = "pentium3";
+ else if (model <= 9) modelstr = "pentiumm";
+ else if (model <= 12) modelstr = "pentium3";
+ else if (model <= 14) modelstr = "pentiumm";
else modelstr = "core2";
break;
case 15:
@@ -735,9 +738,10 @@ main ()
case 5:
if (model <= 3) modelstr = "k5";
else if (model <= 7) modelstr = "k6";
- else if (model <= 8) modelstr = "k62";
- else if (model <= 9) modelstr = "k63";
- else modelstr = "geode";
+ else if (model == 8) modelstr = "k62";
+ else if (model == 9) modelstr = "k63";
+ else if (model == 10) modelstr = "geode";
+ else if (model == 13) modelstr = "k63";
break;
case 6:
modelstr = "athlon";