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.c88 si_l = src->reg1i21_format.immediate_l; in recompute_jump()
89 si_h = src->reg1i21_format.immediate_h; in recompute_jump()
90 switch (src->reg1i21_format.opcode) { in recompute_jump()
92 BUG_ON(buf->reg1i21_format.rj & BIT(4)); in recompute_jump()
102 buf->reg1i21_format.immediate_h = offset >> 16; in recompute_jump()
103 buf->reg1i21_format.immediate_l = offset; in recompute_jump()
H A Dinst.c68 imm_l = insn.reg1i21_format.immediate_l; in simu_branch()
69 imm_h = insn.reg1i21_format.immediate_h; in simu_branch()
70 rj = insn.reg1i21_format.rj; in simu_branch()
71 switch (insn.reg1i21_format.opcode) { in simu_branch()
153 switch (insn.reg1i21_format.opcode) { in insns_not_supported()
H A Dkgdb.c320 rj = ip->reg1i21_format.rj; in get_step_address()
322 si_l = ip->reg1i21_format.immediate_l; in get_step_address()
323 si_h = ip->reg1i21_format.immediate_h; in get_step_address()
325 switch (ip->reg1i21_format.opcode) { in get_step_address()
H A Dmodule.c220 insn->reg1i21_format.immediate_l = opr1 & 0xffff; in apply_r_larch_sop_imm_field()
221 insn->reg1i21_format.immediate_h = (opr1 >> 16) & 0x1f; in apply_r_larch_sop_imm_field()
/linux/tools/arch/loongarch/include/asm/
H A Dinst.h65 struct reg1i21_format { struct
103 struct reg1i21_format reg1i21_format; member
/linux/arch/loongarch/include/asm/
H A Dinst.h277 struct reg1i21_format { struct
360 struct reg1i21_format reg1i21_format; member
430 return ip->reg1i21_format.opcode >= beqz_op && in is_branch_ins()
431 ip->reg1i21_format.opcode <= bgeu_op; in is_branch_ins()
462 switch (ip->reg1i21_format.opcode) { in is_self_loop_ins()
466 if (ip->reg1i21_format.immediate_l == 0 in is_self_loop_ins()
467 && ip->reg1i21_format.immediate_h == 0) in is_self_loop_ins()
/linux/tools/objtool/arch/loongarch/
H A Ddecode.c102 switch (inst.reg1i21_format.opcode) { in decode_insn_reg1i21_fomat()
107 insn->immediate = sign_extend64(inst.reg1i21_format.immediate_h << 16 | in decode_insn_reg1i21_fomat()
108 inst.reg1i21_format.immediate_l, 20); in decode_insn_reg1i21_fomat()