summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorbjorn Granlund <tege@gmplib.org>2011-11-22 16:58:46 +0100
committerTorbjorn Granlund <tege@gmplib.org>2011-11-22 16:58:46 +0100
commitc1be217f4a744da94162daa00293255d16f61cac (patch)
tree9dbc1fb4e48680dfd89ef47dcd2b69a2f86bcdde
parent0e7ee006721d05c6a652b5ebb3feda42ca44c68b (diff)
downloadgmp-c1be217f4a744da94162daa00293255d16f61cac.tar.gz
Align loop for slightly better power5 performance.
-rw-r--r--mpn/powerpc64/mode64/aors_n.asm5
1 files changed, 3 insertions, 2 deletions
diff --git a/mpn/powerpc64/mode64/aors_n.asm b/mpn/powerpc64/mode64/aors_n.asm
index c6ea35089..8c30871c2 100644
--- a/mpn/powerpc64/mode64/aors_n.asm
+++ b/mpn/powerpc64/mode64/aors_n.asm
@@ -1,6 +1,6 @@
dnl PowerPC-64 mpn_add_n/mpn_sub_n -- mpn addition and subtraction.
-dnl Copyright 1999, 2000, 2001, 2003, 2004, 2005, 2007 Free Software
+dnl Copyright 1999, 2000, 2001, 2003, 2004, 2005, 2007, 2011 Free Software
dnl Foundation, Inc.
dnl This file is part of the GNU MP Library.
@@ -23,7 +23,7 @@ include(`../config.m4')
C cycles/limb
C POWER3/PPC630 1.5
C POWER4/PPC970 2
-C POWER5 2.25
+C POWER5 2
C POWER6 2.63
C POWER7 2.25-2.87
@@ -137,6 +137,7 @@ L(go): ld r6, 0(r4) C load s1 limb
addi r4, r4, 32
addi r5, r5, 32
+ ALIGN(16)
L(top): ADDSUBC r28, r7, r6
ld r6, 0(r4) C load s1 limb
ld r7, 0(r5) C load s2 limb