Lines Matching refs:opcode
27 #include "opcode/s390.h"
34 /* Set up index table for first opcode byte. */
47 opc_index[s390_opcodes[i].opcode[0]] = i;
85 const struct s390_opcode *opcode)
87 return (buffer[1] & opcode->mask[1]) == opcode->opcode[1]
88 && (buffer[2] & opcode->mask[2]) == opcode->opcode[2]
89 && (buffer[3] & opcode->mask[3]) == opcode->opcode[3]
90 && (buffer[4] & opcode->mask[4]) == opcode->opcode[4]
91 && (buffer[5] & opcode->mask[5]) == opcode->opcode[5];
170 const struct s390_opcode *opcode)
176 info->fprintf_func (info->stream, "%s", opcode->name);
180 for (opindex = opcode->operands; *opindex != 0; opindex++)
197 if ((opcode->flags & S390_INSTR_FLAG_OPTPARM)
228 if ((opcode->flags & S390_INSTR_FLAG_OPTPARM)
247 /* Check whether opcode A's mask is more specific than that of B. */
265 const struct s390_opcode *opcode = NULL;
301 /* Find the "best match" in the opcode table. */
304 && op->opcode[0] == buffer[0];
309 && (opcode == NULL
310 || opcode_mask_more_specific (op, opcode)))
311 opcode = op;
314 if (opcode != NULL)
317 s390_print_insn_with_opcode (memaddr, info, buffer, opcode);