summaryrefslogtreecommitdiff
path: root/sys/lib/libkern/arch/mips/bzero.S
diff options
context:
space:
mode:
authorPer Fogelstrom <pefo@cvs.openbsd.org>1996-07-30 20:19:10 +0000
committerPer Fogelstrom <pefo@cvs.openbsd.org>1996-07-30 20:19:10 +0000
commitb039b90135b7419709f2766cbede80c1acf288a8 (patch)
tree2b3a7aa4c956319a5bd645a7dd14ed17270e7469 /sys/lib/libkern/arch/mips/bzero.S
parent2133e70c13d931b67166823eefd18e8b96980643 (diff)
Cleanup of endian and abi call stuff.
Diffstat (limited to 'sys/lib/libkern/arch/mips/bzero.S')
-rw-r--r--sys/lib/libkern/arch/mips/bzero.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/lib/libkern/arch/mips/bzero.S b/sys/lib/libkern/arch/mips/bzero.S
index 77b12f6b5b4..4ff16b0a93b 100644
--- a/sys/lib/libkern/arch/mips/bzero.S
+++ b/sys/lib/libkern/arch/mips/bzero.S
@@ -1,18 +1,18 @@
#include "DEFS.h"
- .set noreorder
/*
* bzero(s1, n)
*/
LEAF(bzero)
ALEAF(blkclr)
+ .set noreorder
blt a1, 12, smallclr # small amount to clear?
subu a3, zero, a0 # compute # bytes to word align address
and a3, a3, 3
beq a3, zero, 1f # skip if word aligned
subu a1, a1, a3 # subtract from remaining count
- SWLO zero, 0(a0) # clear 1, 2, or 3 bytes to align
+ SWHI zero, 0(a0) # clear 1, 2, or 3 bytes to align
addu a0, a0, a3
1:
and v0, a1, 3 # compute number of words left