• Home
  • Raw
  • Download

Lines Matching refs:src2w

691 	sljit_s32 src2, sljit_sw src2w);
697 sljit_s32 src2, sljit_sw src2w);
714 sljit_s32 src2, sljit_sw src2w);
1607 sljit_s32 src2, sljit_sw src2w) argument
1618 BINARY_IMM(op_imm, op_mr, src2w, TMP_REG1, 0);
1621 inst = emit_x86_instruction(compiler, 1, TMP_REG1, 0, src2, src2w);
1631 …if ((dst == SLJIT_R0) && (src2w > 127 || src2w < -128) && (compiler->mode32 || IS_HALFWORD(src2w))…
1633 if ((dst == SLJIT_R0) && (src2w > 127 || src2w < -128)) {
1635 BINARY_EAX_IMM(op_eax_imm, src2w);
1638 BINARY_IMM(op_imm, op_mr, src2w, dst, dstw);
1642 inst = emit_x86_instruction(compiler, 1, dst, dstw, src2, src2w);
1648 inst = emit_x86_instruction(compiler, 1, src2, src2w, dst, dstw);
1653 EMIT_MOV(compiler, TMP_REG1, 0, src2, src2w);
1662 if (dst == src2 && dstw == src2w) {
1698 BINARY_IMM(op_imm, op_mr, src2w, dst, 0);
1701 inst = emit_x86_instruction(compiler, 1, dst, 0, src2, src2w);
1710 BINARY_IMM(op_imm, op_mr, src2w, TMP_REG1, 0);
1713 inst = emit_x86_instruction(compiler, 1, TMP_REG1, 0, src2, src2w);
1727 sljit_s32 src2, sljit_sw src2w) argument
1738 BINARY_IMM(op_imm, op_mr, src2w, TMP_REG1, 0);
1741 inst = emit_x86_instruction(compiler, 1, TMP_REG1, 0, src2, src2w);
1751 …if ((dst == SLJIT_R0) && (src2w > 127 || src2w < -128) && (compiler->mode32 || IS_HALFWORD(src2w))…
1753 if ((dst == SLJIT_R0) && (src2w > 127 || src2w < -128)) {
1755 BINARY_EAX_IMM(op_eax_imm, src2w);
1758 BINARY_IMM(op_imm, op_mr, src2w, dst, dstw);
1762 inst = emit_x86_instruction(compiler, 1, dst, dstw, src2, src2w);
1767 inst = emit_x86_instruction(compiler, 1, src2, src2w, dst, dstw);
1772 EMIT_MOV(compiler, TMP_REG1, 0, src2, src2w);
1784 BINARY_IMM(op_imm, op_mr, src2w, dst, 0);
1787 inst = emit_x86_instruction(compiler, 1, dst, 0, src2, src2w);
1796 BINARY_IMM(op_imm, op_mr, src2w, TMP_REG1, 0);
1799 inst = emit_x86_instruction(compiler, 1, TMP_REG1, 0, src2, src2w);
1812 sljit_s32 src2, sljit_sw src2w) argument
1821 inst = emit_x86_instruction(compiler, 2, dst_r, 0, src2, src2w);
1834 EMIT_MOV(compiler, dst_r, 0, SLJIT_IMM, src2w);
1836 src2w = 0;
1840 inst = emit_x86_instruction(compiler, 1, dst_r, 0, src2, src2w);
1850 inst = emit_x86_instruction(compiler, 1, dst_r, 0, src2, src2w);
1860 inst = emit_x86_instruction(compiler, 1, dst_r, 0, src2, src2w);
1870 EMIT_MOV(compiler, dst_r, 0, src2, src2w);
1882 if (src2w <= 127 && src2w >= -128) {
1889 *inst = (sljit_s8)src2w;
1899 sljit_unaligned_store_sw(inst, src2w);
1902 else if (IS_HALFWORD(src2w)) {
1909 sljit_unaligned_store_s32(inst, (sljit_s32)src2w);
1914 FAIL_IF(emit_load_imm64(compiler, TMP_REG2, src2w));
1927 inst = emit_x86_instruction(compiler, 2, dst_r, 0, src2, src2w);
1942 sljit_s32 src2, sljit_sw src2w) argument
1950 if (dst == src2 && dstw == src2w)
1963 if ((src2 & SLJIT_IMM) && (compiler->mode32 || IS_HALFWORD(src2w))) {
1964 inst = emit_x86_instruction(compiler, 1, dst_r, 0, SLJIT_MEM1(src1), (sljit_s32)src2w);
1967 inst = emit_x86_instruction(compiler, 1, dst_r, 0, SLJIT_MEM1(src1), src2w);
1998 sljit_s32 src2, sljit_sw src2w) argument
2003 …c1 == SLJIT_R0 && (src2 & SLJIT_IMM) && (src2w > 127 || src2w < -128) && (compiler->mode32 || IS_H…
2005 if (src1 == SLJIT_R0 && (src2 & SLJIT_IMM) && (src2w > 127 || src2w < -128)) {
2007 BINARY_EAX_IMM(CMP_EAX_i32, src2w);
2013 BINARY_IMM(CMP, CMP_rm_r, src2w, src1, 0);
2016 inst = emit_x86_instruction(compiler, 1, src1, 0, src2, src2w);
2036 BINARY_IMM(CMP, CMP_rm_r, src2w, src1, src1w);
2040 inst = emit_x86_instruction(compiler, 1, TMP_REG1, 0, src2, src2w);
2049 sljit_s32 src2, sljit_sw src2w) argument
2054 …c1 == SLJIT_R0 && (src2 & SLJIT_IMM) && (src2w > 127 || src2w < -128) && (compiler->mode32 || IS_H…
2056 if (src1 == SLJIT_R0 && (src2 & SLJIT_IMM) && (src2w > 127 || src2w < -128)) {
2058 BINARY_EAX_IMM(TEST_EAX_i32, src2w);
2074 if (IS_HALFWORD(src2w) || compiler->mode32) {
2075 inst = emit_x86_instruction(compiler, 1, SLJIT_IMM, src2w, src1, src1w);
2080 FAIL_IF(emit_load_imm64(compiler, TMP_REG1, src2w));
2086 inst = emit_x86_instruction(compiler, 1, SLJIT_IMM, src2w, src1, src1w);
2093 inst = emit_x86_instruction(compiler, 1, src1, 0, src2, src2w);
2104 inst = emit_x86_instruction(compiler, 1, SLJIT_IMM, src1w, src2, src2w);
2110 inst = emit_x86_instruction(compiler, 1, TMP_REG1, 0, src2, src2w);
2115 inst = emit_x86_instruction(compiler, 1, src1, src1w, src2, src2w);
2132 if (IS_HALFWORD(src2w) || compiler->mode32) {
2133 inst = emit_x86_instruction(compiler, 1, SLJIT_IMM, src2w, TMP_REG1, 0);
2138 FAIL_IF(emit_load_imm64(compiler, TMP_REG2, src2w));
2144 inst = emit_x86_instruction(compiler, 1, SLJIT_IMM, src2w, TMP_REG1, 0);
2150 inst = emit_x86_instruction(compiler, 1, TMP_REG1, 0, src2, src2w);
2161 sljit_s32 src2, sljit_sw src2w) argument
2167 inst = emit_x86_instruction(compiler, 1 | EX86_SHIFT_INS, src2, src2w, dst, dstw);
2174 inst = emit_x86_instruction(compiler, 1 | EX86_SHIFT_INS, src2, src2w, TMP_REG1, 0);
2189 inst = emit_x86_instruction(compiler, 1 | EX86_SHIFT_INS, src2, src2w, dst, 0);
2196 inst = emit_x86_instruction(compiler, 1 | EX86_SHIFT_INS, src2, src2w, TMP_REG1, 0);
2205 EMIT_MOV(compiler, SLJIT_PREF_SHIFT_REG, 0, src2, src2w);
2215 EMIT_MOV(compiler, SLJIT_PREF_SHIFT_REG, 0, src2, src2w);
2227 EMIT_MOV(compiler, SLJIT_PREF_SHIFT_REG, 0, src2, src2w);
2234 EMIT_MOV(compiler, SLJIT_PREF_SHIFT_REG, 0, src2, src2w);
2251 sljit_s32 src2, sljit_sw src2w) argument
2256 if ((src2w & 0x3f) != 0 || (compiler->mode32 && (src2w & 0x1f) != 0))
2257 return emit_shift(compiler, mode, dst, dstw, src1, src1w, src2, src2w);
2259 if ((src2w & 0x1f) != 0)
2260 return emit_shift(compiler, mode, dst, dstw, src1, src1w, src2, src2w);
2270 return emit_shift(compiler, mode, dst, dstw, src1, src1w, src2, src2w);
2275 FAIL_IF(emit_shift(compiler, mode, dst, dstw, src1, src1w, src2, src2w));
2285 sljit_s32 src2, sljit_sw src2w) argument
2288 CHECK(check_sljit_emit_op2(compiler, op, dst, dstw, src1, src1w, src2, src2w));
2291 ADJUST_LOCAL_OFFSET(src2, src2w);
2295 CHECK_EXTRA_REGS(src2, src2w, (void)0);
2306 if (emit_lea_binary(compiler, dst, dstw, src1, src1w, src2, src2w) != SLJIT_ERR_UNSUPPORTED)
2310 dst, dstw, src1, src1w, src2, src2w);
2313 dst, dstw, src1, src1w, src2, src2w);
2316 …if ((src2 & SLJIT_IMM) && emit_lea_binary(compiler, dst, dstw, src1, src1w, SLJIT_IMM, -src2w) != …
2325 return emit_cmp_binary(compiler, src1, src1w, src2, src2w);
2327 dst, dstw, src1, src1w, src2, src2w);
2330 dst, dstw, src1, src1w, src2, src2w);
2332 return emit_mul(compiler, dst, dstw, src1, src1w, src2, src2w);
2335 return emit_test_binary(compiler, src1, src1w, src2, src2w);
2337 dst, dstw, src1, src1w, src2, src2w);
2340 dst, dstw, src1, src1w, src2, src2w);
2343 dst, dstw, src1, src1w, src2, src2w);
2346 dst, dstw, src1, src1w, src2, src2w);
2349 dst, dstw, src1, src1w, src2, src2w);
2352 dst, dstw, src1, src1w, src2, src2w);
2538 sljit_s32 src2, sljit_sw src2w) argument
2545 return emit_sse2_logic(compiler, UCOMISD_x_xm, !(op & SLJIT_F32_OP), src1, src2, src2w);
2617 sljit_s32 src2, sljit_sw src2w) argument
2622 CHECK(check_sljit_emit_fop2(compiler, op, dst, dstw, src1, src1w, src2, src2w));
2625 ADJUST_LOCAL_OFFSET(src2, src2w);
2638 src2w = src1w;
2654 FAIL_IF(emit_sse2(compiler, ADDSD_x_xm, op & SLJIT_F32_OP, dst_r, src2, src2w));
2658 FAIL_IF(emit_sse2(compiler, SUBSD_x_xm, op & SLJIT_F32_OP, dst_r, src2, src2w));
2662 FAIL_IF(emit_sse2(compiler, MULSD_x_xm, op & SLJIT_F32_OP, dst_r, src2, src2w));
2666 FAIL_IF(emit_sse2(compiler, DIVSD_x_xm, op & SLJIT_F32_OP, dst_r, src2, src2w));