[Gmp-commit] /var/hg/gmp: Tune for more stable performance.

mercurial at gmplib.org mercurial at gmplib.org
Sun Apr 29 17:56:43 CEST 2012


details:   /var/hg/gmp/rev/200b0707b624
changeset: 14908:200b0707b624
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Sun Apr 29 17:56:41 2012 +0200
description:
Tune for more stable performance.

diffstat:

 ChangeLog          |  2 ++
 mpn/arm/aors_n.asm |  4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)

diffs (36 lines):

diff -r 642cd5ba0529 -r 200b0707b624 ChangeLog
--- a/ChangeLog	Sun Apr 29 17:37:53 2012 +0200
+++ b/ChangeLog	Sun Apr 29 17:56:41 2012 +0200
@@ -1,5 +1,7 @@
 2012-04-29  Torbjorn Granlund  <tege at gmplib.org>
 
+	* mpn/arm/aors_n.asm: Tune for more stable performance.
+
 	* mpn/arm/aorslsh1_n.asm: New file.
 
 	* mpn/arm/mod_34lsub1.asm: New file.
diff -r 642cd5ba0529 -r 200b0707b624 mpn/arm/aors_n.asm
--- a/mpn/arm/aors_n.asm	Sun Apr 29 17:37:53 2012 +0200
+++ b/mpn/arm/aors_n.asm	Sun Apr 29 17:56:41 2012 +0200
@@ -25,7 +25,7 @@
 C StrongARM	 ?
 C XScale	 ?
 C Cortex-A8	 ?
-C Cortex-A9	 2.75
+C Cortex-A9	 2.5	slightly fluctuating
 C Cortex-A15	 ?
 
 define(`rp', `r0')
@@ -85,11 +85,11 @@
 L(top):	ldmia	up!, { r4, r5, r6, r7 }
 	ldmia	vp!, { r8, r9, r12, lr }
 	ADDSUBC	r4, r4, r8
+	sub	n, n, #4
 	ADDSUBC	r5, r5, r9
 	ADDSUBC	r6, r6, r12
 	ADDSUBC	r7, r7, lr
 	stmia	rp!, { r4, r5, r6, r7 }
-	sub	n, n, #4
 	teq	n, #0
 	bne	L(top)
 


More information about the gmp-commit mailing list