summaryrefslogtreecommitdiff
path: root/mpn/alpha
diff options
context:
space:
mode:
authorTorbjorn Granlund <tege@gmplib.org>2010-05-03 22:24:14 +0200
committerTorbjorn Granlund <tege@gmplib.org>2010-05-03 22:24:14 +0200
commite302eafe322916965aba9a66129930ea18a72df6 (patch)
treeaad3e2bbfd4172b97062f3d87bf211025568df1b /mpn/alpha
parentd5345884a6e70b997f4322071763eadfca1a82e2 (diff)
downloadgmp-e302eafe322916965aba9a66129930ea18a72df6.tar.gz
Avoid multiply for 2 limb feed-in.
Diffstat (limited to 'mpn/alpha')
-rw-r--r--mpn/alpha/ev6/mod_1_4.asm9
1 files changed, 2 insertions, 7 deletions
diff --git a/mpn/alpha/ev6/mod_1_4.asm b/mpn/alpha/ev6/mod_1_4.asm
index dd8f1a73e..d833af5cb 100644
--- a/mpn/alpha/ev6/mod_1_4.asm
+++ b/mpn/alpha/ev6/mod_1_4.asm
@@ -115,13 +115,8 @@ L(b1): bis r31, r31, rh
lda ap, -40(ap)
br L(com)
-L(b2): ldq r21, -8(ap)
- ldq r20, -16(ap)
- mulq r21, B1modb, r8
- umulh r21, B1modb, r12
- addq r8, r20, rl
- cmpult rl, r8, r0
- addq r0, r12, rh
+L(b2): ldq rh, -8(ap)
+ ldq rl, -16(ap)
lda ap, -48(ap)
L(com): ble n, L(ed3)