Home
last modified time | relevance | path

Searched refs:r_format (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/arch/mips/kernel/
Dprocess.c207 if (ip->r_format.opcode == mm_pool32a_op && in is_jr_ra_ins()
208 ip->r_format.func == mm_pool32axf_op && in is_jr_ra_ins()
210 ip->r_format.rt == 31) in is_jr_ra_ins()
214 if (ip->r_format.opcode == spec_op && in is_jr_ra_ins()
215 ip->r_format.func == jr_op && in is_jr_ra_ins()
216 ip->r_format.rs == 31) in is_jr_ra_ins()
338 if (ip->r_format.opcode != mm_pool32a_op || in is_jump_ins()
339 ip->r_format.func != mm_pool32axf_op) in is_jump_ins()
347 if (ip->r_format.opcode != spec_op) in is_jump_ins()
349 return ip->r_format.func == jalr_op || ip->r_format.func == jr_op; in is_jump_ins()
Dprobes-common.h21 switch (insn.r_format.func) { in __insn_has_delay_slot()
Dbranch.c434 switch (insn.r_format.func) { in __compute_return_epc_for_insn()
436 regs->regs[insn.r_format.rd] = epc + 8; in __compute_return_epc_for_insn()
439 if (NO_R6EMU && insn.r_format.func == jr_op) in __compute_return_epc_for_insn()
441 regs->cp0_epc = regs->regs[insn.r_format.rs]; in __compute_return_epc_for_insn()
Duprobes.c70 switch (inst.r_format.func) { in is_trap_insn()
/linux-6.1.9/arch/mips/math-emu/
Dcp1emu.c167 mips32_insn.r_format.opcode = cop1x_op; in microMIPS32_to_MIPS32()
168 mips32_insn.r_format.rs = in microMIPS32_to_MIPS32()
170 mips32_insn.r_format.rt = in microMIPS32_to_MIPS32()
172 mips32_insn.r_format.rd = 0; in microMIPS32_to_MIPS32()
173 mips32_insn.r_format.re = insn.mm_fp5_format.fd; in microMIPS32_to_MIPS32()
174 mips32_insn.r_format.func = func; in microMIPS32_to_MIPS32()
253 mips32_insn.r_format.opcode = spec_op; in microMIPS32_to_MIPS32()
254 mips32_insn.r_format.rs = insn.mm_fp4_format.fs; in microMIPS32_to_MIPS32()
255 mips32_insn.r_format.rt = in microMIPS32_to_MIPS32()
257 mips32_insn.r_format.rd = insn.mm_fp4_format.rt; in microMIPS32_to_MIPS32()
[all …]
/linux-6.1.9/arch/mips/include/uapi/asm/
Dinst.h657 struct r_format { /* Register format */ struct
1091 struct r_format r_format; member
/linux-6.1.9/arch/mips/kvm/
Dvz.c1230 switch (inst.r_format.opcode) { in kvm_trap_vz_handle_gpsi()
1254 if (inst.r_format.rs || (inst.r_format.re >> 3)) in kvm_trap_vz_handle_gpsi()
1257 rd = inst.r_format.rd; in kvm_trap_vz_handle_gpsi()
1258 rt = inst.r_format.rt; in kvm_trap_vz_handle_gpsi()
1259 sel = inst.r_format.re & 0x7; in kvm_trap_vz_handle_gpsi()
Demulate.c63 switch (insn.r_format.func) { in kvm_compute_return_epc()
65 arch->gprs[insn.r_format.rd] = epc + 8; in kvm_compute_return_epc()
68 nextpc = arch->gprs[insn.r_format.rs]; in kvm_compute_return_epc()