aboutsummaryrefslogtreecommitdiff
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
commit5051ed270c34f860dd3fabfffc5520ffd850edd3 (patch)
tree26800f0d6d398b0495c7f56883fcd866907ad291
parent90310ffd090641b3c2c15d835c33d2af6cfdaf96 (diff)
downloadnewlib-5051ed270c34f860dd3fabfffc5520ffd850edd3.zip
newlib-5051ed270c34f860dd3fabfffc5520ffd850edd3.tar.gz
newlib-5051ed270c34f860dd3fabfffc5520ffd850edd3.tar.bz2
* 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.
-rw-r--r--include/opcode/ChangeLog4
-rw-r--r--include/opcode/mips.h3
2 files changed, 7 insertions, 0 deletions
diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog
index f771d86..385b191 100644
--- a/include/opcode/ChangeLog
+++ b/include/opcode/ChangeLog
@@ -1,3 +1,7 @@
+2002-07-09 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+ * mips.h (INSN_MIPS16): New define.
+
2002-07-08 Alan Modra <amodra@bigpond.net.au>
* i386.h: Remove IgnoreSize from movsx and movzx.
diff --git a/include/opcode/mips.h b/include/opcode/mips.h
index 801999c..312a2ac 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 */