From 4b185e973e59e5ac90eadd694d6583d5abce4a38 Mon Sep 17 00:00:00 2001 From: David Ung Date: Thu, 16 Jun 2005 17:01:12 +0000 Subject: [PATCH] * mips16-opc.c (mips16_opcodes): Add the following MIPS16e instructions to the table; seb/seh/sew/zeb/zeh/zew. --- opcodes/ChangeLog | 5 +++++ opcodes/mips16-opc.c | 7 +++++++ 2 files changed, 12 insertions(+) diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 0d6209a9d4..78527a1aa1 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,8 @@ +2005-06-16 David Ung + + * mips16-opc.c (mips16_opcodes): Add the following MIPS16e + instructions to the table; seb/seh/sew/zeb/zeh/zew. + 2005-06-15 Dave Brolley Contribute Morpho ms1 on behalf of Red Hat diff --git a/opcodes/mips16-opc.c b/opcodes/mips16-opc.c index 9f081f3a24..3233dfe985 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 = -- 2.34.1