Home
last modified time | relevance | path

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

/linux/tools/arch/loongarch/include/asm/
H A Dinst.h96 struct reg2i16_format { struct
118 struct reg2i16_format reg2i16_format; argument
165 insn->reg2i16_format.opcode = OP; \
166 insn->reg2i16_format.immediate = offset; \
167 insn->reg2i16_format.rj = rj; \
168 insn->reg2i16_format.rd = rd; \
/linux/tools/objtool/arch/loongarch/
H A Ddecode.c241 switch (inst.reg2i16_format.opcode) { in decode_insn_reg2i16_fomat()
243 if (inst.reg2i16_format.rd == 0 && in decode_insn_reg2i16_fomat()
244 inst.reg2i16_format.rj == CFI_RA && in decode_insn_reg2i16_fomat()
245 inst.reg2i16_format.immediate == 0) { in decode_insn_reg2i16_fomat()
248 } else if (inst.reg2i16_format.rd == CFI_RA) { in decode_insn_reg2i16_fomat()
251 } else if (inst.reg2i16_format.rd == CFI_A0 && in decode_insn_reg2i16_fomat()
252 inst.reg2i16_format.immediate == 0) { in decode_insn_reg2i16_fomat()
259 } else if (inst.reg2i16_format.rd == 0 && in decode_insn_reg2i16_fomat()
260 inst.reg2i16_format.immediate == 0) { in decode_insn_reg2i16_fomat()
263 } else if (inst.reg2i16_format.rd == 0 && in decode_insn_reg2i16_fomat()
[all …]
/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 Dkgdb.c343 rj = ip->reg2i16_format.rj; in get_step_address()
344 rd = ip->reg2i16_format.rd; in get_step_address()
345 si = ip->reg2i16_format.immediate; in get_step_address()
346 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()