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

mercurial at gmplib.org mercurial at gmplib.org
Sat Mar 30 01:43:33 CET 2013


details:   /var/hg/gmp/rev/abb0e066fcce
changeset: 15658:abb0e066fcce
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Fri Mar 29 22:53:09 2013 +0100
description:
Always do mulx before umulxhi.

details:   /var/hg/gmp/rev/99ca1caff0fd
changeset: 15659:99ca1caff0fd
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Fri Mar 29 22:55:25 2013 +0100
description:
Add T3 cycle numbers.

details:   /var/hg/gmp/rev/f886344bafce
changeset: 15660:f886344bafce
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Sat Mar 30 01:43:22 2013 +0100
description:
ChangeLog

diffstat:

 ChangeLog                             |  4 ++++
 mpn/sparc64/ultrasparct3/aormul_2.asm |  4 ++--
 mpn/sparc64/ultrasparct3/hamdist.asm  |  2 +-
 mpn/sparc64/ultrasparct3/popcount.asm |  2 +-
 mpn/sparc64/ultrasparct3/submul_1.asm |  2 +-
 5 files changed, 9 insertions(+), 5 deletions(-)

diffs (69 lines):

diff -r c543f7c8e627 -r f886344bafce ChangeLog
--- a/ChangeLog	Thu Mar 28 08:25:53 2013 +0100
+++ b/ChangeLog	Sat Mar 30 01:43:22 2013 +0100
@@ -1,3 +1,7 @@
+2013-03-29  Torbjorn Granlund  <tege at gmplib.org>
+
+	* mpn/sparc64/ultrasparct3/aormul_2.asm: Always do mulx before umulxhi.
+
 2013-03-28  Torbjorn Granlund  <tege at gmplib.org>
 
 	* mpn/sparc64/mod_1_4.c (mpn_mod_1s_4p): Make precomputed arg 'const'.
diff -r c543f7c8e627 -r f886344bafce mpn/sparc64/ultrasparct3/aormul_2.asm
--- a/mpn/sparc64/ultrasparct3/aormul_2.asm	Thu Mar 28 08:25:53 2013 +0100
+++ b/mpn/sparc64/ultrasparct3/aormul_2.asm	Sat Mar 30 01:43:22 2013 +0100
@@ -22,7 +22,7 @@
 
 C		    cycles/limb     cycles/limb
 C		       mul_2          addmul_2
-C UltraSPARC T3:	 ?		 ?
+C UltraSPARC T3:	23		24
 C UltraSPARC T4:	~3.5		~4
 
 
@@ -135,8 +135,8 @@
 	stx	w3, [rp+0]
 	ADDX(`	%l1, w0, w0')
 	addxccc(%l5, w1, w1)
+	mulx	%i4, v0, %l2
 	umulxhi(%i4, v0, %l6)
-	mulx	%i4, v0, %l2
 AM2(`	ldx	[rp+8], %g1')
 	addcc	%l2, w0, w0
 	addxccc(%l6, w1, w1)
diff -r c543f7c8e627 -r f886344bafce mpn/sparc64/ultrasparct3/hamdist.asm
--- a/mpn/sparc64/ultrasparct3/hamdist.asm	Thu Mar 28 08:25:53 2013 +0100
+++ b/mpn/sparc64/ultrasparct3/hamdist.asm	Sat Mar 30 01:43:22 2013 +0100
@@ -22,7 +22,7 @@
 include(`../config.m4')
 
 C		   cycles/limb
-C UltraSPARC T3:	 ?
+C UltraSPARC T3:	18
 C UltraSPARC T4:	 3.5
 
 C INPUT PARAMETERS
diff -r c543f7c8e627 -r f886344bafce mpn/sparc64/ultrasparct3/popcount.asm
--- a/mpn/sparc64/ultrasparct3/popcount.asm	Thu Mar 28 08:25:53 2013 +0100
+++ b/mpn/sparc64/ultrasparct3/popcount.asm	Sat Mar 30 01:43:22 2013 +0100
@@ -22,7 +22,7 @@
 include(`../config.m4')
 
 C		   cycles/limb
-C UltraSPARC T3:	 ?
+C UltraSPARC T3:	15
 C UltraSPARC T4:	 2.5
 
 C INPUT PARAMETERS
diff -r c543f7c8e627 -r f886344bafce mpn/sparc64/ultrasparct3/submul_1.asm
--- a/mpn/sparc64/ultrasparct3/submul_1.asm	Thu Mar 28 08:25:53 2013 +0100
+++ b/mpn/sparc64/ultrasparct3/submul_1.asm	Sat Mar 30 01:43:22 2013 +0100
@@ -22,7 +22,7 @@
 include(`../config.m4')
 
 C		   cycles/limb
-C UltraSPARC T3:	 ?
+C UltraSPARC T3:	29
 C UltraSPARC T4:	 5.8
 
 C INPUT PARAMETERS


More information about the gmp-commit mailing list