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 the second operand to cfc1/ctc1 isn't an ...



details:   https://anonhg.NetBSD.org/src/rev/d6db447c09d0
branches:  trunk
changeset: 351793:d6db447c09d0
user:      chs <chs%NetBSD.org@localhost>
date:      Mon Feb 27 06:56:32 2017 +0000

description:
the second operand to cfc1/ctc1 isn't an FPU data register
so don't make it look like one.

diffstat:

 sys/arch/mips/mips/db_disasm.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r 686d061561f0 -r d6db447c09d0 sys/arch/mips/mips/db_disasm.c
--- a/sys/arch/mips/mips/db_disasm.c    Mon Feb 27 06:56:03 2017 +0000
+++ b/sys/arch/mips/mips/db_disasm.c    Mon Feb 27 06:56:32 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: db_disasm.c,v 1.30 2015/06/27 03:31:29 matt Exp $      */
+/*     $NetBSD: db_disasm.c,v 1.31 2017/02/27 06:56:32 chs Exp $       */
 
 /*-
  * Copyright (c) 1991, 1993
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: db_disasm.c,v 1.30 2015/06/27 03:31:29 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_disasm.c,v 1.31 2017/02/27 06:56:32 chs Exp $");
 
 #include <sys/param.h>
 #include <sys/cpu.h>
@@ -623,13 +623,13 @@
                        break;
 
                case OP_CT:
-                       db_printf("ctc1\t%s,f%d",
+                       db_printf("ctc1\t%s,%d",
                            reg_name[i.RType.rt],
                            i.RType.rd);
                        break;
 
                case OP_CF:
-                       db_printf("cfc1\t%s,f%d",
+                       db_printf("cfc1\t%s,%d",
                            reg_name[i.RType.rt],
                            i.RType.rd);
                        break;



Home | Main Index | Thread Index | Old Index