[Gmp-commit] /var/hg/gmp: Avoid 'shift' used elsewhere in m4 macros.
mercurial at gmplib.org
mercurial at gmplib.org
Tue Dec 25 13:45:45 CET 2012
details: /var/hg/gmp/rev/7624a57c9d49
changeset: 15215:7624a57c9d49
user: Torbjorn Granlund <tege at gmplib.org>
date: Tue Dec 25 13:45:41 2012 +0100
description:
Avoid 'shift' used elsewhere in m4 macros.
diffstat:
mpn/x86_64/bdiv_q_1.asm | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (39 lines):
diff -r 45715760bd2a -r 7624a57c9d49 mpn/x86_64/bdiv_q_1.asm
--- a/mpn/x86_64/bdiv_q_1.asm Tue Dec 25 12:50:03 2012 +0100
+++ b/mpn/x86_64/bdiv_q_1.asm Tue Dec 25 13:45:41 2012 +0100
@@ -38,7 +38,7 @@
define(`n', `%rdx')
define(`d', `%rcx')
define(`di', `%r8') C just mpn_pi1_bdiv_q_1
-define(`shift', `%r9') C just mpn_pi1_bdiv_q_1
+define(`ncnt', `%r9') C just mpn_pi1_bdiv_q_1
ABI_SUPPORT(DOS64)
ABI_SUPPORT(STD64)
@@ -51,7 +51,7 @@
push %rbx
mov %rcx, %rax
- xor R32(%rcx), R32(%rcx) C shift count
+ xor R32(%rcx), R32(%rcx) C ncnt count
mov %rdx, %r10
bt $0, R32(%rax)
@@ -97,7 +97,7 @@
mov %rcx, %r11 C d
mov %rdx, %r10 C n
- mov %r9, %rcx C shift
+ mov %r9, %rcx C ncnt
L(com): mov (up), %rax C up[0]
@@ -118,7 +118,7 @@
L(top):
C rax q
C rbx carry bit, 0 or 1
- C rcx shift
+ C rcx ncnt
C rdx
C r10 counter, limbs, negative
More information about the gmp-commit
mailing list