Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/mips/mips For bc{0,1,2}{t,f} check for the TRUE val...
details: https://anonhg.NetBSD.org/src/rev/ff36889fd892
branches: trunk
changeset: 954325:ff36889fd892
user: simonb <simonb%NetBSD.org@localhost>
date: Mon Apr 05 06:28:31 2021 +0000
description:
For bc{0,1,2}{t,f} check for the TRUE value not the MASK value (even
though they're the same).
diffstat:
sys/arch/mips/mips/db_disasm.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (45 lines):
diff -r 75bc9cc70f78 -r ff36889fd892 sys/arch/mips/mips/db_disasm.c
--- a/sys/arch/mips/mips/db_disasm.c Mon Apr 05 06:22:00 2021 +0000
+++ b/sys/arch/mips/mips/db_disasm.c Mon Apr 05 06:28:31 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: db_disasm.c,v 1.34 2021/03/16 07:34:44 simonb Exp $ */
+/* $NetBSD: db_disasm.c,v 1.35 2021/04/05 06:28:31 simonb Exp $ */
/*-
* Copyright (c) 1991, 1993
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: db_disasm.c,v 1.34 2021/03/16 07:34:44 simonb Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_disasm.c,v 1.35 2021/04/05 06:28:31 simonb Exp $");
#include <sys/param.h>
#include <sys/cpu.h>
@@ -593,7 +593,7 @@
case OP_BCy:
db_printf("bc0%c\t",
- "ft"[i.RType.rt & COPz_BC_TF_MASK]);
+ "ft"[i.RType.rt & COPz_BC_TRUE]);
goto pr_displ;
case OP_MT:
@@ -644,7 +644,7 @@
case OP_BCx:
case OP_BCy:
db_printf("bc1%c\t",
- "ft"[i.RType.rt & COPz_BC_TF_MASK]);
+ "ft"[i.RType.rt & COPz_BC_TRUE]);
goto pr_displ;
case OP_MT:
@@ -708,7 +708,7 @@
case OP_BCx:
case OP_BCy:
db_printf("bc2%c\t",
- "ft"[i.RType.rt & COPz_BC_TF_MASK]);
+ "ft"[i.RType.rt & COPz_BC_TRUE]);
goto pr_displ;
case OP_MT:
Home |
Main Index |
Thread Index |
Old Index