Lines Matching refs:opcode

23 #include "opcode/sparc.h"
42 /* The sorted opcode table. */
50 opcode table is hashed. OPCODE_BITS is a table of valid bits for each
58 const sparc_opcode *opcode;
196 /* Nonzero if INSN is the opcode for a delayed branch. */
205 const sparc_opcode *opcode = op->opcode;
207 if ((opcode->match & insn) == opcode->match
208 && (opcode->lose & insn) == 0)
209 return opcode->flags & F_DELAYED;
298 wrong with the opcode table. */
304 _("Internal error: bad sparc-opcode.h: \"%s\", %#.8lx, %#.8lx\n"),
315 _("Internal error: bad sparc-opcode.h: \"%s\", %#.8lx, %#.8lx\n"),
321 /* Because the bits that are variable in one opcode are constant in
343 /* They are functionally equal. So as long as the opcode table is
356 better have the same opcode. This is a sanity check on the table. */
374 _("Internal error: bad sparc-opcode.h: \"%s\" == \"%s\"\n"),
417 no way to tell which one was first in the opcode table as
424 /* Build a hash table from the opcode table.
425 OPCODE_TABLE is a sorted list of pointers into the opcode table. */
450 h->opcode = opcode_table[i];
490 /* Nonzero of opcode table has been initialized. */
544 const sparc_opcode *opcode = op->opcode;
547 if (! (opcode->architecture & current_arch_mask))
550 if ((opcode->match & insn) == opcode->match
551 && (opcode->lose & insn) == 0)
559 field of the opcode table. */
567 if (opcode->match == 0x80102000) /* or */
569 if (opcode->match == 0x80002000) /* add */
573 && strchr (opcode->args, 'r') != 0)
577 && strchr (opcode->args, 'O') != 0)
581 (*info->fprintf_func) (stream, "%s", opcode->name);
586 if (opcode->args[0] != ',')
589 for (s = opcode->args; *s != '\0'; ++s)
1057 if (opcode->flags & (F_UNBR|F_CONDBR|F_JSR))
1061 if (opcode->flags & F_UNBR)
1063 if (opcode->flags & F_CONDBR)
1065 if (opcode->flags & F_JSR)
1067 if (opcode->flags & F_DELAYED)