• Home
  • Raw
  • Download

Lines Matching refs:src2w

651 	sljit_s32 src2, sljit_sw src2w);
657 sljit_s32 src2, sljit_sw src2w);
1409 sljit_s32 src2, sljit_sw src2w) argument
1420 BINARY_IMM(op_imm, op_mr, src2w, TMP_REG1, 0);
1423 inst = emit_x86_instruction(compiler, 1, TMP_REG1, 0, src2, src2w);
1433 …if ((dst == SLJIT_R0) && (src2w > 127 || src2w < -128) && (compiler->mode32 || IS_HALFWORD(src2w))…
1435 if ((dst == SLJIT_R0) && (src2w > 127 || src2w < -128)) {
1437 BINARY_EAX_IMM(op_eax_imm, src2w);
1440 BINARY_IMM(op_imm, op_mr, src2w, dst, dstw);
1444 inst = emit_x86_instruction(compiler, 1, dst, dstw, src2, src2w);
1450 inst = emit_x86_instruction(compiler, 1, src2, src2w, dst, dstw);
1455 EMIT_MOV(compiler, TMP_REG1, 0, src2, src2w);
1464 if (dst == src2 && dstw == src2w) {
1500 BINARY_IMM(op_imm, op_mr, src2w, dst, 0);
1503 inst = emit_x86_instruction(compiler, 1, dst, 0, src2, src2w);
1512 BINARY_IMM(op_imm, op_mr, src2w, TMP_REG1, 0);
1515 inst = emit_x86_instruction(compiler, 1, TMP_REG1, 0, src2, src2w);
1529 sljit_s32 src2, sljit_sw src2w) argument
1540 BINARY_IMM(op_imm, op_mr, src2w, TMP_REG1, 0);
1543 inst = emit_x86_instruction(compiler, 1, TMP_REG1, 0, src2, src2w);
1553 …if ((dst == SLJIT_R0) && (src2w > 127 || src2w < -128) && (compiler->mode32 || IS_HALFWORD(src2w))…
1555 if ((dst == SLJIT_R0) && (src2w > 127 || src2w < -128)) {
1557 BINARY_EAX_IMM(op_eax_imm, src2w);
1560 BINARY_IMM(op_imm, op_mr, src2w, dst, dstw);
1564 inst = emit_x86_instruction(compiler, 1, dst, dstw, src2, src2w);
1569 inst = emit_x86_instruction(compiler, 1, src2, src2w, dst, dstw);
1574 EMIT_MOV(compiler, TMP_REG1, 0, src2, src2w);
1586 BINARY_IMM(op_imm, op_mr, src2w, dst, 0);
1589 inst = emit_x86_instruction(compiler, 1, dst, 0, src2, src2w);
1598 BINARY_IMM(op_imm, op_mr, src2w, TMP_REG1, 0);
1601 inst = emit_x86_instruction(compiler, 1, TMP_REG1, 0, src2, src2w);
1614 sljit_s32 src2, sljit_sw src2w) argument
1623 inst = emit_x86_instruction(compiler, 2, dst_r, 0, src2, src2w);
1636 EMIT_MOV(compiler, dst_r, 0, SLJIT_IMM, src2w);
1638 src2w = 0;
1642 inst = emit_x86_instruction(compiler, 1, dst_r, 0, src2, src2w);
1652 inst = emit_x86_instruction(compiler, 1, dst_r, 0, src2, src2w);
1662 inst = emit_x86_instruction(compiler, 1, dst_r, 0, src2, src2w);
1672 EMIT_MOV(compiler, dst_r, 0, src2, src2w);
1684 if (src2w <= 127 && src2w >= -128) {
1691 *inst = (sljit_s8)src2w;
1701 sljit_unaligned_store_sw(inst, src2w);
1704 else if (IS_HALFWORD(src2w)) {
1711 sljit_unaligned_store_s32(inst, (sljit_s32)src2w);
1716 FAIL_IF(emit_load_imm64(compiler, TMP_REG2, src2w));
1729 inst = emit_x86_instruction(compiler, 2, dst_r, 0, src2, src2w);
1744 sljit_s32 src2, sljit_sw src2w) argument
1752 if (dst == src2 && dstw == src2w)
1765 if ((src2 & SLJIT_IMM) && (compiler->mode32 || IS_HALFWORD(src2w))) {
1766 inst = emit_x86_instruction(compiler, 1, dst_r, 0, SLJIT_MEM1(src1), (sljit_s32)src2w);
1769 inst = emit_x86_instruction(compiler, 1, dst_r, 0, SLJIT_MEM1(src1), src2w);
1800 sljit_s32 src2, sljit_sw src2w) argument
1805 …c1 == SLJIT_R0 && (src2 & SLJIT_IMM) && (src2w > 127 || src2w < -128) && (compiler->mode32 || IS_H…
1807 if (src1 == SLJIT_R0 && (src2 & SLJIT_IMM) && (src2w > 127 || src2w < -128)) {
1809 BINARY_EAX_IMM(CMP_EAX_i32, src2w);
1815 BINARY_IMM(CMP, CMP_rm_r, src2w, src1, 0);
1818 inst = emit_x86_instruction(compiler, 1, src1, 0, src2, src2w);
1838 BINARY_IMM(CMP, CMP_rm_r, src2w, src1, src1w);
1842 inst = emit_x86_instruction(compiler, 1, TMP_REG1, 0, src2, src2w);
1851 sljit_s32 src2, sljit_sw src2w) argument
1856 …c1 == SLJIT_R0 && (src2 & SLJIT_IMM) && (src2w > 127 || src2w < -128) && (compiler->mode32 || IS_H…
1858 if (src1 == SLJIT_R0 && (src2 & SLJIT_IMM) && (src2w > 127 || src2w < -128)) {
1860 BINARY_EAX_IMM(TEST_EAX_i32, src2w);
1876 if (IS_HALFWORD(src2w) || compiler->mode32) {
1877 inst = emit_x86_instruction(compiler, 1, SLJIT_IMM, src2w, src1, src1w);
1882 FAIL_IF(emit_load_imm64(compiler, TMP_REG1, src2w));
1888 inst = emit_x86_instruction(compiler, 1, SLJIT_IMM, src2w, src1, src1w);
1895 inst = emit_x86_instruction(compiler, 1, src1, 0, src2, src2w);
1906 inst = emit_x86_instruction(compiler, 1, SLJIT_IMM, src1w, src2, src2w);
1912 inst = emit_x86_instruction(compiler, 1, TMP_REG1, 0, src2, src2w);
1917 inst = emit_x86_instruction(compiler, 1, src1, src1w, src2, src2w);
1934 if (IS_HALFWORD(src2w) || compiler->mode32) {
1935 inst = emit_x86_instruction(compiler, 1, SLJIT_IMM, src2w, TMP_REG1, 0);
1940 FAIL_IF(emit_load_imm64(compiler, TMP_REG2, src2w));
1946 inst = emit_x86_instruction(compiler, 1, SLJIT_IMM, src2w, TMP_REG1, 0);
1952 inst = emit_x86_instruction(compiler, 1, TMP_REG1, 0, src2, src2w);
1963 sljit_s32 src2, sljit_sw src2w) argument
1969 inst = emit_x86_instruction(compiler, 1 | EX86_SHIFT_INS, src2, src2w, dst, dstw);
1976 inst = emit_x86_instruction(compiler, 1 | EX86_SHIFT_INS, src2, src2w, TMP_REG1, 0);
1991 inst = emit_x86_instruction(compiler, 1 | EX86_SHIFT_INS, src2, src2w, dst, 0);
1998 inst = emit_x86_instruction(compiler, 1 | EX86_SHIFT_INS, src2, src2w, TMP_REG1, 0);
2007 EMIT_MOV(compiler, SLJIT_PREF_SHIFT_REG, 0, src2, src2w);
2017 EMIT_MOV(compiler, SLJIT_PREF_SHIFT_REG, 0, src2, src2w);
2029 EMIT_MOV(compiler, SLJIT_PREF_SHIFT_REG, 0, src2, src2w);
2036 EMIT_MOV(compiler, SLJIT_PREF_SHIFT_REG, 0, src2, src2w);
2053 sljit_s32 src2, sljit_sw src2w) argument
2058 if ((src2w & 0x3f) != 0 || (compiler->mode32 && (src2w & 0x1f) != 0))
2059 return emit_shift(compiler, mode, dst, dstw, src1, src1w, src2, src2w);
2061 if ((src2w & 0x1f) != 0)
2062 return emit_shift(compiler, mode, dst, dstw, src1, src1w, src2, src2w);
2072 return emit_shift(compiler, mode, dst, dstw, src1, src1w, src2, src2w);
2077 FAIL_IF(emit_shift(compiler, mode, dst, dstw, src1, src1w, src2, src2w));
2087 sljit_s32 src2, sljit_sw src2w) argument
2090 CHECK(check_sljit_emit_op2(compiler, op, dst, dstw, src1, src1w, src2, src2w));
2093 ADJUST_LOCAL_OFFSET(src2, src2w);
2097 CHECK_EXTRA_REGS(src2, src2w, (void)0);
2108 if (emit_lea_binary(compiler, dst, dstw, src1, src1w, src2, src2w) != SLJIT_ERR_UNSUPPORTED)
2112 dst, dstw, src1, src1w, src2, src2w);
2115 dst, dstw, src1, src1w, src2, src2w);
2118 …if ((src2 & SLJIT_IMM) && emit_lea_binary(compiler, dst, dstw, src1, src1w, SLJIT_IMM, -src2w) != …
2123 return emit_cmp_binary(compiler, src1, src1w, src2, src2w);
2125 dst, dstw, src1, src1w, src2, src2w);
2128 dst, dstw, src1, src1w, src2, src2w);
2130 return emit_mul(compiler, dst, dstw, src1, src1w, src2, src2w);
2133 return emit_test_binary(compiler, src1, src1w, src2, src2w);
2135 dst, dstw, src1, src1w, src2, src2w);
2138 dst, dstw, src1, src1w, src2, src2w);
2141 dst, dstw, src1, src1w, src2, src2w);
2144 dst, dstw, src1, src1w, src2, src2w);
2147 dst, dstw, src1, src1w, src2, src2w);
2150 dst, dstw, src1, src1w, src2, src2w);
2309 sljit_s32 src2, sljit_sw src2w) argument
2316 return emit_sse2_logic(compiler, UCOMISD_x_xm, !(op & SLJIT_F32_OP), src1, src2, src2w);
2388 sljit_s32 src2, sljit_sw src2w) argument
2393 CHECK(check_sljit_emit_fop2(compiler, op, dst, dstw, src1, src1w, src2, src2w));
2396 ADJUST_LOCAL_OFFSET(src2, src2w);
2409 src2w = src1w;
2425 FAIL_IF(emit_sse2(compiler, ADDSD_x_xm, op & SLJIT_F32_OP, dst_r, src2, src2w));
2429 FAIL_IF(emit_sse2(compiler, SUBSD_x_xm, op & SLJIT_F32_OP, dst_r, src2, src2w));
2433 FAIL_IF(emit_sse2(compiler, MULSD_x_xm, op & SLJIT_F32_OP, dst_r, src2, src2w));
2437 FAIL_IF(emit_sse2(compiler, DIVSD_x_xm, op & SLJIT_F32_OP, dst_r, src2, src2w));