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

mercurial at gmplib.org mercurial at gmplib.org
Tue Oct 4 04:38:15 CEST 2011


details:   /var/hg/gmp/rev/74f450e25678
changeset: 14263:74f450e25678
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Tue Oct 04 04:37:54 2011 +0200
description:
(mpn_mulmid): Move a TMP_DECL to block start.

details:   /var/hg/gmp/rev/130457aa6322
changeset: 14264:130457aa6322
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Tue Oct 04 04:38:08 2011 +0200
description:
*** empty log message ***

diffstat:

 ChangeLog            |  5 +++++
 mpn/generic/mulmid.c |  3 ++-
 2 files changed, 7 insertions(+), 1 deletions(-)

diffs (34 lines):

diff -r 2ea10dccd20d -r 130457aa6322 ChangeLog
--- a/ChangeLog	Tue Oct 04 03:46:32 2011 +0200
+++ b/ChangeLog	Tue Oct 04 04:38:08 2011 +0200
@@ -1,5 +1,10 @@
 2011-10-04  Torbjorn Granlund  <tege at gmplib.org>
 
+	* mpn/generic/mulmid.c (mpn_mulmid): Move a TMP_DECL to block start.
+
+	* mpn/Makefile.am (TARG_DIST): Add s390_32 and s390_64, remove s390 and
+	z8000x.
+
 	* doc/gmp.texi (Custom Allocation): Rephrase a paragraph.
 
 	* demos/factorize.c: Run 25 Miller-Rabin tests.
diff -r 2ea10dccd20d -r 130457aa6322 mpn/generic/mulmid.c
--- a/mpn/generic/mulmid.c	Tue Oct 04 03:46:32 2011 +0200
+++ b/mpn/generic/mulmid.c	Tue Oct 04 04:38:08 2011 +0200
@@ -103,6 +103,8 @@
     {
       /* region not wide enough to make toom42 worthwhile for any portion */
 
+      TMP_DECL;
+
       if (bn < CHUNK)
 	{
 	  /* region not too tall either, just call basecase directly */
@@ -119,7 +121,6 @@
 	 ....CCCCC
       */
 
-      TMP_DECL;
       TMP_MARK;
 
       temp = TMP_ALLOC_LIMBS (rn + 2);


More information about the gmp-commit mailing list