* 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.
This commit is contained in:
Andreas Jaeger 2000-04-15 03:54:55 +00:00
parent fe81e98863
commit 90bf0e0731
7 changed files with 30 additions and 18 deletions

View File

@ -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.

View File

@ -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)

View File

@ -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)

View File

@ -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)

View File

@ -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)

View File

@ -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)

View File

@ -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)