From 90bf0e0731a9a43c4d0ee05ccfa06d03dfb0fe94 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Sat, 15 Apr 2000 03:54:55 +0000 Subject: [PATCH] Update. * sysdeps/mips/addmul_1.S: Likewise. * sysdeps/mips/lshift.S: Likewise. * sysdeps/mips/mul_1.S: Likewise. * sysdeps/mips/rshift.S: Likewise. * sysdeps/mips/sub_n.S: Likewise. * sysdeps/mips/submul_1.S: Likewise. --- ChangeLog | 6 ++++++ sysdeps/mips/addmul_1.S | 7 ++++--- sysdeps/mips/lshift.S | 7 ++++--- sysdeps/mips/mul_1.S | 7 ++++--- sysdeps/mips/rshift.S | 7 ++++--- sysdeps/mips/sub_n.S | 7 ++++--- sysdeps/mips/submul_1.S | 7 ++++--- 7 files changed, 30 insertions(+), 18 deletions(-) diff --git a/ChangeLog b/ChangeLog index b479812284..44613a0314 100644 --- a/ChangeLog +++ b/ChangeLog @@ -11,6 +11,12 @@ symidx correctly. * sysdeps/mips/add_n.S: Use __PIC__, add .end directive. + * sysdeps/mips/addmul_1.S: Likewise. + * sysdeps/mips/lshift.S: Likewise. + * sysdeps/mips/mul_1.S: Likewise. + * sysdeps/mips/rshift.S: Likewise. + * sysdeps/mips/sub_n.S: Likewise. + * sysdeps/mips/submul_1.S: Likewise. * stdlib/stdlib.h: Fix typo in comment. diff --git a/sysdeps/mips/addmul_1.S b/sysdeps/mips/addmul_1.S index dc1dc1ba50..131e3e8c94 100644 --- a/sysdeps/mips/addmul_1.S +++ b/sysdeps/mips/addmul_1.S @@ -1,7 +1,7 @@ /* MIPS __mpn_addmul_1 -- Multiply a limb vector with a single limb and add the product to a second limb vector. -Copyright (C) 1995 Free Software Foundation, Inc. +Copyright (C) 1995, 2000 Free Software Foundation, Inc. This file is part of the GNU MP Library. @@ -28,12 +28,12 @@ MA 02111-1307, USA. */ size $6 s2_limb $7 */ -#ifdef PIC +#ifdef __PIC__ .option pic2 #endif ENTRY (__mpn_addmul_1) .set noreorder -#ifdef PIC +#ifdef __PIC__ .cpload t9 #endif .set nomacro @@ -96,3 +96,4 @@ $LC0: lw $10,0($4) sw $3,0($4) j $31 addu $2,$9,$2 /* add high product limb and carry from addition */ + END (__mpn_addmul_1) \ No newline at end of file diff --git a/sysdeps/mips/lshift.S b/sysdeps/mips/lshift.S index e76630310f..eac940161b 100644 --- a/sysdeps/mips/lshift.S +++ b/sysdeps/mips/lshift.S @@ -1,6 +1,6 @@ /* MIPS2 __mpn_lshift -- -Copyright (C) 1995 Free Software Foundation, Inc. +Copyright (C) 1995, 2000 Free Software Foundation, Inc. This file is part of the GNU MP Library. @@ -27,12 +27,12 @@ MA 02111-1307, USA. */ size $6 cnt $7 */ -#ifdef PIC +#ifdef __PIC__ .option pic2 #endif ENTRY (__mpn_lshift) .set noreorder -#ifdef PIC +#ifdef __PIC__ .cpload t9 #endif .set nomacro @@ -95,3 +95,4 @@ ENTRY (__mpn_lshift) .Lend: sll $8,$10,$7 j $31 sw $8,-4($4) + END (__mpn_lshift) \ No newline at end of file diff --git a/sysdeps/mips/mul_1.S b/sysdeps/mips/mul_1.S index aeaf083d89..4838ad0c82 100644 --- a/sysdeps/mips/mul_1.S +++ b/sysdeps/mips/mul_1.S @@ -1,7 +1,7 @@ /* MIPS __mpn_mul_1 -- Multiply a limb vector with a single limb and store the product in a second limb vector. -Copyright (C) 1995, 1998 Free Software Foundation, Inc. +Copyright (C) 1995, 1998, 2000 Free Software Foundation, Inc. This file is part of the GNU MP Library. @@ -28,12 +28,12 @@ MA 02111-1307, USA. */ size $6 s2_limb $7 */ -#ifdef PIC +#ifdef __PIC__ .option pic2 #endif ENTRY (__mpn_mul_1) .set noreorder -#ifdef PIC +#ifdef __PIC__ .cpload t9 #endif .set nomacro @@ -84,3 +84,4 @@ $LC0: mflo $10 sw $10,0($4) j $31 addu $2,$9,$2 /* add high product limb and carry from addition */ + END (__mpn_mul_1) \ No newline at end of file diff --git a/sysdeps/mips/rshift.S b/sysdeps/mips/rshift.S index 37bde2f7cd..7f10617319 100644 --- a/sysdeps/mips/rshift.S +++ b/sysdeps/mips/rshift.S @@ -1,6 +1,6 @@ /* MIPS2 __mpn_rshift -- -Copyright (C) 1995 Free Software Foundation, Inc. +Copyright (C) 1995, 2000 Free Software Foundation, Inc. This file is part of the GNU MP Library. @@ -27,12 +27,12 @@ MA 02111-1307, USA. */ size $6 cnt $7 */ -#ifdef PIC +#ifdef __PIC__ .option pic2 #endif ENTRY (__mpn_rshift) .set noreorder -#ifdef PIC +#ifdef __PIC__ .cpload t9 #endif .set nomacro @@ -92,3 +92,4 @@ ENTRY (__mpn_rshift) .Lend: srl $8,$10,$7 j $31 sw $8,0($4) + END (__mpn_rshift) \ No newline at end of file diff --git a/sysdeps/mips/sub_n.S b/sysdeps/mips/sub_n.S index 09fbf7eeff..75d80c19f0 100644 --- a/sysdeps/mips/sub_n.S +++ b/sysdeps/mips/sub_n.S @@ -1,7 +1,7 @@ /* MIPS2 __mpn_sub_n -- Subtract two limb vectors of the same length > 0 and store difference in a third limb vector. -Copyright (C) 1995 Free Software Foundation, Inc. +Copyright (C) 1995, 2000 Free Software Foundation, Inc. This file is part of the GNU MP Library. @@ -28,12 +28,12 @@ MA 02111-1307, USA. */ s2_ptr $6 size $7 */ -#ifdef PIC +#ifdef __PIC__ .option pic2 #endif ENTRY (__mpn_sub_n) .set noreorder -#ifdef PIC +#ifdef __PIC__ .cpload t9 #endif .set nomacro @@ -119,3 +119,4 @@ ENTRY (__mpn_sub_n) sw $11,0($4) j $31 or $2,$2,$8 + END (__mpn_sub_n) diff --git a/sysdeps/mips/submul_1.S b/sysdeps/mips/submul_1.S index eae8ebbfaf..1aae1ed5e2 100644 --- a/sysdeps/mips/submul_1.S +++ b/sysdeps/mips/submul_1.S @@ -1,7 +1,7 @@ /* MIPS __mpn_submul_1 -- Multiply a limb vector with a single limb and subtract the product from a second limb vector. -Copyright (C) 1995 Free Software Foundation, Inc. +Copyright (C) 1995, 2000 Free Software Foundation, Inc. This file is part of the GNU MP Library. @@ -28,12 +28,12 @@ MA 02111-1307, USA. */ size $6 s2_limb $7 */ -#ifdef PIC +#ifdef __PIC__ .option pic2 #endif ENTRY (__mpn_submul_1) .set noreorder -#ifdef PIC +#ifdef __PIC__ .cpload t9 #endif .set nomacro @@ -96,3 +96,4 @@ $LC0: lw $10,0($4) sw $3,0($4) j $31 addu $2,$9,$2 /* add high product limb and carry from addition */ + END (__mpn_submul_1) -- 2.43.5