Lines Matching refs:opcode
77 /* Find a match for INSN in the opcode table, given machine DIALECT.
78 A DIALECT of -1 is special, matching all machine opcode variations. */
83 const struct powerpc_opcode *opcode;
87 /* Find the first match in the opcode table for this major opcode. */
88 for (opcode = powerpc_opcodes; opcode < opcode_end; ++opcode)
94 if ((insn & opcode->mask) != opcode->opcode
96 && ((opcode->flags & dialect) == 0
97 || (opcode->deprecated & dialect) != 0)))
102 for (opindex = opcode->operands; *opindex != 0; opindex++)
111 return opcode;
121 const struct powerpc_opcode *opcode;
152 /* Get the major opcode of the insn. */
153 opcode = NULL;
156 if (opcode == NULL)
157 opcode = lookup_powerpc (insn, dialect);
158 if (opcode == NULL && (dialect & PPC_OPCODE_ANY) != 0)
159 opcode = lookup_powerpc (insn, (ppc_cpu_t) -1);
161 if (opcode != NULL)
169 if (opcode->operands[0] != 0)
170 printf("%-7s ", opcode->name);
172 printf("%s", opcode->name);
182 for (opindex = opcode->operands; *opindex != 0; opindex++)