diff options
Diffstat (limited to 'opcodes')
-rw-r--r-- | opcodes/ChangeLog | 6 | ||||
-rw-r--r-- | opcodes/arc-dis.c | 8 | ||||
-rw-r--r-- | opcodes/arc-ext.h | 2 |
3 files changed, 11 insertions, 5 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 4982280..02d2419 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,9 @@ +2016-05-23 Cupertino Miranda <cmiranda@synopsys.com> + + * arc-dis.c (find_format, find_format, get_auxreg) + (print_insn_arc): Changed. + * arc-ext.h (INSERT_XOP): Likewise. + 2016-05-23 Trevor Saunders <tbsaunde+binutils@tbsaunde.org> * tic54x-dis.c (sprint_mmr): Adjust. diff --git a/opcodes/arc-dis.c b/opcodes/arc-dis.c index 7757ef6..96fd092 100644 --- a/opcodes/arc-dis.c +++ b/opcodes/arc-dis.c @@ -175,7 +175,7 @@ find_format (const struct arc_opcode *arc_table, unsigned int value; /* Check first the extensions. */ - if (cl_flags->class & F_CLASS_EXTEND) + if (cl_flags->flag_class & F_CLASS_EXTEND) { value = (insn[0] & 0x1F); if (arcExtMap_condCodeName (value)) @@ -226,7 +226,7 @@ print_flags (const struct arc_opcode *opcode, const unsigned *flgopridx; /* Check first the extensions. */ - if (cl_flags->class & F_CLASS_EXTEND) + if (cl_flags->flag_class & F_CLASS_EXTEND) { const char *name; value = (insn[0] & 0x1F); @@ -289,7 +289,7 @@ get_auxreg (const struct arc_opcode *opcode, unsigned int i; const struct arc_aux_reg *auxr = &arc_aux_regs[0]; - if (opcode->class != AUXREG) + if (opcode->insn_class != AUXREG) return NULL; name = arcExtMap_auxRegName (value); @@ -527,7 +527,7 @@ print_insn_arc (bfd_vma memaddr, (*info->fprintf_func) (info->stream, "%s", opcode->name); /* Preselect the insn class. */ - switch (opcode->class) + switch (opcode->insn_class) { case BRANCH: case JUMP: diff --git a/opcodes/arc-ext.h b/opcodes/arc-ext.h index fcce7e2..e92a350 100644 --- a/opcodes/arc-ext.h +++ b/opcodes/arc-ext.h @@ -80,7 +80,7 @@ enum ExtReadWrite (OP)->opcode = CODE; \ (OP)->mask = MASK; \ (OP)->cpu = CPU; \ - (OP)->class = ARITH; \ + (OP)->insn_class = ARITH; \ (OP)->subclass = NONE; \ memcpy ((OP)->operands, (ARG), MAX_INSN_ARGS); \ memcpy ((OP)->flags, (FLG), MAX_INSN_FLGS); \ |