Home
last modified time | relevance | path

Searched refs:reg2i12_format (Results 1 – 6 of 6) sorted by relevance

/Linux-v6.6/arch/loongarch/include/asm/
Dinst.h292 struct reg2i12_format { struct
345 struct reg2i12_format reg2i12_format; member
417 return ip->reg2i12_format.opcode == std_op && in is_ra_save_ins()
418 ip->reg2i12_format.rj == LOONGARCH_GPR_SP && in is_ra_save_ins()
419 ip->reg2i12_format.rd == LOONGARCH_GPR_RA && in is_ra_save_ins()
420 !is_imm12_negative(ip->reg2i12_format.immediate); in is_ra_save_ins()
426 return ip->reg2i12_format.opcode == addid_op && in is_stack_alloc_ins()
427 ip->reg2i12_format.rj == LOONGARCH_GPR_SP && in is_stack_alloc_ins()
428 ip->reg2i12_format.rd == LOONGARCH_GPR_SP && in is_stack_alloc_ins()
429 is_imm12_negative(ip->reg2i12_format.immediate); in is_stack_alloc_ins()
[all …]
/Linux-v6.6/arch/loongarch/kernel/
Drelocate.c63 insn[1].reg2i12_format.immediate = ori; in relocate_absolute()
65 insn[3].reg2i12_format.immediate = lu52id; in relocate_absolute()
Dunwind_prologue.c145 frame_size = (1 << 12) - ip->reg2i12_format.immediate; in unwind_by_prologue()
165 frame_ra = ip->reg2i12_format.immediate; in unwind_by_prologue()
Dftrace.c39 *ra_off = -((1 << 12) - insn->reg2i12_format.immediate); in ftrace_get_parent_ra_addr()
Dmodule.c182 insn->reg2i12_format.immediate = opr1 & 0xfff; in apply_r_larch_sop_imm_field()
188 insn->reg2i12_format.immediate = opr1 & 0xfff; in apply_r_larch_sop_imm_field()
324 insn->reg2i12_format.immediate = v & 0xfff; in apply_r_larch_pcala()
336 insn->reg2i12_format.immediate = v & 0xfff; in apply_r_larch_pcala()
Dunaligned.c262 switch (insn.reg2i12_format.opcode) { in emulate_load_store_insn()