[Gmp-commit] /var/hg/gmp: Whitespace cleanup.

mercurial at gmplib.org mercurial at gmplib.org
Wed Jul 19 21:30:09 UTC 2017


details:   /var/hg/gmp/rev/62abbaeaab13
changeset: 17463:62abbaeaab13
user:      Torbjorn Granlund <tg at gmplib.org>
date:      Wed Jul 19 23:30:07 2017 +0200
description:
Whitespace cleanup.

diffstat:

 .gdbinit                          |   1 -
 mpn/generic/mu_bdiv_q.c           |   1 -
 mpn/pa64/umul.asm                 |   1 -
 mpn/powerpc64/mode32/submul_1.asm |   1 -
 mpn/sparc64/sparc64.h             |   2 --
 mpn/x86/pentium/mul_basecase.asm  |   1 -
 mpn/x86_64/core2/aors_n.asm       |   1 -
 mpn/x86_64/core2/lshift.asm       |  30 +++++++++++++++---------------
 mpn/x86_64/core2/lshiftc.asm      |  30 +++++++++++++++---------------
 mpn/x86_64/core2/rshift.asm       |  30 +++++++++++++++---------------
 tests/cxx/t-ops2.h                |   1 -
 tests/devel/sqrtrem_1_2.c         |   2 +-
 tests/mpf/t-cmp_si.c              |  18 +++++++++---------
 tests/mpn/t-mod_1.c               |   1 -
 14 files changed, 55 insertions(+), 65 deletions(-)

diffs (249 lines):

diff -r fa74aabc7243 -r 62abbaeaab13 .gdbinit
--- a/.gdbinit	Sun Jul 02 02:10:08 2017 +0200
+++ b/.gdbinit	Wed Jul 19 23:30:07 2017 +0200
@@ -40,4 +40,3 @@
 define pf
 set __gmpf_dump ($)
 end
-
diff -r fa74aabc7243 -r 62abbaeaab13 mpn/generic/mu_bdiv_q.c
--- a/mpn/generic/mu_bdiv_q.c	Sun Jul 02 02:10:08 2017 +0200
+++ b/mpn/generic/mu_bdiv_q.c	Wed Jul 19 23:30:07 2017 +0200
@@ -279,4 +279,3 @@
   itch_binvert = mpn_binvert_itch (in);
   return in + MAX (itches, itch_binvert);
 }
-
diff -r fa74aabc7243 -r 62abbaeaab13 mpn/pa64/umul.asm
--- a/mpn/pa64/umul.asm	Sun Jul 02 02:10:08 2017 +0200
+++ b/mpn/pa64/umul.asm	Wed Jul 19 23:30:07 2017 +0200
@@ -95,4 +95,3 @@
 	bve		(%r2)
 	ldo		-128(%r30),%r30
 EPILOGUE(mpn_umul_ppmm_r)
-
diff -r fa74aabc7243 -r 62abbaeaab13 mpn/powerpc64/mode32/submul_1.asm
--- a/mpn/powerpc64/mode32/submul_1.asm	Sun Jul 02 02:10:08 2017 +0200
+++ b/mpn/powerpc64/mode32/submul_1.asm	Wed Jul 19 23:30:07 2017 +0200
@@ -79,4 +79,3 @@
 	srdi	r3, r4, 32
 	blr
 EPILOGUE()
-
diff -r fa74aabc7243 -r 62abbaeaab13 mpn/sparc64/sparc64.h
--- a/mpn/sparc64/sparc64.h	Sun Jul 02 02:10:08 2017 +0200
+++ b/mpn/sparc64/sparc64.h	Wed Jul 19 23:30:07 2017 +0200
@@ -215,5 +215,3 @@
     (r) = _r;                                                           \
     (q) = _q;                                                           \
   } while (0)
-
-
diff -r fa74aabc7243 -r 62abbaeaab13 mpn/x86/pentium/mul_basecase.asm
--- a/mpn/x86/pentium/mul_basecase.asm	Sun Jul 02 02:10:08 2017 +0200
+++ b/mpn/x86/pentium/mul_basecase.asm	Wed Jul 19 23:30:07 2017 +0200
@@ -140,4 +140,3 @@
 	ret
 
 EPILOGUE()
