aboutsummaryrefslogtreecommitdiff
path: root/opcodes/arc-opc.c
diff options
context:
space:
mode:
authorClaudiu Zissulescu <claziss@gmail.com>2019-07-24 16:46:01 +0300
committerClaudiu Zissulescu <claziss@gmail.com>2019-07-24 16:46:01 +0300
commit7e126ba31ab6536b1dd779e483b72f47d3a76742 (patch)
tree577b4769ebb14dab2a5ef384dd481e362cd75f63 /opcodes/arc-opc.c
parentef551643dc282159185cb9916c7cb0308ae03cdd (diff)
downloadgdb-7e126ba31ab6536b1dd779e483b72f47d3a76742.zip
gdb-7e126ba31ab6536b1dd779e483b72f47d3a76742.tar.gz
gdb-7e126ba31ab6536b1dd779e483b72f47d3a76742.tar.bz2
[ARC] Update ARC opcode table
Update ARC opcode table by cleaning up invalid instructions, and fixing wrong encodings. opcodes/ xxxx-xx-xx Claudiu Zissulescu <claziss@synopsys.com> * 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 <claziss@synopsys.com> * include/opcode/arc.h (FASTMATH): Add. (SWITCH): Likewise.
Diffstat (limited to 'opcodes/arc-opc.c')
-rw-r--r--opcodes/arc-opc.c4
1 files changed, 3 insertions, 1 deletions
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