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

mercurial at gmplib.org mercurial at gmplib.org
Fri Nov 8 22:08:11 CET 2013


details:   /var/hg/gmp/rev/527353e2a87d
changeset: 16086:527353e2a87d
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Fri Nov 08 21:53:14 2013 +0100
description:
Test HAVE_HOST_CPU_FAMILY_x86, not i386.

details:   /var/hg/gmp/rev/1851b27fe14a
changeset: 16087:1851b27fe14a
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Fri Nov 08 21:55:40 2013 +0100
description:
Layout header like in other files.

details:   /var/hg/gmp/rev/ae46a4af7f84
changeset: 16088:ae46a4af7f84
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Fri Nov 08 22:08:08 2013 +0100
description:
ChangeLog

diffstat:

 ChangeLog                   |  6 ++++++
 mpn/generic/div_qr_1n_pi1.c |  7 +++----
 mpn/generic/div_qr_2.c      |  9 ++++-----
 mpn/generic/div_qr_2n_pi1.c |  7 +++----
 mpn/generic/div_qr_2u_pi1.c |  7 +++----
 mpn/generic/divrem_2.c      |  7 +++----
 6 files changed, 22 insertions(+), 21 deletions(-)

diffs (107 lines):

diff -r 4f19cb32d9d3 -r ae46a4af7f84 ChangeLog
--- a/ChangeLog	Fri Nov 08 21:45:12 2013 +0100
+++ b/ChangeLog	Fri Nov 08 22:08:08 2013 +0100
@@ -1,3 +1,9 @@
+2013-11-08  Torbjorn Granlund  <tege at gmplib.org>
+
+	* mpn/generic/div_qr_2.c: Test HAVE_HOST_CPU_FAMILY_x86, not i386.
+
+	* doc/gmp.texi: Update many URLs.
+
 2013-11-04  Torbjorn Granlund  <tege at gmplib.org>
 
 	* configure.ac: Set symbol OPENBSD for x86-openbsd hosts.
diff -r 4f19cb32d9d3 -r ae46a4af7f84 mpn/generic/div_qr_1n_pi1.c
--- a/mpn/generic/div_qr_1n_pi1.c	Fri Nov 08 21:45:12 2013 +0100
+++ b/mpn/generic/div_qr_1n_pi1.c	Fri Nov 08 22:08:08 2013 +0100
@@ -2,10 +2,9 @@
 
    Contributed to the GNU project by Niels Möller
 
-   THIS FILE CONTAINS INTERNAL FUNCTIONS WITH MUTABLE INTERFACES.  IT IS
-   ONLY SAFE TO REACH THEM THROUGH DOCUMENTED INTERFACES.  IN FACT, IT IS
-   ALMOST GUARANTEED THAT THEY'LL CHANGE OR DISAPPEAR IN A FUTURE GNU MP
-   RELEASE.
+   THIS FILE CONTAINS INTERNAL FUNCTIONS WITH MUTABLE INTERFACES.  IT IS ONLY
+   SAFE TO REACH THEM THROUGH DOCUMENTED INTERFACES.  IN FACT, IT IS ALMOST
+   GUARANTEED THAT THEY'LL CHANGE OR DISAPPEAR IN A FUTURE GNU MP RELEASE.
 
 
 Copyright 2013 Free Software Foundation, Inc.
diff -r 4f19cb32d9d3 -r ae46a4af7f84 mpn/generic/div_qr_2.c
--- a/mpn/generic/div_qr_2.c	Fri Nov 08 21:45:12 2013 +0100
+++ b/mpn/generic/div_qr_2.c	Fri Nov 08 22:08:08 2013 +0100
@@ -3,10 +3,9 @@
 
    Contributed to the GNU project by Torbjorn Granlund and Niels Möller
 
-   THIS FILE CONTAINS INTERNAL FUNCTIONS WITH MUTABLE INTERFACES.  IT IS
-   ONLY SAFE TO REACH THEM THROUGH DOCUMENTED INTERFACES.  IN FACT, IT IS
-   ALMOST GUARANTEED THAT THEY'LL CHANGE OR DISAPPEAR IN A FUTURE GNU MP
-   RELEASE.
+   THIS FILE CONTAINS INTERNAL FUNCTIONS WITH MUTABLE INTERFACES.  IT IS ONLY
+   SAFE TO REACH THEM THROUGH DOCUMENTED INTERFACES.  IN FACT, IT IS ALMOST
+   GUARANTEED THAT THEY'LL CHANGE OR DISAPPEAR IN A FUTURE GNU MP RELEASE.
 
 
 Copyright 1993, 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2011 Free Software
