aboutsummaryrefslogtreecommitdiff
path: root/opcodes/mips-dis.c
diff options
context:
space:
mode:
authorChao-ying Fu <fu@mips.com>2013-06-13 21:01:44 +0000
committerChao-ying Fu <fu@mips.com>2013-06-13 21:01:44 +0000
commitba92f7fb59e3bb227b20b22b13cc75cf56caa1ce (patch)
tree3554f327754e038f5f2b5ec83ae66eb4aa5d24ef /opcodes/mips-dis.c
parentf122319e0af44e6caa2c9163b45746aa4efb11e6 (diff)
downloadgdb-ba92f7fb59e3bb227b20b22b13cc75cf56caa1ce.zip
gdb-ba92f7fb59e3bb227b20b22b13cc75cf56caa1ce.tar.gz
gdb-ba92f7fb59e3bb227b20b22b13cc75cf56caa1ce.tar.bz2
2013-06-13 Chao-ying Fu <Chao-ying.Fu@imgtec.com>
* 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.
Diffstat (limited to 'opcodes/mips-dis.c')
-rw-r--r--opcodes/mips-dis.c4
1 files changed, 4 insertions, 0 deletions
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: