Home | History | Annotate | Download | only in sljit

Lines Matching refs:dstw

567 	sljit_si dst, sljit_sw dstw,
573 dstw,
578 sljit_si dst, sljit_sw dstw,
652 sljit_si dst, sljit_sw dstw,
667 inst = emit_x86_instruction(compiler, 1, src, 0, dst, dstw);
688 inst = emit_x86_instruction(compiler, 1, TMP_REG2, 0, dst, dstw);
694 inst = emit_x86_instruction(compiler, 1, SLJIT_IMM, srcw, dst, dstw);
710 inst = emit_x86_instruction(compiler, 1, TMP_REG1, 0, dst, dstw);
716 #define EMIT_MOV(compiler, dst, dstw, src, srcw) \
717 FAIL_IF(emit_mov(compiler, dst, dstw, src, srcw));
863 sljit_si dst, sljit_sw dstw,
890 inst = emit_x86_instruction(compiler, 1 | EX86_BYTE_ARG | EX86_NO_REXW, SLJIT_IMM, srcw, dst, dstw);
979 inst = emit_x86_instruction(compiler, 1, work_r, 0, dst, dstw);
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);
1008 sljit_si dst, sljit_sw dstw,
1032 inst = emit_x86_instruction(compiler, 1 | EX86_HALF_ARG | EX86_NO_REXW | EX86_PREF_66, SLJIT_IMM, srcw, dst, dstw);
1050 inst = emit_x86_instruction(compiler, 1 | EX86_NO_REXW | EX86_PREF_66, dst_r, 0, dst, dstw);
1059 sljit_si dst, sljit_sw dstw,
1072 if (dst == src && dstw == srcw) {
1074 inst = emit_x86_instruction(compiler, 1, 0, 0, dst, dstw);
1082 inst = emit_x86_instruction(compiler, 1, 0, 0, dst, dstw);
1093 EMIT_MOV(compiler, dst, dstw, TMP_REG1, 0);
1098 sljit_si dst, sljit_sw dstw,
1116 inst = emit_x86_instruction(compiler, 1, 0, 0, dst, dstw);
1133 EMIT_MOV(compiler, dst, dstw, TMP_REG1, 0);
1138 sljit_si dst, sljit_sw dstw,
1184 EMIT_MOV(compiler, dst, dstw, dst_r, 0);
1235 inst = emit_x86_instruction(compiler, 1, dst_r, 0, dst, dstw);
1241 EMIT_MOV(compiler, dst, dstw, TMP_REG2, 0);
1247 sljit_si dst, sljit_sw dstw,
1261 check_sljit_emit_op1(compiler, op, dst, dstw, src, srcw);
1262 ADJUST_LOCAL_OFFSET(dst, dstw);
1265 CHECK_EXTRA_REGS(dst, dstw, dst_is_ereg = 1);
1325 return emit_mov(compiler, dst, dstw, src, srcw);
1351 FAIL_IF(emit_mov(compiler, dst, dstw, src, srcw));
1354 FAIL_IF(emit_mov_byte(compiler, 0, dst, dstw, src, srcw));
1357 FAIL_IF(emit_mov_byte(compiler, 1, dst, dstw, src, srcw));
1360 FAIL_IF(emit_mov_half(compiler, 0, dst, dstw, src, srcw));
1363 FAIL_IF(emit_mov_half(compiler, 1, dst, dstw, src, srcw));
1367 FAIL_IF(emit_mov_int(compiler, 0, dst, dstw, src, srcw));
1370 FAIL_IF(emit_mov_int(compiler, 1, dst, dstw, src, srcw));
1377 return emit_mov(compiler, SLJIT_MEM1(SLJIT_SP), dstw, TMP_REG1, 0);
1380 if (SLJIT_UNLIKELY(update) && (dst & SLJIT_MEM) && (dst & REG_MASK) && (dstw != 0 || (dst & OFFS_REG_MASK) != 0)) {
1381 inst = emit_x86_instruction(compiler, 1, dst & REG_MASK, 0, dst, dstw);
1394 return emit_not_with_flags(compiler, dst, dstw, src, srcw);
1395 return emit_unary(compiler, NOT_rm, dst, dstw, src, srcw);
1400 return emit_unary(compiler, NEG_rm, dst, dstw, src, srcw);
1405 return emit_clz(compiler, op_flags, dst, dstw, src, srcw);
1447 sljit_si dst, sljit_sw dstw,
1466 if (dst == src1 && dstw == src1w) {
1476 BINARY_IMM(op_imm, op_mr, src2w, dst, dstw);
1480 inst = emit_x86_instruction(compiler, 1, dst, dstw, src2, src2w);
1486 inst = emit_x86_instruction(compiler, 1, src2, src2w, dst, dstw);
1492 inst = emit_x86_instruction(compiler, 1, TMP_REG1, 0, dst, dstw);
1500 if (dst == src2 && dstw == src2w) {
1510 BINARY_IMM(op_imm, op_mr, src1w, dst, dstw);
1514 inst = emit_x86_instruction(compiler, 1, dst, dstw, src1, src1w);
1519 inst = emit_x86_instruction(compiler, 1, src1, src1w, dst, dstw);
1525 inst = emit_x86_instruction(compiler, 1, TMP_REG1, 0, dst, dstw);
1555 EMIT_MOV(compiler, dst, dstw, TMP_REG1, 0);
1563 sljit_si dst, sljit_sw dstw,
1582 if (dst == src1 && dstw == src1w) {
1592 BINARY_IMM(op_imm, op_mr, src2w, dst, dstw);
1596 inst = emit_x86_instruction(compiler, 1, dst, dstw, src2, src2w);
1601 inst = emit_x86_instruction(compiler, 1, src2, src2w, dst, dstw);
1607 inst = emit_x86_instruction(compiler, 1, TMP_REG1, 0, dst, dstw);
1637 EMIT_MOV(compiler, dst, dstw, TMP_REG1, 0);
1644 sljit_si dst, sljit_sw dstw,
1768 EMIT_MOV(compiler, dst, dstw, TMP_REG1, 0);
1774 sljit_si dst, sljit_sw dstw,
1783 if (dst == src1 && dstw == src1w)
1785 if (dst == src2 && dstw == src2w)
1826 return emit_mov(compiler, dst, dstw, TMP_REG1, 0);
1993 sljit_si dst, sljit_sw dstw,
2000 if (dst == src1 && dstw == src1w) {
2001 inst = emit_x86_instruction(compiler, 1 | EX86_SHIFT_INS, src2, src2w, dst, dstw);
2033 EMIT_MOV(compiler, dst, dstw, TMP_REG1, 0);
2074 EMIT_MOV(compiler, dst, dstw, TMP_REG1, 0);
2082 sljit_si dst, sljit_sw dstw,
2090 return emit_shift(compiler, mode, dst, dstw, src1, src1w, src2, src2w);
2093 return emit_shift(compiler, mode, dst, dstw, src1, src1w, src2, src2w);
2096 return emit_mov(compiler, dst, dstw, src1, src1w);
2099 dst, dstw, src1, src1w, SLJIT_IMM, 0);
2103 return emit_shift(compiler, mode, dst, dstw, src1, src1w, src2, src2w);
2108 FAIL_IF(emit_shift(compiler,mode, dst, dstw, src1, src1w, src2, src2w));
2111 return emit_cmp_binary(compiler, dst, dstw, SLJIT_IMM, 0);
2116 sljit_si dst, sljit_sw dstw,
2121 check_sljit_emit_op2(compiler, op, dst, dstw, src1, src1w, src2, src2w);
2122 ADJUST_LOCAL_OFFSET(dst, dstw);
2126 CHECK_EXTRA_REGS(dst, dstw, (void)0);
2143 if (emit_lea_binary(compiler, op & SLJIT_KEEP_FLAGS, dst, dstw, src1, src1w, src2, src2w) != SLJIT_ERR_UNSUPPORTED)
2151 dst, dstw, src1, src1w, src2, src2w);
2160 dst, dstw, src1, src1w, src2, src2w);
2163 if ((src2 & SLJIT_IMM) && emit_lea_binary(compiler, op & SLJIT_KEEP_FLAGS, dst, dstw, src1, src1w, SLJIT_IMM, -src2w) != SLJIT_ERR_UNSUPPORTED)
2173 dst, dstw, src1, src1w, src2, src2w);
2182 dst, dstw, src1, src1w, src2, src2w);
2184 return emit_mul(compiler, dst, dstw, src1, src1w, src2, src2w);
2189 dst, dstw, src1, src1w, src2, src2w);
2192 dst, dstw, src1, src1w, src2, src2w);
2195 dst, dstw, src1, src1w, src2, src2w);
2198 dst, dstw, src1, src1w, src2, src2w);
2201 dst, dstw, src1, src1w, src2, src2w);
2204 dst, dstw, src1, src1w, src2, src2w);
2307 sljit_si single, sljit_si dst, sljit_sw dstw, sljit_si src)
2309 return emit_sse2(compiler, MOVSD_xm_x, single, src, dst, dstw);
2313 sljit_si dst, sljit_sw dstw,
2330 return emit_mov(compiler, dst, dstw, TMP_REG1, 0);
2335 sljit_si dst, sljit_sw dstw,
2365 return emit_sse2_store(compiler, op & SLJIT_SINGLE_OP, dst, dstw, TMP_FREG);
2382 sljit_si dst, sljit_sw dstw,
2392 SELECT_FOP1_OPERATION_WITH_CHECKS(compiler, op, dst, dstw, src, srcw);
2398 return emit_sse2_store(compiler, op & SLJIT_SINGLE_OP, dst, dstw, src);
2400 return emit_sse2_store(compiler, op & SLJIT_SINGLE_OP, dst, dstw, TMP_FREG);
2418 return emit_sse2_store(compiler, op & SLJIT_SINGLE_OP, dst, dstw, TMP_FREG);
2443 return emit_sse2_store(compiler, op & SLJIT_SINGLE_OP, dst, dstw, TMP_FREG);
2448 sljit_si dst, sljit_sw dstw,
2455 check_sljit_emit_fop2(compiler, op, dst, dstw, src1, src1w, src2, src2w);
2456 ADJUST_LOCAL_OFFSET(dst, dstw);
2504 return emit_sse2_store(compiler, op & SLJIT_SINGLE_OP, dst, dstw, TMP_FREG);
2648 sljit_si dst, sljit_sw dstw,
2659 sljit_sw dstw_save = dstw;
2663 check_sljit_emit_op_flags(compiler, op, dst, dstw, src, srcw, type);
2668 ADJUST_LOCAL_OFFSET(dst, dstw);
2669 CHECK_EXTRA_REGS(dst, dstw, (void)0);
2712 return emit_mov(compiler, dst, dstw, TMP_REG1, 0);
2717 return sljit_emit_op2(compiler, op, dst, dstw, dst, dstw, TMP_REG1, 0);
2822 return emit_mov(compiler, dst, dstw, TMP_REG1, 0);
2831 SLJIT_API_FUNC_ATTRIBUTE sljit_si sljit_get_local_base(struct sljit_compiler *compiler, sljit_si dst, sljit_sw dstw, sljit_sw offset)
2834 check_sljit_get_local_base(compiler, dst, dstw, offset);
2835 ADJUST_LOCAL_OFFSET(dst, dstw);
2837 CHECK_EXTRA_REGS(dst, dstw, (void)0);
2849 SLJIT_ASSERT(emit_lea_binary(compiler, SLJIT_KEEP_FLAGS, dst, dstw
2852 return emit_lea_binary(compiler, SLJIT_KEEP_FLAGS, dst, dstw, SLJIT_SP, 0, TMP_REG1, 0);
2858 return emit_lea_binary(compiler, SLJIT_KEEP_FLAGS, dst, dstw, SLJIT_SP, 0, SLJIT_IMM, offset);
2859 return emit_mov(compiler, dst, dstw, SLJIT_SP, 0);
2862 SLJIT_API_FUNC_ATTRIBUTE struct sljit_const* sljit_emit_const(struct sljit_compiler *compiler, sljit_si dst, sljit_sw dstw, sljit_sw init_value)
2871 check_sljit_emit_const(compiler, dst, dstw, init_value);
2872 ADJUST_LOCAL_OFFSET(dst, dstw);
2874 CHECK_EXTRA_REGS(dst, dstw, (void)0);
2890 if (emit_mov(compiler, dst, dstw, SLJIT_IMM, init_value))
2902 if (emit_mov(compiler, dst, dstw, TMP_REG1, 0))