Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/bebox/stand/boot Use cmpwi/cmpw



details:   https://anonhg.NetBSD.org/src/rev/df449214ee9b
branches:  trunk
changeset: 331262:df449214ee9b
user:      joerg <joerg%NetBSD.org@localhost>
date:      Wed Aug 06 15:23:07 2014 +0000

description:
Use cmpwi/cmpw

diffstat:

 sys/arch/bebox/stand/boot/srt0.s |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r bdaf89bbffeb -r df449214ee9b sys/arch/bebox/stand/boot/srt0.s
--- a/sys/arch/bebox/stand/boot/srt0.s  Wed Aug 06 15:11:17 2014 +0000
+++ b/sys/arch/bebox/stand/boot/srt0.s  Wed Aug 06 15:23:07 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: srt0.s,v 1.3 1999/06/28 01:20:45 sakamoto Exp $        */
+/*     $NetBSD: srt0.s,v 1.4 2014/08/06 15:23:07 joerg Exp $   */
 
 /*-
  * Copyright (C) 1995-1997 Gary Thomas (gdt%linuxppc.org@localhost)
@@ -49,7 +49,7 @@
        andc    3,3,4
        mtmsr   3
        bl      whichCPU
-       cmpi    0,3,0
+       cmpwi   %r3,0
        bne     90f
 /* CPU 0 runs here */
 /* Relocate code to final resting spot */
@@ -81,7 +81,7 @@
        subi    4,4,4
        li      0,0
 50:    stwu    0,4(3)
-       cmp     0,3,4
+       cmpw    %r3,%r4
        bne     50b
 90:
        bl      main



Home | Main Index | Thread Index | Old Index