[ARC] Rename "class" named attributes.

gas/
2016-05-23  Cupertino Miranda  <cmiranda@synopsys.com>

	* config/tc-arc.c (attributes_t): Renamed attribute class to
	attr_class.
	(find_opcode_match, assemble_insn, tokenize_extinsn): Changed.

opcode/
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.

include/
2016-05-23  Cupertino Miranda  <cmiranda@synopsys.com>

	* opcode/arc.h (struct arc_opcode): Renamed attribute class to
	insn_class.
	(struct arc_flag_class): Renamed attribute class to flag_class.
This commit is contained in:
Claudiu Zissulescu
2016-05-23 17:25:46 +02:00
parent ffd19d610b
commit c810e0b87a
7 changed files with 37 additions and 19 deletions

View File

@@ -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: