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

mercurial at gmplib.org mercurial at gmplib.org
Mon Apr 1 19:08:45 CEST 2013


details:   /var/hg/gmp/rev/c867d59f7b02
changeset: 15664:c867d59f7b02
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Mon Apr 01 05:16:45 2013 +0200
description:
(umulxhi): Don't clobber retaddr, allowing use in functions that does not do save/restore.

details:   /var/hg/gmp/rev/e2bf7583bdc4
changeset: 15665:e2bf7583bdc4
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Mon Apr 01 05:21:44 2013 +0200
description:
Add US1/2 cycle numbers.

details:   /var/hg/gmp/rev/32463223cb46
changeset: 15666:32463223cb46
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Mon Apr 01 05:23:29 2013 +0200
description:
ChangeLog

diffstat:

 ChangeLog                              |  8 +++++++-
 mpn/sparc64/lshift.asm                 |  2 +-
 mpn/sparc64/lshiftc.asm                |  2 +-
 mpn/sparc64/rshift.asm                 |  2 +-
 mpn/sparc64/ultrasparc1234/lshiftc.asm |  2 +-
 mpn/sparc64/ultrasparct3/missing.m4    |  5 ++++-
 6 files changed, 15 insertions(+), 6 deletions(-)

diffs (87 lines):

diff -r cc23faf27401 -r 32463223cb46 ChangeLog
--- a/ChangeLog	Mon Apr 01 01:08:46 2013 +0200
+++ b/ChangeLog	Mon Apr 01 05:23:29 2013 +0200
@@ -1,12 +1,18 @@
 2013-04-01  Torbjorn Granlund  <tege at gmplib.org>
 
+	* mpn/sparc64/ultrasparct3/missing.m4 (umulxhi): Don't clobber retaddr,
+	allowing use in functions that does not do save/restore.
+
 	* mpn/sparc64/gcd_1.asm: Tweak for tighter loop.
 
-2013-03-31  Torbjorn Granlund  <tege at gmplib.org>
+2013-03-31  David S. Miller  <davem at davemloft.net>
 
 	* mpn/sparc64/lshift.asm: New file.
 	* mpn/sparc64/rshift.asm: New file.
 	* mpn/sparc64/lshiftc.asm: New file.
+
+2013-03-31  Torbjorn Granlund  <tege at gmplib.org>
+
 	* mpn/sparc64/ultrasparct1/lshift.asm: Remove.
 	* mpn/sparc64/ultrasparct1/rshift.asm: Remove.
 	* mpn/sparc64/ultrasparct1/lshiftc.asm: Remove.
diff -r cc23faf27401 -r 32463223cb46 mpn/sparc64/lshift.asm
--- a/mpn/sparc64/lshift.asm	Mon Apr 01 01:08:46 2013 +0200
+++ b/mpn/sparc64/lshift.asm	Mon Apr 01 05:23:29 2013 +0200
@@ -22,7 +22,7 @@
 include(`../config.m4')
 
 C		    cycles/limb
-C UltraSPARC 1&2:	 ?
+C UltraSPARC 1&2:	 2
 C UltraSPARC 3:		 2.5
 C UltraSPARC T1:	17.5
 C UltraSPARC T3:	 8
diff -r cc23faf27401 -r 32463223cb46 mpn/sparc64/lshiftc.asm
--- a/mpn/sparc64/lshiftc.asm	Mon Apr 01 01:08:46 2013 +0200
+++ b/mpn/sparc64/lshiftc.asm	Mon Apr 01 05:23:29 2013 +0200
@@ -22,7 +22,7 @@
 include(`../config.m4')
 
 C		    cycles/limb
-C UltraSPARC 1&2:	 ?
+C UltraSPARC 1&2:	 3
 C UltraSPARC 3:		 3
 C UltraSPARC T1:	17
 C UltraSPARC T3:	10
diff -r cc23faf27401 -r 32463223cb46 mpn/sparc64/rshift.asm
--- a/mpn/sparc64/rshift.asm	Mon Apr 01 01:08:46 2013 +0200
+++ b/mpn/sparc64/rshift.asm	Mon Apr 01 05:23:29 2013 +0200
@@ -22,7 +22,7 @@
 include(`../config.m4')
 
 C		    cycles/limb
-C UltraSPARC 1&2:	 ?
+C UltraSPARC 1&2:	 2
 C UltraSPARC 3:		 2.5
 C UltraSPARC T1:	17.5
 C UltraSPARC T3:	 8
diff -r cc23faf27401 -r 32463223cb46 mpn/sparc64/ultrasparc1234/lshiftc.asm
--- a/mpn/sparc64/ultrasparc1234/lshiftc.asm	Mon Apr 01 01:08:46 2013 +0200
+++ b/mpn/sparc64/ultrasparc1234/lshiftc.asm	Mon Apr 01 05:23:29 2013 +0200
@@ -22,7 +22,7 @@
 include(`../config.m4')
 
 C		   cycles/limb
-C UltraSPARC 1&2:     ?
+C UltraSPARC 1&2:     3
 C UltraSPARC 3:	      2.67
 
 C INPUT PARAMETERS
diff -r cc23faf27401 -r 32463223cb46 mpn/sparc64/ultrasparct3/missing.m4
--- a/mpn/sparc64/ultrasparct3/missing.m4	Mon Apr 01 01:08:46 2013 +0200
+++ b/mpn/sparc64/ultrasparct3/missing.m4	Mon Apr 01 05:23:29 2013 +0200
@@ -53,8 +53,11 @@
 define(`umulxhi',`dnl
 	add	%sp, -512, %sp
 	stx	$1, [%sp+2047+256]
+	stx	$2, [%sp+2047+256+8]
+	stx	%o7, [%sp+2047+256+16]
 	call	__gmpn_umulh
-	 stx	$2, [%sp+2047+256+8]
+	nop
+	ldx	[%sp+2047+256+16], %o7
 	ldx	[%sp+2047+256], $3
 	sub	%sp, -512, %sp
 ')


More information about the gmp-commit mailing list