@@ -48,7 +47,7 @@
 */
 #if defined (__GNUC__)  && ! defined (__INTEL_COMPILER)
 
-#if (defined (__i386__) || defined (__i486__)) && W_TYPE_SIZE == 32
+#if HAVE_HOST_CPU_FAMILY_x86 && W_TYPE_SIZE == 32
 #define add_sssaaaa(s2, s1, s0, a1, a0, b1, b0)				\
   __asm__ ("add\t%7, %k2\n\tadc\t%5, %k1\n\tadc\t$0, %k0"		\
 	   : "=r" (s2), "=&r" (s1), "=&r" (s0)				\
diff -r 4f19cb32d9d3 -r ae46a4af7f84 mpn/generic/div_qr_2n_pi1.c
--- a/mpn/generic/div_qr_2n_pi1.c	Fri Nov 08 21:45:12 2013 +0100
+++ b/mpn/generic/div_qr_2n_pi1.c	Fri Nov 08 22:08:08 2013 +0100
@@ -2,10 +2,9 @@
 
    Contributed to the GNU project by Torbjorn Granlund and Niels Möller
 
-   THIS FILE CONTAINS INTERNAL FUNCTIONS WITH MUTABLE INTERFACES.  IT IS
-   ONLY SAFE TO REACH THEM THROUGH DOCUMENTED INTERFACES.  IN FACT, IT IS
-   ALMOST GUARANTEED THAT THEY'LL CHANGE OR DISAPPEAR IN A FUTURE GNU MP
-   RELEASE.
+   THIS FILE CONTAINS INTERNAL FUNCTIONS WITH MUTABLE INTERFACES.  IT IS ONLY
+   SAFE TO REACH THEM THROUGH DOCUMENTED INTERFACES.  IN FACT, IT IS ALMOST
+   GUARANTEED THAT THEY'LL CHANGE OR DISAPPEAR IN A FUTURE GNU MP RELEASE.
 
 
 Copyright 1993, 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2011 Free Software
diff -r 4f19cb32d9d3 -r ae46a4af7f84 mpn/generic/div_qr_2u_pi1.c
--- a/mpn/generic/div_qr_2u_pi1.c	Fri Nov 08 21:45:12 2013 +0100
+++ b/mpn/generic/div_qr_2u_pi1.c	Fri Nov 08 22:08:08 2013 +0100
@@ -2,10 +2,9 @@
 
    Contributed to the GNU project by Niels Möller
 
-   THIS FILE CONTAINS INTERNAL FUNCTIONS WITH MUTABLE INTERFACES.  IT IS
-   ONLY SAFE TO REACH THEM THROUGH DOCUMENTED INTERFACES.  IN FACT, IT IS
-   ALMOST GUARANTEED THAT THEY'LL CHANGE OR DISAPPEAR IN A FUTURE GNU MP
-   RELEASE.
+   THIS FILE CONTAINS INTERNAL FUNCTIONS WITH MUTABLE INTERFACES.  IT IS ONLY
+   SAFE TO REACH THEM THROUGH DOCUMENTED INTERFACES.  IN FACT, IT IS ALMOST
+   GUARANTEED THAT THEY'LL CHANGE OR DISAPPEAR IN A FUTURE GNU MP RELEASE.
 
 
 Copyright 2011 Free Software Foundation, Inc.
diff -r 4f19cb32d9d3 -r ae46a4af7f84 mpn/generic/divrem_2.c
--- a/mpn/generic/divrem_2.c	Fri Nov 08 21:45:12 2013 +0100
+++ b/mpn/generic/divrem_2.c	Fri Nov 08 22:08:08 2013 +0100
@@ -1,10 +1,9 @@
 /* mpn_divrem_2 -- Divide natural numbers, producing both remainder and
    quotient.  The divisor is two limbs.
 
-   THIS FILE CONTAINS INTERNAL FUNCTIONS WITH MUTABLE INTERFACES.  IT IS
-   ONLY SAFE TO REACH THEM THROUGH DOCUMENTED INTERFACES.  IN FACT, IT IS
-   ALMOST GUARANTEED THAT THEY'LL CHANGE OR DISAPPEAR IN A FUTURE GNU MP
-   RELEASE.
+   THIS FILE CONTAINS INTERNAL FUNCTIONS WITH MUTABLE INTERFACES.  IT IS ONLY
+   SAFE TO REACH THEM THROUGH DOCUMENTED INTERFACES.  IN FACT, IT IS ALMOST
+   GUARANTEED THAT THEY'LL CHANGE OR DISAPPEAR IN A FUTURE GNU MP RELEASE.
 
 
 Copyright 1993, 1994, 1995, 1996, 1999, 2000, 2001, 2002 Free Software


More information about the gmp-commit mailing list