Lines Matching refs:dst_r

1095 	sljit_s32 dst_r;  in emit_mov_byte()  local
1121 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1; in emit_mov_byte()
1126 SLJIT_ASSERT(dst_r == TMP_REG1); in emit_mov_byte()
1129 dst_r = src; in emit_mov_byte()
1131 dst_r = src; in emit_mov_byte()
1170 inst = emit_x86_instruction(compiler, 2, dst_r, 0, src, srcw); in emit_mov_byte()
1178 if (dst_r == TMP_REG1) { in emit_mov_byte()
1199 inst = emit_x86_instruction(compiler, 1, work_r, 0, dst_r, 0); in emit_mov_byte()
1212 inst = emit_x86_instruction(compiler, 1, work_r, 0, dst_r, 0); in emit_mov_byte()
1218 inst = emit_x86_instruction(compiler, 1, dst_r, 0, dst, dstw); in emit_mov_byte()
1223 inst = emit_x86_instruction(compiler, 1 | EX86_REX | EX86_NO_REXW, dst_r, 0, dst, dstw); in emit_mov_byte()
1261 sljit_s32 dst_r; in emit_mov_half() local
1284 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1; in emit_mov_half()
1287 dst_r = src; in emit_mov_half()
1289 inst = emit_x86_instruction(compiler, 2, dst_r, 0, src, srcw); in emit_mov_half()
1296 inst = emit_x86_instruction(compiler, 1 | EX86_NO_REXW | EX86_PREF_66, dst_r, 0, dst, dstw); in emit_mov_half()
1382 sljit_s32 dst_r; in emit_clz() local
1389 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1; in emit_clz()
1391 inst = emit_x86_instruction(compiler, 2, dst_r, 0, src, srcw); in emit_clz()
1398 if (dst_r != TMP_REG1) { in emit_clz()
1400 inst = emit_x86_instruction(compiler, 2, dst_r, 0, TMP_REG1, 0); in emit_clz()
1403 inst = emit_x86_instruction(compiler, 2, dst_r, 0, SLJIT_MEM0(), (sljit_sw)&emit_clz_arg); in emit_clz()
1410 FAIL_IF(sljit_emit_cmov_generic(compiler, SLJIT_EQUAL, dst_r, SLJIT_IMM, 32 + 31)); in emit_clz()
1412 inst = emit_x86_instruction(compiler, 1 | EX86_BIN_INS, SLJIT_IMM, 31, dst_r, 0); in emit_clz()
1417 inst = emit_x86_instruction(compiler, 2, dst_r, 0, TMP_REG2, 0); in emit_clz()
1423 …FAIL_IF(sljit_emit_cmov_generic(compiler, SLJIT_EQUAL, dst_r, SLJIT_IMM, !(op_flags & SLJIT_I32_OP… in emit_clz()
1425 …instruction(compiler, 1 | EX86_BIN_INS, SLJIT_IMM, !(op_flags & SLJIT_I32_OP) ? 63 : 31, dst_r, 0); in emit_clz()
1813 sljit_s32 dst_r; local
1815 dst_r = SLOW_IS_REG(dst) ? dst : TMP_REG1;
1818 if (dst_r == src1 && !(src2 & SLJIT_IMM)) {
1819 inst = emit_x86_instruction(compiler, 2, dst_r, 0, src2, src2w);
1824 else if (dst_r == src2 && !(src1 & SLJIT_IMM)) {
1825 inst = emit_x86_instruction(compiler, 2, dst_r, 0, src1, src1w);
1832 EMIT_MOV(compiler, dst_r, 0, SLJIT_IMM, src2w);
1833 src2 = dst_r;
1838 inst = emit_x86_instruction(compiler, 1, dst_r, 0, src2, src2w);
1848 inst = emit_x86_instruction(compiler, 1, dst_r, 0, src2, src2w);
1858 inst = emit_x86_instruction(compiler, 1, dst_r, 0, src2, src2w);
1867 if (dst_r != src2)
1868 EMIT_MOV(compiler, dst_r, 0, src2, src2w);
1870 inst = emit_x86_instruction(compiler, 2, dst_r, 0, TMP_REG2, 0);
1881 inst = emit_x86_instruction(compiler, 1, dst_r, 0, src1, src1w);
1891 inst = emit_x86_instruction(compiler, 1, dst_r, 0, src1, src1w);
1901 inst = emit_x86_instruction(compiler, 1, dst_r, 0, src1, src1w);
1910 if (dst_r != src1)
1911 EMIT_MOV(compiler, dst_r, 0, src1, src1w);
1913 inst = emit_x86_instruction(compiler, 2, dst_r, 0, TMP_REG2, 0);
1922 if (ADDRESSING_DEPENDS_ON(src2, dst_r))
1923 dst_r = TMP_REG1;
1924 EMIT_MOV(compiler, dst_r, 0, src1, src1w);
1925 inst = emit_x86_instruction(compiler, 2, dst_r, 0, src2, src2w);
1943 sljit_s32 dst_r, done = 0; local
1951 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1;
1955 inst = emit_x86_instruction(compiler, 1, dst_r, 0, SLJIT_MEM2(src1, src2), 0);
1962 inst = emit_x86_instruction(compiler, 1, dst_r, 0, SLJIT_MEM1(src1), (sljit_s32)src2w);
1965 inst = emit_x86_instruction(compiler, 1, dst_r, 0, SLJIT_MEM1(src1), src2w);
1975 inst = emit_x86_instruction(compiler, 1, dst_r, 0, SLJIT_MEM1(src2), (sljit_s32)src1w);
1978 inst = emit_x86_instruction(compiler, 1, dst_r, 0, SLJIT_MEM1(src2), src1w);
1987 if (dst_r == TMP_REG1)
2481 sljit_s32 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1; local
2489 …ler, 2 | ((op & SLJIT_F32_OP) ? EX86_PREF_F3 : EX86_PREF_F2) | EX86_SSE2_OP2, dst_r, 0, src, srcw);
2503 sljit_s32 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG; local
2521 …ler, 2 | ((op & SLJIT_F32_OP) ? EX86_PREF_F3 : EX86_PREF_F2) | EX86_SSE2_OP1, dst_r, 0, src, srcw);
2529 if (dst_r == TMP_FREG)
2550 sljit_s32 dst_r; local
2569 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG;
2581 FAIL_IF(emit_sse2_logic(compiler, CVTPD2PS_x_xm, op & SLJIT_F32_OP, dst_r, src, 0));
2582 if (dst_r == TMP_FREG)
2588 dst_r = dst;
2590 FAIL_IF(emit_sse2_load(compiler, op & SLJIT_F32_OP, dst_r, src, srcw));
2593 dst_r = TMP_FREG;
2594 FAIL_IF(emit_sse2_load(compiler, op & SLJIT_F32_OP, dst_r, src, srcw));
2599 …FAIL_IF(emit_sse2_logic(compiler, XORPD_x_xm, 1, dst_r, SLJIT_MEM0(), (sljit_sw)(op & SLJIT_F32_OP…
2603 …FAIL_IF(emit_sse2_logic(compiler, ANDPD_x_xm, 1, dst_r, SLJIT_MEM0(), (sljit_sw)(op & SLJIT_F32_OP…
2607 if (dst_r == TMP_FREG)
2617 sljit_s32 dst_r; local
2630 dst_r = dst;
2639 FAIL_IF(emit_sse2_load(compiler, op & SLJIT_F32_OP, dst_r, src1, src1w));
2641 dst_r = TMP_FREG;
2646 dst_r = TMP_FREG;
2652 FAIL_IF(emit_sse2(compiler, ADDSD_x_xm, op & SLJIT_F32_OP, dst_r, src2, src2w));
2656 FAIL_IF(emit_sse2(compiler, SUBSD_x_xm, op & SLJIT_F32_OP, dst_r, src2, src2w));
2660 FAIL_IF(emit_sse2(compiler, MULSD_x_xm, op & SLJIT_F32_OP, dst_r, src2, src2w));
2664 FAIL_IF(emit_sse2(compiler, DIVSD_x_xm, op & SLJIT_F32_OP, dst_r, src2, src2w));
2668 if (dst_r == TMP_FREG)