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

mercurial at gmplib.org mercurial at gmplib.org
Tue Apr 21 15:39:32 UTC 2015


details:   /var/hg/gmp/rev/25d14950d8a2
changeset: 16579:25d14950d8a2
user:      Torbjorn Granlund <torbjorng at google.com>
date:      Tue Apr 21 16:36:04 2015 +0200
description:
Add MULFUNC_PROLOGUE.

details:   /var/hg/gmp/rev/83292f90c1da
changeset: 16580:83292f90c1da
user:      Torbjorn Granlund <torbjorng at google.com>
date:      Tue Apr 21 17:04:53 2015 +0200
description:
Spacing and copyright fixes.

details:   /var/hg/gmp/rev/24e6c4e0c54c
changeset: 16581:24e6c4e0c54c
user:      Torbjorn Granlund <torbjorng at google.com>
date:      Tue Apr 21 17:17:05 2015 +0200
description:
(gmp_sprintf_final): Remove extra parameters.

details:   /var/hg/gmp/rev/329ef20a36f2
changeset: 16582:329ef20a36f2
user:      Torbjorn Granlund <torbjorng at google.com>
date:      Tue Apr 21 17:25:29 2015 +0200
description:
ChangeLog

diffstat:

 ChangeLog                             |  11 ++++++++---
 mpn/arm/v6/popham.asm                 |   1 +
 mpn/generic/remove.c                  |   6 +++---
 mpn/powerpc64/mode64/p6/aorsmul_1.asm |   2 ++
 mpn/powerpc64/mode64/rsh1aors_n.asm   |   1 +
 mpn/x86_64/coreibwl/mul_1.asm         |   2 +-
 printf/sprintffuns.c                  |   2 +-
 tests/cxx/clocale.c                   |   2 +-
 tests/misc/t-locale.c                 |   2 +-
 tests/mpf/t-sub.c                     |   2 +-
 10 files changed, 20 insertions(+), 11 deletions(-)

diffs (135 lines):

diff -r 35e451d46723 -r 329ef20a36f2 ChangeLog
--- a/ChangeLog	Sun Apr 19 20:49:23 2015 +0200
+++ b/ChangeLog	Tue Apr 21 17:25:29 2015 +0200
@@ -1,3 +1,11 @@
+2015-04-21    <torbjorng at google.com>
+
+	* printf/sprintffuns.c (gmp_sprintf_final): Remove extra parameters.
+
+	* mpn/arm/v6/popham.asm: Add MULFUNC_PROLOGUE.
+	* mpn/powerpc64/mode64/rsh1aors_n.asm: Likewise.
+	* mpn/powerpc64/mode64/p6/aorsmul_1.asm: Likewise.
+
 2015-04-19    <torbjorng at google.com>
 
 	* mpn/x86_64/x86_64-defs.m4 (oplist): Fix typo.
@@ -6258,9 +6266,6 @@
 	* mpn/powerpc64/mode64/aorsmul_1.asm: Add MULFUNC_PROLOGUE.
 	* mpn/m68k/mc68020/aorsmul_1.asm: Likewise.
 
-	* mpn/powerpc64/mode64/aorsmul_1.asm: Add missing MULFUNC_PROLOGUE.
-	* mpn/m68k/mc68020/aorsmul_1.asm: Likewise.
-
 2011-02-25  Torbjorn Granlund  <tege at gmplib.org>
 
 	* mpn/x86/atom/sse2/aorsmul_1.asm: New file.
diff -r 35e451d46723 -r 329ef20a36f2 mpn/arm/v6/popham.asm
--- a/mpn/arm/v6/popham.asm	Sun Apr 19 20:49:23 2015 +0200
+++ b/mpn/arm/v6/popham.asm	Tue Apr 21 17:25:29 2015 +0200
@@ -81,6 +81,7 @@
   define(`HAMD',	`$1')
 ')
 
+MULFUNC_PROLOGUE(mpn_popcount mpn_hamdist)
 
 ASM_START()
 PROLOGUE(func)
diff -r 35e451d46723 -r 329ef20a36f2 mpn/generic/remove.c
--- a/mpn/generic/remove.c	Sun Apr 19 20:49:23 2015 +0200
+++ b/mpn/generic/remove.c	Tue Apr 21 17:25:29 2015 +0200
@@ -102,11 +102,11 @@
 #ifdef TMP_ALLOC_LIMBS_3
   TMP_ALLOC_LIMBS_3 (qp, un + 1,	/* quotient, alternating */
 		     qp2, un + 1,	/* quotient, alternating */
-		     tp, (un + 1 + vn) / 2); /* remainder */ 
+		     tp, (un + 1 + vn) / 2); /* remainder */
 #else
   qp = TMP_ALLOC_LIMBS (2 * un + 2 + (un + 1 + vn) / 2);
