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

mercurial at gmplib.org mercurial at gmplib.org
Wed May 22 12:03:21 CEST 2013


details:   /var/hg/gmp/rev/6ce104ec467e
changeset: 15813:6ce104ec467e
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Mon May 20 16:57:01 2013 +0200
description:
Change spacing to work around binutils bug.

details:   /var/hg/gmp/rev/8255a2a8333d
changeset: 15814:8255a2a8333d
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Wed May 22 12:00:38 2013 +0200
description:
Don't clobber f16-f18.

details:   /var/hg/gmp/rev/4ddfd3afa90e
changeset: 15815:4ddfd3afa90e
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Wed May 22 12:02:42 2013 +0200
description:
COpyright year.

diffstat:

 mpn/arm/udiv.asm      |   4 ++--
 mpn/ia64/divrem_2.asm |  20 ++++++++++----------
 2 files changed, 12 insertions(+), 12 deletions(-)

diffs (85 lines):

diff -r 94b82379e3a5 -r 4ddfd3afa90e mpn/arm/udiv.asm
--- a/mpn/arm/udiv.asm	Thu May 16 20:26:04 2013 +0200
+++ b/mpn/arm/udiv.asm	Wed May 22 12:02:42 2013 +0200
@@ -48,7 +48,7 @@
 	teq	r12, #0
 	bne	L(oop)
 
-	str	n1, [ rem_ptr ]		C store remainder
+	str	n1, [rem_ptr]		C store remainder
 	adc	r0, n0, n0		C quotient: add last carry from divstep
 	bx	lr
 
@@ -87,7 +87,7 @@
 	addcs	n0, n0, #1		C adjust quotient
 
 L(_even_divisor):
-	str	n1, [ rem_ptr ]		C store remainder
+	str	n1, [rem_ptr]		C store remainder
 	mov	r0, n0			C quotient
 	ldmfd	sp!, { r8, pc }
 EPILOGUE(mpn_udiv_qrnnd)
diff -r 94b82379e3a5 -r 4ddfd3afa90e mpn/ia64/divrem_2.asm
--- a/mpn/ia64/divrem_2.asm	Thu May 16 20:26:04 2013 +0200
+++ b/mpn/ia64/divrem_2.asm	Wed May 22 12:02:42 2013 +0200
@@ -1,6 +1,6 @@
 dnl  IA-64 mpn_divrem_2 -- Divide an mpn number by a normalized 2-limb number.
 
-dnl  Copyright 2010 Free Software Foundation, Inc.
+dnl  Copyright 2010, 2013 Free Software Foundation, Inc.
 
 dnl  This file is part of the GNU MP Library.
 
@@ -98,17 +98,17 @@
 	br.call.sptk.many b0 = mpn_invert_limb
 	;;
 	setf.sig f11 = r8		// di (non-final)
-	setf.sig f18 = r39		// d1
-	setf.sig f17 = r36		// d0
+	setf.sig f34 = r39		// d1
+	setf.sig f33 = r36		// d0
 	mov	 r1 = r43
 	;;
 	mov	 r17 = 1
 	setf.sig f9 = r38		// n2
-	xma.l	 f6 = f11, f18, f0	// t0 = LO(di * d1)
+	xma.l	 f6 = f11, f34, f0	// t0 = LO(di * d1)
 	;;
 	setf.sig f10 = r37		// n1
 	setf.sig f15 = r17		// 1
-	xma.hu	 f8 = f11, f17, f0	// s0 = HI(di * d0)
+	xma.hu	 f8 = f11, f33, f0	// s0 = HI(di * d0)
 	;;
 	getf.sig r17 = f6
 	getf.sig r16 = f8
@@ -178,7 +178,7 @@
   (p9)	br.cond.dptk .L52
 .L46:
 ')
-	setf.sig f16 = r8		// di
+	setf.sig f32 = r8		// di
 	shladd	 r32 = r35, 3, r32
 	;;
 
@@ -189,8 +189,8 @@
 	;;
  (p8)	mov	 r37 = r0
  (p9)	ld8	 r37 = [r34], -8
-	xma.hu	 f8 = f9, f16, f10	//				0,29
-	xma.l	 f12 = f9, f16, f10	//				0
+	xma.hu	 f8 = f9, f32, f10	//				0,29
+	xma.l	 f12 = f9, f32, f10	//				0
 	;;
 	getf.sig r20 = f12		// q0				4
 	xma.l	 f13 = f15, f8, f9	// q += n2			4
@@ -198,8 +198,8 @@
 	;;
 	getf.sig r18 = f13		//				8
 	xma.l	 f7 = f14, f13, f10	//				8
-	xma.l	 f6 = f17, f13, f17	// t0 = LO(d0*q+d0)		8
-	xma.hu	 f9 = f17, f13, f17	// t1 = HI(d0*q+d0)		9
+	xma.l	 f6 = f33, f13, f33	// t0 = LO(d0*q+d0)		8
+	xma.hu	 f9 = f33, f13, f33	// t1 = HI(d0*q+d0)		9
 	;;
 	getf.sig r38 = f7		// n1				12
 	getf.sig r16 = f6		//				13


More information about the gmp-commit mailing list