patch-2.4.20 linux-2.4.20/arch/mips64/lib/memset.S
Next file: linux-2.4.20/arch/mips64/lib/strlen_user.S
Previous file: linux-2.4.20/arch/mips64/lib/memcpy.S
Back to the patch index
Back to the overall index
- Lines: 31
- Date:
Thu Nov 28 15:53:10 2002
- Orig file:
linux-2.4.19/arch/mips64/lib/memset.S
- Orig date:
Wed Jul 4 11:50:39 2001
diff -urN linux-2.4.19/arch/mips64/lib/memset.S linux-2.4.20/arch/mips64/lib/memset.S
@@ -52,7 +52,6 @@
1:
FEXPORT(__bzero)
- .type __bzero, @function
sltiu t0, a2, 8 /* very small region? */
bnez t0, small_memset
andi t0, a0, 7 /* aligned? */
@@ -82,7 +81,7 @@
.set noreorder
memset_partial:
- la t1, 2f /* where to start */
+ PTR_LA t1, 2f /* where to start */
.set noat
dsrl AT, t0, 1
dsubu t1, AT
@@ -90,8 +89,12 @@
jr t1
daddu a0, t0 /* dest ptr */
+ .set push
+ .set noreorder
+ .set nomacro
F_FILL64(a0, -64, a1, partial_fixup) /* ... but first do dwds ... */
-2: andi a2, 7 /* 0 <= n <= 7 to go */
+2: .set pop
+ andi a2, 7 /* 0 <= n <= 7 to go */
beqz a2, 1f
daddu a0, a2 /* What's left */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)