summaryrefslogtreecommitdiff
path: root/sys/lib/libkern/arch/mips/bcopy.S
diff options
context:
space:
mode:
Diffstat (limited to 'sys/lib/libkern/arch/mips/bcopy.S')
-rw-r--r--sys/lib/libkern/arch/mips/bcopy.S6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/lib/libkern/arch/mips/bcopy.S b/sys/lib/libkern/arch/mips/bcopy.S
index 75e367b78b4..3bfebd20e67 100644
--- a/sys/lib/libkern/arch/mips/bcopy.S
+++ b/sys/lib/libkern/arch/mips/bcopy.S
@@ -1,5 +1,7 @@
#include "DEFS.h"
+ .set noreorder
+
/*
* memcpy(to, from, len)
* {ov}bcopy(from, to, len)
@@ -27,7 +29,7 @@ ALEAF(ovbcopy)
sb v1, 0(t1)
2:
j ra
- nop
+ nop
forward:
bne t2, zero, smallcpy # do a small bcopy
xor v1, a0, a1 # compare low two bits of addresses
@@ -90,5 +92,5 @@ smallcpy:
nop # MMU BUG ? can't do -1(a1) at 0x80000000!!
2:
j ra
- nop
+ nop
END(memcpy)