Lines Matching refs:dst

1519 			FAIL_IF(push_inst(compiler, op_imm | S(src1) | T(dst) | IMM(src2), DR(dst))); \
1525 FAIL_IF(push_inst(compiler, op_reg | S(src1) | T(src2) | D(dst), DR(dst))); \
1548 static sljit_s32 emit_clz_ctz(struct sljit_compiler *compiler, sljit_s32 op, sljit_s32 dst, sljit_s… in emit_clz_ctz() argument
1592 return push_inst(compiler, SELECT_OP(DADDU, ADDU) | SA(OTHER_FLAG) | TA(0) | D(dst), DR(dst)); in emit_clz_ctz()
1597 static sljit_s32 emit_rev(struct sljit_compiler *compiler, sljit_s32 op, sljit_s32 dst, sljit_sw sr… in emit_rev() argument
1607 FAIL_IF(push_inst(compiler, DSBH | T(src) | D(dst), DR(dst))); in emit_rev()
1608 return push_inst(compiler, DSHD | T(dst) | D(dst), DR(dst)); in emit_rev()
1615 FAIL_IF(push_inst(compiler, WSBH | T(src) | D(dst), DR(dst))); in emit_rev()
1616 FAIL_IF(push_inst(compiler, ROTR | T(dst) | D(dst) | SH_IMM(16), DR(dst))); in emit_rev()
1618 if (op == SLJIT_REV_U32 && dst != TMP_REG2 && dst != TMP_REG3) in emit_rev()
1619 FAIL_IF(push_inst(compiler, DINSU | T(dst) | SA(0) | (31 << 11), DR(dst))); in emit_rev()
1626 FAIL_IF(push_inst(compiler, DSLL32 | T(src) | D(dst) | SH_IMM(0), DR(dst))); in emit_rev()
1628 FAIL_IF(push_inst(compiler, OR | S(dst) | T(TMP_REG1) | D(dst), DR(dst))); in emit_rev()
1630 FAIL_IF(push_inst(compiler, DSRL | T(dst) | D(TMP_REG1) | SH_IMM(16), DR(TMP_REG1))); in emit_rev()
1632 FAIL_IF(push_inst(compiler, AND | S(dst) | TA(OTHER_FLAG) | D(dst), DR(dst))); in emit_rev()
1635 FAIL_IF(push_inst(compiler, DSLL | T(dst) | D(dst) | SH_IMM(16), DR(dst))); in emit_rev()
1637 FAIL_IF(push_inst(compiler, OR | S(dst) | T(TMP_REG1) | D(dst), DR(dst))); in emit_rev()
1639 FAIL_IF(push_inst(compiler, DSRL | T(dst) | D(TMP_REG1) | SH_IMM(8), DR(TMP_REG1))); in emit_rev()
1640 FAIL_IF(push_inst(compiler, AND | S(dst) | TA(OTHER_FLAG) | D(dst), DR(dst))); in emit_rev()
1642 FAIL_IF(push_inst(compiler, DSLL | T(dst) | D(dst) | SH_IMM(8), DR(dst))); in emit_rev()
1643 return push_inst(compiler, OR | S(dst) | T(TMP_REG1) | D(dst), DR(dst)); in emit_rev()
1654 FAIL_IF(push_inst(compiler, SLL | T(src) | D(dst) | SH_IMM(16), DR(dst))); in emit_rev()
1656 FAIL_IF(push_inst(compiler, OR | S(dst) | T(TMP_REG1) | D(dst), DR(dst))); in emit_rev()
1658 FAIL_IF(push_inst(compiler, SRL | T(dst) | D(TMP_REG1) | SH_IMM(8), DR(TMP_REG1))); in emit_rev()
1659 FAIL_IF(push_inst(compiler, AND | S(dst) | TA(OTHER_FLAG) | D(dst), DR(dst))); in emit_rev()
1661 FAIL_IF(push_inst(compiler, SLL | T(dst) | D(dst) | SH_IMM(8), DR(dst))); in emit_rev()
1662 FAIL_IF(push_inst(compiler, OR | S(dst) | T(TMP_REG1) | D(dst), DR(dst))); in emit_rev()
1665 if (op == SLJIT_REV_U32 && dst != TMP_REG2 && dst != TMP_REG3) { in emit_rev()
1666 FAIL_IF(push_inst(compiler, DSLL32 | T(dst) | D(dst) | SH_IMM(0), DR(dst))); in emit_rev()
1667 FAIL_IF(push_inst(compiler, DSRL32 | T(dst) | D(dst) | SH_IMM(0), DR(dst))); in emit_rev()
1674 static sljit_s32 emit_rev16(struct sljit_compiler *compiler, sljit_s32 op, sljit_s32 dst, sljit_sw … in emit_rev16() argument
1678 FAIL_IF(push_inst(compiler, WSBH | T(src) | D(dst), DR(dst))); in emit_rev16()
1680 FAIL_IF(push_inst(compiler, DSBH | T(src) | D(dst), DR(dst))); in emit_rev16()
1683 return push_inst(compiler, ANDI | S(dst) | T(dst) | 0xffff, DR(dst)); in emit_rev16()
1685 return push_inst(compiler, SEH | T(dst) | D(dst), DR(dst)); in emit_rev16()
1688 FAIL_IF(push_inst(compiler, SELECT_OP(DSLL32, SLL) | T(src) | D(dst) | SH_IMM(24), DR(dst))); in emit_rev16()
1690 …V_U16 ? SELECT_OP(DSRL32, SRL) : SELECT_OP(DSRA32, SRA)) | T(dst) | D(dst) | SH_IMM(16), DR(dst))); in emit_rev16()
1691 return push_inst(compiler, OR | S(dst) | T(TMP_REG1) | D(dst), DR(dst)); in emit_rev16()
1696 sljit_s32 dst, sljit_s32 src1, sljit_sw src2) in emit_single_op() argument
1707 if (dst != src2) in emit_single_op()
1708 return push_inst(compiler, SELECT_OP(DADDU, ADDU) | S(src2) | TA(0) | D(dst), DR(dst)); in emit_single_op()
1714 return push_inst(compiler, ANDI | S(src2) | T(dst) | IMM(0xff), DR(dst)); in emit_single_op()
1715 SLJIT_ASSERT(dst == src2); in emit_single_op()
1723 return push_inst(compiler, SEB | T(src2) | D(dst), DR(dst)); in emit_single_op()
1725 FAIL_IF(push_inst(compiler, SLL | T(src2) | D(dst) | SH_IMM(24), DR(dst))); in emit_single_op()
1726 return push_inst(compiler, SRA | T(dst) | D(dst) | SH_IMM(24), DR(dst)); in emit_single_op()
1731 return push_inst(compiler, SEB | T(src2) | D(dst), DR(dst)); in emit_single_op()
1733 FAIL_IF(push_inst(compiler, DSLL32 | T(src2) | D(dst) | SH_IMM(24), DR(dst))); in emit_single_op()
1734 return push_inst(compiler, DSRA32 | T(dst) | D(dst) | SH_IMM(24), DR(dst)); in emit_single_op()
1737 SLJIT_ASSERT(dst == src2); in emit_single_op()
1743 return push_inst(compiler, ANDI | S(src2) | T(dst) | IMM(0xffff), DR(dst)); in emit_single_op()
1744 SLJIT_ASSERT(dst == src2); in emit_single_op()
1752 return push_inst(compiler, SEH | T(src2) | D(dst), DR(dst)); in emit_single_op()
1754 FAIL_IF(push_inst(compiler, SLL | T(src2) | D(dst) | SH_IMM(16), DR(dst))); in emit_single_op()
1755 return push_inst(compiler, SRA | T(dst) | D(dst) | SH_IMM(16), DR(dst)); in emit_single_op()
1760 return push_inst(compiler, SEH | T(src2) | D(dst), DR(dst)); in emit_single_op()
1762 FAIL_IF(push_inst(compiler, DSLL32 | T(src2) | D(dst) | SH_IMM(16), DR(dst))); in emit_single_op()
1763 return push_inst(compiler, DSRA32 | T(dst) | D(dst) | SH_IMM(16), DR(dst)); in emit_single_op()
1766 SLJIT_ASSERT(dst == src2); in emit_single_op()
1774 if (dst == src2) in emit_single_op()
1775 return push_inst(compiler, DINSU | T(src2) | SA(0) | (31 << 11), DR(dst)); in emit_single_op()
1777 FAIL_IF(push_inst(compiler, DSLL32 | T(src2) | D(dst) | SH_IMM(0), DR(dst))); in emit_single_op()
1778 return push_inst(compiler, DSRL32 | T(dst) | D(dst) | SH_IMM(0), DR(dst)); in emit_single_op()
1780 SLJIT_ASSERT(dst == src2); in emit_single_op()
1786 return push_inst(compiler, SLL | T(src2) | D(dst) | SH_IMM(0), DR(dst)); in emit_single_op()
1788 SLJIT_ASSERT(dst == src2); in emit_single_op()
1796 return push_inst(compiler, SELECT_OP(DCLZ, CLZ) | S(src2) | D(dst), DR(dst)); in emit_single_op()
1798 return push_inst(compiler, SELECT_OP(DCLZ, CLZ) | S(src2) | T(dst) | D(dst), DR(dst)); in emit_single_op()
1803 FAIL_IF(push_inst(compiler, AND | S(src2) | T(TMP_REG1) | D(dst), DR(dst))); in emit_single_op()
1805 FAIL_IF(push_inst(compiler, SELECT_OP(DCLZ, CLZ) | S(dst) | D(dst), DR(dst))); in emit_single_op()
1807 FAIL_IF(push_inst(compiler, SELECT_OP(DCLZ, CLZ) | S(dst) | T(dst) | D(dst), DR(dst))); in emit_single_op()
1809 …FAIL_IF(push_inst(compiler, SELECT_OP(DADDIU, ADDIU) | S(dst) | T(TMP_REG1) | IMM(SELECT_OP(-64, -… in emit_single_op()
1811 return push_inst(compiler, XOR | S(dst) | T(TMP_REG1) | D(dst), DR(dst)); in emit_single_op()
1816 return emit_clz_ctz(compiler, op, dst, src2); in emit_single_op()
1822 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & SRC2_IMM) && src2 != TMP_REG1 && dst != TMP_REG1); in emit_single_op()
1823 return emit_rev(compiler, op, dst, src2); in emit_single_op()
1828 return emit_rev16(compiler, op, dst, src2); in emit_single_op()
1847 FAIL_IF(push_inst(compiler, SELECT_OP(DADDIU, ADDIU) | S(src1) | T(dst) | IMM(src2), DR(dst))); in emit_single_op()
1856 if (src1 != dst) in emit_single_op()
1858 else if (src2 != dst) in emit_single_op()
1868 FAIL_IF(push_inst(compiler, SELECT_OP(DADDU, ADDU) | S(src1) | T(src2) | D(dst), DR(dst))); in emit_single_op()
1874 FAIL_IF(push_inst(compiler, SLTIU | S(dst) | TA(OTHER_FLAG) | IMM(src2), OTHER_FLAG)); in emit_single_op()
1876 FAIL_IF(push_inst(compiler, SLTU | S(dst) | TA(carry_src_ar) | DA(OTHER_FLAG), OTHER_FLAG)); in emit_single_op()
1882 FAIL_IF(push_inst(compiler, XOR | S(dst) | TA(EQUAL_FLAG) | D(TMP_REG1), DR(TMP_REG1))); in emit_single_op()
1884 …FAIL_IF(push_inst(compiler, SELECT_OP(DADDU, ADDU) | S(dst) | TA(0) | DA(EQUAL_FLAG), EQUAL_FLAG)); in emit_single_op()
1892 FAIL_IF(push_inst(compiler, SELECT_OP(DADDIU, ADDIU) | S(src1) | T(dst) | IMM(src2), DR(dst))); in emit_single_op()
1895 if (src1 != dst) in emit_single_op()
1897 else if (src2 != dst) in emit_single_op()
1905 FAIL_IF(push_inst(compiler, SELECT_OP(DADDU, ADDU) | S(src1) | T(src2) | D(dst), DR(dst))); in emit_single_op()
1911 FAIL_IF(push_inst(compiler, SLTIU | S(dst) | TA(EQUAL_FLAG) | IMM(src2), EQUAL_FLAG)); in emit_single_op()
1913 FAIL_IF(push_inst(compiler, SLTU | S(dst) | TA(carry_src_ar) | DA(EQUAL_FLAG), EQUAL_FLAG)); in emit_single_op()
1916 FAIL_IF(push_inst(compiler, SELECT_OP(DADDU, ADDU) | S(dst) | TA(OTHER_FLAG) | D(dst), DR(dst))); in emit_single_op()
1922 FAIL_IF(push_inst(compiler, SLTU | S(dst) | TA(OTHER_FLAG) | DA(OTHER_FLAG), OTHER_FLAG)); in emit_single_op()
1977 return push_inst(compiler, SELECT_OP(DADDIU, ADDIU) | S(src1) | T(dst) | IMM(-src2), DR(dst)); in emit_single_op()
1983 return push_inst(compiler, SELECT_OP(DSUBU, SUBU) | S(src1) | T(src2) | D(dst), DR(dst)); in emit_single_op()
2006 FAIL_IF(push_inst(compiler, SELECT_OP(DADDIU, ADDIU) | S(src1) | T(dst) | IMM(-src2), DR(dst))); in emit_single_op()
2019 FAIL_IF(push_inst(compiler, SELECT_OP(DSUBU, SUBU) | S(src1) | T(src2) | D(dst), DR(dst))); in emit_single_op()
2025 FAIL_IF(push_inst(compiler, XOR | S(dst) | TA(EQUAL_FLAG) | D(TMP_REG1), DR(TMP_REG1))); in emit_single_op()
2027 …FAIL_IF(push_inst(compiler, SELECT_OP(DADDU, ADDU) | S(dst) | TA(0) | DA(EQUAL_FLAG), EQUAL_FLAG)); in emit_single_op()
2044 FAIL_IF(push_inst(compiler, SELECT_OP(DADDIU, ADDIU) | S(src1) | T(dst) | IMM(-src2), DR(dst))); in emit_single_op()
2050 FAIL_IF(push_inst(compiler, SELECT_OP(DSUBU, SUBU) | S(src1) | T(src2) | D(dst), DR(dst))); in emit_single_op()
2054 FAIL_IF(push_inst(compiler, SLTU | S(dst) | TA(OTHER_FLAG) | D(TMP_REG1), DR(TMP_REG1))); in emit_single_op()
2056 FAIL_IF(push_inst(compiler, SELECT_OP(DSUBU, SUBU) | S(dst) | TA(OTHER_FLAG) | D(dst), DR(dst))); in emit_single_op()
2068 return push_inst(compiler, SELECT_OP(DMUL, MUL) | S(src1) | T(src2) | D(dst), DR(dst)); in emit_single_op()
2071 return push_inst(compiler, MUL | S(src1) | T(src2) | D(dst), DR(dst)); in emit_single_op()
2074 return push_inst(compiler, MUL | S(src1) | T(src2) | D(dst), DR(dst)); in emit_single_op()
2076 return push_inst(compiler, MFLO | D(dst), DR(dst)); in emit_single_op()
2080 return push_inst(compiler, MFLO | D(dst), DR(dst)); in emit_single_op()
2085 FAIL_IF(push_inst(compiler, SELECT_OP(DMUL, MUL) | S(src1) | T(src2) | D(dst), DR(dst))); in emit_single_op()
2090 FAIL_IF(push_inst(compiler, MFLO | D(dst), DR(dst))); in emit_single_op()
2092 …FAIL_IF(push_inst(compiler, SELECT_OP(DSRA32, SRA) | T(dst) | DA(OTHER_FLAG) | SH_IMM(31), OTHER_F… in emit_single_op()
2109 FAIL_IF(push_inst(compiler, NOR | S(src1) | T(src1) | D(dst), DR(dst))); in emit_single_op()
2167 …FAIL_IF(push_inst(compiler, op_imm | T(src1) | D(dst) | (((sljit_ins)src2 & 0x1f) << 6), DR(dst))); in emit_single_op()
2168 return push_inst(compiler, OR | S(dst) | TA(OTHER_FLAG) | D(dst), DR(dst)); in emit_single_op()
2177 …FAIL_IF(push_inst(compiler, op_imm | T(src1) | D(dst) | (((sljit_ins)src2 & 0x1f) << 6), DR(dst))); in emit_single_op()
2178 return push_inst(compiler, OR | S(dst) | TA(OTHER_FLAG) | D(dst), DR(dst)); in emit_single_op()
2182 if (dst != src1) in emit_single_op()
2183 return push_inst(compiler, SELECT_OP(DADDU, ADDU) | S(src1) | TA(0) | D(dst), DR(dst)); in emit_single_op()
2194 FAIL_IF(push_inst(compiler, op_v | SA(EQUAL_FLAG) | T(src1) | D(dst), DR(dst))); in emit_single_op()
2195 return push_inst(compiler, OR | S(dst) | TA(OTHER_FLAG) | D(dst), DR(dst)); in emit_single_op()
2202 FAIL_IF(push_inst(compiler, op_v | SA(EQUAL_FLAG) | T(src1) | D(dst), DR(dst))); in emit_single_op()
2203 return push_inst(compiler, OR | S(dst) | TA(OTHER_FLAG) | D(dst), DR(dst)); in emit_single_op()
2218 return push_inst(compiler, op_imm | T(src1) | D(dst) | SH_IMM(src2), DR(dst)); in emit_single_op()
2226 return push_inst(compiler, op_v | S(src2) | T(src1) | D(dst), DR(dst)); in emit_single_op()
2242 return push_inst(compiler, ins | T(src1) | D(dst) | SH_IMM(src2), DR(dst)); in emit_single_op()
2251 return push_inst(compiler, ins | S(src2) | T(src1) | D(dst), DR(dst)); in emit_single_op()
2260 sljit_s32 dst, sljit_sw dstw, in emit_op() argument
2278 if (dst == 0) { in emit_op()
2281 dst = TMP_REG2; in emit_op()
2283 else if (FAST_IS_REG(dst)) { in emit_op()
2284 dst_r = dst; in emit_op()
2289 …else if ((dst & SLJIT_MEM) && !getput_arg_fast(compiler, flags | ARG_TEST, DR(TMP_REG1), dst, dstw… in emit_op()
2345 if (dst & SLJIT_MEM) in emit_op()
2363 …if ((flags & SLOW_DEST) && !can_cache(src1, src1w, src2, src2w) && can_cache(src1, src1w, dst, dst… in emit_op()
2365 FAIL_IF(getput_arg(compiler, flags | LOAD_DATA, DR(TMP_REG1), src1, src1w, dst, dstw)); in emit_op()
2369 FAIL_IF(getput_arg(compiler, flags | LOAD_DATA, DR(TMP_REG2), src2, src2w, dst, dstw)); in emit_op()
2373 FAIL_IF(getput_arg(compiler, flags | LOAD_DATA, DR(TMP_REG1), src1, src1w, dst, dstw)); in emit_op()
2375 FAIL_IF(getput_arg(compiler, flags | LOAD_DATA, DR(src2_tmp_reg), src2, src2w, dst, dstw)); in emit_op()
2379 if (dst & SLJIT_MEM) { in emit_op()
2381 getput_arg_fast(compiler, flags, DR(dst_r), dst, dstw); in emit_op()
2384 return getput_arg(compiler, flags, DR(dst_r), dst, dstw, 0, 0); in emit_op()
2497 sljit_s32 dst, sljit_sw dstw, in sljit_emit_op1() argument
2503 CHECK(check_sljit_emit_op1(compiler, op, dst, dstw, src, srcw)); in sljit_emit_op1()
2504 ADJUST_LOCAL_OFFSET(dst, dstw); in sljit_emit_op1()
2520 return emit_op(compiler, SLJIT_MOV, WORD_DATA | MOVE_OP, dst, dstw, TMP_REG1, 0, src, srcw); in sljit_emit_op1()
2524 …return emit_op(compiler, SLJIT_MOV_U32, INT_DATA | MOVE_OP, dst, dstw, TMP_REG1, 0, src, (src == S… in sljit_emit_op1()
2528 …return emit_op(compiler, SLJIT_MOV_S32, INT_DATA | SIGNED_DATA | MOVE_OP, dst, dstw, TMP_REG1, 0, … in sljit_emit_op1()
2532 …return emit_op(compiler, op, BYTE_DATA | MOVE_OP, dst, dstw, TMP_REG1, 0, src, (src == SLJIT_IMM) … in sljit_emit_op1()
2535 …return emit_op(compiler, op, BYTE_DATA | SIGNED_DATA | MOVE_OP, dst, dstw, TMP_REG1, 0, src, (src … in sljit_emit_op1()
2538 …return emit_op(compiler, op, HALF_DATA | MOVE_OP, dst, dstw, TMP_REG1, 0, src, (src == SLJIT_IMM) … in sljit_emit_op1()
2541 …return emit_op(compiler, op, HALF_DATA | SIGNED_DATA | MOVE_OP, dst, dstw, TMP_REG1, 0, src, (src … in sljit_emit_op1()
2546 return emit_op(compiler, op, flags, dst, dstw, TMP_REG1, 0, src, srcw); in sljit_emit_op1()
2550 return emit_op(compiler, op, HALF_DATA, dst, dstw, TMP_REG1, 0, src, srcw); in sljit_emit_op1()
2554 return emit_op(compiler, op | SLJIT_32, INT_DATA, dst, dstw, TMP_REG1, 0, src, srcw); in sljit_emit_op1()
2562 sljit_s32 dst, sljit_sw dstw, in sljit_emit_op2() argument
2569 CHECK(check_sljit_emit_op2(compiler, op, 0, dst, dstw, src1, src1w, src2, src2w)); in sljit_emit_op2()
2570 ADJUST_LOCAL_OFFSET(dst, dstw); in sljit_emit_op2()
2588 return emit_op(compiler, op, flags | CUMULATIVE_OP | IMM_OP, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
2593 return emit_op(compiler, op, flags | IMM_OP, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
2597 return emit_op(compiler, op, flags | CUMULATIVE_OP, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
2601 … return emit_op(compiler, op, flags | CUMULATIVE_OP | IMM_OP, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
2606 …return emit_op(compiler, op, flags | CUMULATIVE_OP | LOGICAL_OP | IMM_OP, dst, dstw, src1, src1w, … in sljit_emit_op2()
2627 return emit_op(compiler, op, flags | IMM_OP, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
2784 sljit_s32 dst, sljit_sw dstw) in sljit_emit_op_dst() argument
2789 CHECK(check_sljit_emit_op_dst(compiler, op, dst, dstw)); in sljit_emit_op_dst()
2790 ADJUST_LOCAL_OFFSET(dst, dstw); in sljit_emit_op_dst()
2794 if (FAST_IS_REG(dst)) in sljit_emit_op_dst()
2795 return push_inst(compiler, ADDU_W | SA(RETURN_ADDR_REG) | TA(0) | D(dst), UNMOVABLE_INS); in sljit_emit_op_dst()
2798 dst_ar = DR(FAST_IS_REG(dst) ? dst : TMP_REG2); in sljit_emit_op_dst()
2803 if (dst & SLJIT_MEM) { in sljit_emit_op_dst()
2804 FAIL_IF(emit_op_mem(compiler, WORD_DATA, dst_ar, dst, dstw)); in sljit_emit_op_dst()
2845 sljit_s32 dst, sljit_sw dstw, in sljit_emit_fop1_conv_sw_from_f64() argument
2855 FAIL_IF(emit_op_mem2(compiler, FLOAT_DATA(op) | LOAD_DATA, FR(TMP_FREG1), src, srcw, dst, dstw)); in sljit_emit_fop1_conv_sw_from_f64()
2861 if (FAST_IS_REG(dst)) { in sljit_emit_fop1_conv_sw_from_f64()
2862 FAIL_IF(push_inst(compiler, MFC1 | flags | T(dst) | FS(TMP_FREG1), MOVABLE_INS)); in sljit_emit_fop1_conv_sw_from_f64()
2869 return emit_op_mem2(compiler, flags ? DOUBLE_DATA : SINGLE_DATA, FR(TMP_FREG1), dst, dstw, 0, 0); in sljit_emit_fop1_conv_sw_from_f64()
2873 sljit_s32 dst, sljit_sw dstw, in sljit_emit_fop1_conv_f64_from_sw() argument
2881 sljit_s32 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG1; in sljit_emit_fop1_conv_f64_from_sw()
2884 …2(compiler, (flags ? DOUBLE_DATA : SINGLE_DATA) | LOAD_DATA, FR(TMP_FREG1), src, srcw, dst, dstw)); in sljit_emit_fop1_conv_f64_from_sw()
2903 if (dst & SLJIT_MEM) in sljit_emit_fop1_conv_f64_from_sw()
2904 return emit_op_mem2(compiler, FLOAT_DATA(op), FR(TMP_FREG1), dst, dstw, 0, 0); in sljit_emit_fop1_conv_f64_from_sw()
2909 sljit_s32 dst, sljit_sw dstw, in sljit_emit_fop1_conv_f64_from_uw() argument
2917 sljit_s32 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG1; in sljit_emit_fop1_conv_f64_from_uw()
2920 …= SLJIT_CONV_F64_FROM_UW ? WORD_DATA : INT_DATA) | LOAD_DATA, DR(TMP_REG1), src, srcw, dst, dstw)); in sljit_emit_fop1_conv_f64_from_uw()
2945 if (dst & SLJIT_MEM) in sljit_emit_fop1_conv_f64_from_uw()
2946 return emit_op_mem2(compiler, FLOAT_DATA(op), FR(TMP_FREG1), dst, dstw, 0, 0); in sljit_emit_fop1_conv_f64_from_uw()
2984 if (dst & SLJIT_MEM) in sljit_emit_fop1_conv_f64_from_uw()
2985 return emit_op_mem2(compiler, FLOAT_DATA(op), FR(TMP_FREG1), dst, dstw, 0, 0); in sljit_emit_fop1_conv_f64_from_uw()
3026 if (dst & SLJIT_MEM) in sljit_emit_fop1_conv_f64_from_uw()
3027 return emit_op_mem2(compiler, FLOAT_DATA(op), FR(TMP_FREG1), dst, dstw, 0, 0); in sljit_emit_fop1_conv_f64_from_uw()
3081 sljit_s32 dst, sljit_sw dstw, in sljit_emit_fop1() argument
3091 SELECT_FOP1_OPERATION_WITH_CHECKS(compiler, op, dst, dstw, src, srcw); in sljit_emit_fop1()
3096 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG1; in sljit_emit_fop1()
3099 FAIL_IF(emit_op_mem2(compiler, FLOAT_DATA(op) | LOAD_DATA, FR(dst_r), src, srcw, dst, dstw)); in sljit_emit_fop1()
3106 if (!(dst & SLJIT_MEM)) in sljit_emit_fop1()
3125 if (dst & SLJIT_MEM) in sljit_emit_fop1()
3126 return emit_op_mem2(compiler, FLOAT_DATA(op), FR(dst_r), dst, dstw, 0, 0); in sljit_emit_fop1()
3131 sljit_s32 dst, sljit_sw dstw, in sljit_emit_fop2() argument
3138 CHECK(check_sljit_emit_fop2(compiler, op, dst, dstw, src1, src1w, src2, src2w)); in sljit_emit_fop2()
3139 ADJUST_LOCAL_OFFSET(dst, dstw); in sljit_emit_fop2()
3146 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG2; in sljit_emit_fop2()
3165 …if ((dst & SLJIT_MEM) && !can_cache(src1, src1w, src2, src2w) && can_cache(src1, src1w, dst, dstw)… in sljit_emit_fop2()
3167 FAIL_IF(getput_arg(compiler, FLOAT_DATA(op) | LOAD_DATA, FR(TMP_FREG1), src1, src1w, dst, dstw)); in sljit_emit_fop2()
3170 FAIL_IF(getput_arg(compiler, FLOAT_DATA(op) | LOAD_DATA, FR(TMP_FREG2), src2, src2w, dst, dstw)); in sljit_emit_fop2()
3174 FAIL_IF(getput_arg(compiler, FLOAT_DATA(op) | LOAD_DATA, FR(TMP_FREG1), src1, src1w, dst, dstw)); in sljit_emit_fop2()
3176 FAIL_IF(getput_arg(compiler, FLOAT_DATA(op) | LOAD_DATA, FR(TMP_FREG2), src2, src2w, dst, dstw)); in sljit_emit_fop2()
3201 FAIL_IF(emit_op_mem2(compiler, FLOAT_DATA(op), FR(TMP_FREG2), dst, dstw, 0, 0)); in sljit_emit_fop2()
3583 sljit_s32 dst, sljit_sw dstw, in sljit_emit_op_flags() argument
3595 CHECK(check_sljit_emit_op_flags(compiler, op, dst, dstw, type)); in sljit_emit_op_flags()
3596 ADJUST_LOCAL_OFFSET(dst, dstw); in sljit_emit_op_flags()
3599 dst_ar = DR((op < SLJIT_ADD && FAST_IS_REG(dst)) ? dst : TMP_REG2); in sljit_emit_op_flags()
3604 if (op >= SLJIT_ADD && (dst & SLJIT_MEM)) in sljit_emit_op_flags()
3605 FAIL_IF(emit_op_mem2(compiler, mem_type | LOAD_DATA, DR(TMP_REG1), dst, dstw, dst, dstw)); in sljit_emit_op_flags()
3662 if (dst & SLJIT_MEM) in sljit_emit_op_flags()
3663 return emit_op_mem(compiler, mem_type, src_ar, dst, dstw); in sljit_emit_op_flags()
3676 if (dst & SLJIT_MEM) in sljit_emit_op_flags()
3677 return emit_op(compiler, saved_op, mem_type, dst, dstw, TMP_REG1, 0, TMP_REG2, 0); in sljit_emit_op_flags()
3678 return emit_op(compiler, saved_op, mem_type, dst, dstw, dst, dstw, TMP_REG2, 0); in sljit_emit_op_flags()
4212 …t sljit_const* sljit_emit_const(struct sljit_compiler *compiler, sljit_s32 dst, sljit_sw dstw, slj… in sljit_emit_const() argument
4218 CHECK_PTR(check_sljit_emit_const(compiler, dst, dstw, init_value)); in sljit_emit_const()
4219 ADJUST_LOCAL_OFFSET(dst, dstw); in sljit_emit_const()
4225 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG2; in sljit_emit_const()
4228 if (dst & SLJIT_MEM) in sljit_emit_const()
4229 PTR_FAIL_IF(emit_op_mem(compiler, WORD_DATA, DR(TMP_REG2), dst, dstw)); in sljit_emit_const()
4234 …ruct sljit_jump* sljit_emit_mov_addr(struct sljit_compiler *compiler, sljit_s32 dst, sljit_sw dstw) in sljit_emit_mov_addr() argument
4240 CHECK_PTR(check_sljit_emit_mov_addr(compiler, dst, dstw)); in sljit_emit_mov_addr()
4241 ADJUST_LOCAL_OFFSET(dst, dstw); in sljit_emit_mov_addr()
4247 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG2; in sljit_emit_mov_addr()
4255 if (dst & SLJIT_MEM) in sljit_emit_mov_addr()
4256 PTR_FAIL_IF(emit_op_mem(compiler, WORD_DATA, DR(TMP_REG2), dst, dstw)); in sljit_emit_mov_addr()