aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/mips
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mips')
-rw-r--r--sysdeps/mips/addmul_1.S7
-rw-r--r--sysdeps/mips/lshift.S7
-rw-r--r--sysdeps/mips/mul_1.S7
-rw-r--r--sysdeps/mips/rshift.S7
-rw-r--r--sysdeps/mips/sub_n.S7
-rw-r--r--sysdeps/mips/submul_1.S7
6 files changed, 24 insertions, 18 deletions
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)