Lines Matching refs:src2w
741 sljit_s32 src2, sljit_sw src2w);
1591 sljit_s32 src2, sljit_sw src2w) argument
1602 …if ((dst == SLJIT_R0) && (src2w > 127 || src2w < -128) && (compiler->mode32 || IS_HALFWORD(src2w))…
1604 if ((dst == SLJIT_R0) && (src2w > 127 || src2w < -128)) {
1606 BINARY_EAX_IMM(op_eax_imm, src2w);
1609 BINARY_IMM(op_imm, op_mr, src2w, dst, dstw);
1613 inst = emit_x86_instruction(compiler, 1, dst, dstw, src2, src2w);
1619 inst = emit_x86_instruction(compiler, 1, src2, src2w, dst, dstw);
1624 EMIT_MOV(compiler, TMP_REG1, 0, src2, src2w);
1633 if (dst == src2 && dstw == src2w) {
1669 BINARY_IMM(op_imm, op_mr, src2w, dst, 0);
1672 inst = emit_x86_instruction(compiler, 1, dst, 0, src2, src2w);
1681 BINARY_IMM(op_imm, op_mr, src2w, TMP_REG1, 0);
1684 inst = emit_x86_instruction(compiler, 1, TMP_REG1, 0, src2, src2w);
1698 sljit_s32 src2, sljit_sw src2w) argument
1709 …if ((dst == SLJIT_R0) && (src2w > 127 || src2w < -128) && (compiler->mode32 || IS_HALFWORD(src2w))…
1711 if ((dst == SLJIT_R0) && (src2w > 127 || src2w < -128)) {
1713 BINARY_EAX_IMM(op_eax_imm, src2w);
1716 BINARY_IMM(op_imm, op_mr, src2w, dst, dstw);
1720 inst = emit_x86_instruction(compiler, 1, dst, dstw, src2, src2w);
1725 inst = emit_x86_instruction(compiler, 1, src2, src2w, dst, dstw);
1730 EMIT_MOV(compiler, TMP_REG1, 0, src2, src2w);
1742 BINARY_IMM(op_imm, op_mr, src2w, dst, 0);
1745 inst = emit_x86_instruction(compiler, 1, dst, 0, src2, src2w);
1754 BINARY_IMM(op_imm, op_mr, src2w, TMP_REG1, 0);
1757 inst = emit_x86_instruction(compiler, 1, TMP_REG1, 0, src2, src2w);
1770 sljit_s32 src2, sljit_sw src2w) argument
1777 inst = emit_x86_instruction(compiler, 2, dst_r, 0, src2, src2w);
1790 EMIT_MOV(compiler, dst_r, 0, SLJIT_IMM, src2w);
1792 src2w = 0;
1796 inst = emit_x86_instruction(compiler, 1, dst_r, 0, src2, src2w);
1806 inst = emit_x86_instruction(compiler, 1, dst_r, 0, src2, src2w);
1816 inst = emit_x86_instruction(compiler, 1, dst_r, 0, src2, src2w);
1826 EMIT_MOV(compiler, dst_r, 0, src2, src2w);
1838 if (src2w <= 127 && src2w >= -128) {
1845 *inst = U8(src2w);
1855 sljit_unaligned_store_sw(inst, src2w);
1858 else if (IS_HALFWORD(src2w)) {
1865 sljit_unaligned_store_s32(inst, (sljit_s32)src2w);
1870 FAIL_IF(emit_load_imm64(compiler, TMP_REG2, src2w));
1883 inst = emit_x86_instruction(compiler, 2, dst_r, 0, src2, src2w);
1898 sljit_s32 src2, sljit_sw src2w) argument
1906 if (dst == src2 && dstw == src2w)
1919 if ((src2 & SLJIT_IMM) && (compiler->mode32 || IS_HALFWORD(src2w))) {
1920 inst = emit_x86_instruction(compiler, 1, dst_r, 0, SLJIT_MEM1(src1), (sljit_s32)src2w);
1923 inst = emit_x86_instruction(compiler, 1, dst_r, 0, SLJIT_MEM1(src1), src2w);
1954 sljit_s32 src2, sljit_sw src2w) argument
1959 …c1 == SLJIT_R0 && (src2 & SLJIT_IMM) && (src2w > 127 || src2w < -128) && (compiler->mode32 || IS_H…
1961 if (src1 == SLJIT_R0 && (src2 & SLJIT_IMM) && (src2w > 127 || src2w < -128)) {
1963 BINARY_EAX_IMM(CMP_EAX_i32, src2w);
1969 BINARY_IMM(CMP, CMP_rm_r, src2w, src1, 0);
1972 inst = emit_x86_instruction(compiler, 1, src1, 0, src2, src2w);
1992 BINARY_IMM(CMP, CMP_rm_r, src2w, src1, src1w);
1996 inst = emit_x86_instruction(compiler, 1, TMP_REG1, 0, src2, src2w);
2005 sljit_s32 src2, sljit_sw src2w) argument
2010 …c1 == SLJIT_R0 && (src2 & SLJIT_IMM) && (src2w > 127 || src2w < -128) && (compiler->mode32 || IS_H…
2012 if (src1 == SLJIT_R0 && (src2 & SLJIT_IMM) && (src2w > 127 || src2w < -128)) {
2014 BINARY_EAX_IMM(TEST_EAX_i32, src2w);
2030 if (IS_HALFWORD(src2w) || compiler->mode32) {
2031 inst = emit_x86_instruction(compiler, 1, SLJIT_IMM, src2w, src1, src1w);
2036 FAIL_IF(emit_load_imm64(compiler, TMP_REG1, src2w));
2042 inst = emit_x86_instruction(compiler, 1, SLJIT_IMM, src2w, src1, src1w);
2049 inst = emit_x86_instruction(compiler, 1, src1, 0, src2, src2w);
2060 inst = emit_x86_instruction(compiler, 1, SLJIT_IMM, src1w, src2, src2w);
2066 inst = emit_x86_instruction(compiler, 1, TMP_REG1, 0, src2, src2w);
2071 inst = emit_x86_instruction(compiler, 1, src1, src1w, src2, src2w);
2088 if (IS_HALFWORD(src2w) || compiler->mode32) {
2089 inst = emit_x86_instruction(compiler, 1, SLJIT_IMM, src2w, TMP_REG1, 0);
2094 FAIL_IF(emit_load_imm64(compiler, TMP_REG2, src2w));
2100 inst = emit_x86_instruction(compiler, 1, SLJIT_IMM, src2w, TMP_REG1, 0);
2106 inst = emit_x86_instruction(compiler, 1, TMP_REG1, 0, src2, src2w);
2117 sljit_s32 src2, sljit_sw src2w) argument
2123 inst = emit_x86_instruction(compiler, 1 | EX86_SHIFT_INS, src2, src2w, dst, dstw);
2138 inst = emit_x86_instruction(compiler, 1 | EX86_SHIFT_INS, src2, src2w, dst, 0);
2145 inst = emit_x86_instruction(compiler, 1 | EX86_SHIFT_INS, src2, src2w, TMP_REG1, 0);
2154 EMIT_MOV(compiler, SLJIT_PREF_SHIFT_REG, 0, src2, src2w);
2164 EMIT_MOV(compiler, SLJIT_PREF_SHIFT_REG, 0, src2, src2w);
2176 EMIT_MOV(compiler, SLJIT_PREF_SHIFT_REG, 0, src2, src2w);
2183 EMIT_MOV(compiler, SLJIT_PREF_SHIFT_REG, 0, src2, src2w);
2200 sljit_s32 src2, sljit_sw src2w) argument
2205 if ((src2w & 0x3f) != 0 || (compiler->mode32 && (src2w & 0x1f) != 0))
2206 return emit_shift(compiler, mode, dst, dstw, src1, src1w, src2, src2w);
2208 if ((src2w & 0x1f) != 0)
2209 return emit_shift(compiler, mode, dst, dstw, src1, src1w, src2, src2w);
2219 return emit_shift(compiler, mode, dst, dstw, src1, src1w, src2, src2w);
2224 FAIL_IF(emit_shift(compiler, mode, dst, dstw, src1, src1w, src2, src2w));
2234 sljit_s32 src2, sljit_sw src2w) argument
2237 CHECK(check_sljit_emit_op2(compiler, op, 0, dst, dstw, src1, src1w, src2, src2w));
2240 ADJUST_LOCAL_OFFSET(src2, src2w);
2244 CHECK_EXTRA_REGS(src2, src2w, (void)0);
2254 if (emit_lea_binary(compiler, dst, dstw, src1, src1w, src2, src2w) != SLJIT_ERR_UNSUPPORTED)
2258 dst, dstw, src1, src1w, src2, src2w);
2261 dst, dstw, src1, src1w, src2, src2w);
2264 return emit_unary(compiler, NEG_rm, dst, dstw, src2, src2w);
2267 …if ((src2 & SLJIT_IMM) && emit_lea_binary(compiler, dst, dstw, src1, src1w, SLJIT_IMM, -src2w) != …
2276 dst, dstw, src1, src1w, src2, src2w);
2279 dst, dstw, src1, src1w, src2, src2w);
2281 return emit_mul(compiler, dst, dstw, src1, src1w, src2, src2w);
2284 dst, dstw, src1, src1w, src2, src2w);
2287 dst, dstw, src1, src1w, src2, src2w);
2290 dst, dstw, src1, src1w, src2, src2w);
2293 dst, dstw, src1, src1w, src2, src2w);
2296 dst, dstw, src1, src1w, src2, src2w);
2299 dst, dstw, src1, src1w, src2, src2w);
2307 sljit_s32 src2, sljit_sw src2w) argument
2312 CHECK(check_sljit_emit_op2(compiler, op, 1, 0, 0, src1, src1w, src2, src2w));
2319 return sljit_emit_op2(compiler, op, TMP_REG1, 0, src1, src1w, src2, src2w);
2323 ADJUST_LOCAL_OFFSET(src2, src2w);
2326 CHECK_EXTRA_REGS(src2, src2w, (void)0);
2332 return emit_cmp_binary(compiler, src1, src1w, src2, src2w);
2334 return emit_test_binary(compiler, src1, src1w, src2, src2w);
2517 sljit_s32 src2, sljit_sw src2w) argument
2524 return emit_sse2_logic(compiler, UCOMISD_x_xm, !(op & SLJIT_32), src1, src2, src2w);
2596 sljit_s32 src2, sljit_sw src2w) argument
2601 CHECK(check_sljit_emit_fop2(compiler, op, dst, dstw, src1, src1w, src2, src2w));
2604 ADJUST_LOCAL_OFFSET(src2, src2w);
2617 src2w = src1w;
2633 FAIL_IF(emit_sse2(compiler, ADDSD_x_xm, op & SLJIT_32, dst_r, src2, src2w));
2637 FAIL_IF(emit_sse2(compiler, SUBSD_x_xm, op & SLJIT_32, dst_r, src2, src2w));
2641 FAIL_IF(emit_sse2(compiler, MULSD_x_xm, op & SLJIT_32, dst_r, src2, src2w));
2645 FAIL_IF(emit_sse2(compiler, DIVSD_x_xm, op & SLJIT_32, dst_r, src2, src2w));