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

mercurial at gmplib.org mercurial at gmplib.org
Mon Jun 17 13:39:40 CEST 2013


details:   /var/hg/gmp-5.1/rev/62f7b2040173
changeset: 15427:62f7b2040173
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Mon Jun 17 13:31:59 2013 +0200
description:
Fix typo in label reference.

details:   /var/hg/gmp-5.1/rev/92747ad60809
changeset: 15428:92747ad60809
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Mon Jun 17 13:33:12 2013 +0200
description:
Refer to current filename.

diffstat:

 ChangeLog                    |  6 ++++++
 doc/gmp.texi                 |  2 +-
 mpn/powerpc64/p6/lshift.asm  |  3 +--
 mpn/powerpc64/p6/lshiftc.asm |  2 +-
 mpn/powerpc64/p6/rshift.asm  |  2 +-
 5 files changed, 10 insertions(+), 5 deletions(-)

diffs (69 lines):

diff -r b21d294ebb94 -r 92747ad60809 ChangeLog
--- a/ChangeLog	Wed May 22 15:31:27 2013 +0200
+++ b/ChangeLog	Mon Jun 17 13:33:12 2013 +0200
@@ -1,3 +1,9 @@
+2013-06-17  Torbjorn Granlund  <tege at gmplib.org>
+
+	* mpn/powerpc64/p6/lshift.asm: Fix typo in label reference.
+	* mpn/powerpc64/p6/rshift.asm: Likewise.
+	* mpn/powerpc64/p6/lshiftc.asm: Likewise.
+
 2013-05-22  Torbjorn Granlund  <tege at gmplib.org>
 
 	* doc/gmp.texi (Reporting Bugs): Ask for configure's output.
diff -r b21d294ebb94 -r 92747ad60809 doc/gmp.texi
--- a/doc/gmp.texi	Wed May 22 15:31:27 2013 +0200
+++ b/doc/gmp.texi	Mon Jun 17 13:33:12 2013 +0200
@@ -713,7 +713,7 @@
 other members, older or newer.  The best idea is always to build GMP for the
 exact machine type you intend to run it on.
 
-The following CPUs have specific support.  See @file{configure.in} for details
+The following CPUs have specific support.  See @file{configure.ac} for details
 of what code and compiler options they select.
 
 @itemize @bullet
diff -r b21d294ebb94 -r 92747ad60809 mpn/powerpc64/p6/lshift.asm
--- a/mpn/powerpc64/p6/lshift.asm	Wed May 22 15:31:27 2013 +0200
+++ b/mpn/powerpc64/p6/lshift.asm	Mon Jun 17 13:33:12 2013 +0200
@@ -27,7 +27,6 @@
 
 C TODO
 C  * Micro-optimise header code
-C  * Write analogous lshiftc.asm
 C  * Perhaps do 4-way unrolling, for 2.5 c/l on POWER6.  The code is 4248
 C    bytes, 4-way code would become about 50% larger.
 
@@ -48,7 +47,7 @@
 L(r):	mflr	r11
 	sldi	r0, n, 3
 	sldi	r10, cnt, 6		C multiply cnt by size of a SHIFT block
-	addi	r11, r11, L(e1)-Lr-64	C address of L(e1) label in SHIFT(1)
+	addi	r11, r11, L(e1)-L(r)-64	C address of L(e1) label in SHIFT(1)
 	add	up, up, r0		C make up point at end of up[]
 	add	r11, r11, r10		C address of L(oN) for N = cnt
 	add	rp, rp_param, r0	C make rp point at end of rp[]
diff -r b21d294ebb94 -r 92747ad60809 mpn/powerpc64/p6/lshiftc.asm
--- a/mpn/powerpc64/p6/lshiftc.asm	Wed May 22 15:31:27 2013 +0200
+++ b/mpn/powerpc64/p6/lshiftc.asm	Mon Jun 17 13:33:12 2013 +0200
@@ -47,7 +47,7 @@
 L(r):	mflr	r11
 	sldi	r0, n, 3
 	sldi	r10, cnt, 6		C multiply cnt by size of a SHIFT block
-	addi	r11, r11, L(e1)-Lr-64	C address of L(e1) label in SHIFT(1)
+	addi	r11, r11, L(e1)-L(r)-64	C address of L(e1) label in SHIFT(1)
 	add	up, up, r0		C make up point at end of up[]
 	add	r11, r11, r10		C address of L(oN) for N = cnt
 	add	rp, rp_param, r0	C make rp point at end of rp[]
diff -r b21d294ebb94 -r 92747ad60809 mpn/powerpc64/p6/rshift.asm
--- a/mpn/powerpc64/p6/rshift.asm	Wed May 22 15:31:27 2013 +0200
+++ b/mpn/powerpc64/p6/rshift.asm	Mon Jun 17 13:33:12 2013 +0200
@@ -45,7 +45,7 @@
 	mflr	r12
 	bcl	20, 31, L(r)		C get pc using a local "call"
 L(r):	mflr	r11
-	addi	r11, r11, L(e1)-Lr-64	C address of L(e1) label in SHIFT(1)
+	addi	r11, r11, L(e1)-L(r)-64	C address of L(e1) label in SHIFT(1)
 	sldi	r10, cnt, 6		C multiply cnt by size of a SHIFT block
 	add	r11, r11, r10		C address of L(oN) for N = cnt
 	mr	rp, rp_param


More information about the gmp-commit mailing list