Lines Matching refs:insn

1378 get_opcode_entry (unsigned int insn,  in get_opcode_entry()  argument
1482 && prefix_opc_table[insn] != NULL) in get_opcode_entry()
1483 max_matchedp = prefix_opc_table[insn]; in get_opcode_entry()
1484 else if (prefix_insn == NO_CRIS_PREFIX && opc_table[insn] != NULL) in get_opcode_entry()
1485 max_matchedp = opc_table[insn]; in get_opcode_entry()
1557 if ((opcodep->match & insn) == opcodep->match in get_opcode_entry()
1558 && (opcodep->lose & insn) == 0 in get_opcode_entry()
1561 insn, in get_opcode_entry()
1587 opc_table[insn] = max_matchedp; in get_opcode_entry()
1589 prefix_opc_table[insn] = max_matchedp; in get_opcode_entry()
1601 unsigned int insn, in cris_constraint() argument
1630 tmp = ((insn >> 12) & 0xf); in cris_constraint()
1636 if ((insn & 0x30) == 0x30) in cris_constraint()
1642 if (prefix_insn != NO_CRIS_PREFIX && (insn & 0x400) == 0) in cris_constraint()
1657 if (insn & 0x400) in cris_constraint()
1691 unsigned int spec_reg = (insn >> 12) & 15; in cris_constraint()
1702 if ((insn & 0x30) == 0x20 && pushsize == -4) in cris_constraint()
1712 retval = (((insn >> 12) & 15) == (insn & 15)); in cris_constraint()
1722 = spec_reg_info ((insn >> 12) & 15, disdata->distype); in cris_constraint()
1848 bytes_to_skip (unsigned int insn, in bytes_to_skip() argument
1860 && (insn & 0x400) && (insn & 15) == 15 in bytes_to_skip()
1865 int mode_size = 1 << ((insn >> 4) & (*template == 'z' ? 1 : 3)); in bytes_to_skip()
1872 = spec_reg_info ((insn >> 12) & 15, distype); in bytes_to_skip()
1899 print_flags (struct cris_disasm_data *disdata, unsigned int insn, char *cp) in print_flags() argument
1911 unsigned char flagbits = (((insn >> 8) & 0xf0) | (insn & 15)); in print_flags()
1927 unsigned int insn, in print_with_operands() argument
1965 ? (insn & 0x8000 ? 'd' in print_with_operands()
1966 : insn & 0x4000 ? 'w' : 'b') in print_with_operands()
1967 : mode_char[(insn >> 4) & (*s == 'z' ? 1 : 3)]; in print_with_operands()
1999 tp = format_sup_reg ((insn >> 12) & 15, tp, with_reg_prefix); in print_with_operands()
2036 tp = format_reg (disdata, insn & 15, tp, with_reg_prefix); in print_with_operands()
2040 tp = format_reg (disdata, (insn >> 12) & 15, tp, with_reg_prefix); in print_with_operands()
2081 if ((insn & 0x400) && (insn & 15) == 15 && prefix_opcodep == NULL) in print_with_operands()
2087 = ((*cs == 'z' && (insn & 0x20)) in print_with_operands()
2096 = spec_reg_info ((insn >> 12) & 15, disdata->distype); in print_with_operands()
2113 int mode_size = 1 << ((insn >> 4) & (*cs == 'z' ? 1 : 3)); in print_with_operands()
2147 if ((*cs == 'z' && (insn & 0x20)) in print_with_operands()
2187 = 1 << ((insn >> 4) in print_with_operands()
2198 = spec_reg_info ((insn >> 12) & 15, disdata->distype); in print_with_operands()
2218 && ((insn & 0x400) == 0 in print_with_operands()
2221 if (insn & 0x400) in print_with_operands()
2223 tp = format_reg (disdata, insn & 15, tp, with_reg_prefix); in print_with_operands()
2314 if (insn == 0xf83f && (prefix_insn & ~0xf000) == 0x55f) in print_with_operands()
2423 tp = format_reg (disdata, insn & 15, tp, with_reg_prefix); in print_with_operands()
2426 info->target = insn & 15; in print_with_operands()
2428 if (insn & 0x400) in print_with_operands()
2436 tp = format_reg (disdata, (insn >> 12) & 15, tp, with_reg_prefix); in print_with_operands()
2438 *tp++ = mode_char[(insn >> 4) & 3]; in print_with_operands()
2442 tp = format_dec (insn & 63, tp, 0); in print_with_operands()
2454 if (insn == BA_PC_INCR_OPCODE) in print_with_operands()
2464 temp, cris_cc_strings[insn >> 12]); in print_with_operands()
2471 tp = format_dec (insn & 31, tp, 0); in print_with_operands()
2475 tp = format_dec (insn & 15, tp, 0); in print_with_operands()
2480 long offset = insn & 0xfe; in print_with_operands()
2483 if (insn & 1) in print_with_operands()
2510 tp = format_reg (disdata, (insn >> 12) & 15, tp, with_reg_prefix); in print_with_operands()
2515 tp = print_flags (disdata, insn, tp); in print_with_operands()
2519 tp = format_dec ((insn & 32) ? (insn & 31) | ~31L : insn & 31, tp, 1); in print_with_operands()
2525 = spec_reg_info ((insn >> 12) & 15, disdata->distype); in print_with_operands()
2591 unsigned int insn; in print_insn_cris_generic() local
2638 insn = bufp[0] + bufp[1] * 256; in print_insn_cris_generic()
2654 ((short) (insn) in print_insn_cris_generic()
2666 else if (insn == 0) in print_insn_cris_generic()
2682 unsigned int prefix_insn = insn; in print_insn_cris_generic()
2685 matchedp = get_opcode_entry (insn, NO_CRIS_PREFIX, disdata); in print_insn_cris_generic()
2697 insn = bufp[prefix_size] + bufp[prefix_size + 1] * 256; in print_insn_cris_generic()
2698 matchedp = get_opcode_entry (insn, prefix_insn, disdata); in print_insn_cris_generic()
2712 insn = prefix_insn; in print_insn_cris_generic()
2719 (*info->fprintf_func) (info->stream, "??0x%x", insn); in print_insn_cris_generic()
2727 += bytes_to_skip (insn, matchedp, disdata->distype, in print_insn_cris_generic()
2732 print_with_operands (matchedp, insn, bufp, addr, info, in print_insn_cris_generic()