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

mercurial at gmplib.org mercurial at gmplib.org
Sat Dec 28 18:38:46 UTC 2013


details:   /var/hg/gmp/rev/4561887f5963
changeset: 16122:4561887f5963
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Sat Dec 28 19:38:42 2013 +0100
description:
Whitespace cleanup.

diffstat:

 mpn/x86_64/core2/mul_basecase.asm |  12 ++++++------
 mpn/x86_64/div_qr_1n_pi1.asm      |   4 ++--
 tests/devel/try.c                 |   8 ++++----
 3 files changed, 12 insertions(+), 12 deletions(-)

diffs (82 lines):

diff -r b54e6fb7c97d -r 4561887f5963 mpn/x86_64/core2/mul_basecase.asm
--- a/mpn/x86_64/core2/mul_basecase.asm	Sat Dec 28 19:22:16 2013 +0100
+++ b/mpn/x86_64/core2/mul_basecase.asm	Sat Dec 28 19:38:42 2013 +0100
@@ -53,12 +53,12 @@
 C           |     /         |     /         |     /         |     /
 C           |    /          |    /          |    /          |    /
 C          \|/ |/_         \|/ |/_         \|/ |/_         \|/ |/_
-C             _____           _____           _____           _____        
-C            /     \         /     \         /     \         /     \      
-C          \|/      |      \|/      |      \|/      |      \|/      |      
-C        am_2(0m4)  |    am_2(1m4)  |    am_2(2m4)  |    am_2(3m4)  |    
-C           \      /|\      \      /|\      \      /|\      \      /|\   
-C            \_____/         \_____/         \_____/         \_____/     
+C             _____           _____           _____           _____
+C            /     \         /     \         /     \         /     \
+C          \|/      |      \|/      |      \|/      |      \|/      |
+C        am_2(0m4)  |    am_2(1m4)  |    am_2(2m4)  |    am_2(3m4)  |
+C           \      /|\      \      /|\      \      /|\      \      /|\
+C            \_____/         \_____/         \_____/         \_____/
 
 C TODO
 C  * Tune.  None done so far.
diff -r b54e6fb7c97d -r 4561887f5963 mpn/x86_64/div_qr_1n_pi1.asm
--- a/mpn/x86_64/div_qr_1n_pi1.asm	Sat Dec 28 19:22:16 2013 +0100
+++ b/mpn/x86_64/div_qr_1n_pi1.asm	Sat Dec 28 19:38:42 2013 +0100
@@ -151,7 +151,7 @@
 	add	%rdx, Q1
 	adc	$0, Q2
 	add	Q0, Q1
-	mov 	%rax, Q0
+	mov	%rax, Q0
 	mov	B2, %rax
 	lea	(B2md, U0), T
 	adc	$0, Q2
@@ -172,7 +172,7 @@
 	mov	T, %rax
 	adc	%rdx, %rax
 	mov	Q1, (QP, UN, 8)
-	sbb 	U2, U2
+	sbb	U2, U2
 	dec	UN
 	mov	%rax, U1
 	jnz	L(loop)
diff -r b54e6fb7c97d -r 4561887f5963 tests/devel/try.c
--- a/tests/devel/try.c	Sat Dec 28 19:22:16 2013 +0100
+++ b/tests/devel/try.c	Sat Dec 28 19:38:42 2013 +0100
@@ -549,7 +549,7 @@
   mp_srcptr qp = fun.d[0].p;
   mp_limb_t r = fun.retval;
   mp_limb_t cy;
-  int cmp;  
+  int cmp;
   mp_ptr tp;
   if (r >= divisor)
     {
@@ -571,7 +571,7 @@
 		  cy, tp, un);
       validate_fail ();
     }
-  free (tp);    
+  free (tp);
 }
 
 
@@ -1147,7 +1147,7 @@
   p->src[0] = 1;
   p->src[1] = 1;
   /* SIZE_1 not supported. Always uses low limb only. */
-  p->size2 = 1; 
+  p->size2 = 1;
   p->dst[0] = 1;
   p->divisor = DIVISOR_NORM;
   p->data = DATA_DIV_QR_1;
@@ -2608,7 +2608,7 @@
 	(e->d[0].p, e->s[0].p, size, e->s[1].p[0], divisor, dinv);
       break;
     }
-      
+
   case TYPE_MOD_34LSUB1:
     e->retval = CALLING_CONVENTIONS (function) (e->s[0].p, size);
     break;


More information about the gmp-commit mailing list