summaryrefslogtreecommitdiffstats
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
commit6868191e90353636bdda50810830c04832bedac3 (patch)
treebc151eb4d2cf6236fc28428716f6cf9e42ef3462 /include/opcode
parentf0829dce7d2a13b553d6544c7d0fafd0633db0b7 (diff)
downloadcygnal-6868191e90353636bdda50810830c04832bedac3.tar.gz
cygnal-6868191e90353636bdda50810830c04832bedac3.tar.bz2
cygnal-6868191e90353636bdda50810830c04832bedac3.zip
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 85e702311..83773d5f3 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