Home
last modified time | relevance | path

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

/linux/arch/loongarch/include/asm/
H A Dinst.h335 struct reg2i16_format { struct
383 struct reg2i16_format reg2i16_format; member
493 switch (ip->reg2i16_format.opcode) { in is_self_loop_ins()
500 if (ip->reg2i16_format.immediate == 0) in is_self_loop_ins()
504 if (regs->regs[ip->reg2i16_format.rj] + in is_self_loop_ins()
505 ((unsigned long)ip->reg2i16_format.immediate << 2) == (unsigned long)ip) in is_self_loop_ins()
701 insn->reg2i16_format.opcode = OP; \
702 insn->reg2i16_format.immediate = offset; \
703 insn->reg2i16_format.rj = rj; \
704 insn->reg2i16_format.rd = rd; \
[all …]
/linux/arch/loongarch/kernel/
H A Dalternative.c108 si = src->reg2i16_format.immediate; in recompute_jump()
109 switch (src->reg2i16_format.opcode) { in recompute_jump()
122 buf->reg2i16_format.immediate = offset; in recompute_jump()
141 src[i].reg2i16_format.opcode != jirl_op) { in copy_alt_insns()
H A Dinst.c88 imm = insn.reg2i16_format.immediate; in simu_branch()
89 rj = insn.reg2i16_format.rj; in simu_branch()
90 rd = insn.reg2i16_format.rd; in simu_branch()
91 switch (insn.reg2i16_format.opcode) { in simu_branch()
H A Dkgdb.c344 rj = ip->reg2i16_format.rj; in get_step_address()
345 rd = ip->reg2i16_format.rd; in get_step_address()
346 si = ip->reg2i16_format.immediate; in get_step_address()
347 switch (ip->reg2i16_format.opcode) { in get_step_address()
H A Dmodule.c212 insn->reg2i16_format.immediate = opr1 & 0xffff; in apply_r_larch_sop_imm_field()
221 insn->reg2i16_format.immediate = (opr1 >> 2) & 0xffff; in apply_r_larch_sop_imm_field()