Home | History | Annotate | Download | only in sljit

Lines Matching refs:dst_r

867 	sljit_si dst_r;
896 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1;
901 SLJIT_ASSERT(dst_r == TMP_REG1);
904 dst_r = src;
906 dst_r = src;
945 inst = emit_x86_instruction(compiler, 2, dst_r, 0, src, srcw);
953 if (dst_r == TMP_REG1) {
974 inst = emit_x86_instruction(compiler, 1, work_r, 0, dst_r, 0);
987 inst = emit_x86_instruction(compiler, 1, work_r, 0, dst_r, 0);
993 inst = emit_x86_instruction(compiler, 1, dst_r, 0, dst, dstw);
998 inst = emit_x86_instruction(compiler, 1 | EX86_REX | EX86_NO_REXW, dst_r, 0, dst, dstw);
1012 sljit_si dst_r;
1038 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1;
1041 dst_r = src;
1043 inst = emit_x86_instruction(compiler, 2, dst_r, 0, src, srcw);
1050 inst = emit_x86_instruction(compiler, 1 | EX86_NO_REXW | EX86_PREF_66, dst_r, 0, dst, dstw);
1142 sljit_si dst_r;
1175 dst_r = dst;
1179 dst_r = SLJIT_R0;
1181 dst_r = SLJIT_R1;
1183 dst_r = SLJIT_R2;
1184 EMIT_MOV(compiler, dst, dstw, dst_r, 0);
1186 EMIT_MOV(compiler, dst_r, 0, SLJIT_IMM, 32 + 31);
1188 dst_r
1190 EMIT_MOV(compiler, dst_r, 0, SLJIT_IMM, !(op_flags & SLJIT_INT_OP) ? 64 + 63 : 32 + 31);
1198 inst = emit_x86_instruction(compiler, 2, dst_r, 0, TMP_REG1, 0);
1211 *inst++ = MOD_REG | (reg_map[dst_r] << 3) | reg_map[TMP_REG1];
1219 *inst++ = REX_W | (reg_map[dst_r] >= 8 ? REX_R : 0) | (reg_map[TMP_REG1] >= 8 ? REX_B : 0);
1221 *inst++ = MOD_REG | (reg_lmap[dst_r] << 3) | reg_lmap[TMP_REG1];
1226 inst = emit_x86_instruction(compiler, 1 | EX86_BIN_INS, SLJIT_IMM, 31, dst_r, 0);
1228 inst = emit_x86_instruction(compiler, 1 | EX86_BIN_INS, SLJIT_IMM, !(op_flags & SLJIT_INT_OP) ? 63 : 31, dst_r, 0);
1235 inst = emit_x86_instruction(compiler, 1, dst_r, 0, dst, dstw);
1649 sljit_si dst_r;
1651 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1;
1654 if (dst_r == src1 && !(src2 & SLJIT_IMM)) {
1655 inst = emit_x86_instruction(compiler, 2, dst_r, 0, src2, src2w);
1660 else if (dst_r == src2 && !(src1 & SLJIT_IMM)) {
1661 inst = emit_x86_instruction(compiler, 2, dst_r, 0, src1, src1w);
1668 EMIT_MOV(compiler, dst_r, 0, SLJIT_IMM, src2w);
1669 src2 = dst_r;
1674 inst = emit_x86_instruction(compiler, 1, dst_r, 0, src2, src2w);
1684 inst = emit_x86_instruction(compiler, 1, dst_r, 0, src2, src2w);
1694 inst = emit_x86_instruction(compiler, 1, dst_r, 0, src2, src2w);
1704 if (dst_r != src2)
1705 EMIT_MOV(compiler, dst_r, 0, src2, src2w);
1706 inst = emit_x86_instruction(compiler, 2, dst_r, 0, TMP_REG2, 0);
1717 inst = emit_x86_instruction(compiler, 1, dst_r, 0, src1, src1w);
1727 inst = emit_x86_instruction(compiler, 1, dst_r, 0, src1, src1w);
1737 inst = emit_x86_instruction(compiler, 1, dst_r, 0, src1, src1w);
1747 if (dst_r != src1)
1748 EMIT_MOV(compiler, dst_r, 0, src1, src1w);
1749 inst = emit_x86_instruction(compiler, 2, dst_r, 0, TMP_REG2, 0);
1758 if (ADDRESSING_DEPENDS_ON(src2, dst_r))
1759 dst_r = TMP_REG1;
1760 EMIT_MOV(compiler, dst_r, 0, src1, src1w);
1761 inst = emit_x86_instruction(compiler, 2, dst_r, 0, src2, src2w);
1767 if (dst_r == TMP_REG1)
1779 sljit_si dst_r, done = 0;
1789 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1;
1793 inst = emit_x86_instruction(compiler, 1, dst_r, 0, SLJIT_MEM2(src1, src2), 0);
1800 inst = emit_x86_instruction(compiler, 1, dst_r, 0, SLJIT_MEM1(src1), (sljit_si)src2w);
1803 inst = emit_x86_instruction(compiler, 1, dst_r, 0, SLJIT_MEM1(src1), src2w);
1813 inst = emit_x86_instruction(compiler, 1, dst_r, 0, SLJIT_MEM1(src2), (sljit_si)src1w);
1816 inst = emit_x86_instruction(compiler, 1, dst_r, 0, SLJIT_MEM1(src2), src1w);
1825 if (dst_r == TMP_REG1)
2316 sljit_si dst_r = SLOW_IS_REG(dst) ? dst : TMP_REG1;
2324 inst = emit_x86_instruction(compiler, 2 | ((op & SLJIT_SINGLE_OP) ? EX86_PREF_F3 : EX86_PREF_F2) | EX86_SSE2_OP2, dst_r, 0, src, srcw);
2329 if (dst_r == TMP_REG1 && dst != SLJIT_UNUSED)
2338 sljit_si dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG;
2356 inst = emit_x86_instruction(compiler, 2 | ((op & SLJIT_SINGLE_OP) ? EX86_PREF_F3 : EX86_PREF_F2) | EX86_SSE2_OP1, dst_r, 0, src, srcw);
2364 if (dst_r == TMP_FREG)
2385 sljit_si dst_r;
2404 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG;
2416 FAIL_IF(emit_sse2_logic(compiler, CVTPD2PS_x_xm, op & SLJIT_SINGLE_OP, dst_r, src, 0));
2417 if (dst_r == TMP_FREG)
2423 dst_r = dst;
2425 FAIL_IF(emit_sse2_load(compiler, op & SLJIT_SINGLE_OP, dst_r, src, srcw));
2428 dst_r = TMP_FREG;
2429 FAIL_IF(emit_sse2_load(compiler, op & SLJIT_SINGLE_OP, dst_r, src, srcw));
2434 FAIL_IF(emit_sse2_logic(compiler, XORPD_x_xm, 1, dst_r, SLJIT_MEM0(), (sljit_sw)(op & SLJIT_SINGLE_OP ? sse2_buffer : sse2_buffer + 8)));
2438 FAIL_IF(emit_sse2_logic(compiler, ANDPD_x_xm, 1, dst_r, SLJIT_MEM0(), (sljit_sw)(op & SLJIT_SINGLE_OP ? sse2_buffer + 4 : sse2_buffer + 12)));
2442 if (dst_r == TMP_FREG)
2452 sljit_si dst_r;
2465 dst_r = dst;
2474 FAIL_IF(emit_sse2_load(compiler, op & SLJIT_SINGLE_OP, dst_r, src1, src1w));
2476 dst_r = TMP_FREG;
2481 dst_r = TMP_FREG;
2487 FAIL_IF(emit_sse2(compiler, ADDSD_x_xm, op & SLJIT_SINGLE_OP, dst_r, src2, src2w));
2491 FAIL_IF(emit_sse2(compiler, SUBSD_x_xm, op & SLJIT_SINGLE_OP, dst_r, src2, src2w));
2495 FAIL_IF(emit_sse2(compiler, MULSD_x_xm, op & SLJIT_SINGLE_OP, dst_r, src2, src2w));
2499 FAIL_IF(emit_sse2(compiler, DIVSD_x_xm, op & SLJIT_SINGLE_OP, dst_r, src2, src2w));
2503 if (dst_r == TMP_FREG)