[Gmp-commit] /home/hgfiles/gmp-5.0: 2 new changesets

mercurial at gmplib.org mercurial at gmplib.org
Fri May 14 11:40:11 CEST 2010


details:   /home/hgfiles/gmp-5.0/rev/1b2aa9236b71
changeset: 13433:1b2aa9236b71
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Fri May 14 11:39:02 2010 +0200
description:
Use asm code just for GNU C.

details:   /home/hgfiles/gmp-5.0/rev/1878a7b7e66e
changeset: 13434:1878a7b7e66e
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Fri May 14 11:40:09 2010 +0200
description:
Trivial merge.

diffstat:

 ChangeLog            |  4 ++++
 doc/gmp.texi         |  2 +-
 mpn/generic/redc_2.c |  2 +-
 3 files changed, 6 insertions(+), 2 deletions(-)

diffs (35 lines):

diff -r 08e17de3b252 -r 1878a7b7e66e ChangeLog
--- a/ChangeLog	Fri Feb 26 10:34:01 2010 +0100
+++ b/ChangeLog	Fri May 14 11:40:09 2010 +0200
@@ -1,3 +1,7 @@
+2010-05-14  Torbjorn Granlund  <tege at gmplib.org>
+
+	* mpn/generic/redc_2.c: Use asm code just for GNU C.
+
 2010-02-26  Torbjorn Granlund  <tege at gmplib.org>
 
 	* mpn/pa64/aors_n.asm: Fix typo in last change.
diff -r 08e17de3b252 -r 1878a7b7e66e doc/gmp.texi
--- a/doc/gmp.texi	Fri Feb 26 10:34:01 2010 +0100
+++ b/doc/gmp.texi	Fri May 14 11:40:09 2010 +0200
@@ -1789,7 +1789,7 @@
 
 will generate better contents for the @file{gmp-mparam.h} parameter file.
 
-To use the results, put the output in the file file indicated in the
+To use the results, put the output in the file indicated in the
 @samp{Parameters for ...} header.  Then recompile from scratch.
 
 The @code{tuneup} program takes one useful parameter, @samp{-f NNN}, which
diff -r 08e17de3b252 -r 1878a7b7e66e mpn/generic/redc_2.c
--- a/mpn/generic/redc_2.c	Fri Feb 26 10:34:01 2010 +0100
+++ b/mpn/generic/redc_2.c	Fri May 14 11:40:09 2010 +0200
@@ -41,7 +41,7 @@
 }
 #endif
 
-#if defined (__ia64) && W_TYPE_SIZE == 64
+#if defined (__GNUC__) && defined (__ia64) && W_TYPE_SIZE == 64
 #define umul2low(ph, pl, uh, ul, vh, vl) \
   do {									\
     mp_limb_t _ph, _pl;							\


More information about the gmp-commit mailing list