[Gmp-commit] /var/hg/gmp: 2 new changesets

mercurial at gmplib.org mercurial at gmplib.org
Sun Dec 23 23:06:57 CET 2012


details:   /var/hg/gmp/rev/4f0b74411381
changeset: 15210:4f0b74411381
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Sun Dec 23 13:24:04 2012 +0100
description:
Recognise AMD family 22 as a future bobcat.

details:   /var/hg/gmp/rev/d5cb4915f5a5
changeset: 15211:d5cb4915f5a5
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Sun Dec 23 23:06:54 2012 +0100
description:
(check_onebit): Decrease vax limit to avoid overflow in last, unused 'want' value.

diffstat:

 config.guess        |  4 ++--
 tests/mpz/t-get_d.c |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r 500ec6f20185 -r d5cb4915f5a5 config.guess
--- a/config.guess	Sat Dec 22 21:19:18 2012 +0100
+++ b/config.guess	Sun Dec 23 23:06:54 2012 +0100
@@ -857,8 +857,8 @@
 	case 21:		/* Bulldozer */
 	  cpu_64bit = 1, modelstr = "bulldozer";
 	  break;
-	case 22:		/* AMD Internal, assume future bulldozer */
-	  cpu_64bit = 1, modelstr = "bulldozer";
+	case 22:		/* jaguar, an improved bobcat */
+	  cpu_64bit = 1, modelstr = "bobcat";
 	  break;
 	}
     }
diff -r 500ec6f20185 -r d5cb4915f5a5 tests/mpz/t-get_d.c
--- a/tests/mpz/t-get_d.c	Sat Dec 22 21:19:18 2012 +0100
+++ b/tests/mpz/t-get_d.c	Sun Dec 23 23:06:54 2012 +0100
@@ -1,6 +1,6 @@
 /* Test mpz_get_d.
 
-Copyright 2002 Free Software Foundation, Inc.
+Copyright 2002, 2012 Free Software Foundation, Inc.
 
 This file is part of the GNU MP Library test suite.
 
@@ -32,7 +32,7 @@
   double  got, want;
   /* FIXME: It'd be better to base this on the float format. */
 #if defined (__vax) || defined (__vax__)
-  int     limit = 127;  /* vax fp numbers have limited range */
+  int     limit = 127 - 1;  /* vax fp numbers have limited range */
 #else
   int     limit = 512;
 #endif


More information about the gmp-commit mailing list