Lines Matching defs:cond
684 static inline int invert_jump_cond(u8 cond)
686 switch (cond) {
712 static inline void cond_jump_offs16(struct jit_ctx *ctx, u8 cond, enum loongarch_gpr rj,
715 switch (cond) {
760 static inline void cond_jump_offs26(struct jit_ctx *ctx, u8 cond, enum loongarch_gpr rj,
763 cond = invert_jump_cond(cond);
764 cond_jump_offs16(ctx, cond, rj, rd, 2);
768 static inline void cond_jump_offs32(struct jit_ctx *ctx, u8 cond, enum loongarch_gpr rj,
776 cond = invert_jump_cond(cond);
777 cond_jump_offs16(ctx, cond, rj, rd, 3);
814 static inline void emit_cond_jump(struct jit_ctx *ctx, u8 cond, enum loongarch_gpr rj,
818 cond_jump_offs16(ctx, cond, rj, rd, jmp_offset);
820 cond_jump_offs26(ctx, cond, rj, rd, jmp_offset);
822 cond_jump_offs32(ctx, cond, rj, rd, jmp_offset);
833 static inline void emit_tailcall_jump(struct jit_ctx *ctx, u8 cond, enum loongarch_gpr rj,
837 cond_jump_offs16(ctx, cond, rj, rd, jmp_offset);
839 cond_jump_offs26(ctx, cond, rj, rd, jmp_offset - 1);
841 cond_jump_offs32(ctx, cond, rj, rd, jmp_offset - 2);