diff options
author | Sandra Loosemore <sandra@codesourcery.com> | 2013-03-12 02:41:26 +0000 |
---|---|---|
committer | Sandra Loosemore <sandra@codesourcery.com> | 2013-03-12 02:41:26 +0000 |
commit | dad60f8e13c64b699e34d437c1c02b87ae158380 (patch) | |
tree | aae744602ee6ec7a870ce3246692c12e77bd476f /opcodes | |
parent | f5cb796a1ebfdf5bb5539acce0d6567e2ed594ce (diff) | |
download | gdb-dad60f8e13c64b699e34d437c1c02b87ae158380.zip gdb-dad60f8e13c64b699e34d437c1c02b87ae158380.tar.gz gdb-dad60f8e13c64b699e34d437c1c02b87ae158380.tar.bz2 |
2013-03-11 Sebastian Huber <sebastian.huber@embedded-brains.de>
include/
* opcode/nios2.h (OPX_WRPRS): New define.
(OP_MATCH_WRPRS): Likewise.
opcodes/
* nios2-opc.c (nios2_builtin_opcodes): Add entry for wrprs.
gas/
* config/tc-nios2.c (nios2_assemble_args_ds): New function.
(nios2_arg_info_structs): Add "d,s" and "d,s,E" entries.
gas/testsuite/
* gas/nios2/nios2.exp: Run wrprs.
* gas/nios2/wrprs.d: New file.
* gas/nios2/wrprs.s: Likewise.
Diffstat (limited to 'opcodes')
-rw-r--r-- | opcodes/ChangeLog | 4 | ||||
-rw-r--r-- | opcodes/nios2-opc.c | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 846bc94..554d8a0 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,5 +1,9 @@ 2013-03-11 Sebastian Huber <sebastian.huber@embedded-brains.de> + * nios2-opc.c (nios2_builtin_opcodes): Add entry for wrprs. + +2013-03-11 Sebastian Huber <sebastian.huber@embedded-brains.de> + * nios2-opc.c (nios2_builtin_opcodes): Add entry for rdprs. 2013-03-11 Sebastian Huber <sebastian.huber@embedded-brains.de> diff --git a/opcodes/nios2-opc.c b/opcodes/nios2-opc.c index 9617d47..41903d0 100644 --- a/opcodes/nios2-opc.c +++ b/opcodes/nios2-opc.c @@ -393,6 +393,8 @@ const struct nios2_opcode nios2_builtin_opcodes[] = OP_MATCH_CUSTOM, OP_MASK_ROP, 0, custom_opcode_overflow}, {"wrctl", "c,s", "c,s,E", 2, OP_MATCH_WRCTL, OP_MASK_WRCTL, 0, no_overflow}, + {"wrprs", "d,s", "d,s,E", 2, + OP_MATCH_WRPRS, OP_MASK_RRT|OP_MASK_ROPX|OP_MASK_ROP, 0, no_overflow}, {"xor", "d,s,t", "d,s,t,E", 3, OP_MATCH_XOR, OP_MASK_ROPX | OP_MASK_ROP, 0, no_overflow}, {"xorhi", "t,s,u", "t,s,u,E", 3, |