From f5cb796a1ebfdf5bb5539acce0d6567e2ed594ce Mon Sep 17 00:00:00 2001 From: Sandra Loosemore Date: Tue, 12 Mar 2013 02:20:08 +0000 Subject: 2013-03-11 Sebastian Huber 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. --- opcodes/ChangeLog | 4 ++++ opcodes/nios2-opc.c | 2 ++ 2 files changed, 6 insertions(+) (limited to 'opcodes') 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 + * nios2-opc.c (nios2_builtin_opcodes): Add entry for rdprs. + +2013-03-11 Sebastian Huber + * nios2-opc.c (nios2_builtin_regs): Add sstatus alias for ba register. 2013-03-11 Kyrylo Tkachov 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, -- cgit v1.1