Lines Matching refs:dst_r

1232 	sljit_s32 dst_r;  in emit_mov_byte()  local
1258 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1; in emit_mov_byte()
1263 SLJIT_ASSERT(dst_r == TMP_REG1); in emit_mov_byte()
1266 dst_r = src; in emit_mov_byte()
1268 dst_r = src; in emit_mov_byte()
1307 inst = emit_x86_instruction(compiler, 2, dst_r, 0, src, srcw); in emit_mov_byte()
1315 if (dst_r == TMP_REG1) { in emit_mov_byte()
1336 inst = emit_x86_instruction(compiler, 1, work_r, 0, dst_r, 0); in emit_mov_byte()
1349 inst = emit_x86_instruction(compiler, 1, work_r, 0, dst_r, 0); in emit_mov_byte()
1355 inst = emit_x86_instruction(compiler, 1, dst_r, 0, dst, dstw); in emit_mov_byte()
1360 inst = emit_x86_instruction(compiler, 1 | EX86_REX | EX86_NO_REXW, dst_r, 0, dst, dstw); in emit_mov_byte()
1398 sljit_s32 dst_r; in emit_mov_half() local
1421 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1; in emit_mov_half()
1424 dst_r = src; in emit_mov_half()
1426 inst = emit_x86_instruction(compiler, 2, dst_r, 0, src, srcw); in emit_mov_half()
1433 inst = emit_x86_instruction(compiler, 1 | EX86_NO_REXW | EX86_PREF_66, dst_r, 0, dst, dstw); in emit_mov_half()
1514 sljit_s32 dst_r; in emit_clz_ctz() local
1520 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1; in emit_clz_ctz()
1529 inst = emit_x86_instruction(compiler, 2, dst_r, 0, src, srcw); in emit_clz_ctz()
1539 inst = emit_x86_instruction(compiler, 2, dst_r, 0, src, srcw); in emit_clz_ctz()
1548 if (dst_r != TMP_REG1) { in emit_clz_ctz()
1550 inst = emit_x86_instruction(compiler, 2, dst_r, 0, TMP_REG1, 0); in emit_clz_ctz()
1553 …inst = emit_x86_instruction(compiler, 2, dst_r, 0, SLJIT_MEM0(), is_clz ? (sljit_sw)&emit_clz_arg … in emit_clz_ctz()
1560 FAIL_IF(sljit_emit_cmov_generic(compiler, SLJIT_EQUAL, dst_r, SLJIT_IMM, max)); in emit_clz_ctz()
1563 inst = emit_x86_instruction(compiler, 1 | EX86_BIN_INS, SLJIT_IMM, 31, dst_r, 0); in emit_clz_ctz()
1576 inst = emit_x86_instruction(compiler, 2, dst_r, 0, TMP_REG2, 0); in emit_clz_ctz()
1582 FAIL_IF(sljit_emit_cmov_generic(compiler, SLJIT_EQUAL, dst_r, SLJIT_IMM, max)); in emit_clz_ctz()
1585 inst = emit_x86_instruction(compiler, 1 | EX86_BIN_INS, SLJIT_IMM, max >> 1, dst_r, 0); in emit_clz_ctz()
1921 sljit_s32 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1; local
1924 if (dst_r == src1 && !(src2 & SLJIT_IMM)) {
1925 inst = emit_x86_instruction(compiler, 2, dst_r, 0, src2, src2w);
1930 else if (dst_r == src2 && !(src1 & SLJIT_IMM)) {
1931 inst = emit_x86_instruction(compiler, 2, dst_r, 0, src1, src1w);
1938 EMIT_MOV(compiler, dst_r, 0, SLJIT_IMM, src2w);
1939 src2 = dst_r;
1944 inst = emit_x86_instruction(compiler, 1, dst_r, 0, src2, src2w);
1954 inst = emit_x86_instruction(compiler, 1, dst_r, 0, src2, src2w);
1964 inst = emit_x86_instruction(compiler, 1, dst_r, 0, src2, src2w);
1973 if (dst_r != src2)
1974 EMIT_MOV(compiler, dst_r, 0, src2, src2w);
1976 inst = emit_x86_instruction(compiler, 2, dst_r, 0, TMP_REG2, 0);
1987 inst = emit_x86_instruction(compiler, 1, dst_r, 0, src1, src1w);
1997 inst = emit_x86_instruction(compiler, 1, dst_r, 0, src1, src1w);
2007 inst = emit_x86_instruction(compiler, 1, dst_r, 0, src1, src1w);
2016 if (dst_r != src1)
2017 EMIT_MOV(compiler, dst_r, 0, src1, src1w);
2019 inst = emit_x86_instruction(compiler, 2, dst_r, 0, TMP_REG2, 0);
2028 if (ADDRESSING_DEPENDS_ON(src2, dst_r))
2029 dst_r = TMP_REG1;
2030 EMIT_MOV(compiler, dst_r, 0, src1, src1w);
2031 inst = emit_x86_instruction(compiler, 2, dst_r, 0, src2, src2w);
2049 sljit_s32 dst_r, done = 0; local
2057 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1;
2061 inst = emit_x86_instruction(compiler, 1, dst_r, 0, SLJIT_MEM2(src1, src2), 0);
2068 inst = emit_x86_instruction(compiler, 1, dst_r, 0, SLJIT_MEM1(src1), (sljit_s32)src2w);
2071 inst = emit_x86_instruction(compiler, 1, dst_r, 0, SLJIT_MEM1(src1), src2w);
2081 inst = emit_x86_instruction(compiler, 1, dst_r, 0, SLJIT_MEM1(src2), (sljit_s32)src1w);
2084 inst = emit_x86_instruction(compiler, 1, dst_r, 0, SLJIT_MEM1(src2), src1w);
2093 if (dst_r == TMP_REG1)
2757 sljit_s32 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1; local
2765 …ompiler, 2 | ((op & SLJIT_32) ? EX86_PREF_F3 : EX86_PREF_F2) | EX86_SSE2_OP2, dst_r, 0, src, srcw);
2779 sljit_s32 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG; local
2797 …ompiler, 2 | ((op & SLJIT_32) ? EX86_PREF_F3 : EX86_PREF_F2) | EX86_SSE2_OP1, dst_r, 0, src, srcw);
2805 if (dst_r == TMP_FREG)
2839 sljit_s32 dst_r; local
2858 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG;
2870 FAIL_IF(emit_sse2_logic(compiler, CVTPD2PS_x_xm, op & SLJIT_32, dst_r, src, 0));
2871 if (dst_r == TMP_FREG)
2877 dst_r = dst;
2879 FAIL_IF(emit_sse2_load(compiler, op & SLJIT_32, dst_r, src, srcw));
2882 dst_r = TMP_FREG;
2883 FAIL_IF(emit_sse2_load(compiler, op & SLJIT_32, dst_r, src, srcw));
2888 …FAIL_IF(emit_sse2_logic(compiler, XORPD_x_xm, 1, dst_r, SLJIT_MEM0(), (sljit_sw)(op & SLJIT_32 ? s…
2892 …FAIL_IF(emit_sse2_logic(compiler, ANDPD_x_xm, 1, dst_r, SLJIT_MEM0(), (sljit_sw)(op & SLJIT_32 ? s…
2896 if (dst_r == TMP_FREG)
2906 sljit_s32 dst_r; local
2919 dst_r = dst;
2928 FAIL_IF(emit_sse2_load(compiler, op & SLJIT_32, dst_r, src1, src1w));
2930 dst_r = TMP_FREG;
2935 dst_r = TMP_FREG;
2941 FAIL_IF(emit_sse2(compiler, ADDSD_x_xm, op & SLJIT_32, dst_r, src2, src2w));
2945 FAIL_IF(emit_sse2(compiler, SUBSD_x_xm, op & SLJIT_32, dst_r, src2, src2w));
2949 FAIL_IF(emit_sse2(compiler, MULSD_x_xm, op & SLJIT_32, dst_r, src2, src2w));
2953 FAIL_IF(emit_sse2(compiler, DIVSD_x_xm, op & SLJIT_32, dst_r, src2, src2w));
2957 if (dst_r == TMP_FREG)