Home
last modified time | relevance | path

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

/openbmc/linux/arch/mips/kernel/
H A Dprocess.c208 if (ip->r_format.opcode == mm_pool32a_op && in is_jr_ra_ins()
209 ip->r_format.func == mm_pool32axf_op && in is_jr_ra_ins()
211 ip->r_format.rt == 31) in is_jr_ra_ins()
215 if (ip->r_format.opcode == spec_op && in is_jr_ra_ins()
216 ip->r_format.func == jr_op && in is_jr_ra_ins()
217 ip->r_format.rs == 31) in is_jr_ra_ins()
339 if (ip->r_format.opcode != mm_pool32a_op || in is_jump_ins()
340 ip->r_format.func != mm_pool32axf_op) in is_jump_ins()
348 if (ip->r_format.opcode != spec_op) in is_jump_ins()
350 return ip->r_format.func == jalr_op || ip->r_format.func == jr_op; in is_jump_ins()
H A Dprobes-common.h21 switch (insn.r_format.func) { in __insn_has_delay_slot()
H A 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()
H A Duprobes.c70 switch (inst.r_format.func) { in is_trap_insn()
/openbmc/linux/arch/mips/math-emu/
H A 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 …]
/openbmc/linux/arch/mips/include/uapi/asm/
H A Dinst.h678 struct r_format { /* Register format */ struct
1123 struct r_format r_format; member
/openbmc/linux/arch/mips/kvm/
H A 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()
H A 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()
/openbmc/qemu/disas/
H A Dhppa.c485 hppa_rebuild_insn (int insn, int value, int r_format) in hppa_rebuild_insn() argument
487 switch (r_format) in hppa_rebuild_insn()