summaryrefslogtreecommitdiff
path: root/mpn
diff options
context:
space:
mode:
authorTorbjorn Granlund <tege@gmplib.org>2012-12-25 13:45:41 +0100
committerTorbjorn Granlund <tege@gmplib.org>2012-12-25 13:45:41 +0100
commit4a4f49478fefd821e43b02c9f86ea7c50bbba6d9 (patch)
treeb6c43d33a62b8f4773f744772702b4a3de841b4b /mpn
parenta71d5ef7f6bf07aca5e9d859c17a824ae74aa40f (diff)
downloadgmp-4a4f49478fefd821e43b02c9f86ea7c50bbba6d9.tar.gz
Avoid 'shift' used elsewhere in m4 macros.
Diffstat (limited to 'mpn')
-rw-r--r--mpn/x86_64/bdiv_q_1.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/mpn/x86_64/bdiv_q_1.asm b/mpn/x86_64/bdiv_q_1.asm
index 63a798e3f..a814e2843 100644
--- a/mpn/x86_64/bdiv_q_1.asm
+++ b/mpn/x86_64/bdiv_q_1.asm
@@ -38,7 +38,7 @@ define(`up', `%rsi')
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 @@ PROLOGUE(mpn_bdiv_q_1)
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 @@ IFDOS(` mov 64(%rsp), %r9 ')
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(com): mov (up), %rax C up[0]
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