This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] MIPS: new mips16e seb/seh/sew/zeb/zeh/zew opcodes.


This addes the seb/seh/sew/zeb/zeh/zew MIPS16e instruction patterns to
the opcodes table.

David.

2005-06-06  David Ung  <davidu@mips.com>

	* mips16-opc.c (mips16_opcodes): Add the following MIPS16e
	instructions to the table; seb/seh/sew/zeb/zeh/zew.

Index: src/opcodes/mips16-opc.c
===================================================================
RCS file: /cvsroot/gcc/src-cvs/src/opcodes/mips16-opc.c,v
retrieving revision 1.7
diff -c -p -b -r1.7 mips16-opc.c
*** src/opcodes/mips16-opc.c	7 May 2005 07:34:30 -0000	1.7
--- src/opcodes/mips16-opc.c	6 Jun 2005 13:24:12 -0000
*************** const struct mips_opcode mips16_opcodes[
*** 221,226 ****
--- 221,233 ----
  {"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 =


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]