-
diff -r fa74aabc7243 -r 62abbaeaab13 mpn/x86_64/core2/aors_n.asm
--- a/mpn/x86_64/core2/aors_n.asm	Sun Jul 02 02:10:08 2017 +0200
+++ b/mpn/x86_64/core2/aors_n.asm	Wed Jul 19 23:30:07 2017 +0200
@@ -148,4 +148,3 @@
 IFDOS(`	mov	56(%rsp), %r8	')
 	jmp	L(start)
 EPILOGUE()
-
diff -r fa74aabc7243 -r 62abbaeaab13 mpn/x86_64/core2/lshift.asm
--- a/mpn/x86_64/core2/lshift.asm	Sun Jul 02 02:10:08 2017 +0200
+++ b/mpn/x86_64/core2/lshift.asm	Wed Jul 19 23:30:07 2017 +0200
@@ -31,26 +31,26 @@
 include(`../config.m4')
 
 C	     cycles/limb
-C AMD K8,K9	 
-C AMD K10	 
-C AMD bd1	 
-C AMD bd2	 
+C AMD K8,K9
+C AMD K10
+C AMD bd1
+C AMD bd2
 C AMD bd3
 C AMD bd4
 C AMD zen
-C AMD bobcat	 
-C AMD jaguar	 
-C Intel P4	 
+C AMD bobcat
+C AMD jaguar
+C Intel P4
 C Intel core2	 1.32
 C Intel NHM	 1.30	(drops to 2.5 for n > 256)
-C Intel SBR	 
-C Intel IBR	 
-C Intel HWL	 
-C Intel BWL	 
-C Intel SKL	 
-C Intel atom	 
-C Intel SLM	 
-C VIA nano	 
+C Intel SBR
+C Intel IBR
+C Intel HWL
+C Intel BWL
+C Intel SKL
+C Intel atom
+C Intel SLM
+C VIA nano
 
 C INPUT PARAMETERS
 define(`rp',	`%rdi')
diff -r fa74aabc7243 -r 62abbaeaab13 mpn/x86_64/core2/lshiftc.asm
--- a/mpn/x86_64/core2/lshiftc.asm	Sun Jul 02 02:10:08 2017 +0200
+++ b/mpn/x86_64/core2/lshiftc.asm	Wed Jul 19 23:30:07 2017 +0200
@@ -31,26 +31,26 @@
 include(`../config.m4')
 
 C	     cycles/limb
-C AMD K8,K9	 
-C AMD K10	 
-C AMD bd1	 
-C AMD bd2	 
+C AMD K8,K9
+C AMD K10
+C AMD bd1
+C AMD bd2
 C AMD bd3
 C AMD bd4
 C AMD zen
-C AMD bobcat	 
-C AMD jaguar	 
-C Intel P4	 
+C AMD bobcat
+C AMD jaguar
+C Intel P4
 C Intel core2	 1.52
 C Intel NHM	 1.78	(just 2.15 for n < 256)
-C Intel SBR	 
-C Intel IBR	 
-C Intel HWL	 
-C Intel BWL	 
-C Intel SKL	 
-C Intel atom	 
-C Intel SLM	 
-C VIA nano	 
+C Intel SBR
+C Intel IBR
+C Intel HWL
+C Intel BWL
+C Intel SKL
+C Intel atom
+C Intel SLM
+C VIA nano
 
 C INPUT PARAMETERS
 define(`rp',	`%rdi')
diff -r fa74aabc7243 -r 62abbaeaab13 mpn/x86_64/core2/rshift.asm
--- a/mpn/x86_64/core2/rshift.asm	Sun Jul 02 02:10:08 2017 +0200
+++ b/mpn/x86_64/core2/rshift.asm	Wed Jul 19 23:30:07 2017 +0200
@@ -31,26 +31,26 @@
 include(`../config.m4')
 
 C	     cycles/limb
-C AMD K8,K9	 
-C AMD K10	 
-C AMD bd1	 
-C AMD bd2	 
+C AMD K8,K9
+C AMD K10
+C AMD bd1
+C AMD bd2
 C AMD bd3
 C AMD bd4
 C AMD zen
-C AMD bobcat	 
-C AMD jaguar	 
-C Intel P4	 
+C AMD bobcat
+C AMD jaguar
+C Intel P4
 C Intel core2	 1.32
 C Intel NHM	 1.30	(drops to 2.5 for n > 256)
-C Intel SBR	 
-C Intel IBR	 
-C Intel HWL	 
-C Intel BWL	 
-C Intel SKL	 
-C Intel atom	 
-C Intel SLM	 
-C VIA nano	 
+C Intel SBR
+C Intel IBR
+C Intel HWL
+C Intel BWL
+C Intel SKL
+C Intel atom
+C Intel SLM
+C VIA nano
 
 C INPUT PARAMETERS
 define(`rp',	`%rdi')
diff -r fa74aabc7243 -r 62abbaeaab13 tests/cxx/t-ops2.h
--- a/tests/cxx/t-ops2.h	Sun Jul 02 02:10:08 2017 +0200
+++ b/tests/cxx/t-ops2.h	Wed Jul 19 23:30:07 2017 +0200
@@ -80,4 +80,3 @@
   CHECK_ALL(Type,a,b,>=); \
   CHECK_ALL(Type,a,b,==); \
   CHECK_ALL(Type,a,b,!=)
-
diff -r fa74aabc7243 -r 62abbaeaab13 tests/devel/sqrtrem_1_2.c
--- a/tests/devel/sqrtrem_1_2.c	Sun Jul 02 02:10:08 2017 +0200
+++ b/tests/devel/sqrtrem_1_2.c	Wed Jul 19 23:30:07 2017 +0200
@@ -220,7 +220,7 @@
   SPINNER(2);
   printf ("\nValues with at most a limb for reminder, tested.\n");
   er = GMP_NUMB_MAX; her = 0;
-  
+
   printf ("High-half values tested, up to bits:\n");
   do {
     x = mpn_sqrtrem (s, r, q, 2);
diff -r fa74aabc7243 -r 62abbaeaab13 tests/mpf/t-cmp_si.c
--- a/tests/mpf/t-cmp_si.c	Sun Jul 02 02:10:08 2017 +0200
+++ b/tests/mpf/t-cmp_si.c	Wed Jul 19 23:30:07 2017 +0200
@@ -106,16 +106,16 @@
 
       got = mpf_cmp_z (a, bz);
       if (SGN (got) != data[i].want)
-      	{
+	{
 	  b = mpz_get_si (bz);
-      	  printf ("mpf_cmp_z wrong on data[%d]\n", i);
-      	  printf ("  a="); mpf_out_str (stdout, 10, 0, a);
-      	  printf (" (%s)\n", data[i].a);
-      	  printf ("  b=%ld (%s)\n", b, data[i].b);
-      	  printf ("  got=%d\n", got);
-      	  printf ("  want=%d\n", data[i].want);
-      	  abort();
-      	}
+	  printf ("mpf_cmp_z wrong on data[%d]\n", i);
+	  printf ("  a="); mpf_out_str (stdout, 10, 0, a);
+	  printf (" (%s)\n", data[i].a);
+	  printf ("  b=%ld (%s)\n", b, data[i].b);
+	  printf ("  got=%d\n", got);
+	  printf ("  want=%d\n", data[i].want);
+	  abort();
+	}
     }
 
   mpf_clear (a);
diff -r fa74aabc7243 -r 62abbaeaab13 tests/mpn/t-mod_1.c
--- a/tests/mpn/t-mod_1.c	Sun Jul 02 02:10:08 2017 +0200
+++ b/tests/mpn/t-mod_1.c	Wed Jul 19 23:30:07 2017 +0200
@@ -125,4 +125,3 @@
   tests_end ();
   return 0;
 }
-


More information about the gmp-commit mailing list