summaryrefslogtreecommitdiff
path: root/include/opcode/mips.h
diff options
context:
space:
mode:
authorThiemo Seufer <ths@networkno.de>2002-07-09 14:21:40 +0000
committerThiemo Seufer <ths@networkno.de>2002-07-09 14:21:40 +0000
commit08a533ba2e319ef82ef509e97113542a98a430c8 (patch)
treeac65b81b7a7e9a0fbe34c426e4c236c7570d3152 /include/opcode/mips.h
parent2db62288272a684788f477bcb012016863cc701c (diff)
downloadgdb-08a533ba2e319ef82ef509e97113542a98a430c8.tar.gz
* config/tc-mips.c (macro_build): Handle MIPS16 insns.
(mips_ip): Likewise. * mips.h (INSN_MIPS16): New define. * mips-dis.c (mips_isa_type): Add MIPS16 insn handling. * mips-opc.c (I16): New define. (mips_builtin_opcodes): Make jalx an I16 insn.
Diffstat (limited to 'include/opcode/mips.h')
-rw-r--r--include/opcode/mips.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/opcode/mips.h b/include/opcode/mips.h
index 801999c05c8..312a2ac1717 100644
--- a/include/opcode/mips.h
+++ b/include/opcode/mips.h
@@ -339,7 +339,10 @@ struct mips_opcode
#define INSN_ISA64 0x00000400
/* Masks used for MIPS-defined ASEs. */
+#define INSN_ASE_MASK 0x0000f000
+/* MIPS 16 ASE */
+#define INSN_MIPS16 0x00002000
/* MIPS-3D ASE */
#define INSN_MIPS3D 0x00004000
/* MDMX ASE */