* mips16-opc.c (mips16_opcodes): Add the following MIPS16e

instructions to the table; seb/seh/sew/zeb/zeh/zew.
This commit is contained in:
David Ung 2005-06-16 17:01:12 +00:00
parent b16d63dac6
commit 4b185e973e
2 changed files with 12 additions and 0 deletions

View 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> 2005-06-15 Dave Brolley <brolley@redhat.com>
Contribute Morpho ms1 on behalf of Red Hat Contribute Morpho ms1 on behalf of Red Hat

View file

@ -221,6 +221,13 @@ const struct mips_opcode mips16_opcodes[] =
{"sw", "x,V(S)", 0xd000, 0xf800, RD_x|RD_SP, 0, 0 }, {"sw", "x,V(S)", 0xd000, 0xf800, RD_x|RD_SP, 0, 0 },
{"sw", "R,V(S)", 0x6200, 0xff00, RD_31|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 }, {"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 = const int bfd_mips16_num_opcodes =