diff options
author | Per Fogelstrom <pefo@cvs.openbsd.org> | 1996-07-18 16:56:57 +0000 |
---|---|---|
committer | Per Fogelstrom <pefo@cvs.openbsd.org> | 1996-07-18 16:56:57 +0000 |
commit | 9a49469d984cc0ddc518e5cf776b874aac7479ea (patch) | |
tree | 2e3d660d546ea110f2982ea2288f66ad1ae9adbf /sys/lib/libkern/arch/mips/bzero.S | |
parent | 2a28d25750b4ca887937a36c483c4a958b2868bb (diff) |
Add macros to handle endian issues.
Diffstat (limited to 'sys/lib/libkern/arch/mips/bzero.S')
-rw-r--r-- | sys/lib/libkern/arch/mips/bzero.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/lib/libkern/arch/mips/bzero.S b/sys/lib/libkern/arch/mips/bzero.S index a7e9e10c8da..77b12f6b5b4 100644 --- a/sys/lib/libkern/arch/mips/bzero.S +++ b/sys/lib/libkern/arch/mips/bzero.S @@ -12,7 +12,7 @@ ALEAF(blkclr) and a3, a3, 3 beq a3, zero, 1f # skip if word aligned subu a1, a1, a3 # subtract from remaining count - swr zero, 0(a0) # clear 1, 2, or 3 bytes to align + SWLO 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 |