| /linux/arch/loongarch/include/asm/ |
| H A D | inst.h | 284 unsigned int rj : 5; member 291 unsigned int rj : 5; member 297 unsigned int rj : 5; member 304 unsigned int rj : 5; member 311 unsigned int rj : 5; member 318 unsigned int rj : 5; member 325 unsigned int rj : 5; member 332 unsigned int rj : 5; member 340 unsigned int rj : 5; member 347 unsigned int rj : 5; member [all …]
|
| /linux/arch/loongarch/kernel/ |
| H A D | inst.c | 50 unsigned int imm, imm_l, imm_h, rd, rj; in simu_branch() local 72 rj = insn.reg1i21_format.rj; in simu_branch() 75 if (regs->regs[rj] == 0) in simu_branch() 81 if (regs->regs[rj] != 0) in simu_branch() 89 rj = insn.reg2i16_format.rj; in simu_branch() 93 if (regs->regs[rj] == regs->regs[rd]) in simu_branch() 99 if (regs->regs[rj] != regs->regs[rd]) in simu_branch() 105 if ((long)regs->regs[rj] < (long)regs->regs[rd]) in simu_branch() 111 if ((long)regs->regs[rj] >= (long)regs->regs[rd]) in simu_branch() 117 if (regs->regs[rj] < regs->regs[rd]) in simu_branch() [all …]
|
| H A D | kgdb.c | 298 unsigned int si, si_l, si_h, rd, rj, cj; in get_step_address() local 321 rj = ip->reg1i21_format.rj; in get_step_address() 322 cj = (rj & 0x07) + DBG_FCC_BASE; in get_step_address() 328 if (regs->regs[rj] == 0) in get_step_address() 332 if (regs->regs[rj] != 0) in get_step_address() 336 if (((rj & 0x18) == 0x00) && !cj_val) /* bceqz */ in get_step_address() 338 if (((rj & 0x18) == 0x08) && cj_val) /* bcnez */ in get_step_address() 343 rj = ip->reg2i16_format.rj; in get_step_address() 348 if (regs->regs[rj] == regs->regs[rd]) in get_step_address() 352 if (regs->regs[rj] != regs->regs[rd]) in get_step_address() [all …]
|
| H A D | traps.c | 656 badv = regs->regs[insn.reg3_format.rj]; in do_bce() 663 badv = regs->regs[insn.reg3_format.rj]; in do_bce() 679 badv = regs->regs[insn.reg3_format.rj]; in do_bce() 695 badv = regs->regs[insn.reg3_format.rj]; in do_bce()
|
| H A D | alternative.c | 93 BUG_ON(buf->reg1i21_format.rj & BIT(4)); in recompute_jump()
|
| /linux/arch/loongarch/net/ |
| H A D | bpf_jit.h | 204 enum loongarch_gpr rj) in move_reg() argument 206 emit_insn(ctx, or, rd, rj, LOONGARCH_GPR_ZERO); in move_reg() 237 static inline void cond_jmp_offset(struct jit_ctx *ctx, u8 cond, enum loongarch_gpr rj, in cond_jmp_offset() argument 243 emit_insn(ctx, beq, rj, rd, jmp_offset); in cond_jmp_offset() 248 emit_insn(ctx, bne, rj, rd, jmp_offset); in cond_jmp_offset() 252 emit_insn(ctx, bltu, rd, rj, jmp_offset); in cond_jmp_offset() 256 emit_insn(ctx, bltu, rj, rd, jmp_offset); in cond_jmp_offset() 260 emit_insn(ctx, bgeu, rj, rd, jmp_offset); in cond_jmp_offset() 264 emit_insn(ctx, bgeu, rd, rj, jmp_offset); in cond_jmp_offset() 268 emit_insn(ctx, blt, rd, rj, jmp_offset); in cond_jmp_offset() [all …]
|
| H A D | bpf_jit.c | 1585 static void sign_extend(struct jit_ctx *ctx, int rd, int rj, u8 size, bool sign) in sign_extend() argument 1589 if (rd != rj) in sign_extend() 1590 move_reg(ctx, rd, rj); in sign_extend() 1596 emit_insn(ctx, extwb, rd, rj); in sign_extend() 1599 emit_insn(ctx, extwh, rd, rj); in sign_extend() 1602 emit_insn(ctx, addiw, rd, rj, 0); in sign_extend() 1605 if (rd != rj) in sign_extend() 1606 move_reg(ctx, rd, rj); in sign_extend()
|
| /linux/tools/arch/loongarch/include/asm/ |
| H A D | inst.h | 71 unsigned int rj : 5; member 78 unsigned int rj : 5; member 84 unsigned int rj : 5; member 91 unsigned int rj : 5; member 98 unsigned int rj : 5; member 105 unsigned int rj : 5; member 161 enum loongarch_gpr rj, \ 167 insn->reg2i16_format.rj = rj; \
|
| /linux/tools/objtool/arch/loongarch/ |
| H A D | decode.c | 133 if ((inst.reg2i12_format.rd == CFI_SP) || (inst.reg2i12_format.rj == CFI_SP)) { in decode_insn_reg2i12_fomat() 138 op->src.reg = inst.reg2i12_format.rj; in decode_insn_reg2i12_fomat() 144 if ((inst.reg2i12_format.rd == CFI_SP) && (inst.reg2i12_format.rj == CFI_FP)) { in decode_insn_reg2i12_fomat() 155 if (inst.reg2i12_format.rj == CFI_SP) { in decode_insn_reg2i12_fomat() 168 if (inst.reg2i12_format.rj == CFI_SP) { in decode_insn_reg2i12_fomat() 182 inst.reg2i12_format.rj == 0 && in decode_insn_reg2i12_fomat() 201 if (inst.reg2i14_format.rj == CFI_SP) { in decode_insn_reg2i14_fomat() 214 if (inst.reg2i14_format.rj == CFI_SP) { in decode_insn_reg2i14_fomat() 244 inst.reg2i16_format.rj == CFI_RA && in decode_insn_reg2i16_fomat() 300 inst.reg3_format.rj == LOONGARCH_GPR_ZERO) { in decode_insn_reg3_fomat()
|
| /linux/arch/loongarch/kvm/ |
| H A D | exit.c | 26 int rd, rj; in kvm_emu_cpucfg() local 33 rj = inst.reg2_format.rj; in kvm_emu_cpucfg() 35 index = vcpu->arch.gprs[rj]; in kvm_emu_cpucfg() 115 unsigned int rd, rj, csrid; in kvm_handle_csr() local 125 rj = inst.reg2csr_format.rj; in kvm_handle_csr() 137 switch (rj) { in kvm_handle_csr() 149 csr_mask = vcpu->arch.gprs[rj]; in kvm_handle_csr() 161 u32 addr, rd, rj, opcode; in kvm_emu_iocsr() local 167 rj = inst.reg2_format.rj; in kvm_emu_iocsr() 169 addr = vcpu->arch.gprs[rj]; in kvm_emu_iocsr()
|
| /linux/scripts/ |
| H A D | check_extable.sh | 15 suspicious_relocs=$(objdump -rj __ex_table ${obj} | tail -n +6 | 55 …eval $(objdump -rj .altinstructions ${obj} | grep -B1 "${section}+${section_offset}" | head -n1 | …
|
| /linux/ |
| H A D | MAINTAINERS | 22445 M: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> 22453 M: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> 22527 M: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> 22551 M: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
|