mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-27 03:41:23 +08:00
sysdeps/mips/add_n.S
This commit is contained in:
parent
127035bb55
commit
b5e0b658d8
@ -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)
|
@ -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)
|
@ -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)
|
@ -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)
|
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user