aboutsummaryrefslogtreecommitdiff
path: root/include/opcode
diff options
context:
space:
mode:
authorSandra Loosemore <sandra@codesourcery.com>2013-03-12 02:20:08 +0000
committerSandra Loosemore <sandra@codesourcery.com>2013-03-12 02:20:08 +0000
commitf5cb796a1ebfdf5bb5539acce0d6567e2ed594ce (patch)
tree21129fcef7a9e54a0869223fcad748dd9a6bfbb4 /include/opcode
parent21fde85cfdf7ab1aaa4c24e18c16f99d5b8cc1a1 (diff)
downloadgdb-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 'include/opcode')
-rw-r--r--include/opcode/nios2.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/opcode/nios2.h b/include/opcode/nios2.h
index 85e7023..83773d5 100644
--- a/include/opcode/nios2.h
+++ b/include/opcode/nios2.h
@@ -289,6 +289,7 @@ struct nios2_reg
#define OP_OPX 58
#define OP_ORHI 52
#define OP_ORI 20
+#define OP_RDPRS 56
#define OP_STB 5
#define OP_STBIO 37
#define OP_STC 29
@@ -386,6 +387,7 @@ struct nios2_reg
#define OP_MATCH_OPX OP_OPX
#define OP_MATCH_ORHI OP_ORHI
#define OP_MATCH_ORI OP_ORI
+#define OP_MATCH_RDPRS OP_RDPRS
#define OP_MATCH_STB OP_STB
#define OP_MATCH_STBIO OP_STBIO
#define OP_MATCH_STC OP_STC