summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortege <tege@gmplib.org>2006-02-13 19:34:47 +0100
committertege <tege@gmplib.org>2006-02-13 19:34:47 +0100
commit3a87d3ea9620b4fe9f08ceaee016ec09a1dc9e8d (patch)
tree8d5ad3d1c02376b81638a27bedc555a9ce612d87
parent73ac358c23cba014aead8dea356a586efc8009f0 (diff)
downloadgmp-3a87d3ea9620b4fe9f08ceaee016ec09a1dc9e8d.tar.gz
Update cycle/limb numbers.
-rw-r--r--mpn/powerpc32/addmul_1.asm4
-rw-r--r--mpn/powerpc32/lshift.asm2
-rw-r--r--mpn/powerpc32/mod_34lsub1.asm9
-rw-r--r--mpn/powerpc32/mode1o.asm4
-rw-r--r--mpn/powerpc32/rshift.asm6
5 files changed, 14 insertions, 11 deletions
diff --git a/mpn/powerpc32/addmul_1.asm b/mpn/powerpc32/addmul_1.asm
index cfbb46c74..3d2604025 100644
--- a/mpn/powerpc32/addmul_1.asm
+++ b/mpn/powerpc32/addmul_1.asm
@@ -38,8 +38,8 @@ C up r4
C n r5
C vl r6
-C This is optimized for the PPC604. It has not been tuned for PPC601,
-C PPC603, PPC750 (G3), 7400 (G4), 7450 (G4+).
+C This is optimized for the PPC604. It has not been tuned for other
+C PowerPC processors.
C
C Loop Analysis for the 604:
C 12 mem insn
diff --git a/mpn/powerpc32/lshift.asm b/mpn/powerpc32/lshift.asm
index 1c399ce0a..9283bf68d 100644
--- a/mpn/powerpc32/lshift.asm
+++ b/mpn/powerpc32/lshift.asm
@@ -25,7 +25,7 @@ include(`../config.m4')
C cycles/limb
C 603e: ?
C 604e: 3.0
-C 75x (G3): 3,0
+C 75x (G3): 3.0
C 7400,7410 (G4): 3.0
C 7445,7455 (G4+): 2.5
C 7447,7457 (G4+): 2.25
diff --git a/mpn/powerpc32/mod_34lsub1.asm b/mpn/powerpc32/mod_34lsub1.asm
index ad18a7442..979e6ca63 100644
--- a/mpn/powerpc32/mod_34lsub1.asm
+++ b/mpn/powerpc32/mod_34lsub1.asm
@@ -23,11 +23,14 @@ include(`../config.m4')
C cycles/limb
-C 750: 3.0
-C 7400: 3.0
+C 603e: ?
+C 604e: ?
+C 75x (G3): 3.0
+C 7400,7410 (G4): 3.0
+C 744x,745x (G4+): 3.0
+C power4/ppc970: 2.5
C power5: 2.5
-
C mp_limb_t mpn_mod_34lsub1 (mp_srcptr src, mp_size_t size)
C
C There seems no need to schedule the loads back, the code is still 3.0 c/l
diff --git a/mpn/powerpc32/mode1o.asm b/mpn/powerpc32/mode1o.asm
index cf079cfd5..0309811f8 100644
--- a/mpn/powerpc32/mode1o.asm
+++ b/mpn/powerpc32/mode1o.asm
@@ -27,8 +27,8 @@ C 603e: ?
C 604e: 6.0
C 75x (G3): 6.0-13.0, depending on divisor
C 7400,7410 (G4): 6.0-13.0, depending on divisor
-C 744x,745x (G4+): 8.0-10.0
-C power4/ppc970: 14.75
+C 744x,745x (G4+): 8.0-10.0, depending on divisor
+C power4/ppc970: 12.0
C power5: 12.0
diff --git a/mpn/powerpc32/rshift.asm b/mpn/powerpc32/rshift.asm
index 3a1c3f6db..4f19dbb1f 100644
--- a/mpn/powerpc32/rshift.asm
+++ b/mpn/powerpc32/rshift.asm
@@ -25,10 +25,10 @@ include(`../config.m4')
C cycles/limb
C 603e: ?
C 604e: 3.0
-C 75x (G3): 3,0
+C 75x (G3): 3.0
C 7400,7410 (G4): 3.0
-C 7445,7455 (G4+): 2.75
-C 7447,7457 (G4+): 2.375
+C 7445,7455 (G4+): 2.5
+C 7447,7457 (G4+): 2.25
C power4/ppc970: 2.5
C power5: 2.5