diff options
author | Claudiu Zissulescu <claziss@synopsys.com> | 2016-09-14 13:40:38 +0200 |
---|---|---|
committer | Claudiu Zissulescu <claziss@synopsys.com> | 2016-09-26 16:47:17 +0200 |
commit | 2b848ebdbb2d1f856c7525ed4d6efaf6fe70de81 (patch) | |
tree | 55a6c5fb94d76ce44c2ec41f30a06f1daa427b5c /opcodes/arc-opc.c | |
parent | 005d79fd6101dae0aaf62a1b0cee399efcbd0e21 (diff) | |
download | gdb-2b848ebdbb2d1f856c7525ed4d6efaf6fe70de81.zip gdb-2b848ebdbb2d1f856c7525ed4d6efaf6fe70de81.tar.gz gdb-2b848ebdbb2d1f856c7525ed4d6efaf6fe70de81.tar.bz2 |
[ARC] ISA alignment.
include/
2016-09-26 Claudiu Zissulescu <claziss@synopsys.com>
* opcode/arc.h (insn_class_t): Add two new classes.
opcodes/
2016-09-26 Claudiu Zissulescu <claziss@synopsys.com>
* arc-ext-tbl.h (EXTINSN2OPF): Define.
(EXTINSN2OP): Use EXTINSN2OPF.
(bspeekm, bspop, modapp): New extension instructions.
* arc-opc.c (F_DNZ_ND): Define.
(F_DNZ_D): Likewise.
(F_SIZEB1): Changed.
(C_DNZ_D): Define.
(C_HARD): Changed.
* arc-tbl.h (dbnz): New instruction.
(prealloc): Allow it for ARC EM.
(xbfu): Likewise.
Diffstat (limited to 'opcodes/arc-opc.c')
-rw-r--r-- | opcodes/arc-opc.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/opcodes/arc-opc.c b/opcodes/arc-opc.c index 44dd7b2..6537310 100644 --- a/opcodes/arc-opc.c +++ b/opcodes/arc-opc.c @@ -1279,9 +1279,13 @@ const struct arc_flag_operand arc_flag_operands[] = { "d", 1, 1, 5, 1 }, #define F_DFAKE (F_D + 1) { "d", 0, 0, 0, 1 }, +#define F_DNZ_ND (F_DFAKE + 1) + { "nd", 0, 1, 16, 0 }, +#define F_DNZ_D (F_DNZ_ND + 1) + { "d", 1, 1, 16, 1 }, /* Data size. */ -#define F_SIZEB1 (F_DFAKE + 1) +#define F_SIZEB1 (F_DNZ_D + 1) { "b", 1, 2, 1, 1 }, #define F_SIZEB7 (F_SIZEB1 + 1) { "b", 1, 2, 7, 1 }, @@ -1485,8 +1489,10 @@ const struct arc_flag_class arc_flag_classes[] = { F_CLASS_OPTIONAL, { F_NT, F_T, F_NULL } }, #define C_D (C_T + 1) { F_CLASS_OPTIONAL, { F_ND, F_D, F_NULL } }, +#define C_DNZ_D (C_D + 1) + { F_CLASS_OPTIONAL, { F_DNZ_ND, F_DNZ_D, F_NULL } }, -#define C_DHARD (C_D + 1) +#define C_DHARD (C_DNZ_D + 1) { F_CLASS_OPTIONAL, { F_DFAKE, F_NULL } }, #define C_DI20 (C_DHARD + 1) |