Lines Matching full: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; in lookup_powerpc() local
87 /* Find the first match in the opcode table for this major opcode. */ in lookup_powerpc()
88 for (opcode = powerpc_opcodes; opcode < opcode_end; ++opcode) in lookup_powerpc()
94 if ((insn & opcode->mask) != opcode->opcode in lookup_powerpc()
96 && ((opcode->flags & dialect) == 0 in lookup_powerpc()
97 || (opcode->deprecated & dialect) != 0))) in lookup_powerpc()
102 for (opindex = opcode->operands; *opindex != 0; opindex++) in lookup_powerpc()
111 return opcode; in lookup_powerpc()
121 const struct powerpc_opcode *opcode; in print_insn_powerpc() local
141 /* Get the major opcode of the insn. */ in print_insn_powerpc()
142 opcode = NULL; in print_insn_powerpc()
145 if (opcode == NULL) in print_insn_powerpc()
146 opcode = lookup_powerpc (insn, dialect); in print_insn_powerpc()
147 if (opcode == NULL && (dialect & PPC_OPCODE_ANY) != 0) in print_insn_powerpc()
148 opcode = lookup_powerpc (insn, (ppc_cpu_t) -1); in print_insn_powerpc()
150 if (opcode != NULL) in print_insn_powerpc()
158 if (opcode->operands[0] != 0) in print_insn_powerpc()
159 printf("%-7s ", opcode->name); in print_insn_powerpc()
161 printf("%s", opcode->name); in print_insn_powerpc()
171 for (opindex = opcode->operands; *opindex != 0; opindex++) in print_insn_powerpc()