Home
last modified time | relevance | path

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

/linux/arch/loongarch/include/asm/
H A Dinst.h323 struct reg2i16_format { struct
371 struct reg2i16_format reg2i16_format; member
480 switch (ip->reg2i16_format.opcode) { in is_self_loop_ins()
487 if (ip->reg2i16_format.immediate == 0) in is_self_loop_ins()
491 if (regs->regs[ip->reg2i16_format.rj] + in is_self_loop_ins()
492 ((unsigned long)ip->reg2i16_format.immediate << 2) == (unsigned long)ip) in is_self_loop_ins()
686 insn->reg2i16_format.opcode = OP; \
687 insn->reg2i16_format.immediate = offset; \
688 insn->reg2i16_format.rj = rj; \
689 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 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()