Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/lib/libkern/arch/mips Fix an obvious typo in comment int...
details: https://anonhg.NetBSD.org/src/rev/e5c65b666c9e
branches: trunk
changeset: 494930:e5c65b666c9e
user: enami <enami%NetBSD.org@localhost>
date: Tue Jul 18 01:20:24 2000 +0000
description:
Fix an obvious typo in comment introduced by previous commit; the instruction
now compares a0 against a1 + a2, not a0 + a2.
diffstat:
sys/lib/libkern/arch/mips/memcpy.S | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 5978f6ea56be -r e5c65b666c9e sys/lib/libkern/arch/mips/memcpy.S
--- a/sys/lib/libkern/arch/mips/memcpy.S Tue Jul 18 00:41:18 2000 +0000
+++ b/sys/lib/libkern/arch/mips/memcpy.S Tue Jul 18 01:20:24 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: memcpy.S,v 1.4 2000/07/17 07:37:50 jeffs Exp $ */
+/* $NetBSD: memcpy.S,v 1.5 2000/07/18 01:20:24 enami Exp $ */
/* XXXX We need to define this in a way which supports multiple architectures */
#include <machine/cdefs.h> /* Get SZREG correct */
@@ -30,7 +30,7 @@
*/
sltu t0,a1,a0 # t0 == a1 < a0
addu a3,a1,a2 # a3 == end of source
- sltu t1,a0,a3 # t1 == a0 < a0+a2
+ sltu t1,a0,a3 # t1 == a0 < a1+a2
and t2,t0,t1 # overlap -- copy backwards
bne t2,zero,backcopy
Home |
Main Index |
Thread Index |
Old Index