Home
last modified time | relevance | path

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

/openbmc/linux/arch/loongarch/include/asm/
H A Dinst.h306 struct reg2i16_format { struct
347 struct reg2i16_format reg2i16_format; member
451 switch (ip->reg2i16_format.opcode) { in is_self_loop_ins()
458 if (ip->reg2i16_format.immediate == 0) in is_self_loop_ins()
462 if (regs->regs[ip->reg2i16_format.rj] + in is_self_loop_ins()
463 ((unsigned long)ip->reg2i16_format.immediate << 2) == (unsigned long)ip) in is_self_loop_ins()
646 insn->reg2i16_format.opcode = OP; \
647 insn->reg2i16_format.immediate = offset; \
648 insn->reg2i16_format.rj = rj; \
649 insn->reg2i16_format.rd = rd; \
[all …]
/openbmc/linux/arch/loongarch/kernel/
H A Dalternative.c107 si = src->reg2i16_format.immediate; in recompute_jump()
108 switch (src->reg2i16_format.opcode) { in recompute_jump()
121 buf->reg2i16_format.immediate = offset; in recompute_jump()
140 src[i].reg2i16_format.opcode != jirl_op) { in copy_alt_insns()
H A Dinst.c86 imm = insn.reg2i16_format.immediate; in simu_branch()
87 rj = insn.reg2i16_format.rj; in simu_branch()
88 rd = insn.reg2i16_format.rd; in simu_branch()
89 switch (insn.reg2i16_format.opcode) { in simu_branch()
H A Dkgdb.c342 rj = ip->reg2i16_format.rj; in get_step_address()
343 rd = ip->reg2i16_format.rd; in get_step_address()
344 si = ip->reg2i16_format.immediate; in get_step_address()
345 switch (ip->reg2i16_format.opcode) { in get_step_address()
H A Dmodule.c194 insn->reg2i16_format.immediate = opr1 & 0xffff; in apply_r_larch_sop_imm_field()
203 insn->reg2i16_format.immediate = (opr1 >> 2) & 0xffff; in apply_r_larch_sop_imm_field()