Lines Matching refs:cond

141 static inline void _emit(int cond, u32 inst, struct jit_ctx *ctx)  in _emit()  argument
143 inst |= (cond << 28); in _emit()
348 static void emit_load_be32(u8 cond, u8 r_res, u8 r_addr, struct jit_ctx *ctx) in emit_load_be32() argument
350 _emit(cond, ARM_LDRB_I(ARM_R3, r_addr, 1), ctx); in emit_load_be32()
351 _emit(cond, ARM_LDRB_I(ARM_R1, r_addr, 0), ctx); in emit_load_be32()
352 _emit(cond, ARM_LDRB_I(ARM_R2, r_addr, 3), ctx); in emit_load_be32()
353 _emit(cond, ARM_LSL_I(ARM_R3, ARM_R3, 16), ctx); in emit_load_be32()
354 _emit(cond, ARM_LDRB_I(ARM_R0, r_addr, 2), ctx); in emit_load_be32()
355 _emit(cond, ARM_ORR_S(ARM_R3, ARM_R3, ARM_R1, SRTYPE_LSL, 24), ctx); in emit_load_be32()
356 _emit(cond, ARM_ORR_R(ARM_R3, ARM_R3, ARM_R2), ctx); in emit_load_be32()
357 _emit(cond, ARM_ORR_S(r_res, ARM_R3, ARM_R0, SRTYPE_LSL, 8), ctx); in emit_load_be32()
360 static void emit_load_be16(u8 cond, u8 r_res, u8 r_addr, struct jit_ctx *ctx) in emit_load_be16() argument
362 _emit(cond, ARM_LDRB_I(ARM_R1, r_addr, 0), ctx); in emit_load_be16()
363 _emit(cond, ARM_LDRB_I(ARM_R2, r_addr, 1), ctx); in emit_load_be16()
364 _emit(cond, ARM_ORR_S(r_res, ARM_R2, ARM_R1, SRTYPE_LSL, 8), ctx); in emit_load_be16()
384 static void emit_load_be32(u8 cond, u8 r_res, u8 r_addr, struct jit_ctx *ctx) in emit_load_be32() argument
386 _emit(cond, ARM_LDR_I(r_res, r_addr, 0), ctx); in emit_load_be32()
388 _emit(cond, ARM_REV(r_res, r_res), ctx); in emit_load_be32()
392 static void emit_load_be16(u8 cond, u8 r_res, u8 r_addr, struct jit_ctx *ctx) in emit_load_be16() argument
394 _emit(cond, ARM_LDRH_I(r_res, r_addr, 0), ctx); in emit_load_be16()
396 _emit(cond, ARM_REV16(r_res, r_res), ctx); in emit_load_be16()
439 static inline void emit_err_ret(u8 cond, struct jit_ctx *ctx) in emit_err_ret() argument
442 _emit(cond, ARM_B(b_imm(ctx->ret0_fp_idx, ctx)), ctx); in emit_err_ret()
446 _emit(cond, ARM_MOV_I(ARM_R0, 0), ctx); in emit_err_ret()
447 _emit(cond, ARM_B(b_imm(ctx->skf->len, ctx)), ctx); in emit_err_ret()