Lines Matching refs:cond
116 static inline void _emit(int cond, u32 inst, struct jit_ctx *ctx) in _emit() argument
118 inst |= (cond << 28); in _emit()
323 static void emit_load_be32(u8 cond, u8 r_res, u8 r_addr, struct jit_ctx *ctx) in emit_load_be32() argument
325 _emit(cond, ARM_LDRB_I(ARM_R3, r_addr, 1), ctx); in emit_load_be32()
326 _emit(cond, ARM_LDRB_I(ARM_R1, r_addr, 0), ctx); in emit_load_be32()
327 _emit(cond, ARM_LDRB_I(ARM_R2, r_addr, 3), ctx); in emit_load_be32()
328 _emit(cond, ARM_LSL_I(ARM_R3, ARM_R3, 16), ctx); in emit_load_be32()
329 _emit(cond, ARM_LDRB_I(ARM_R0, r_addr, 2), ctx); in emit_load_be32()
330 _emit(cond, ARM_ORR_S(ARM_R3, ARM_R3, ARM_R1, SRTYPE_LSL, 24), ctx); in emit_load_be32()
331 _emit(cond, ARM_ORR_R(ARM_R3, ARM_R3, ARM_R2), ctx); in emit_load_be32()
332 _emit(cond, ARM_ORR_S(r_res, ARM_R3, ARM_R0, SRTYPE_LSL, 8), ctx); in emit_load_be32()
335 static void emit_load_be16(u8 cond, u8 r_res, u8 r_addr, struct jit_ctx *ctx) in emit_load_be16() argument
337 _emit(cond, ARM_LDRB_I(ARM_R1, r_addr, 0), ctx); in emit_load_be16()
338 _emit(cond, ARM_LDRB_I(ARM_R2, r_addr, 1), ctx); in emit_load_be16()
339 _emit(cond, ARM_ORR_S(r_res, ARM_R2, ARM_R1, SRTYPE_LSL, 8), ctx); in emit_load_be16()
359 static void emit_load_be32(u8 cond, u8 r_res, u8 r_addr, struct jit_ctx *ctx) in emit_load_be32() argument
361 _emit(cond, ARM_LDR_I(r_res, r_addr, 0), ctx); in emit_load_be32()
363 _emit(cond, ARM_REV(r_res, r_res), ctx); in emit_load_be32()
367 static void emit_load_be16(u8 cond, u8 r_res, u8 r_addr, struct jit_ctx *ctx) in emit_load_be16() argument
369 _emit(cond, ARM_LDRH_I(r_res, r_addr, 0), ctx); in emit_load_be16()
371 _emit(cond, ARM_REV16(r_res, r_res), ctx); in emit_load_be16()
414 static inline void emit_err_ret(u8 cond, struct jit_ctx *ctx) in emit_err_ret() argument
417 _emit(cond, ARM_B(b_imm(ctx->ret0_fp_idx, ctx)), ctx); in emit_err_ret()
421 _emit(cond, ARM_MOV_I(ARM_R0, 0), ctx); in emit_err_ret()
422 _emit(cond, ARM_B(b_imm(ctx->skf->len, ctx)), ctx); in emit_err_ret()