Lines Matching refs:rj
170 enum loongarch_gpr rj) in move_reg() argument
172 emit_insn(ctx, or, rd, rj, LOONGARCH_GPR_ZERO); in move_reg()
203 static inline void cond_jmp_offset(struct jit_ctx *ctx, u8 cond, enum loongarch_gpr rj, in cond_jmp_offset() argument
209 emit_insn(ctx, beq, rj, rd, jmp_offset); in cond_jmp_offset()
214 emit_insn(ctx, bne, rj, rd, jmp_offset); in cond_jmp_offset()
218 emit_insn(ctx, bltu, rd, rj, jmp_offset); in cond_jmp_offset()
222 emit_insn(ctx, bltu, rj, rd, jmp_offset); in cond_jmp_offset()
226 emit_insn(ctx, bgeu, rj, rd, jmp_offset); in cond_jmp_offset()
230 emit_insn(ctx, bgeu, rd, rj, jmp_offset); in cond_jmp_offset()
234 emit_insn(ctx, blt, rd, rj, jmp_offset); in cond_jmp_offset()
238 emit_insn(ctx, blt, rj, rd, jmp_offset); in cond_jmp_offset()
242 emit_insn(ctx, bge, rj, rd, jmp_offset); in cond_jmp_offset()
246 emit_insn(ctx, bge, rd, rj, jmp_offset); in cond_jmp_offset()
251 static inline void cond_jmp_offs26(struct jit_ctx *ctx, u8 cond, enum loongarch_gpr rj, in cond_jmp_offs26() argument
255 cond_jmp_offset(ctx, cond, rj, rd, 2); in cond_jmp_offs26()
264 static inline int emit_cond_jmp(struct jit_ctx *ctx, u8 cond, enum loongarch_gpr rj, in emit_cond_jmp() argument
279 cond_jmp_offs26(ctx, cond, rj, rd, jmp_offset); in emit_cond_jmp()
296 static inline int emit_tailcall_jmp(struct jit_ctx *ctx, u8 cond, enum loongarch_gpr rj, in emit_tailcall_jmp() argument
300 cond_jmp_offset(ctx, cond, rj, rd, jmp_offset); in emit_tailcall_jmp()