diff options
author | Thiemo Seufer <ths@networkno.de> | 2005-11-14 02:25:39 +0000 |
---|---|---|
committer | Thiemo Seufer <ths@networkno.de> | 2005-11-14 02:25:39 +0000 |
commit | 0499d65b9bc3522c3275f1945beb3d40e6f7a1ca (patch) | |
tree | 2893f145182b936f85283320bd1c3989075cd3e4 /opcodes/mips16-opc.c | |
parent | eafa87ff3b0eadd6e13c1c42962cad9e92992c3c (diff) | |
download | gdb-0499d65b9bc3522c3275f1945beb3d40e6f7a1ca.zip gdb-0499d65b9bc3522c3275f1945beb3d40e6f7a1ca.tar.gz gdb-0499d65b9bc3522c3275f1945beb3d40e6f7a1ca.tar.bz2 |
* mips.h: Assign 'm'/'M' codes to MIPS16e save/restore
instructions. Define MIPS16_ALL_ARGS and MIPS16_ALL_STATICS for
save/restore encoding of the args field.
* mips16-opc.c: Add MIPS16e save/restore opcodes.
* mips-dis.c (print_mips16_insn_arg): Handle printing of 'm'/'M'
codes for save/restore.
* config/tc-mips.c (mips16_ip): Add handling of 'm' and 'M' codes
for the MIPS16e save/restore instructions.
* gas/mips/mips.exp: Run new save/restore tests.
* gas/testsuite/gas/mips/mips16e-save.s: New test for generating
different styles of save/restore instructions.
* gas/testsuite/gas/mips/mips16e-save.d: New.
Diffstat (limited to 'opcodes/mips16-opc.c')
-rw-r--r-- | opcodes/mips16-opc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/opcodes/mips16-opc.c b/opcodes/mips16-opc.c index 0459582..4e5ae44 100644 --- a/opcodes/mips16-opc.c +++ b/opcodes/mips16-opc.c @@ -226,6 +226,8 @@ const struct mips_opcode mips16_opcodes[] = {"jalrc", "R,x", 0xe8c0, 0xf8ff, WR_31|RD_x|TRAP, 0, 0 }, {"jrc", "x", 0xe880, 0xf8ff, RD_x|TRAP, 0, 0 }, {"jrc", "R", 0xe8a0, 0xffff, RD_31|TRAP, 0, 0 }, +{"restore", "M", 0x6400, 0xff80, WR_31|RD_SP|WR_SP|TRAP, 0, 0 }, +{"save", "m", 0x6480, 0xff80, RD_31|RD_SP|WR_SP|TRAP, 0, 0 }, {"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 }, |