* mips16-opc.c (mips16_opcodes): Add the following MIPS16e
authorDavid Ung <davidu@mips.com>
Thu, 16 Jun 2005 17:01:12 +0000 (17:01 +0000)
committerDavid Ung <davidu@mips.com>
Thu, 16 Jun 2005 17:01:12 +0000 (17:01 +0000)
instructions to the table; seb/seh/sew/zeb/zeh/zew.

opcodes/ChangeLog
opcodes/mips16-opc.c

index 0d6209a9d4c3c02c705a26e2c66711078261c8f5..78527a1aa1e298f5c2eeb686cc79919b2d66e5af 100644 (file)
@@ -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
index 9f081f3a24b68d9934a83fd2da6ccd9982327fb1..3233dfe98580843f1a45aaa2997f3bfca0dfa0ab 100644 (file)
@@ -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 =