Home
last modified time | relevance | path

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

/openbmc/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.c219 insn->reg1i21_format.immediate_l = opr1 & 0xffff; in apply_r_larch_sop_imm_field()
220 insn->reg1i21_format.immediate_h = (opr1 >> 16) & 0x1f; in apply_r_larch_sop_imm_field()
/openbmc/linux/arch/loongarch/include/asm/
H A Dinst.h265 struct reg1i21_format { struct
341 struct reg1i21_format reg1i21_format; member
410 return ip->reg1i21_format.opcode >= beqz_op && in is_branch_ins()
411 ip->reg1i21_format.opcode <= bgeu_op; in is_branch_ins()
442 switch (ip->reg1i21_format.opcode) { in is_self_loop_ins()
446 if (ip->reg1i21_format.immediate_l == 0 in is_self_loop_ins()
447 && ip->reg1i21_format.immediate_h == 0) in is_self_loop_ins()