Module Name: src Committed By: joerg Date: Wed Aug 6 15:23:07 UTC 2014
Modified Files: src/sys/arch/bebox/stand/boot: srt0.s Log Message: Use cmpwi/cmpw To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/arch/bebox/stand/boot/srt0.s Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/bebox/stand/boot/srt0.s diff -u src/sys/arch/bebox/stand/boot/srt0.s:1.3 src/sys/arch/bebox/stand/boot/srt0.s:1.4 --- src/sys/arch/bebox/stand/boot/srt0.s:1.3 Mon Jun 28 01:20:45 1999 +++ src/sys/arch/bebox/stand/boot/srt0.s Wed Aug 6 15:23:07 2014 @@ -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 (g...@linuxppc.org) @@ -49,7 +49,7 @@ _start: 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 @@ start_ldr: subi 4,4,4 li 0,0 50: stwu 0,4(3) - cmp 0,3,4 + cmpw %r3,%r4 bne 50b 90: bl main