Lines Matching refs:instr

83 void disasm_fields(const struct opcode *popcode, instr_t instr, vm_offset_t loc,
85 void dis_ppc(const struct opcode *opcodeset, instr_t instr, vm_offset_t loc);
603 op_ill(instr_t instr, vm_offset_t loc)
605 db_printf("illegal instruction %x\n", instr);
618 disasm_fields(const struct opcode *popcode, instr_t instr, vm_offset_t loc,
638 BO = extract_field(instr, 31 - 10, 5);
639 BI = extract_field(instr, 31 - 15, 5);
677 OE = extract_field(instr, 31 - 21, 1);
685 if (instr & 0x1)
689 if (instr & 0x1)
691 if (instr & 0x2) {
697 if (instr & 0x1)
705 y = (instr & 0x200000) != 0;
708 BD = extract_field(instr, 31 - 29, 14);
723 E = extract_field(instr, 31 - 16, 5);
729 UI = extract_field(instr, 31 - 8, 3);
731 UI = extract_field(instr, 31 - 19, 4);
738 FM = extract_field(instr, 31 - 14, 8);
744 D = extract_field(instr, 31 - 10, 5);
750 crbD = extract_field(instr, 31 - 10, 5);
756 crfD = extract_field(instr, 31 - 8, 3);
762 TO = extract_field(instr, 31 - 10, 1);
768 crfS = extract_field(instr, 31 - 13, 3);
774 CRM = extract_field(instr, 31 - 19, 8);
780 BO = extract_field(instr, 31 - 10, 5);
786 BI = extract_field(instr, 31 - 15, 5);
792 A = extract_field(instr, 31 - 31, 16);
798 A = extract_field(instr, 31 - 15, 5);
808 sprl = extract_field(instr, 31 - 15, 5);
809 sprh = extract_field(instr, 31 - 20, 5);
831 SR = extract_field(instr, 31 - 15, 3);
839 A = extract_field(instr, 31 - 15, 5);
845 D = extract_field(instr, 31 - 10, 5);
851 C = extract_field(instr, 31 - 25, 5);
857 B = extract_field(instr, 31 - 20, 5);
863 crbA = extract_field(instr, 31 - 15, 5);
869 crbB = extract_field(instr, 31 - 20, 5);
875 LI = extract_field(instr, 31 - 29, 24);
885 IMM = extract_field(instr, 31 - 31, 16);
893 IMM = extract_field(instr, 31 - 31, 16);
904 BD = extract_field(instr, 31 - 29, 14);
914 ds = extract_field(instr, 31 - 29, 14) << 2;
920 mel = extract_field(instr, 31 - 25, 4);
921 meh = extract_field(instr, 31 - 26, 1);
928 SH = extract_field(instr, 31 - 20, 5);
934 MB = extract_field(instr, 31 - 25, 5);
936 ME = extract_field(instr, 31 - 30, 5);
941 shl = extract_field(instr, 31 - 19, 4);
942 shh = extract_field(instr, 31 - 20, 1);
948 mbl = extract_field(instr, 31 - 25, 4);
949 mbh = extract_field(instr, 31 - 26, 1);
955 mel = extract_field(instr, 31 - 25, 4);
956 meh = extract_field(instr, 31 - 26, 1);
965 tbrl = extract_field(instr, 31 - 15, 5);
966 tbrh = extract_field(instr, 31 - 20, 5);
987 NB = extract_field(instr, 31 - 20, 5);
999 op_base(instr_t instr, vm_offset_t loc)
1001 dis_ppc(opcodes, instr, loc);
1005 op_cl_x13(instr_t instr, vm_offset_t loc)
1007 dis_ppc(opcodes_13, instr, loc);
1011 op_cl_x1e(instr_t instr, vm_offset_t loc)
1013 dis_ppc(opcodes_1e, instr, loc);
1017 op_cl_x1f(instr_t instr, vm_offset_t loc)
1019 dis_ppc(opcodes_1f, instr, loc);
1023 op_cl_x3a(instr_t instr, vm_offset_t loc)
1025 dis_ppc(opcodes_3a, instr, loc);
1029 op_cl_x3b(instr_t instr, vm_offset_t loc)
1031 dis_ppc(opcodes_3b, instr, loc);
1035 op_cl_x3e(instr_t instr, vm_offset_t loc)
1037 dis_ppc(opcodes_3e, instr, loc);
1041 op_cl_x3f(instr_t instr, vm_offset_t loc)
1043 dis_ppc(opcodes_3f, instr, loc);
1047 dis_ppc(const struct opcode *opcodeset, instr_t instr, vm_offset_t loc)
1057 if ((instr & op->mask) == op->code) {
1059 disasm_fields(op, instr, loc, disasm_str,
1065 op_ill(instr, loc);