[Gmp-commit] /var/hg/gmp: Fix performance bug causing 'unorm' code to be used...
mercurial at gmplib.org
mercurial at gmplib.org
Sun Feb 12 12:43:31 UTC 2017
details: /var/hg/gmp/rev/df28d12d9692
changeset: 17261:df28d12d9692
user: Torbjorn Granlund <tg at gmplib.org>
date: Sun Feb 12 13:43:16 2017 +0100
description:
Fix performance bug causing 'unorm' code to be used when entering through mpn_bdiv_q_1.
diffstat:
mpn/arm/bdiv_q_1.asm | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (23 lines):
diff -r 825ba833f1d0 -r df28d12d9692 mpn/arm/bdiv_q_1.asm
--- a/mpn/arm/bdiv_q_1.asm Sun Feb 12 03:40:17 2017 +0100
+++ b/mpn/arm/bdiv_q_1.asm Sun Feb 12 13:43:16 2017 +0100
@@ -79,7 +79,7 @@
and r11, d, #0xff
ldrb r10, [r10, r11]
mov d, d, lsr r10
- adds cnt, cnt, r10
+ add cnt, cnt, r10
C binvert limb
L(inv): LEA( r10, binvert_limb_table)
@@ -99,9 +99,9 @@
ldr cnt, [sp, #28]
ldr r10, [sp, #24]
- cmp cnt, #0
L(pi1): ldr r11, [up], #4 C up[0]
+ cmp cnt, #0
mov cy, #0
bne L(unorm)
More information about the gmp-commit
mailing list