Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/mvmeppc/mvmeppc Use cmpwi.
details: https://anonhg.NetBSD.org/src/rev/757f23340a70
branches: trunk
changeset: 331284:757f23340a70
user: joerg <joerg%NetBSD.org@localhost>
date: Thu Aug 07 09:08:41 2014 +0000
description:
Use cmpwi.
diffstat:
sys/arch/mvmeppc/mvmeppc/locore.S | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (31 lines):
diff -r 2884fc2fb7b3 -r 757f23340a70 sys/arch/mvmeppc/mvmeppc/locore.S
--- a/sys/arch/mvmeppc/mvmeppc/locore.S Thu Aug 07 09:08:09 2014 +0000
+++ b/sys/arch/mvmeppc/mvmeppc/locore.S Thu Aug 07 09:08:41 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: locore.S,v 1.15 2011/06/20 19:56:12 matt Exp $ */
+/* $NetBSD: locore.S,v 1.16 2014/08/07 09:08:41 joerg Exp $ */
/* $OpenBSD: locore.S,v 1.4 1997/01/26 09:06:38 rahnds Exp $ */
/*
@@ -132,7 +132,7 @@
/* enable internal i/d-cache */
mfpvr %r9
rlwinm %r9,%r9,16,16,31
- cmpi %cr0,%r9,1
+ cmpwi %cr0,%r9,1
beq 3f /* not needed for 601 */
mfspr %r11,SPR_HID0
andi. %r0,%r11,HID0_DCE
@@ -147,9 +147,9 @@
mtspr SPR_HID0,%r11 /* enable caches */
sync
isync
- cmpi %cr0,%r9,4 /* check for 604 */
- cmpi %cr1,%r9,9 /* or 604e */
- cmpi %cr2,%r9,10 /* or mach5 */
+ cmpwi %cr0,%r9,4 /* check for 604 */
+ cmpwi %cr1,%r9,9 /* or 604e */
+ cmpwi %cr2,%r9,10 /* or mach5 */
cror 2,2,6
cror 2,2,10
bne 3f
Home |
Main Index |
Thread Index |
Old Index