Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/mvmeppc/stand/libsa Use cmpw.
details: https://anonhg.NetBSD.org/src/rev/137ea63302c7
branches: trunk
changeset: 331285:137ea63302c7
user: joerg <joerg%NetBSD.org@localhost>
date: Thu Aug 07 13:56:57 2014 +0000
description:
Use cmpw.
diffstat:
sys/arch/mvmeppc/stand/libsa/srt0.S | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 757f23340a70 -r 137ea63302c7 sys/arch/mvmeppc/stand/libsa/srt0.S
--- a/sys/arch/mvmeppc/stand/libsa/srt0.S Thu Aug 07 09:08:41 2014 +0000
+++ b/sys/arch/mvmeppc/stand/libsa/srt0.S Thu Aug 07 13:56:57 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: srt0.S,v 1.4 2011/01/19 09:03:15 he Exp $ */
+/* $NetBSD: srt0.S,v 1.5 2014/08/07 13:56:57 joerg Exp $ */
/*-
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -94,7 +94,7 @@
sub %r15,%r14,%r13 /* Our size, in bytes */
mflr %r16 /* Get address we were loaded to */
subi %r16,%r16,0x4 /* Correct for branch */
- cmp %cr0,%r13,%r16 /* Do we need to relocate? */
+ cmpw %r13,%r16 /* Do we need to relocate? */
beq _ASM_LABEL(clrbss) /* No relocation necessary */
li %r17,0x4
bgt 1f /* Relocate using forward copy? */
Home |
Main Index |
Thread Index |
Old Index