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

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

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

David Ung

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

David.

2005-06-06  David Ung  <[hidden email]>

        * 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 =

Reply | Threaded
Open this post in threaded view
|

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

Eric Christopher
On Mon, 2005-06-06 at 14:28 +0100, David Ung wrote:
> This addes the seb/seh/sew/zeb/zeh/zew MIPS16e instruction patterns to
> the opcodes table.
>
> David.
>
> 2005-06-06  David Ung  <[hidden email]>
>
> * mips16-opc.c (mips16_opcodes): Add the following MIPS16e
> instructions to the table; seb/seh/sew/zeb/zeh/zew.

This is OK.

-eric

Reply | Threaded
Open this post in threaded view
|

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

David Ung
On Mon, 2005-06-13 at 10:25 -0700, Eric Christopher wrote:

> On Mon, 2005-06-06 at 14:28 +0100, David Ung wrote:
> > This addes the seb/seh/sew/zeb/zeh/zew MIPS16e instruction patterns to
> > the opcodes table.
> >
> > David.
> >
> > 2005-06-06  David Ung  <[hidden email]>
> >
> > * mips16-opc.c (mips16_opcodes): Add the following MIPS16e
> > instructions to the table; seb/seh/sew/zeb/zeh/zew.
>
> This is OK.
>

Committed.

David.