Home
last modified time | relevance | path

Searched refs:i_format (Results 1 – 10 of 10) sorted by relevance

/arch/mips/kernel/
Dbranch.c423 switch (insn.i_format.opcode) { in __compute_return_epc_for_insn()
446 switch (insn.i_format.rt) { in __compute_return_epc_for_insn()
451 if ((long)regs->regs[insn.i_format.rs] < 0) { in __compute_return_epc_for_insn()
452 epc = epc + 4 + (insn.i_format.simmediate << 2); in __compute_return_epc_for_insn()
453 if (insn.i_format.rt == bltzl_op) in __compute_return_epc_for_insn()
464 if ((long)regs->regs[insn.i_format.rs] >= 0) { in __compute_return_epc_for_insn()
465 epc = epc + 4 + (insn.i_format.simmediate << 2); in __compute_return_epc_for_insn()
466 if (insn.i_format.rt == bgezl_op) in __compute_return_epc_for_insn()
475 if (NO_R6EMU && (insn.i_format.rs || in __compute_return_epc_for_insn()
476 insn.i_format.rt == bltzall_op)) { in __compute_return_epc_for_insn()
[all …]
Dprocess.c226 (mmi.i_format.opcode == mm_sw32_op && in is_ra_save_ins()
227 mmi.i_format.rs == 29 && in is_ra_save_ins()
228 mmi.i_format.rt == 31)); in is_ra_save_ins()
232 return (ip->i_format.opcode == sw_op || ip->i_format.opcode == sd_op) && in is_ra_save_ins()
233 ip->i_format.rs == 29 && in is_ra_save_ins()
234 ip->i_format.rt == 31; in is_ra_save_ins()
296 if (ip->i_format.rs != 29 || ip->i_format.rt != 29) in is_sp_move_ins()
298 if (ip->i_format.opcode == addiu_op || ip->i_format.opcode == daddiu_op) in is_sp_move_ins()
348 info->frame_size = - ip->i_format.simmediate; in get_frame_info()
354 ip->i_format.simmediate / sizeof(long); in get_frame_info()
Dunaligned.c1233 switch (insn.i_format.opcode) {
1396 regs->regs[insn.i_format.rt] = value;
1415 regs->regs[insn.i_format.rt] = value;
1434 regs->regs[insn.i_format.rt] = value;
1453 regs->regs[insn.i_format.rt] = value;
1476 regs->regs[insn.i_format.rt] = value;
1488 value = regs->regs[insn.i_format.rt];
1508 value = regs->regs[insn.i_format.rt];
1536 value = regs->regs[insn.i_format.rt];
1557 dmtc1(value, insn.i_format.rt);
[all …]
Dkprobes.c58 switch (insn.i_format.opcode) { in insn_has_delayslot()
128 switch (insn.i_format.opcode) { in insn_has_ll_or_sc()
Dtraps.c779 switch (inst.i_format.opcode) { in simulate_fp()
/arch/mips/oprofile/
Dbacktrace.c34 return (ip->i_format.opcode == sw_op || ip->i_format.opcode == sd_op) in is_ra_save_ins()
35 && ip->i_format.rs == 29 && ip->i_format.rt == 31; in is_ra_save_ins()
41 if (ip->i_format.rs != 29 || ip->i_format.rt != 29) in is_sp_move_ins()
43 if (ip->i_format.opcode == addiu_op || ip->i_format.opcode == daddiu_op) in is_sp_move_ins()
58 if (ip->i_format.opcode == lui_op && ip->i_format.rt == 28) in is_end_of_function_marker()
90 int stack_adjustment = ip.i_format.simmediate; in unwind_user_frame()
97 int ra_slot = ip.i_format.simmediate; in unwind_user_frame()
/arch/mips/math-emu/
Dcp1emu.c446 switch (insn.i_format.opcode) { in isBranchInstr()
465 switch (insn.i_format.rt) { in isBranchInstr()
468 if (NO_R6EMU && (insn.i_format.rs || in isBranchInstr()
469 insn.i_format.rt == bltzall_op)) in isBranchInstr()
480 if ((long)regs->regs[insn.i_format.rs] < 0) in isBranchInstr()
483 (insn.i_format.simmediate << 2); in isBranchInstr()
491 if (NO_R6EMU && (insn.i_format.rs || in isBranchInstr()
492 insn.i_format.rt == bgezall_op)) in isBranchInstr()
503 if ((long)regs->regs[insn.i_format.rs] >= 0) in isBranchInstr()
506 (insn.i_format.simmediate << 2); in isBranchInstr()
[all …]
/arch/mips/kvm/
Demulate.c60 switch (insn.i_format.opcode) { in kvm_compute_return_epc()
79 switch (insn.i_format.rt) { in kvm_compute_return_epc()
82 if ((long)arch->gprs[insn.i_format.rs] < 0) in kvm_compute_return_epc()
83 epc = epc + 4 + (insn.i_format.simmediate << 2); in kvm_compute_return_epc()
91 if ((long)arch->gprs[insn.i_format.rs] >= 0) in kvm_compute_return_epc()
92 epc = epc + 4 + (insn.i_format.simmediate << 2); in kvm_compute_return_epc()
101 if ((long)arch->gprs[insn.i_format.rs] < 0) in kvm_compute_return_epc()
102 epc = epc + 4 + (insn.i_format.simmediate << 2); in kvm_compute_return_epc()
111 if ((long)arch->gprs[insn.i_format.rs] >= 0) in kvm_compute_return_epc()
112 epc = epc + 4 + (insn.i_format.simmediate << 2); in kvm_compute_return_epc()
[all …]
/arch/mips/dec/
Dkn01-berr.c105 vaddr = regs->regs[insn.i_format.rs] + in dec_kn01_be_backend()
106 insn.i_format.simmediate; in dec_kn01_be_backend()
/arch/mips/include/uapi/asm/
Dinst.h543 struct i_format { /* signed immediate format */ struct
935 struct i_format i_format; member