-  qp2 = qp + un + 1; 
-  tp = qp2 + un + 1; 
+  qp2 = qp + un + 1;
+  tp = qp2 + un + 1;
 #endif
   pp = vp;
   pn = vn;
diff -r 35e451d46723 -r 329ef20a36f2 mpn/powerpc64/mode64/p6/aorsmul_1.asm
--- a/mpn/powerpc64/mode64/p6/aorsmul_1.asm	Sun Apr 19 20:49:23 2015 +0200
+++ b/mpn/powerpc64/mode64/p6/aorsmul_1.asm	Tue Apr 21 17:25:29 2015 +0200
@@ -71,6 +71,8 @@
   define(CLRRSC,	`subfc	$1, r0, r0')
 ')
 
+MULFUNC_PROLOGUE(mpn_addmul_1 mpn_submul_1)
+
 ASM_START()
 PROLOGUE(func)
 	std	r31, -8(r1)
diff -r 35e451d46723 -r 329ef20a36f2 mpn/powerpc64/mode64/rsh1aors_n.asm
--- a/mpn/powerpc64/mode64/rsh1aors_n.asm	Sun Apr 19 20:49:23 2015 +0200
+++ b/mpn/powerpc64/mode64/rsh1aors_n.asm	Tue Apr 21 17:25:29 2015 +0200
@@ -60,6 +60,7 @@
 define(`u0', `r8')
 define(`v0', `r10')
 
+MULFUNC_PROLOGUE(mpn_rsh1add_n mpn_rsh1sub_n)
 
 ASM_START()
 PROLOGUE(func)
diff -r 35e451d46723 -r 329ef20a36f2 mpn/x86_64/coreibwl/mul_1.asm
--- a/mpn/x86_64/coreibwl/mul_1.asm	Sun Apr 19 20:49:23 2015 +0200
+++ b/mpn/x86_64/coreibwl/mul_1.asm	Tue Apr 21 17:25:29 2015 +0200
@@ -183,7 +183,7 @@
 	dec	n
 	mulx(	(up), %r9, %rax)
 	jnz	L(top)
-	
+
 L(end):	mov	%r10, -8(rp)
 	adc	%r8, %r9
 	mov	%r9, (rp)
diff -r 35e451d46723 -r 329ef20a36f2 printf/sprintffuns.c
--- a/printf/sprintffuns.c	Sun Apr 19 20:49:23 2015 +0200
+++ b/printf/sprintffuns.c	Tue Apr 21 17:25:29 2015 +0200
@@ -80,7 +80,7 @@
 }
 
 static int
-gmp_sprintf_final (char **bufp, int c, int reps)
+gmp_sprintf_final (char **bufp)
 {
   char  *buf = *bufp;
   *buf = '\0';
diff -r 35e451d46723 -r 329ef20a36f2 tests/cxx/clocale.c
--- a/tests/cxx/clocale.c	Sun Apr 19 20:49:23 2015 +0200
+++ b/tests/cxx/clocale.c	Tue Apr 21 17:25:29 2015 +0200
@@ -1,6 +1,6 @@
 /* Manipulable localeconv and nl_langinfo.
 
-Copyright 2001, 2002 Free Software Foundation, Inc.
+Copyright 2001, 2002, 2014 Free Software Foundation, Inc.
 
 This file is part of the GNU MP Library test suite.
 
diff -r 35e451d46723 -r 329ef20a36f2 tests/misc/t-locale.c
--- a/tests/misc/t-locale.c	Sun Apr 19 20:49:23 2015 +0200
+++ b/tests/misc/t-locale.c	Tue Apr 21 17:25:29 2015 +0200
@@ -1,6 +1,6 @@
 /* Test locale support, or attempt to do so.
 
-Copyright 2001, 2002, 2011 Free Software Foundation, Inc.
+Copyright 2001, 2002, 2011, 2014 Free Software Foundation, Inc.
 
 This file is part of the GNU MP Library test suite.
 
diff -r 35e451d46723 -r 329ef20a36f2 tests/mpf/t-sub.c
--- a/tests/mpf/t-sub.c	Sun Apr 19 20:49:23 2015 +0200
+++ b/tests/mpf/t-sub.c	Tue Apr 21 17:25:29 2015 +0200
@@ -231,7 +231,7 @@
 	      if (mpf_fits_uint_p (x))
 		{
 		  mpf_ui_sub (got, mpf_get_ui (x), y);
-	    
+
 		  if (! refmpf_validate ("mpf_ui_sub", got, want))
 		    {
 		      printf ("check_data() wrong result at data[%d] (operands%s swapped)\n", i, swap ? "" : " not");


More information about the gmp-commit mailing list