diff options
Diffstat (limited to 'sysdeps/i386/i586')
-rw-r--r-- | sysdeps/i386/i586/add_n.S | 9 | ||||
-rw-r--r-- | sysdeps/i386/i586/addmul_1.S | 10 | ||||
-rw-r--r-- | sysdeps/i386/i586/lshift.S | 7 | ||||
-rw-r--r-- | sysdeps/i386/i586/mul_1.S | 10 | ||||
-rw-r--r-- | sysdeps/i386/i586/rshift.S | 7 | ||||
-rw-r--r-- | sysdeps/i386/i586/sub_n.S | 9 | ||||
-rw-r--r-- | sysdeps/i386/i586/submul_1.S | 10 |
7 files changed, 29 insertions, 33 deletions
diff --git a/sysdeps/i386/i586/add_n.S b/sysdeps/i386/i586/add_n.S index 6d86027b1f..8b4130b415 100644 --- a/sysdeps/i386/i586/add_n.S +++ b/sysdeps/i386/i586/add_n.S @@ -1,6 +1,6 @@ /* Pentium __mpn_add_n -- Add two limb vectors of the same length > 0 and store sum in a third limb vector. - Copyright (C) 1992, 1994, 1995, 1996, 1997 Free Software Foundation, Inc. + Copyright (C) 1992, 94, 95, 96, 97, 98 Free Software Foundation, Inc. This file is part of the GNU MP Library. The GNU MP Library is free software; you can redistribute it and/or modify @@ -29,10 +29,8 @@ #include "sysdep.h" #include "asm-syntax.h" -.text - ALIGN (3) - .globl C_SYMBOL_NAME(__mpn_add_n) -C_SYMBOL_NAME(__mpn_add_n:) + .text +ENTRY(__mpn_add_n) pushl %edi pushl %esi pushl %ebx @@ -126,3 +124,4 @@ L(end2): popl %esi popl %edi ret +END(__mpn_add_n) diff --git a/sysdeps/i386/i586/addmul_1.S b/sysdeps/i386/i586/addmul_1.S index 0d410f6ac3..b97799f387 100644 --- a/sysdeps/i386/i586/addmul_1.S +++ b/sysdeps/i386/i586/addmul_1.S @@ -1,6 +1,6 @@ /* Pentium __mpn_addmul_1 -- Multiply a limb vector with a limb and add the result to a second limb vector. - Copyright (C) 1992, 1994, 1996, 1997 Free Software Foundation, Inc. + Copyright (C) 1992, 94, 96, 97, 98 Free Software Foundation, Inc. This file is part of the GNU MP Library. The GNU MP Library is free software; you can redistribute it and/or modify @@ -34,10 +34,8 @@ #define size ecx #define s2_limb ebp - TEXT - ALIGN (3) - GLOBL C_SYMBOL_NAME(__mpn_addmul_1) -C_SYMBOL_NAME(__mpn_addmul_1:) + .text +ENRTY(__mpn_addmul_1) INSN1(push,l ,R(edi)) INSN1(push,l ,R(esi)) @@ -79,3 +77,5 @@ L(oop): INSN2(adc,l ,R(ebx),$0) INSN1(pop,l ,R(esi)) INSN1(pop,l ,R(edi)) ret +#undef size +END(__mpn_addmul_1) diff --git a/sysdeps/i386/i586/lshift.S b/sysdeps/i386/i586/lshift.S index 1d72fc901e..22dc03ea65 100644 --- a/sysdeps/i386/i586/lshift.S +++ b/sysdeps/i386/i586/lshift.S @@ -1,5 +1,5 @@ /* Pentium optimized __mpn_lshift -- - Copyright (C) 1992, 1994, 1995, 1996, 1997 Free Software Foundation, Inc. + Copyright (C) 1992, 94, 95, 96, 97, 98 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify @@ -29,9 +29,7 @@ #include "asm-syntax.h" .text - ALIGN (3) - .globl C_SYMBOL_NAME(__mpn_lshift) -C_SYMBOL_NAME(__mpn_lshift:) +ENTRY(__mpn_lshift) pushl %edi pushl %esi pushl %ebx @@ -219,3 +217,4 @@ L(L1): movl %edx,(%edi) /* store last limb */ popl %esi popl %edi ret +END(__mpn_lshift) diff --git a/sysdeps/i386/i586/mul_1.S b/sysdeps/i386/i586/mul_1.S index 905e65cb58..e2f7f6ce6c 100644 --- a/sysdeps/i386/i586/mul_1.S +++ b/sysdeps/i386/i586/mul_1.S @@ -1,6 +1,6 @@ /* Pentium __mpn_mul_1 -- Multiply a limb vector with a limb and store the result in a second limb vector. - Copyright (C) 1992, 1994, 1996, 1997 Free Software Foundation, Inc. + Copyright (C) 1992, 94, 96, 97, 98 Free Software Foundation, Inc. This file is part of the GNU MP Library. The GNU MP Library is free software; you can redistribute it and/or modify @@ -34,10 +34,8 @@ #define size ecx #define s2_limb ebp - TEXT - ALIGN (3) - GLOBL C_SYMBOL_NAME(__mpn_mul_1) -C_SYMBOL_NAME(__mpn_mul_1:) + .text +ENTRY(__mpn_mul_1) INSN1(push,l ,R(edi)) INSN1(push,l ,R(esi)) @@ -75,3 +73,5 @@ L(oop): INSN2(adc,l ,R(ebx),$0) INSN1(pop,l ,R(esi)) INSN1(pop,l ,R(edi)) ret +#undef size +END(__mpn_mul_1) diff --git a/sysdeps/i386/i586/rshift.S b/sysdeps/i386/i586/rshift.S index 14ffbb8454..64e4047642 100644 --- a/sysdeps/i386/i586/rshift.S +++ b/sysdeps/i386/i586/rshift.S @@ -1,5 +1,5 @@ /* Pentium optimized __mpn_rshift -- - Copyright (C) 1992, 1994, 1995, 1996, 1997 Free Software Foundation, Inc. + Copyright (C) 1992, 94, 95, 96, 97, 98 Free Software Foundation, Inc. This file is part of the GNU MP Library. The GNU MP Library is free software; you can redistribute it and/or modify @@ -29,9 +29,7 @@ #include "asm-syntax.h" .text - ALIGN (3) - .globl C_SYMBOL_NAME(__mpn_rshift) -C_SYMBOL_NAME(__mpn_rshift:) +ENTRY(__mpn_rshift) pushl %edi pushl %esi pushl %ebx @@ -219,3 +217,4 @@ L(L1): movl %edx,(%edi) /* store last limb */ popl %esi popl %edi ret +END(__mpn_rshift) diff --git a/sysdeps/i386/i586/sub_n.S b/sysdeps/i386/i586/sub_n.S index 758fa86bd3..03c85d9aa6 100644 --- a/sysdeps/i386/i586/sub_n.S +++ b/sysdeps/i386/i586/sub_n.S @@ -1,6 +1,6 @@ /* Pentium __mpn_sub_n -- Subtract two limb vectors of the same length > 0 and store difference in a third limb vector. - Copyright (C) 1992, 1994, 1995, 1996, 1997 Free Software Foundation, Inc. + Copyright (C) 1992, 94, 95, 96, 97, 98 Free Software Foundation, Inc. This file is part of the GNU MP Library. The GNU MP Library is free software; you can redistribute it and/or modify @@ -29,10 +29,8 @@ #include "sysdep.h" #include "asm-syntax.h" -.text - ALIGN (3) - .globl C_SYMBOL_NAME(__mpn_sub_n) -C_SYMBOL_NAME(__mpn_sub_n:) + .text +ENTRY(__mpn_sub_n) pushl %edi pushl %esi pushl %ebx @@ -126,3 +124,4 @@ L(end2): popl %esi popl %edi ret +END(__mpn_sub_n) diff --git a/sysdeps/i386/i586/submul_1.S b/sysdeps/i386/i586/submul_1.S index 20c4d8df0e..905ad19d7f 100644 --- a/sysdeps/i386/i586/submul_1.S +++ b/sysdeps/i386/i586/submul_1.S @@ -1,6 +1,6 @@ /* Pentium __mpn_submul_1 -- Multiply a limb vector with a limb and subtract the result from a second limb vector. - Copyright (C) 1992, 1994, 1996, 1997 Free Software Foundation, Inc. + Copyright (C) 1992, 94, 96, 97, 98 Free Software Foundation, Inc. This file is part of the GNU MP Library. The GNU MP Library is free software; you can redistribute it and/or modify @@ -34,10 +34,8 @@ #define size ecx #define s2_limb ebp - TEXT - ALIGN (3) - GLOBL C_SYMBOL_NAME(__mpn_submul_1) -C_SYMBOL_NAME(__mpn_submul_1:) + .text +ENTRY(__mpn_submul_1) INSN1(push,l ,R(edi)) INSN1(push,l ,R(esi)) @@ -79,3 +77,5 @@ L(oop): INSN2(adc,l ,R(ebx),$0) INSN1(pop,l ,R(esi)) INSN1(pop,l ,R(edi)) ret +#undef size +END(__mpn_submul_1) |