Home
last modified time | relevance | path

Searched refs:reg1i21_format (Results 1 – 7 of 7) sorted by relevance

/linux/arch/loongarch/kernel/
H A Dalternative.c89 si_l = src->reg1i21_format.immediate_l; in recompute_jump()
90 si_h = src->reg1i21_format.immediate_h; in recompute_jump()
91 switch (src->reg1i21_format.opcode) { in recompute_jump()
93 BUG_ON(buf->reg1i21_format.rj & BIT(4)); in recompute_jump()
103 buf->reg1i21_format.immediate_h = offset >> 16; in recompute_jump()
104 buf->reg1i21_format.immediate_l = offset; in recompute_jump()
H A Dinst.c70 imm_l = insn.reg1i21_format.immediate_l; in simu_branch()
71 imm_h = insn.reg1i21_format.immediate_h; in simu_branch()
72 rj = insn.reg1i21_format.rj; in simu_branch()
73 switch (insn.reg1i21_format.opcode) { in simu_branch()
167 switch (insn.reg1i21_format.opcode) { in insns_not_supported()
H A Dkgdb.c321 rj = ip->reg1i21_format.rj; in get_step_address()
323 si_l = ip->reg1i21_format.immediate_l; in get_step_address()
324 si_h = ip->reg1i21_format.immediate_h; in get_step_address()
326 switch (ip->reg1i21_format.opcode) { in get_step_address()
H A Dmodule.c237 insn->reg1i21_format.immediate_l = opr1 & 0xffff; in apply_r_larch_sop_imm_field()
238 insn->reg1i21_format.immediate_h = (opr1 >> 16) & 0x1f; in apply_r_larch_sop_imm_field()
/linux/tools/arch/loongarch/include/asm/
H A Dinst.h69 struct reg1i21_format { struct
114 struct reg1i21_format reg1i21_format; member
/linux/arch/loongarch/include/asm/
H A Dinst.h282 struct reg1i21_format { struct
365 struct reg1i21_format reg1i21_format; member
435 return ip->reg1i21_format.opcode >= beqz_op && in is_branch_ins()
436 ip->reg1i21_format.opcode <= bgeu_op; in is_branch_ins()
471 switch (ip->reg1i21_format.opcode) { in is_self_loop_ins()
475 if (ip->reg1i21_format.immediate_l == 0 in is_self_loop_ins()
476 && ip->reg1i21_format.immediate_h == 0) in is_self_loop_ins()
/linux/tools/objtool/arch/loongarch/
H A Ddecode.c111 switch (inst.reg1i21_format.opcode) { in decode_insn_reg1i21_fomat()
116 insn->immediate = sign_extend64(inst.reg1i21_format.immediate_h << 16 | in decode_insn_reg1i21_fomat()
117 inst.reg1i21_format.immediate_l, 20); in decode_insn_reg1i21_fomat()