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.
This commit is contained in:
parent
6868191e90
commit
2ba1c51694
@ -1,3 +1,8 @@
|
|||||||
|
2013-03-11 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
||||||
|
|
||||||
|
* opcode/nios2.h (OPX_WRPRS): New define.
|
||||||
|
(OP_MATCH_WRPRS): Likewise.
|
||||||
|
|
||||||
2013-03-11 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
2013-03-11 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
||||||
|
|
||||||
* opcode/nios2.h (OP_RDPRS): New define.
|
* opcode/nios2.h (OP_RDPRS): New define.
|
||||||
|
@ -344,6 +344,7 @@ struct nios2_reg
|
|||||||
#define OPX_SYNC 54
|
#define OPX_SYNC 54
|
||||||
#define OPX_TRAP 45
|
#define OPX_TRAP 45
|
||||||
#define OPX_WRCTL 46
|
#define OPX_WRCTL 46
|
||||||
|
#define OPX_WRPRS 20
|
||||||
#define OPX_XOR 30
|
#define OPX_XOR 30
|
||||||
|
|
||||||
/* The following macros define the opcode matches for each
|
/* The following macros define the opcode matches for each
|
||||||
@ -440,6 +441,7 @@ struct nios2_reg
|
|||||||
#define OP_MATCH_TRAP ((0x1d << 17) | OPX_MATCH (OPX_TRAP))
|
#define OP_MATCH_TRAP ((0x1d << 17) | OPX_MATCH (OPX_TRAP))
|
||||||
#define OP_MATCH_ERET (0xe8000000 | OPX_MATCH (OPX_ERET))
|
#define OP_MATCH_ERET (0xe8000000 | OPX_MATCH (OPX_ERET))
|
||||||
#define OP_MATCH_WRCTL OPX_MATCH (OPX_WRCTL)
|
#define OP_MATCH_WRCTL OPX_MATCH (OPX_WRCTL)
|
||||||
|
#define OP_MATCH_WRPRS OPX_MATCH (OPX_WRPRS)
|
||||||
#define OP_MATCH_XOR OPX_MATCH (OPX_XOR)
|
#define OP_MATCH_XOR OPX_MATCH (OPX_XOR)
|
||||||
#define OP_MATCH_FLUSHI OPX_MATCH (OPX_FLUSHI)
|
#define OP_MATCH_FLUSHI OPX_MATCH (OPX_FLUSHI)
|
||||||
#define OP_MATCH_FLUSHP OPX_MATCH (OPX_FLUSHP)
|
#define OP_MATCH_FLUSHP OPX_MATCH (OPX_FLUSHP)
|
||||||
|
Loading…
Reference in New Issue
Block a user