From ba92f7fb59e3bb227b20b22b13cc75cf56caa1ce Mon Sep 17 00:00:00 2001 From: Chao-ying Fu Date: Thu, 13 Jun 2013 21:01:44 +0000 Subject: 2013-06-13 Chao-ying Fu * micromips-opc.c (IVIRT): New define. (IVIRT64): New define. (micromips_opcodes): Add dmfgc0, dmtgc0, hypcall, mfgc0, mtgc0, tlbginv, tlbginvf, tlbgp, tlbgr, tlbgwi, tlbgwr VIRT instructions. * mips-dis.c (print_insn_micromips): Handle mfgc0, mtgc0, dmfgc0, dmtgc0 to print cp0 names. --- opcodes/mips-dis.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'opcodes/mips-dis.c') diff --git a/opcodes/mips-dis.c b/opcodes/mips-dis.c index 3395f1a..bf1ef40 100644 --- a/opcodes/mips-dis.c +++ b/opcodes/mips-dis.c @@ -2554,8 +2554,12 @@ print_insn_micromips (bfd_vma memaddr, struct disassemble_info *info) { case 0x000000fc: /* mfc0 */ case 0x000002fc: /* mtc0 */ + case 0x000004fc: /* mfgc0 */ + case 0x000006fc: /* mtgc0 */ case 0x580000fc: /* dmfc0 */ case 0x580002fc: /* dmtc0 */ + case 0x580000e7: /* dmfgc0 */ + case 0x580002e7: /* dmtgc0 */ infprintf (is, "%s", mips_cp0_names[GET_OP (insn, RS)]); break; default: -- cgit v1.1