Lines Matching refs:src

1000 …_s32 sljit_emit_return(struct sljit_compiler *compiler, sljit_s32 op, sljit_s32 src, sljit_sw srcw)  in sljit_emit_return()  argument
1006 CHECK(check_sljit_emit_return(compiler, op, src, srcw)); in sljit_emit_return()
1008 FAIL_IF(emit_mov_before_return(compiler, op, src, srcw)); in sljit_emit_return()
1694 sljit_s32 src, sljit_sw srcw) in sljit_emit_op1() argument
1697 CHECK(check_sljit_emit_op1(compiler, op, dst, dstw, src, srcw)); in sljit_emit_op1()
1699 ADJUST_LOCAL_OFFSET(src, srcw); in sljit_emit_op1()
1706 return emit_op(compiler, SLJIT_MOV, ALLOW_ANY_IMM, dst, dstw, TMP_REG1, 0, src, srcw); in sljit_emit_op1()
1709 …piler, SLJIT_MOV_U8, ALLOW_ANY_IMM | BYTE_SIZE, dst, dstw, TMP_REG1, 0, src, (src & SLJIT_IMM) ? (… in sljit_emit_op1()
1712 …JIT_MOV_S8, ALLOW_ANY_IMM | SIGNED | BYTE_SIZE, dst, dstw, TMP_REG1, 0, src, (src & SLJIT_IMM) ? (… in sljit_emit_op1()
1715 …iler, SLJIT_MOV_U16, ALLOW_ANY_IMM | HALF_SIZE, dst, dstw, TMP_REG1, 0, src, (src & SLJIT_IMM) ? (… in sljit_emit_op1()
1718 …IT_MOV_S16, ALLOW_ANY_IMM | SIGNED | HALF_SIZE, dst, dstw, TMP_REG1, 0, src, (src & SLJIT_IMM) ? (… in sljit_emit_op1()
1721 return emit_op(compiler, op, ALLOW_ANY_IMM, dst, dstw, TMP_REG1, 0, src, srcw); in sljit_emit_op1()
1728 …return sljit_emit_op2(compiler, SLJIT_SUB | GET_ALL_FLAGS(op), dst, dstw, SLJIT_IMM, 0, src, srcw); in sljit_emit_op1()
1731 return emit_op(compiler, op, 0, dst, dstw, TMP_REG1, 0, src, srcw); in sljit_emit_op1()
1783 sljit_s32 src, sljit_sw srcw) in sljit_emit_op_src() argument
1786 CHECK(check_sljit_emit_op_src(compiler, op, src, srcw)); in sljit_emit_op_src()
1787 ADJUST_LOCAL_OFFSET(src, srcw); in sljit_emit_op_src()
1793 if (FAST_IS_REG(src)) in sljit_emit_op_src()
1794 FAIL_IF(push_inst(compiler, MOV | RD(TMP_REG2) | RM(src))); in sljit_emit_op_src()
1796 FAIL_IF(emit_op_mem(compiler, WORD_SIZE | LOAD_DATA, TMP_REG2, src, srcw, TMP_REG1)); in sljit_emit_op_src()
1806 SLJIT_ASSERT(src & SLJIT_MEM); in sljit_emit_op_src()
1807 return emit_op_mem(compiler, PRELOAD | LOAD_DATA, TMP_PC, src, srcw, TMP_REG1); in sljit_emit_op_src()
1894 sljit_s32 src, sljit_sw srcw) in sljit_emit_fop1_conv_sw_from_f64() argument
1898 if (src & SLJIT_MEM) { in sljit_emit_fop1_conv_sw_from_f64()
1899 FAIL_IF(emit_fop_mem(compiler, (op & SLJIT_F32_OP) | FPU_LOAD, TMP_FREG1, src, srcw)); in sljit_emit_fop1_conv_sw_from_f64()
1900 src = TMP_FREG1; in sljit_emit_fop1_conv_sw_from_f64()
1903 …FAIL_IF(push_inst(compiler, EMIT_FPU_OPERATION(VCVT_S32_F32, op & SLJIT_F32_OP, TMP_FREG1, src, 0)… in sljit_emit_fop1_conv_sw_from_f64()
1914 sljit_s32 src, sljit_sw srcw) in sljit_emit_fop1_conv_f64_from_sw() argument
1920 if (FAST_IS_REG(src)) in sljit_emit_fop1_conv_f64_from_sw()
1921 FAIL_IF(push_inst(compiler, VMOV | RD(src) | (freg_map[TMP_FREG1] << 16))); in sljit_emit_fop1_conv_f64_from_sw()
1922 else if (src & SLJIT_MEM) { in sljit_emit_fop1_conv_f64_from_sw()
1924 FAIL_IF(emit_fop_mem(compiler, FPU_LOAD, TMP_FREG1, src, srcw)); in sljit_emit_fop1_conv_f64_from_sw()
1960 sljit_s32 src, sljit_sw srcw) in sljit_emit_fop1() argument
1967 SELECT_FOP1_OPERATION_WITH_CHECKS(compiler, op, dst, dstw, src, srcw); in sljit_emit_fop1()
1974 if (src & SLJIT_MEM) { in sljit_emit_fop1()
1975 FAIL_IF(emit_fop_mem(compiler, (op & SLJIT_F32_OP) | FPU_LOAD, dst_r, src, srcw)); in sljit_emit_fop1()
1976 src = dst_r; in sljit_emit_fop1()
1981 if (src != dst_r) { in sljit_emit_fop1()
1983 FAIL_IF(push_inst(compiler, EMIT_FPU_OPERATION(VMOV_F32, op & SLJIT_F32_OP, dst_r, src, 0))); in sljit_emit_fop1()
1985 dst_r = src; in sljit_emit_fop1()
1989 FAIL_IF(push_inst(compiler, EMIT_FPU_OPERATION(VNEG_F32, op & SLJIT_F32_OP, dst_r, src, 0))); in sljit_emit_fop1()
1992 FAIL_IF(push_inst(compiler, EMIT_FPU_OPERATION(VABS_F32, op & SLJIT_F32_OP, dst_r, src, 0))); in sljit_emit_fop1()
1995 FAIL_IF(push_inst(compiler, EMIT_FPU_OPERATION(VCVT_F64_F32, op & SLJIT_F32_OP, dst_r, src, 0))); in sljit_emit_fop1()
2197 …_s32 softfloat_call_with_args(struct sljit_compiler *compiler, sljit_s32 arg_types, sljit_s32 *src) in softfloat_call_with_args() argument
2207 if (src && FAST_IS_REG(*src)) in softfloat_call_with_args()
2208 src_offset = reg_map[*src] * sizeof(sljit_sw); in softfloat_call_with_args()
2255 *src = TMP_REG1; in softfloat_call_with_args()
2271 *src = TMP_REG1; in softfloat_call_with_args()
2288 *src = TMP_REG1; in softfloat_call_with_args()
2291 *src = 1 + (stack_offset >> 2); in softfloat_call_with_args()
2430 …s32 sljit_emit_ijump(struct sljit_compiler *compiler, sljit_s32 type, sljit_s32 src, sljit_sw srcw) in sljit_emit_ijump() argument
2435 CHECK(check_sljit_emit_ijump(compiler, type, src, srcw)); in sljit_emit_ijump()
2436 ADJUST_LOCAL_OFFSET(src, srcw); in sljit_emit_ijump()
2440 if (!(src & SLJIT_IMM)) { in sljit_emit_ijump()
2441 if (FAST_IS_REG(src)) { in sljit_emit_ijump()
2442 SLJIT_ASSERT(reg_map[src] != 14); in sljit_emit_ijump()
2443 return push_inst(compiler, (type <= SLJIT_JUMP ? BX : BLX) | RM(src)); in sljit_emit_ijump()
2446 SLJIT_ASSERT(src & SLJIT_MEM); in sljit_emit_ijump()
2447 FAIL_IF(emit_op_mem(compiler, WORD_SIZE | LOAD_DATA, TMP_REG1, src, srcw, TMP_REG1)); in sljit_emit_ijump()
2473 sljit_s32 src, sljit_sw srcw) in sljit_emit_icall() argument
2476 CHECK(check_sljit_emit_icall(compiler, type, arg_types, src, srcw)); in sljit_emit_icall()
2479 if (src & SLJIT_MEM) { in sljit_emit_icall()
2480 FAIL_IF(emit_op_mem(compiler, WORD_SIZE | LOAD_DATA, TMP_REG1, src, srcw, TMP_REG1)); in sljit_emit_icall()
2481 src = TMP_REG1; in sljit_emit_icall()
2484 FAIL_IF(softfloat_call_with_args(compiler, arg_types, &src)); in sljit_emit_icall()
2491 FAIL_IF(sljit_emit_ijump(compiler, type, src, srcw)); in sljit_emit_icall()
2502 return sljit_emit_ijump(compiler, type, src, srcw); in sljit_emit_icall()
2549 sljit_s32 src, sljit_sw srcw) in sljit_emit_cmov() argument
2554 CHECK(check_sljit_emit_cmov(compiler, type, dst_reg, src, srcw)); in sljit_emit_cmov()
2560 if (SLJIT_UNLIKELY(src & SLJIT_IMM)) { in sljit_emit_cmov()
2577 src = TMP_REG1; in sljit_emit_cmov()
2581 return push_inst(compiler, ((MOV | RD(dst_reg) | RM(src)) & ~COND_MASK) | cc); in sljit_emit_cmov()