Lines Matching refs:dst_r

1114 	sljit_s32 dst_r;  in emit_mov_byte()  local
1140 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1; in emit_mov_byte()
1145 SLJIT_ASSERT(dst_r == TMP_REG1); in emit_mov_byte()
1148 dst_r = src; in emit_mov_byte()
1150 dst_r = src; in emit_mov_byte()
1189 inst = emit_x86_instruction(compiler, 2, dst_r, 0, src, srcw); in emit_mov_byte()
1197 if (dst_r == TMP_REG1) { in emit_mov_byte()
1218 inst = emit_x86_instruction(compiler, 1, work_r, 0, dst_r, 0); in emit_mov_byte()
1231 inst = emit_x86_instruction(compiler, 1, work_r, 0, dst_r, 0); in emit_mov_byte()
1237 inst = emit_x86_instruction(compiler, 1, dst_r, 0, dst, dstw); in emit_mov_byte()
1242 inst = emit_x86_instruction(compiler, 1 | EX86_REX | EX86_NO_REXW, dst_r, 0, dst, dstw); in emit_mov_byte()
1280 sljit_s32 dst_r; in emit_mov_half() local
1303 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1; in emit_mov_half()
1306 dst_r = src; in emit_mov_half()
1308 inst = emit_x86_instruction(compiler, 2, dst_r, 0, src, srcw); in emit_mov_half()
1315 inst = emit_x86_instruction(compiler, 1 | EX86_NO_REXW | EX86_PREF_66, dst_r, 0, dst, dstw); in emit_mov_half()
1395 sljit_s32 dst_r; in emit_clz() local
1402 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1; in emit_clz()
1404 inst = emit_x86_instruction(compiler, 2, dst_r, 0, src, srcw); in emit_clz()
1411 if (dst_r != TMP_REG1) { in emit_clz()
1413 inst = emit_x86_instruction(compiler, 2, dst_r, 0, TMP_REG1, 0); in emit_clz()
1416 inst = emit_x86_instruction(compiler, 2, dst_r, 0, SLJIT_MEM0(), (sljit_sw)&emit_clz_arg); in emit_clz()
1423 FAIL_IF(sljit_emit_cmov_generic(compiler, SLJIT_EQUAL, dst_r, SLJIT_IMM, 32 + 31)); in emit_clz()
1425 inst = emit_x86_instruction(compiler, 1 | EX86_BIN_INS, SLJIT_IMM, 31, dst_r, 0); in emit_clz()
1430 inst = emit_x86_instruction(compiler, 2, dst_r, 0, TMP_REG2, 0); in emit_clz()
1436 …FAIL_IF(sljit_emit_cmov_generic(compiler, SLJIT_EQUAL, dst_r, SLJIT_IMM, !(op_flags & SLJIT_32) ? … in emit_clz()
1438 …x86_instruction(compiler, 1 | EX86_BIN_INS, SLJIT_IMM, !(op_flags & SLJIT_32) ? 63 : 31, dst_r, 0); in emit_clz()
1773 sljit_s32 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1; local
1776 if (dst_r == src1 && !(src2 & SLJIT_IMM)) {
1777 inst = emit_x86_instruction(compiler, 2, dst_r, 0, src2, src2w);
1782 else if (dst_r == src2 && !(src1 & SLJIT_IMM)) {
1783 inst = emit_x86_instruction(compiler, 2, dst_r, 0, src1, src1w);
1790 EMIT_MOV(compiler, dst_r, 0, SLJIT_IMM, src2w);
1791 src2 = dst_r;
1796 inst = emit_x86_instruction(compiler, 1, dst_r, 0, src2, src2w);
1806 inst = emit_x86_instruction(compiler, 1, dst_r, 0, src2, src2w);
1816 inst = emit_x86_instruction(compiler, 1, dst_r, 0, src2, src2w);
1825 if (dst_r != src2)
1826 EMIT_MOV(compiler, dst_r, 0, src2, src2w);
1828 inst = emit_x86_instruction(compiler, 2, dst_r, 0, TMP_REG2, 0);
1839 inst = emit_x86_instruction(compiler, 1, dst_r, 0, src1, src1w);
1849 inst = emit_x86_instruction(compiler, 1, dst_r, 0, src1, src1w);
1859 inst = emit_x86_instruction(compiler, 1, dst_r, 0, src1, src1w);
1868 if (dst_r != src1)
1869 EMIT_MOV(compiler, dst_r, 0, src1, src1w);
1871 inst = emit_x86_instruction(compiler, 2, dst_r, 0, TMP_REG2, 0);
1880 if (ADDRESSING_DEPENDS_ON(src2, dst_r))
1881 dst_r = TMP_REG1;
1882 EMIT_MOV(compiler, dst_r, 0, src1, src1w);
1883 inst = emit_x86_instruction(compiler, 2, dst_r, 0, src2, src2w);
1901 sljit_s32 dst_r, done = 0; local
1909 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1;
1913 inst = emit_x86_instruction(compiler, 1, dst_r, 0, SLJIT_MEM2(src1, src2), 0);
1920 inst = emit_x86_instruction(compiler, 1, dst_r, 0, SLJIT_MEM1(src1), (sljit_s32)src2w);
1923 inst = emit_x86_instruction(compiler, 1, dst_r, 0, SLJIT_MEM1(src1), src2w);
1933 inst = emit_x86_instruction(compiler, 1, dst_r, 0, SLJIT_MEM1(src2), (sljit_s32)src1w);
1936 inst = emit_x86_instruction(compiler, 1, dst_r, 0, SLJIT_MEM1(src2), src1w);
1945 if (dst_r == TMP_REG1)
2462 sljit_s32 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1; local
2470 …ompiler, 2 | ((op & SLJIT_32) ? EX86_PREF_F3 : EX86_PREF_F2) | EX86_SSE2_OP2, dst_r, 0, src, srcw);
2484 sljit_s32 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG; local
2502 …ompiler, 2 | ((op & SLJIT_32) ? EX86_PREF_F3 : EX86_PREF_F2) | EX86_SSE2_OP1, dst_r, 0, src, srcw);
2510 if (dst_r == TMP_FREG)
2531 sljit_s32 dst_r; local
2550 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG;
2562 FAIL_IF(emit_sse2_logic(compiler, CVTPD2PS_x_xm, op & SLJIT_32, dst_r, src, 0));
2563 if (dst_r == TMP_FREG)
2569 dst_r = dst;
2571 FAIL_IF(emit_sse2_load(compiler, op & SLJIT_32, dst_r, src, srcw));
2574 dst_r = TMP_FREG;
2575 FAIL_IF(emit_sse2_load(compiler, op & SLJIT_32, dst_r, src, srcw));
2580 …FAIL_IF(emit_sse2_logic(compiler, XORPD_x_xm, 1, dst_r, SLJIT_MEM0(), (sljit_sw)(op & SLJIT_32 ? s…
2584 …FAIL_IF(emit_sse2_logic(compiler, ANDPD_x_xm, 1, dst_r, SLJIT_MEM0(), (sljit_sw)(op & SLJIT_32 ? s…
2588 if (dst_r == TMP_FREG)
2598 sljit_s32 dst_r; local
2611 dst_r = dst;
2620 FAIL_IF(emit_sse2_load(compiler, op & SLJIT_32, dst_r, src1, src1w));
2622 dst_r = TMP_FREG;
2627 dst_r = TMP_FREG;
2633 FAIL_IF(emit_sse2(compiler, ADDSD_x_xm, op & SLJIT_32, dst_r, src2, src2w));
2637 FAIL_IF(emit_sse2(compiler, SUBSD_x_xm, op & SLJIT_32, dst_r, src2, src2w));
2641 FAIL_IF(emit_sse2(compiler, MULSD_x_xm, op & SLJIT_32, dst_r, src2, src2w));
2645 FAIL_IF(emit_sse2(compiler, DIVSD_x_xm, op & SLJIT_32, dst_r, src2, src2w));
2649 if (dst_r == TMP_FREG)