Lines Matching refs:dstw
599 sljit_s32 dst, sljit_sw dstw,
605 sljit_s32 dst, sljit_sw dstw,
610 sljit_s32 dst, sljit_sw dstw,
613 #define EMIT_MOV(compiler, dst, dstw, src, srcw) \
614 FAIL_IF(emit_mov(compiler, dst, dstw, src, srcw));
640 sljit_s32 dst, sljit_sw dstw,
655 inst = emit_x86_instruction(compiler, 1, src, 0, dst, dstw);
676 inst = emit_x86_instruction(compiler, 1, TMP_REG2, 0, dst, dstw);
682 inst = emit_x86_instruction(compiler, 1, SLJIT_IMM, srcw, dst, dstw);
698 inst = emit_x86_instruction(compiler, 1, TMP_REG1, 0, dst, dstw);
854 sljit_s32 dst, sljit_sw dstw,
881 inst = emit_x86_instruction(compiler, 1 | EX86_BYTE_ARG | EX86_NO_REXW, SLJIT_IMM, srcw, dst, dstw);
970 inst = emit_x86_instruction(compiler, 1, work_r, 0, dst, dstw);
984 inst = emit_x86_instruction(compiler, 1, dst_r, 0, dst, dstw);
989 inst = emit_x86_instruction(compiler, 1 | EX86_REX | EX86_NO_REXW, dst_r, 0, dst, dstw);
999 sljit_s32 dst, sljit_sw dstw,
1023 inst = emit_x86_instruction(compiler, 1 | EX86_HALF_ARG | EX86_NO_REXW | EX86_PREF_66, SLJIT_IMM, srcw, dst, dstw);
1041 inst = emit_x86_instruction(compiler, 1 | EX86_NO_REXW | EX86_PREF_66, dst_r, 0, dst, dstw);
1050 sljit_s32 dst, sljit_sw dstw,
1063 if (dst == src && dstw == srcw) {
1065 inst = emit_x86_instruction(compiler, 1, 0, 0, dst, dstw);
1073 inst = emit_x86_instruction(compiler, 1, 0, 0, dst, dstw);
1084 EMIT_MOV(compiler, dst, dstw, TMP_REG1, 0);
1089 sljit_s32 dst, sljit_sw dstw,
1107 inst = emit_x86_instruction(compiler, 1, 0, 0, dst, dstw);
1124 EMIT_MOV(compiler, dst, dstw, TMP_REG1, 0);
1129 sljit_s32 dst, sljit_sw dstw,
1175 EMIT_MOV(compiler, dst, dstw, dst_r, 0);
1226 inst = emit_x86_instruction(compiler, 1, dst_r, 0, dst, dstw);
1232 EMIT_MOV(compiler, dst, dstw, TMP_REG2, 0);
1238 sljit_s32 dst, sljit_sw dstw,
1251 CHECK(check_sljit_emit_op1(compiler, op, dst, dstw, src, srcw));
1252 ADJUST_LOCAL_OFFSET(dst, dstw);
1255 CHECK_EXTRA_REGS(dst, dstw, dst_is_ereg = 1);
1315 return emit_mov(compiler, dst, dstw, src, srcw);
1333 FAIL_IF(emit_mov(compiler, dst, dstw, src, srcw));
1336 FAIL_IF(emit_mov_byte(compiler, 0, dst, dstw, src, srcw));
1339 FAIL_IF(emit_mov_byte(compiler, 1, dst, dstw, src, srcw));
1342 FAIL_IF(emit_mov_half(compiler, 0, dst, dstw, src, srcw));
1345 FAIL_IF(emit_mov_half(compiler, 1, dst, dstw, src, srcw));
1349 FAIL_IF(emit_mov_int(compiler, 0, dst, dstw, src, srcw));
1352 FAIL_IF(emit_mov_int(compiler, 1, dst, dstw, src, srcw));
1359 return emit_mov(compiler, SLJIT_MEM1(SLJIT_SP), dstw, TMP_REG1, 0);
1378 else if (dstw != 0) {
1380 (dst & REG_MASK), 0, (dst & REG_MASK), 0, SLJIT_IMM, dstw));
1389 return emit_not_with_flags(compiler, dst, dstw, src, srcw);
1390 return emit_unary(compiler, NOT_rm, dst, dstw, src, srcw);
1393 return emit_unary(compiler, NEG_rm, dst, dstw, src, srcw);
1396 return emit_clz(compiler, op_flags, dst, dstw, src, srcw);
1438 sljit_s32 dst, sljit_sw dstw,
1457 if (dst == src1 && dstw == src1w) {
1467 BINARY_IMM(op_imm, op_mr, src2w, dst, dstw);
1471 inst = emit_x86_instruction(compiler, 1, dst, dstw, src2, src2w);
1477 inst = emit_x86_instruction(compiler, 1, src2, src2w, dst, dstw);
1483 inst = emit_x86_instruction(compiler, 1, TMP_REG1, 0, dst, dstw);
1491 if (dst == src2 && dstw == src2w) {
1501 BINARY_IMM(op_imm, op_mr, src1w, dst, dstw);
1505 inst = emit_x86_instruction(compiler, 1, dst, dstw, src1, src1w);
1510 inst = emit_x86_instruction(compiler, 1, src1, src1w, dst, dstw);
1516 inst = emit_x86_instruction(compiler, 1, TMP_REG1, 0, dst, dstw);
1546 EMIT_MOV(compiler, dst, dstw, TMP_REG1, 0);
1554 sljit_s32 dst, sljit_sw dstw,
1573 if (dst == src1 && dstw == src1w) {
1583 BINARY_IMM(op_imm, op_mr, src2w, dst, dstw);
1587 inst = emit_x86_instruction(compiler, 1, dst, dstw, src2, src2w);
1592 inst = emit_x86_instruction(compiler, 1, src2, src2w, dst, dstw);
1598 inst = emit_x86_instruction(compiler, 1, TMP_REG1, 0, dst, dstw);
1628 EMIT_MOV(compiler, dst, dstw, TMP_REG1, 0);
1635 sljit_s32 dst, sljit_sw dstw,
1759 EMIT_MOV(compiler, dst, dstw, TMP_REG1, 0);
1765 sljit_s32 dst, sljit_sw dstw,
1773 if (dst == src1 && dstw == src1w)
1775 if (dst == src2 && dstw == src2w)
1815 return emit_mov(compiler, dst, dstw, TMP_REG1, 0);
1984 sljit_s32 dst, sljit_sw dstw,
1991 if (dst == src1 && dstw == src1w) {
1992 inst = emit_x86_instruction(compiler, 1 | EX86_SHIFT_INS, src2, src2w, dst, dstw);
2024 EMIT_MOV(compiler, dst, dstw, TMP_REG1, 0);
2064 EMIT_MOV(compiler, dst, dstw, TMP_REG1, 0);
2072 sljit_s32 dst, sljit_sw dstw,
2080 return emit_shift(compiler, mode, dst, dstw, src1, src1w, src2, src2w);
2083 return emit_shift(compiler, mode, dst, dstw, src1, src1w, src2, src2w);
2086 return emit_mov(compiler, dst, dstw, src1, src1w);
2089 dst, dstw, src1, src1w, SLJIT_IMM, 0);
2093 return emit_shift(compiler, mode, dst, dstw, src1, src1w, src2, src2w);
2098 FAIL_IF(emit_shift(compiler,mode, dst, dstw, src1, src1w, src2, src2w));
2101 return emit_cmp_binary(compiler, dst, dstw, SLJIT_IMM, 0);
2106 sljit_s32 dst, sljit_sw dstw,
2111 CHECK(check_sljit_emit_op2(compiler, op, dst, dstw, src1, src1w, src2, src2w));
2112 ADJUST_LOCAL_OFFSET(dst, dstw);
2116 CHECK_EXTRA_REGS(dst, dstw, (void)0);
2126 if (emit_lea_binary(compiler, dst, dstw, src1, src1w, src2, src2w) != SLJIT_ERR_UNSUPPORTED)
2130 dst, dstw, src1, src1w, src2, src2w);
2133 dst, dstw, src1, src1w, src2, src2w);
2136 if ((src2 & SLJIT_IMM) && emit_lea_binary(compiler, dst, dstw, src1, src1w, SLJIT_IMM, -src2w) != SLJIT_ERR_UNSUPPORTED)
2143 dst, dstw, src1, src1w, src2, src2w);
2146 dst, dstw, src1, src1w, src2, src2w);
2148 return emit_mul(compiler, dst, dstw, src1, src1w, src2, src2w);
2153 dst, dstw, src1, src1w, src2, src2w);
2156 dst, dstw, src1, src1w, src2, src2w);
2159 dst, dstw, src1, src1w, src2, src2w);
2162 dst, dstw, src1, src1w, src2, src2w);
2165 dst, dstw, src1, src1w, src2, src2w);
2168 dst, dstw, src1, src1w, src2, src2w);
2270 sljit_s32 single, sljit_s32 dst, sljit_sw dstw, sljit_s32 src)
2272 return emit_sse2(compiler, MOVSD_xm_x, single, src, dst, dstw);
2276 sljit_s32 dst, sljit_sw dstw,
2293 return emit_mov(compiler, dst, dstw, TMP_REG1, 0);
2298 sljit_s32 dst, sljit_sw dstw,
2328 return emit_sse2_store(compiler, op & SLJIT_F32_OP, dst, dstw, TMP_FREG);
2344 sljit_s32 dst, sljit_sw dstw,
2354 SELECT_FOP1_OPERATION_WITH_CHECKS(compiler, op, dst, dstw, src, srcw);
2360 return emit_sse2_store(compiler, op & SLJIT_F32_OP, dst, dstw, src);
2362 return emit_sse2_store(compiler, op & SLJIT_F32_OP, dst, dstw, TMP_FREG);
2380 return emit_sse2_store(compiler, op & SLJIT_F32_OP, dst, dstw, TMP_FREG);
2405 return emit_sse2_store(compiler, op & SLJIT_F32_OP, dst, dstw, TMP_FREG);
2410 sljit_s32 dst, sljit_sw dstw,
2417 CHECK(check_sljit_emit_fop2(compiler, op, dst, dstw, src1, src1w, src2, src2w));
2418 ADJUST_LOCAL_OFFSET(dst, dstw);
2466 return emit_sse2_store(compiler, op & SLJIT_F32_OP, dst, dstw, TMP_FREG);
2593 sljit_s32 dst, sljit_sw dstw,
2604 sljit_sw dstw_save = dstw;
2607 CHECK(check_sljit_emit_op_flags(compiler, op, dst, dstw, src, srcw, type));
2613 ADJUST_LOCAL_OFFSET(dst, dstw);
2614 CHECK_EXTRA_REGS(dst, dstw, (void)0);
2657 return emit_mov(compiler, dst, dstw, TMP_REG1, 0);
2771 return emit_mov(compiler, dst, dstw, TMP_REG1, 0);
2781 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_get_local_base(struct sljit_compiler *compiler, sljit_s32 dst, sljit_sw dstw, sljit_sw offset)
2784 CHECK(check_sljit_get_local_base(compiler, dst, dstw, offset));
2785 ADJUST_LOCAL_OFFSET(dst, dstw);
2787 CHECK_EXTRA_REGS(dst, dstw, (void)0);
2799 SLJIT_ASSERT(emit_lea_binary(compiler, dst, dstw, SLJIT_SP, 0, TMP_REG1, 0) != SLJIT_ERR_UNSUPPORTED);
2802 return emit_lea_binary(compiler, dst, dstw, SLJIT_SP, 0, TMP_REG1, 0);
2808 return emit_lea_binary(compiler, dst, dstw, SLJIT_SP, 0, SLJIT_IMM, offset);
2809 return emit_mov(compiler, dst, dstw, SLJIT_SP, 0);
2812 SLJIT_API_FUNC_ATTRIBUTE struct sljit_const* sljit_emit_const(struct sljit_compiler *compiler, sljit_s32 dst, sljit_sw dstw, sljit_sw init_value)
2821 CHECK_PTR(check_sljit_emit_const(compiler, dst, dstw, init_value));
2822 ADJUST_LOCAL_OFFSET(dst, dstw);
2824 CHECK_EXTRA_REGS(dst, dstw, (void)0);
2840 if (emit_mov(compiler, dst, dstw, SLJIT_IMM, init_value))
2852 if (emit_mov(compiler, dst, dstw, TMP_REG1, 0))