From 7e126ba31ab6536b1dd779e483b72f47d3a76742 Mon Sep 17 00:00:00 2001 From: Claudiu Zissulescu Date: Wed, 24 Jul 2019 16:46:01 +0300 Subject: [ARC] Update ARC opcode table Update ARC opcode table by cleaning up invalid instructions, and fixing wrong encodings. opcodes/ xxxx-xx-xx Claudiu Zissulescu * arc-ext-tbl.h (bspeek): Remove it, added to main table. (bspop): Likewise. (modapp): Likewise. * arc-opc.c (RAD_CHK): Add. * arc-tbl.h: Regenerate. include/ xxxx-xx-xx Claudiu Zissulescu * include/opcode/arc.h (FASTMATH): Add. (SWITCH): Likewise. --- opcodes/arc-opc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'opcodes/arc-opc.c') diff --git a/opcodes/arc-opc.c b/opcodes/arc-opc.c index fe2c4fa..27c2303 100644 --- a/opcodes/arc-opc.c +++ b/opcodes/arc-opc.c @@ -1822,7 +1822,9 @@ const struct arc_operand arc_operands[] = #define RAD (RBdup + 1) { 6, 0, 0, ARC_OPERAND_IR | ARC_OPERAND_TRUNCATE, insert_rad, 0 }, -#define RCD (RAD + 1) +#define RAD_CHK (RAD + 1) + { 6, 0, 0, ARC_OPERAND_IR | ARC_OPERAND_TRUNCATE, insert_rad, 0 }, +#define RCD (RAD_CHK + 1) { 6, 6, 0, ARC_OPERAND_IR | ARC_OPERAND_TRUNCATE, insert_rcd, 0 }, /* The plain integer register fields. Used by short -- cgit v1.1