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/b967becad773
branches:  trunk
changeset: 798046:b967becad773
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 93118334af5a -r b967becad773 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