Searched refs:r_format (Results 1 – 11 of 11) sorted by relevance
107 mfc0_inst.r_format.opcode = spec_op; in kvm_mips_trans_mfc0()108 mfc0_inst.r_format.rd = inst.c0r_format.rt; in kvm_mips_trans_mfc0()109 mfc0_inst.r_format.func = add_op; in kvm_mips_trans_mfc0()
64 switch (insn.r_format.func) { in kvm_compute_return_epc()66 arch->gprs[insn.r_format.rd] = epc + 8; in kvm_compute_return_epc()69 nextpc = arch->gprs[insn.r_format.rs]; in kvm_compute_return_epc()1947 switch (inst.r_format.opcode) { in kvm_mips_emulate_inst()2514 if (inst.r_format.opcode == spec3_op && in kvm_mips_handle_ri()2515 inst.r_format.func == rdhwr_op && in kvm_mips_handle_ri()2516 inst.r_format.rs == 0 && in kvm_mips_handle_ri()2517 (inst.r_format.re >> 3) == 0) { in kvm_mips_handle_ri()2519 int rd = inst.r_format.rd; in kvm_mips_handle_ri()2520 int rt = inst.r_format.rt; in kvm_mips_handle_ri()[all …]
1151 switch (inst.r_format.opcode) { in kvm_trap_vz_handle_gpsi()1170 if (inst.r_format.rs || (inst.r_format.re >> 3)) in kvm_trap_vz_handle_gpsi()1173 rd = inst.r_format.rd; in kvm_trap_vz_handle_gpsi()1174 rt = inst.r_format.rt; in kvm_trap_vz_handle_gpsi()1175 sel = inst.r_format.re & 0x7; in kvm_trap_vz_handle_gpsi()
25 switch (insn.r_format.func) { in __insn_has_delay_slot()
304 if (ip->r_format.opcode != mm_pool32a_op || in is_jump_ins()305 ip->r_format.func != mm_pool32axf_op) in is_jump_ins()313 if (ip->r_format.opcode != spec_op) in is_jump_ins()315 return ip->r_format.func == jalr_op || ip->r_format.func == jr_op; in is_jump_ins()
428 switch (insn.r_format.func) { in __compute_return_epc_for_insn()430 regs->regs[insn.r_format.rd] = epc + 8; in __compute_return_epc_for_insn()433 if (NO_R6EMU && insn.r_format.func == jr_op) in __compute_return_epc_for_insn()435 regs->cp0_epc = regs->regs[insn.r_format.rs]; in __compute_return_epc_for_insn()
70 switch (inst.r_format.func) { in is_trap_insn()
403 .r_format = { in kgdb_arch_init()
56 if (ip->r_format.func == jr_op && ip->r_format.rs == 31) in is_end_of_function_marker()
179 mips32_insn.r_format.opcode = cop1x_op; in microMIPS32_to_MIPS32()180 mips32_insn.r_format.rs = in microMIPS32_to_MIPS32()182 mips32_insn.r_format.rt = in microMIPS32_to_MIPS32()184 mips32_insn.r_format.rd = 0; in microMIPS32_to_MIPS32()185 mips32_insn.r_format.re = insn.mm_fp5_format.fd; in microMIPS32_to_MIPS32()186 mips32_insn.r_format.func = func; in microMIPS32_to_MIPS32()265 mips32_insn.r_format.opcode = spec_op; in microMIPS32_to_MIPS32()266 mips32_insn.r_format.rs = insn.mm_fp4_format.fs; in microMIPS32_to_MIPS32()267 mips32_insn.r_format.rt = in microMIPS32_to_MIPS32()269 mips32_insn.r_format.rd = insn.mm_fp4_format.rt; in microMIPS32_to_MIPS32()[all …]
656 struct r_format { /* Register format */ struct1056 struct r_format r_format; member