Lines Matching refs:src2
741 sljit_s32 src2, sljit_sw src2w);
1591 sljit_s32 src2, sljit_sw src2w) argument
1600 if (src2 & SLJIT_IMM) {
1613 inst = emit_x86_instruction(compiler, 1, dst, dstw, src2, src2w);
1617 else if (FAST_IS_REG(src2)) {
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) {
1668 if (src2 & SLJIT_IMM) {
1672 inst = emit_x86_instruction(compiler, 1, dst, 0, src2, src2w);
1680 if (src2 & SLJIT_IMM) {
1684 inst = emit_x86_instruction(compiler, 1, TMP_REG1, 0, src2, src2w);
1698 sljit_s32 src2, sljit_sw src2w) argument
1707 if (src2 & SLJIT_IMM) {
1720 inst = emit_x86_instruction(compiler, 1, dst, dstw, src2, src2w);
1724 else if (FAST_IS_REG(src2)) {
1725 inst = emit_x86_instruction(compiler, 1, src2, src2w, dst, dstw);
1730 EMIT_MOV(compiler, TMP_REG1, 0, src2, src2w);
1739 if (FAST_IS_REG(dst) && dst != src2) {
1741 if (src2 & SLJIT_IMM) {
1745 inst = emit_x86_instruction(compiler, 1, dst, 0, src2, src2w);
1753 if (src2 & SLJIT_IMM) {
1757 inst = emit_x86_instruction(compiler, 1, TMP_REG1, 0, src2, src2w);
1770 sljit_s32 src2, sljit_sw src2w) argument
1776 if (dst_r == src1 && !(src2 & SLJIT_IMM)) {
1777 inst = emit_x86_instruction(compiler, 2, dst_r, 0, src2, src2w);
1782 else if (dst_r == src2 && !(src1 & SLJIT_IMM)) {
1789 if (src2 & SLJIT_IMM) {
1791 src2 = dst_r;
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);
1825 if (dst_r != src2)
1826 EMIT_MOV(compiler, dst_r, 0, src2, src2w);
1835 else if (src2 & SLJIT_IMM) {
1880 if (ADDRESSING_DEPENDS_ON(src2, dst_r))
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)
1912 if (FAST_IS_REG(src2)) {
1913 inst = emit_x86_instruction(compiler, 1, dst_r, 0, SLJIT_MEM2(src1, src2), 0);
1919 if ((src2 & SLJIT_IMM) && (compiler->mode32 || IS_HALFWORD(src2w))) {
1922 if (src2 & SLJIT_IMM) {
1930 else if (FAST_IS_REG(src2)) {
1933 inst = emit_x86_instruction(compiler, 1, dst_r, 0, SLJIT_MEM1(src2), (sljit_s32)src1w);
1936 inst = emit_x86_instruction(compiler, 1, dst_r, 0, SLJIT_MEM1(src2), src1w);
1954 sljit_s32 src2, sljit_sw src2w) argument
1959 …if (src1 == SLJIT_R0 && (src2 & SLJIT_IMM) && (src2w > 127 || src2w < -128) && (compiler->mode32 |…
1961 if (src1 == SLJIT_R0 && (src2 & SLJIT_IMM) && (src2w > 127 || src2w < -128)) {
1968 if (src2 & SLJIT_IMM) {
1972 inst = emit_x86_instruction(compiler, 1, src1, 0, src2, src2w);
1979 if (FAST_IS_REG(src2) && !(src1 & SLJIT_IMM)) {
1980 inst = emit_x86_instruction(compiler, 1, src2, 0, src1, src1w);
1986 if (src2 & SLJIT_IMM) {
1996 inst = emit_x86_instruction(compiler, 1, TMP_REG1, 0, src2, src2w);
2005 sljit_s32 src2, sljit_sw src2w) argument
2010 …if (src1 == SLJIT_R0 && (src2 & SLJIT_IMM) && (src2w > 127 || src2w < -128) && (compiler->mode32 |…
2012 if (src1 == SLJIT_R0 && (src2 & SLJIT_IMM) && (src2w > 127 || src2w < -128)) {
2019 …if (src2 == SLJIT_R0 && (src1 & SLJIT_IMM) && (src1w > 127 || src1w < -128) && (compiler->mode32 |…
2021 if (src2 == SLJIT_R0 && (src1 & SLJIT_IMM) && (src1w > 127 || src1w < -128)) {
2028 if (src2 & SLJIT_IMM) {
2049 inst = emit_x86_instruction(compiler, 1, src1, 0, src2, src2w);
2056 if (!(src2 & SLJIT_IMM)) {
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);
2077 else if (FAST_IS_REG(src2)) {
2078 inst = emit_x86_instruction(compiler, 1, src2, 0, src1, src1w);
2086 if (src2 & SLJIT_IMM) {
2106 inst = emit_x86_instruction(compiler, 1, TMP_REG1, 0, src2, src2w);
2117 sljit_s32 src2, sljit_sw src2w) argument
2121 if ((src2 & SLJIT_IMM) || (src2 == SLJIT_PREF_SHIFT_REG)) {
2123 inst = emit_x86_instruction(compiler, 1 | EX86_SHIFT_INS, src2, src2w, dst, dstw);
2128 if (dst == SLJIT_PREF_SHIFT_REG && src2 == SLJIT_PREF_SHIFT_REG) {
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);
2160 else if (FAST_IS_REG(dst) && dst != src2 && dst != TMP_REG1 && !ADDRESSING_DEPENDS_ON(src2, dst)) {
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
2203 if (src2 & SLJIT_IMM) {
2206 return emit_shift(compiler, mode, dst, dstw, src1, src1w, src2, src2w);
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) != …
2269 if (FAST_IS_REG(dst) && src2 == dst) {
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);
2614 else if (dst == src2 && (op == SLJIT_ADD_F64 || op == SLJIT_MUL_F64)) {
2616 src2 = src1;
2619 else if (dst != src2)
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));