Searched refs:reg2i12_format (Results 1 – 9 of 9) sorted by relevance
122 switch (inst.reg2i12_format.opcode) { in decode_insn_reg2i12_fomat() 124 if ((inst.reg2i12_format.rd == CFI_SP) || (inst.reg2i12_format.rj == CFI_SP)) { in decode_insn_reg2i12_fomat() 126 insn->immediate = sign_extend64(inst.reg2i12_format.immediate, 11); in decode_insn_reg2i12_fomat() 129 op->src.reg = inst.reg2i12_format.rj; in decode_insn_reg2i12_fomat() 132 op->dest.reg = inst.reg2i12_format.rd; in decode_insn_reg2i12_fomat() 135 if ((inst.reg2i12_format.rd == CFI_SP) && (inst.reg2i12_format.rj == CFI_FP)) { in decode_insn_reg2i12_fomat() 146 if (inst.reg2i12_format.rj == CFI_SP) { in decode_insn_reg2i12_fomat() 148 insn->immediate = sign_extend64(inst.reg2i12_format in decode_insn_reg2i12_fomat() [all...]
304 struct reg2i12_format { struct364 struct reg2i12_format reg2i12_format; member437 return ip->reg2i12_format.opcode == std_op && in is_ra_save_ins()438 ip->reg2i12_format.rj == LOONGARCH_GPR_SP && in is_ra_save_ins()439 ip->reg2i12_format.rd == LOONGARCH_GPR_RA && in is_ra_save_ins()440 !is_imm12_negative(ip->reg2i12_format.immediate); in is_ra_save_ins()446 return ip->reg2i12_format.opcode == addid_op && in is_stack_alloc_ins()447 ip->reg2i12_format.rj == LOONGARCH_GPR_SP && in is_stack_alloc_ins()448 ip->reg2i12_format.rd == LOONGARCH_GPR_SP && in is_stack_alloc_ins()449 is_imm12_negative(ip->reg2i12_format.immediate); in is_stack_alloc_ins()[all …]
78 struct reg2i12_format { struct105 struct reg2i12_format reg2i12_format; member
145 frame_size = (1 << 12) - ip->reg2i12_format.immediate; in unwind_by_prologue()165 frame_ra = ip->reg2i12_format.immediate; in unwind_by_prologue()
183 insn->reg2i12_format.immediate = opr1 & 0xfff; in apply_r_larch_sop_imm_field()189 insn->reg2i12_format.immediate = opr1 & 0xfff; in apply_r_larch_sop_imm_field()325 insn->reg2i12_format.immediate = v & 0xfff; in apply_r_larch_pcala()337 insn->reg2i12_format.immediate = v & 0xfff; in apply_r_larch_pcala()
80 insn[1].reg2i12_format.immediate = ori; in relocate_absolute()82 insn[3].reg2i12_format.immediate = lu52id; in relocate_absolute()
39 *ra_off = -((1 << 12) - insn->reg2i12_format.immediate); in ftrace_get_parent_ra_addr()
262 switch (insn.reg2i12_format.opcode) { in emulate_load_store_insn()
378 rd = inst.reg2i12_format.rd; in kvm_emu_mmio_read()379 opcode = inst.reg2i12_format.opcode; in kvm_emu_mmio_read()546 rd = inst.reg2i12_format.rd; in kvm_emu_mmio_write()547 opcode = inst.reg2i12_format.opcode; in kvm_emu_mmio_write()