• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/cxxfilt-11/cxxfilt/opcodes/

Lines Matching defs:insn

171 get_opcode_entry (unsigned int insn,
176 insn code. Each entry is initialized when found to be NULL. */
287 && prefix_opc_table[insn] != NULL)
288 max_matchedp = prefix_opc_table[insn];
289 else if (prefix_insn == NO_CRIS_PREFIX && opc_table[insn] != NULL)
290 max_matchedp = opc_table[insn];
362 if ((opcodep->match & insn) == opcodep->match
363 && (opcodep->lose & insn) == 0
366 insn,
392 opc_table[insn] = max_matchedp;
394 prefix_opc_table[insn] = max_matchedp;
406 unsigned int insn,
435 tmp = ((insn >> 12) & 0xf);
441 if ((insn & 0x30) == 0x30)
447 if (prefix_insn != NO_CRIS_PREFIX && (insn & 0x400) == 0)
458 /* If this is a prefixed insn with postincrement (side-effect),
462 if (insn & 0x400)
483 /* Match the prefix insn to BDAPQ. */
496 unsigned int spec_reg = (insn >> 12) & 15;
507 if ((insn & 0x30) == 0x20 && pushsize == -4)
517 retval = (((insn >> 12) & 15) == (insn & 15));
527 = spec_reg_info ((insn >> 12) & 15, disdata->distype);
653 bytes_to_skip (unsigned int insn,
658 /* Each insn is a word plus "immediate" operands. */
665 && (insn & 0x400) && (insn & 15) == 15
670 int mode_size = 1 << ((insn >> 4) & (*template == 'z' ? 1 : 3));
677 = spec_reg_info ((insn >> 12) & 15, distype);
704 print_flags (struct cris_disasm_data *disdata, unsigned int insn, char *cp)
716 unsigned char flagbits = (((insn >> 8) & 0xf0) | (insn & 15));
726 /* Print out an insn with its operands, and update the info->insn_type
727 fields. The prefix_opcodep and the rest hold a prefix insn that is
732 unsigned int insn,
736 /* If a prefix insn was before this insn (and is supposed
745 intermediate parts of the insn. */
770 ? (insn & 0x8000 ? 'd'
771 : insn & 0x4000 ? 'w' : 'b')
772 : mode_char[(insn >> 4) & (*s == 'z' ? 1 : 3)];
783 /* Fill in the insn-type if deducible from the name (and there's no
791 /* Any other jump-type insn is considered a branch. */
804 tp = format_sup_reg ((insn >> 12) & 15, tp, with_reg_prefix);
841 tp = format_reg (disdata, insn & 15, tp, with_reg_prefix);
845 tp = format_reg (disdata, (insn >> 12) & 15, tp, with_reg_prefix);
850 /* Like N but pc-relative to the start of the insn. */
886 if ((insn & 0x400) && (insn & 15) == 15 && prefix_opcodep == NULL)
892 = ((*cs == 'z' && (insn & 0x20))
901 = spec_reg_info ((insn >> 12) & 15, disdata->distype);
918 int mode_size = 1 << ((insn >> 4) & (*cs == 'z' ? 1 : 3));
952 if ((*cs == 'z' && (insn & 0x20))
962 insn, assume it's an address, and also if it's a non-zero
992 = 1 << ((insn >> 4)
1003 = spec_reg_info ((insn >> 12) & 15, disdata->distype);
1023 && ((insn & 0x400) == 0
1026 if (insn & 0x400)
1028 tp = format_reg (disdata, insn & 15, tp, with_reg_prefix);
1119 if (insn == 0xf83f && (prefix_insn & ~0xf000) == 0x55f)
1228 tp = format_reg (disdata, insn & 15, tp, with_reg_prefix);
1231 info->target = insn & 15;
1233 if (insn & 0x400)
1241 tp = format_reg (disdata, (insn >> 12) & 15, tp, with_reg_prefix);
1243 *tp++ = mode_char[(insn >> 4) & 3];
1247 tp = format_dec (insn & 63, tp, 0);
1259 if (insn == BA_PC_INCR_OPCODE)
1269 temp, cris_cc_strings[insn >> 12]);
1276 tp = format_dec (insn & 31, tp, 0);
1280 tp = format_dec (insn & 15, tp, 0);
1285 long offset = insn & 0xfe;
1288 if (insn & 1)
1315 tp = format_reg (disdata, (insn >> 12) & 15, tp, with_reg_prefix);
1320 tp = print_flags (disdata, insn, tp);
1324 tp = format_dec ((insn & 32) ? (insn & 31) | ~31L : insn & 31, tp, 1);
1330 = spec_reg_info ((insn >> 12) & 15, disdata->distype);
1360 We assume that the last constant seen is used; either in the insn
1372 /* A bound insn will tell us the number of cases. */
1396 unsigned int insn;
1431 /* Set some defaults for the insn info. */
1445 insn = bufp[0] + bufp[1] * 256;
1461 ((short) (insn)
1473 else if (insn == 0)
1476 valid "bcc .+2" insn, it is also useless enough and enough
1489 unsigned int prefix_insn = insn;
1492 matchedp = get_opcode_entry (insn, NO_CRIS_PREFIX, disdata);
1499 main insn. */
1504 insn = bufp[prefix_size] + bufp[prefix_size + 1] * 256;
1505 matchedp = get_opcode_entry (insn, prefix_insn, disdata);
1515 /* The "main" insn wasn't valid, at least not when
1517 prefix insn only, as a normal insn. */
1519 insn = prefix_insn;
1526 (*info->fprintf_func) (info->stream, "??0x%x", insn);
1534 += bytes_to_skip (insn, matchedp, disdata->distype,
1539 print_with_operands (matchedp, insn, bufp, addr, info,
1549 status when reading that much, and the insn decoding indicated a
1557 /* Max supported insn size with one folded prefix insn. */