diff options
Diffstat (limited to 'sysdeps/i386')
-rw-r--r-- | sysdeps/i386/add_n.S | 2 | ||||
-rw-r--r-- | sysdeps/i386/addmul_1.S | 18 | ||||
-rw-r--r-- | sysdeps/i386/lshift.S | 2 | ||||
-rw-r--r-- | sysdeps/i386/rshift.S | 2 | ||||
-rw-r--r-- | sysdeps/i386/sub_n.S | 2 | ||||
-rw-r--r-- | sysdeps/i386/submul_1.S | 18 |
6 files changed, 22 insertions, 22 deletions
diff --git a/sysdeps/i386/add_n.S b/sysdeps/i386/add_n.S index 55c5dda446..a93e2899a7 100644 --- a/sysdeps/i386/add_n.S +++ b/sysdeps/i386/add_n.S @@ -104,4 +104,4 @@ L(oop): movl (%esi),%eax popl %edi ret - ASM_SIZE_DIRECTIVE(C_SYMBOL_NAME(__mpn_add_n))
\ No newline at end of file + ASM_SIZE_DIRECTIVE(C_SYMBOL_NAME(__mpn_add_n)) diff --git a/sysdeps/i386/addmul_1.S b/sysdeps/i386/addmul_1.S index 8194ec495e..7116c1646d 100644 --- a/sysdeps/i386/addmul_1.S +++ b/sysdeps/i386/addmul_1.S @@ -22,7 +22,7 @@ INPUT PARAMETERS res_ptr (sp + 4) s1_ptr (sp + 8) - size (sp + 12) + sizeP (sp + 12) s2_limb (sp + 16) */ @@ -31,7 +31,7 @@ #define res_ptr edi #define s1_ptr esi -#define size ecx +#define sizeP ecx #define s2_limb ebp TEXT @@ -47,24 +47,24 @@ C_SYMBOL_NAME(__mpn_addmul_1:) INSN2(mov,l ,R(res_ptr),MEM_DISP(esp,20)) INSN2(mov,l ,R(s1_ptr),MEM_DISP(esp,24)) - INSN2(mov,l ,R(size),MEM_DISP(esp,28)) + INSN2(mov,l ,R(sizeP),MEM_DISP(esp,28)) INSN2(mov,l ,R(s2_limb),MEM_DISP(esp,32)) - INSN2(lea,l ,R(res_ptr),MEM_INDEX(res_ptr,size,4)) - INSN2(lea,l ,R(s1_ptr),MEM_INDEX(s1_ptr,size,4)) - INSN1(neg,l ,R(size)) + INSN2(lea,l ,R(res_ptr),MEM_INDEX(res_ptr,sizeP,4)) + INSN2(lea,l ,R(s1_ptr),MEM_INDEX(s1_ptr,sizeP,4)) + INSN1(neg,l ,R(sizeP)) INSN2(xor,l ,R(ebx),R(ebx)) ALIGN (3) L(oop): - INSN2(mov,l ,R(eax),MEM_INDEX(s1_ptr,size,4)) + INSN2(mov,l ,R(eax),MEM_INDEX(s1_ptr,sizeP,4)) INSN1(mul,l ,R(s2_limb)) INSN2(add,l ,R(eax),R(ebx)) INSN2(adc,l ,R(edx),$0) - INSN2(add,l ,MEM_INDEX(res_ptr,size,4),R(eax)) + INSN2(add,l ,MEM_INDEX(res_ptr,sizeP,4),R(eax)) INSN2(adc,l ,R(edx),$0) INSN2(mov,l ,R(ebx),R(edx)) - INSN1(inc,l ,R(size)) + INSN1(inc,l ,R(sizeP)) INSN1(jnz, ,L(oop)) INSN2(mov,l ,R(eax),R(ebx)) diff --git a/sysdeps/i386/lshift.S b/sysdeps/i386/lshift.S index 2f629b0303..b5b7d6be32 100644 --- a/sysdeps/i386/lshift.S +++ b/sysdeps/i386/lshift.S @@ -83,4 +83,4 @@ L(end): shll %cl,%ebx /* compute least significant limb */ popl %edi ret - ASM_SIZE_DIRECTIVE(C_SYMBOL_NAME(__mpn_lshift))
\ No newline at end of file + ASM_SIZE_DIRECTIVE(C_SYMBOL_NAME(__mpn_lshift)) diff --git a/sysdeps/i386/rshift.S b/sysdeps/i386/rshift.S index a0382672de..1eb84db802 100644 --- a/sysdeps/i386/rshift.S +++ b/sysdeps/i386/rshift.S @@ -85,4 +85,4 @@ L(end): shrl %cl,%ebx /* compute most significant limb */ popl %edi ret - ASM_SIZE_DIRECTIVE(C_SYMBOL_NAME(__mpn_rshift))
\ No newline at end of file + ASM_SIZE_DIRECTIVE(C_SYMBOL_NAME(__mpn_rshift)) diff --git a/sysdeps/i386/sub_n.S b/sysdeps/i386/sub_n.S index c41c9a6408..ea9986b889 100644 --- a/sysdeps/i386/sub_n.S +++ b/sysdeps/i386/sub_n.S @@ -104,4 +104,4 @@ L(oop): movl (%esi),%eax popl %edi ret - ASM_SIZE_DIRECTIVE(C_SYMBOL_NAME(__mpn_sub_n))
\ No newline at end of file + ASM_SIZE_DIRECTIVE(C_SYMBOL_NAME(__mpn_sub_n)) diff --git a/sysdeps/i386/submul_1.S b/sysdeps/i386/submul_1.S index 6bba494417..17050bc078 100644 --- a/sysdeps/i386/submul_1.S +++ b/sysdeps/i386/submul_1.S @@ -22,7 +22,7 @@ INPUT PARAMETERS res_ptr (sp + 4) s1_ptr (sp + 8) - size (sp + 12) + sizeP (sp + 12) s2_limb (sp + 16) */ @@ -31,7 +31,7 @@ #define res_ptr edi #define s1_ptr esi -#define size ecx +#define sizeP ecx #define s2_limb ebp TEXT @@ -47,24 +47,24 @@ C_SYMBOL_NAME(__mpn_submul_1:) INSN2(mov,l ,R(res_ptr),MEM_DISP(esp,20)) INSN2(mov,l ,R(s1_ptr),MEM_DISP(esp,24)) - INSN2(mov,l ,R(size),MEM_DISP(esp,28)) + INSN2(mov,l ,R(sizeP),MEM_DISP(esp,28)) INSN2(mov,l ,R(s2_limb),MEM_DISP(esp,32)) - INSN2(lea,l ,R(res_ptr),MEM_INDEX(res_ptr,size,4)) - INSN2(lea,l ,R(s1_ptr),MEM_INDEX(s1_ptr,size,4)) - INSN1(neg,l ,R(size)) + INSN2(lea,l ,R(res_ptr),MEM_INDEX(res_ptr,sizeP,4)) + INSN2(lea,l ,R(s1_ptr),MEM_INDEX(s1_ptr,sizeP,4)) + INSN1(neg,l ,R(sizeP)) INSN2(xor,l ,R(ebx),R(ebx)) ALIGN (3) L(oop): - INSN2(mov,l ,R(eax),MEM_INDEX(s1_ptr,size,4)) + INSN2(mov,l ,R(eax),MEM_INDEX(s1_ptr,sizeP,4)) INSN1(mul,l ,R(s2_limb)) INSN2(add,l ,R(eax),R(ebx)) INSN2(adc,l ,R(edx),$0) - INSN2(sub,l ,MEM_INDEX(res_ptr,size,4),R(eax)) + INSN2(sub,l ,MEM_INDEX(res_ptr,sizeP,4),R(eax)) INSN2(adc,l ,R(edx),$0) INSN2(mov,l ,R(ebx),R(edx)) - INSN1(inc,l ,R(size)) + INSN1(inc,l ,R(sizeP)) INSN1(jnz, ,L(oop)) INSN2(mov,l ,R(eax),R(ebx)) |