diff options
Diffstat (limited to 'sysdeps')
-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 | ||||
-rw-r--r-- | sysdeps/stub/s_erfl.c | 10 | ||||
-rw-r--r-- | sysdeps/wordsize-32/Dist | 2 | ||||
-rw-r--r-- | sysdeps/wordsize-32/Makefile | 2 | ||||
-rw-r--r-- | sysdeps/wordsize-64/Dist | 2 | ||||
-rw-r--r-- | sysdeps/wordsize-64/Makefile | 2 |
11 files changed, 36 insertions, 26 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)) diff --git a/sysdeps/stub/s_erfl.c b/sysdeps/stub/s_erfl.c index e01bad206d..efcf490fa7 100644 --- a/sysdeps/stub/s_erfl.c +++ b/sysdeps/stub/s_erfl.c @@ -10,3 +10,13 @@ __erfl (long double x) weak_alias (__erfl, erfl) stub_warning (erfl) + +long double +__erfcl (long double x) +{ + fputs ("__erfcl not implemented\n", stderr); + return 0.0; +} +weak_alias (__erfcl, erfcl) + +stub_warning (erfcl) diff --git a/sysdeps/wordsize-32/Dist b/sysdeps/wordsize-32/Dist index 625e4d0fc7..5661d79d1d 100644 --- a/sysdeps/wordsize-32/Dist +++ b/sysdeps/wordsize-32/Dist @@ -1 +1 @@ -inttypes.h \ No newline at end of file +inttypes.h diff --git a/sysdeps/wordsize-32/Makefile b/sysdeps/wordsize-32/Makefile index 73b64ed054..87ced71ec1 100644 --- a/sysdeps/wordsize-32/Makefile +++ b/sysdeps/wordsize-32/Makefile @@ -1,3 +1,3 @@ ifeq ($(subdir),stdlib) sysdep_headers += inttypes.h -endif \ No newline at end of file +endif diff --git a/sysdeps/wordsize-64/Dist b/sysdeps/wordsize-64/Dist index 625e4d0fc7..5661d79d1d 100644 --- a/sysdeps/wordsize-64/Dist +++ b/sysdeps/wordsize-64/Dist @@ -1 +1 @@ -inttypes.h \ No newline at end of file +inttypes.h diff --git a/sysdeps/wordsize-64/Makefile b/sysdeps/wordsize-64/Makefile index 73b64ed054..87ced71ec1 100644 --- a/sysdeps/wordsize-64/Makefile +++ b/sysdeps/wordsize-64/Makefile @@ -1,3 +1,3 @@ ifeq ($(subdir),stdlib) sysdep_headers += inttypes.h -endif \ No newline at end of file +endif |