Lines Matching refs:src

651 …jit_si sljit_emit_return(struct sljit_compiler *compiler, sljit_si op, sljit_si src, sljit_sw srcw)  in sljit_emit_return()  argument
656 CHECK(check_sljit_emit_return(compiler, op, src, srcw)); in sljit_emit_return()
658 FAIL_IF(emit_mov_before_return(compiler, op, src, srcw)); in sljit_emit_return()
1294 …emit_op(compiler, (src & SLJIT_IMM) ? SLJIT_MOV : type, flags | (type_flags), dst, dstw, TMP_REG1,…
1298 sljit_si src, sljit_sw srcw) in sljit_emit_op1() argument
1304 CHECK(check_sljit_emit_op1(compiler, op, dst, dstw, src, srcw)); in sljit_emit_op1()
1306 ADJUST_LOCAL_OFFSET(src, srcw); in sljit_emit_op1()
1309 if ((src & SLJIT_IMM) && srcw == 0) in sljit_emit_op1()
1310 src = TMP_ZERO; in sljit_emit_op1()
1317 if (FAST_IS_REG(src) && src == dst) { in sljit_emit_op1()
1322 if (op == SLJIT_MOV_SI && (src & SLJIT_MEM)) in sljit_emit_op1()
1324 if (op == SLJIT_MOVU_SI && (src & SLJIT_MEM)) in sljit_emit_op1()
1326 if (op == SLJIT_MOV_UI && (src & SLJIT_IMM)) in sljit_emit_op1()
1328 if (op == SLJIT_MOVU_UI && (src & SLJIT_IMM)) in sljit_emit_op1()
1336 if (src & SLJIT_IMM) in sljit_emit_op1()
1349 return emit_op(compiler, SLJIT_MOV, flags | WORD_DATA, dst, dstw, TMP_REG1, 0, src, srcw); in sljit_emit_op1()
1377 …return emit_op(compiler, SLJIT_MOV, flags | WORD_DATA | WRITE_BACK, dst, dstw, TMP_REG1, 0, src, s… in sljit_emit_op1()
1400 return emit_op(compiler, SLJIT_NOT, flags, dst, dstw, TMP_REG1, 0, src, srcw); in sljit_emit_op1()
1403 return emit_op(compiler, SLJIT_NEG, flags, dst, dstw, TMP_REG1, 0, src, srcw); in sljit_emit_op1()
1407 …LJIT_CLZ, flags | (!(op_flags & SLJIT_INT_OP) ? 0 : ALT_FORM1), dst, dstw, TMP_REG1, 0, src, srcw); in sljit_emit_op1()
1409 return emit_op(compiler, SLJIT_CLZ, flags, dst, dstw, TMP_REG1, 0, src, srcw); in sljit_emit_op1()
1418 #define TEST_SL_IMM(src, srcw) \ argument
1419 (((src) & SLJIT_IMM) && (srcw) <= SIMM_MAX && (srcw) >= SIMM_MIN)
1421 #define TEST_UL_IMM(src, srcw) \ argument
1422 (((src) & SLJIT_IMM) && !((srcw) & ~0xffff))
1425 #define TEST_SH_IMM(src, srcw) \ argument
1426 (((src) & SLJIT_IMM) && !((srcw) & 0xffff) && (srcw) <= 0x7fffffffl && (srcw) >= -0x80000000l)
1428 #define TEST_SH_IMM(src, srcw) \ argument
1429 (((src) & SLJIT_IMM) && !((srcw) & 0xffff))
1432 #define TEST_UH_IMM(src, srcw) \ argument
1433 (((src) & SLJIT_IMM) && !((srcw) & ~0xffff0000))
1436 #define TEST_ADD_IMM(src, srcw) \ argument
1437 (((src) & SLJIT_IMM) && (srcw) <= 0x7fff7fffl && (srcw) >= -0x80000000l)
1439 #define TEST_ADD_IMM(src, srcw) \ argument
1440 ((src) & SLJIT_IMM)
1444 #define TEST_UI_IMM(src, srcw) \ argument
1445 (((src) & SLJIT_IMM) && !((srcw) & ~0xffffffff))
1447 #define TEST_UI_IMM(src, srcw) \ argument
1448 ((src) & SLJIT_IMM)
1714 sljit_si src, sljit_sw srcw) in sljit_emit_fop1_convw_fromd() argument
1716 if (src & SLJIT_MEM) { in sljit_emit_fop1_convw_fromd()
1718 FAIL_IF(emit_op_mem2(compiler, FLOAT_DATA(op) | LOAD_DATA, TMP_FREG1, src, srcw, dst, dstw)); in sljit_emit_fop1_convw_fromd()
1719 src = TMP_FREG1; in sljit_emit_fop1_convw_fromd()
1724 …FAIL_IF(push_inst(compiler, (op == SLJIT_CONVI_FROMD ? FCTIWZ : FCTIDZ) | FD(TMP_FREG1) | FB(src))… in sljit_emit_fop1_convw_fromd()
1738 FAIL_IF(push_inst(compiler, FCTIWZ | FD(TMP_FREG1) | FB(src))); in sljit_emit_fop1_convw_fromd()
1782 sljit_si src, sljit_sw srcw) in sljit_emit_fop1_convd_fromw() argument
1788 if (src & SLJIT_IMM) { in sljit_emit_fop1_convd_fromw()
1792 src = TMP_REG1; in sljit_emit_fop1_convd_fromw()
1795 if (FAST_IS_REG(src)) in sljit_emit_fop1_convd_fromw()
1796 FAIL_IF(push_inst(compiler, EXTSW | S(src) | A(TMP_REG1))); in sljit_emit_fop1_convd_fromw()
1798 …FAIL_IF(emit_op_mem2(compiler, INT_DATA | SIGNED_DATA | LOAD_DATA, TMP_REG1, src, srcw, SLJIT_MEM1… in sljit_emit_fop1_convd_fromw()
1799 src = TMP_REG1; in sljit_emit_fop1_convd_fromw()
1802 if (FAST_IS_REG(src)) { in sljit_emit_fop1_convd_fromw()
1803 …FAIL_IF(emit_op_mem2(compiler, WORD_DATA, src, SLJIT_MEM1(SLJIT_SP), FLOAT_TMP_MEM_OFFSET, SLJIT_M… in sljit_emit_fop1_convd_fromw()
1807 FAIL_IF(emit_op_mem2(compiler, DOUBLE_DATA | LOAD_DATA, TMP_FREG1, src, srcw, dst, dstw)); in sljit_emit_fop1_convd_fromw()
1822 if (src & SLJIT_IMM) { in sljit_emit_fop1_convd_fromw()
1824 src = TMP_REG1; in sljit_emit_fop1_convd_fromw()
1827 else if (!FAST_IS_REG(src)) { in sljit_emit_fop1_convd_fromw()
1828 …FAIL_IF(emit_op_mem2(compiler, WORD_DATA | SIGNED_DATA | LOAD_DATA, TMP_REG1, src, srcw, SLJIT_MEM… in sljit_emit_fop1_convd_fromw()
1829 src = TMP_REG1; in sljit_emit_fop1_convd_fromw()
1839 FAIL_IF(push_inst(compiler, XORIS | S(src) | A(TMP_REG1) | 0x8000)); in sljit_emit_fop1_convd_fromw()
1877 sljit_si src, sljit_sw srcw) in sljit_emit_fop1() argument
1886 SELECT_FOP1_OPERATION_WITH_CHECKS(compiler, op, dst, dstw, src, srcw); in sljit_emit_fop1()
1893 if (src & SLJIT_MEM) { in sljit_emit_fop1()
1894 FAIL_IF(emit_op_mem2(compiler, FLOAT_DATA(op) | LOAD_DATA, dst_r, src, srcw, dst, dstw)); in sljit_emit_fop1()
1895 src = dst_r; in sljit_emit_fop1()
1902 FAIL_IF(push_inst(compiler, FRSP | FD(dst_r) | FB(src))); in sljit_emit_fop1()
1907 if (src != dst_r) { in sljit_emit_fop1()
1909 FAIL_IF(push_inst(compiler, FMR | FD(dst_r) | FB(src))); in sljit_emit_fop1()
1911 dst_r = src; in sljit_emit_fop1()
1915 FAIL_IF(push_inst(compiler, FNEG | FD(dst_r) | FB(src))); in sljit_emit_fop1()
1918 FAIL_IF(push_inst(compiler, FABS | FD(dst_r) | FB(src))); in sljit_emit_fop1()
2030 …IBUTE sljit_si sljit_emit_fast_return(struct sljit_compiler *compiler, sljit_si src, sljit_sw srcw) in sljit_emit_fast_return() argument
2033 CHECK(check_sljit_emit_fast_return(compiler, src, srcw)); in sljit_emit_fast_return()
2034 ADJUST_LOCAL_OFFSET(src, srcw); in sljit_emit_fast_return()
2036 if (FAST_IS_REG(src)) in sljit_emit_fast_return()
2037 FAIL_IF(push_inst(compiler, MTLR | S(src))); in sljit_emit_fast_return()
2039 if (src & SLJIT_MEM) in sljit_emit_fast_return()
2040 FAIL_IF(emit_op(compiler, SLJIT_MOV, WORD_DATA, TMP_REG2, 0, TMP_REG1, 0, src, srcw)); in sljit_emit_fast_return()
2041 else if (src & SLJIT_IMM) in sljit_emit_fast_return()
2163 …it_si sljit_emit_ijump(struct sljit_compiler *compiler, sljit_si type, sljit_si src, sljit_sw srcw) in sljit_emit_ijump() argument
2169 CHECK(check_sljit_emit_ijump(compiler, type, src, srcw)); in sljit_emit_ijump()
2170 ADJUST_LOCAL_OFFSET(src, srcw); in sljit_emit_ijump()
2172 if (FAST_IS_REG(src)) { in sljit_emit_ijump()
2175 FAIL_IF(push_inst(compiler, OR | S(src) | A(TMP_CALL_REG) | B(src))); in sljit_emit_ijump()
2179 src_r = src; in sljit_emit_ijump()
2181 src_r = src; in sljit_emit_ijump()
2183 } else if (src & SLJIT_IMM) { in sljit_emit_ijump()
2196 FAIL_IF(emit_op(compiler, SLJIT_MOV, WORD_DATA, TMP_CALL_REG, 0, TMP_REG1, 0, src, srcw)); in sljit_emit_ijump()
2216 sljit_si src, sljit_sw srcw, in sljit_emit_op_flags() argument
2224 CHECK(check_sljit_emit_op_flags(compiler, op, dst, dstw, src, srcw, type)); in sljit_emit_op_flags()
2235 if (op >= SLJIT_ADD && (src & SLJIT_MEM)) { in sljit_emit_op_flags()
2236 ADJUST_LOCAL_OFFSET(src, srcw); in sljit_emit_op_flags()
2242 FAIL_IF(emit_op_mem2(compiler, input_flags | LOAD_DATA, TMP_REG1, src, srcw, dst, dstw)); in sljit_emit_op_flags()
2243 src = TMP_REG1; in sljit_emit_op_flags()
2352 return sljit_emit_op2(compiler, op | flags, dst, original_dstw, src, srcw, TMP_REG2, 0); in sljit_emit_op_flags()