aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorDavid Ung <davidu@mips.com>2005-06-16 17:01:12 +0000
committerDavid Ung <davidu@mips.com>2005-06-16 17:01:12 +0000
commit4b185e973e59e5ac90eadd694d6583d5abce4a38 (patch)
tree2ec0ba76123a5813635f664cfdf87269f3b70945 /opcodes
parentb16d63dac6655da82bd934b1a10e053776bffcb3 (diff)
downloadgdb-4b185e973e59e5ac90eadd694d6583d5abce4a38.zip
gdb-4b185e973e59e5ac90eadd694d6583d5abce4a38.tar.gz
gdb-4b185e973e59e5ac90eadd694d6583d5abce4a38.tar.bz2
* mips16-opc.c (mips16_opcodes): Add the following MIPS16e
instructions to the table; seb/seh/sew/zeb/zeh/zew.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog5
-rw-r--r--opcodes/mips16-opc.c7
2 files changed, 12 insertions, 0 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 0d6209a..78527a1 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,8 @@
+2005-06-16 David Ung <davidu@mips.com>
+
+ * mips16-opc.c (mips16_opcodes): Add the following MIPS16e
+ instructions to the table; seb/seh/sew/zeb/zeh/zew.
+
2005-06-15 Dave Brolley <brolley@redhat.com>
Contribute Morpho ms1 on behalf of Red Hat
diff --git a/opcodes/mips16-opc.c b/opcodes/mips16-opc.c
index 9f081f3..3233dfe 100644
--- a/opcodes/mips16-opc.c
+++ b/opcodes/mips16-opc.c
@@ -221,6 +221,13 @@ const struct mips_opcode mips16_opcodes[] =
{"sw", "x,V(S)", 0xd000, 0xf800, RD_x|RD_SP, 0, 0 },
{"sw", "R,V(S)", 0x6200, 0xff00, RD_31|RD_SP, 0, 0 },
{"xor", "x,y", 0xe80e, 0xf81f, WR_x|RD_x|RD_y, 0, 0 },
+ /* MIPS16e additions */
+{"seb", "x", 0xe891, 0xf8ff, WR_x|RD_x, 0, 0 },
+{"seh", "x", 0xe8b1, 0xf8ff, WR_x|RD_x, 0, 0 },
+{"sew", "x", 0xe8d1, 0xf8ff, WR_x|RD_x, 0, I3 },
+{"zeb", "x", 0xe811, 0xf8ff, WR_x|RD_x, 0, 0 },
+{"zeh", "x", 0xe831, 0xf8ff, WR_x|RD_x, 0, 0 },
+{"zew", "x", 0xe851, 0xf8ff, WR_x|RD_x, 0, I3 },
};
const int bfd_mips16_num_opcodes =