diff options
author | Sandra Loosemore <sandra@codesourcery.com> | 2013-03-12 02:20:08 +0000 |
---|---|---|
committer | Sandra Loosemore <sandra@codesourcery.com> | 2013-03-12 02:20:08 +0000 |
commit | f5cb796a1ebfdf5bb5539acce0d6567e2ed594ce (patch) | |
tree | 21129fcef7a9e54a0869223fcad748dd9a6bfbb4 /opcodes | |
parent | 21fde85cfdf7ab1aaa4c24e18c16f99d5b8cc1a1 (diff) | |
download | gdb-f5cb796a1ebfdf5bb5539acce0d6567e2ed594ce.zip gdb-f5cb796a1ebfdf5bb5539acce0d6567e2ed594ce.tar.gz gdb-f5cb796a1ebfdf5bb5539acce0d6567e2ed594ce.tar.bz2 |
2013-03-11 Sebastian Huber <sebastian.huber@embedded-brains.de>
include/
* opcode/nios2.h (OP_RDPRS): New define.
(OP_MATCH_RDPRS): Likewise.
opcodes/
* nios2-opc.c (nios2_builtin_opcodes): Add entry for rdprs.
gas/testsuite/
* gas/nios2/nios2.exp: Run rdprs.
* gas/nios2/rdprs.d: New file.
* gas/nios2/rdprs.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 1419f3d..846bc94 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 rdprs. + +2013-03-11 Sebastian Huber <sebastian.huber@embedded-brains.de> + * nios2-opc.c (nios2_builtin_regs): Add sstatus alias for ba register. 2013-03-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com> diff --git a/opcodes/nios2-opc.c b/opcodes/nios2-opc.c index ff24652..9617d47 100644 --- a/opcodes/nios2-opc.c +++ b/opcodes/nios2-opc.c @@ -345,6 +345,8 @@ const struct nios2_opcode nios2_builtin_opcodes[] = OP_MATCH_ORI, OP_MASK_IOP, NIOS2_INSN_ORI, unsigned_immed16_overflow}, {"rdctl", "d,c", "d,c,E", 2, OP_MATCH_RDCTL, OP_MASK_RDCTL, 0, no_overflow}, + {"rdprs", "t,s,i", "t,s,i,E", 3, + OP_MATCH_RDPRS, OP_MASK_IOP, 0, unsigned_immed16_overflow}, {"ret", "", "E", 0, OP_MATCH_RET, OP_MASK, 0, no_overflow}, {"rol", "d,s,t", "d,s,t,E", 3, |