Lines Matching refs:src2

1125 	sljit_s32 src2, sljit_sw src2w);
1978 sljit_s32 src2, sljit_sw src2w) argument
1987 if (src2 == SLJIT_IMM) {
2000 inst = emit_x86_instruction(compiler, 1, dst, dstw, src2, src2w);
2004 else if (FAST_IS_REG(src2)) {
2006 inst = emit_x86_instruction(compiler, 1, src2, src2w, dst, dstw);
2011 EMIT_MOV(compiler, TMP_REG1, 0, src2, src2w);
2020 if (dst == src2 && dstw == src2w) {
2055 if (src2 == SLJIT_IMM) {
2059 inst = emit_x86_instruction(compiler, 1, dst, 0, src2, src2w);
2067 if (src2 == SLJIT_IMM) {
2071 inst = emit_x86_instruction(compiler, 1, TMP_REG1, 0, src2, src2w);
2085 sljit_s32 src2, sljit_sw src2w) argument
2094 if (src2 == SLJIT_IMM) {
2107 inst = emit_x86_instruction(compiler, 1, dst, dstw, src2, src2w);
2111 else if (FAST_IS_REG(src2)) {
2112 inst = emit_x86_instruction(compiler, 1, src2, src2w, dst, dstw);
2117 EMIT_MOV(compiler, TMP_REG1, 0, src2, src2w);
2126 if (FAST_IS_REG(dst) && dst != src2) {
2128 if (src2 == SLJIT_IMM) {
2132 inst = emit_x86_instruction(compiler, 1, dst, 0, src2, src2w);
2140 if (src2 == SLJIT_IMM) {
2144 inst = emit_x86_instruction(compiler, 1, TMP_REG1, 0, src2, src2w);
2157 sljit_s32 src2, sljit_sw src2w) argument
2163 if (dst_r == src1 && src2 != SLJIT_IMM) {
2164 FAIL_IF(emit_groupf(compiler, IMUL_r_rm, dst_r, src2, src2w));
2165 } else if (dst_r == src2 && src1 != SLJIT_IMM) {
2168 if (src2 == SLJIT_IMM) {
2170 src2 = dst_r;
2175 inst = emit_x86_instruction(compiler, 1, dst_r, 0, src2, src2w);
2183 inst = emit_x86_instruction(compiler, 1, dst_r, 0, src2, src2w);
2193 inst = emit_x86_instruction(compiler, 1, dst_r, 0, src2, src2w);
2202 if (dst_r != src2)
2203 EMIT_MOV(compiler, dst_r, 0, src2, src2w);
2209 else if (src2 == SLJIT_IMM) {
2249 if (ADDRESSING_DEPENDS_ON(src2, dst_r))
2252 FAIL_IF(emit_groupf(compiler, IMUL_r_rm, dst_r, src2, src2w));
2264 sljit_s32 src2, sljit_sw src2w) argument
2272 if (dst == src2 && dstw == src2w)
2278 if (FAST_IS_REG(src2)) {
2279 inst = emit_x86_instruction(compiler, 1, dst_r, 0, SLJIT_MEM2(src1, src2), 0);
2285 if (src2 == SLJIT_IMM && (compiler->mode32 || IS_HALFWORD(src2w))) {
2288 if (src2 == SLJIT_IMM) {
2296 else if (FAST_IS_REG(src2)) {
2299 inst = emit_x86_instruction(compiler, 1, dst_r, 0, SLJIT_MEM1(src2), (sljit_s32)src1w);
2302 inst = emit_x86_instruction(compiler, 1, dst_r, 0, SLJIT_MEM1(src2), src1w);
2320 sljit_s32 src2, sljit_sw src2w) argument
2325 …if (src1 == SLJIT_R0 && src2 == SLJIT_IMM && (src2w > 127 || src2w < -128) && (compiler->mode32 ||…
2327 if (src1 == SLJIT_R0 && src2 == SLJIT_IMM && (src2w > 127 || src2w < -128)) {
2334 if (src2 == SLJIT_IMM) {
2338 inst = emit_x86_instruction(compiler, 1, src1, 0, src2, src2w);
2345 if (FAST_IS_REG(src2) && src1 != SLJIT_IMM) {
2346 inst = emit_x86_instruction(compiler, 1, src2, 0, src1, src1w);
2352 if (src2 == SLJIT_IMM) {
2362 inst = emit_x86_instruction(compiler, 1, TMP_REG1, 0, src2, src2w);
2371 sljit_s32 src2, sljit_sw src2w) argument
2376 …if (src1 == SLJIT_R0 && src2 == SLJIT_IMM && (src2w > 127 || src2w < -128) && (compiler->mode32 ||…
2378 if (src1 == SLJIT_R0 && src2 == SLJIT_IMM && (src2w > 127 || src2w < -128)) {
2385 …if (src2 == SLJIT_R0 && src1 == SLJIT_IMM && (src1w > 127 || src1w < -128) && (compiler->mode32 ||…
2387 if (src2 == SLJIT_R0 && src1 == SLJIT_IMM && (src1w > 127 || src1w < -128)) {
2394 if (src2 == SLJIT_IMM) {
2414 inst = emit_x86_instruction(compiler, 1, src1, 0, src2, src2w);
2421 if (src2 != SLJIT_IMM) {
2425 inst = emit_x86_instruction(compiler, 1, SLJIT_IMM, src1w, src2, src2w);
2431 inst = emit_x86_instruction(compiler, 1, TMP_REG1, 0, src2, src2w);
2436 inst = emit_x86_instruction(compiler, 1, src1, src1w, src2, src2w);
2442 else if (FAST_IS_REG(src2)) {
2443 inst = emit_x86_instruction(compiler, 1, src2, 0, src1, src1w);
2451 if (src2 == SLJIT_IMM) {
2471 inst = emit_x86_instruction(compiler, 1, TMP_REG1, 0, src2, src2w);
2482 sljit_s32 src2, sljit_sw src2w) argument
2489 if (src2 == SLJIT_IMM || src2 == SLJIT_PREF_SHIFT_REG) {
2491 inst = emit_x86_instruction(compiler, 1 | EX86_SHIFT_INS, src2, src2w, dst, dstw);
2496 if (dst == SLJIT_PREF_SHIFT_REG && src2 == SLJIT_PREF_SHIFT_REG) {
2506 inst = emit_x86_instruction(compiler, 1 | EX86_SHIFT_INS, src2, src2w, dst, 0);
2513 inst = emit_x86_instruction(compiler, 1 | EX86_SHIFT_INS, src2, src2w, TMP_REG1, 0);
2522 EMIT_MOV(compiler, SLJIT_PREF_SHIFT_REG, 0, src2, src2w);
2529 if (FAST_IS_REG(dst) && dst != src2 && dst != TMP_REG1 && !ADDRESSING_DEPENDS_ON(src2, dst)) {
2540 EMIT_MOV(compiler, SLJIT_PREF_SHIFT_REG, 0, src2, src2w);
2566 EMIT_MOV(compiler, SLJIT_PREF_SHIFT_REG, 0, src2, src2w);
2589 sljit_s32 src2, sljit_sw src2w) argument
2592 if (src2 == SLJIT_IMM) {
2599 return emit_shift(compiler, mode, dst, dstw, src1, src1w, src2, src2w);
2609 return emit_shift(compiler, mode, dst, dstw, src1, src1w, src2, src2w);
2614 FAIL_IF(emit_shift(compiler, mode, dst, dstw, src1, src1w, src2, src2w));
2624 sljit_s32 src2, sljit_sw src2w) argument
2627 CHECK(check_sljit_emit_op2(compiler, op, 0, dst, dstw, src1, src1w, src2, src2w));
2630 ADJUST_LOCAL_OFFSET(src2, src2w);
2634 CHECK_EXTRA_REGS(src2, src2w, (void)0);
2642 if (emit_lea_binary(compiler, dst, dstw, src1, src1w, src2, src2w) != SLJIT_ERR_UNSUPPORTED)
2646 dst, dstw, src1, src1w, src2, src2w);
2649 dst, dstw, src1, src1w, src2, src2w);
2652 return emit_unary(compiler, NEG_rm, dst, dstw, src2, src2w);
2655 …if (src2 == SLJIT_IMM && emit_lea_binary(compiler, dst, dstw, src1, src1w, SLJIT_IMM, -src2w) != S…
2657 if (FAST_IS_REG(dst) && src2 == dst) {
2664 dst, dstw, src1, src1w, src2, src2w);
2667 dst, dstw, src1, src1w, src2, src2w);
2669 return emit_mul(compiler, dst, dstw, src1, src1w, src2, src2w);
2672 dst, dstw, src1, src1w, src2, src2w);
2675 dst, dstw, src1, src1w, src2, src2w);
2678 if (src2 == SLJIT_IMM && src2w == -1)
2681 return emit_unary(compiler, NOT_rm, dst, dstw, src2, src2w);
2685 dst, dstw, src1, src1w, src2, src2w);
2689 dst, dstw, src1, src1w, src2, src2w);
2693 dst, dstw, src1, src1w, src2, src2w);
2697 dst, dstw, src1, src1w, src2, src2w);
2700 dst, dstw, src1, src1w, src2, src2w);
2703 dst, dstw, src1, src1w, src2, src2w);
2711 sljit_s32 src2, sljit_sw src2w) argument
2716 CHECK(check_sljit_emit_op2(compiler, op, 1, 0, 0, src1, src1w, src2, src2w));
2720 return sljit_emit_op2(compiler, op, TMP_REG1, 0, src1, src1w, src2, src2w);
2724 ADJUST_LOCAL_OFFSET(src2, src2w);
2727 CHECK_EXTRA_REGS(src2, src2w, (void)0);
2733 return emit_cmp_binary(compiler, src1, src1w, src2, src2w);
2735 return emit_test_binary(compiler, src1, src1w, src2, src2w);
2741 sljit_s32 src2, sljit_sw src2w) argument
2747 CHECK(check_sljit_emit_op2r(compiler, op, dst_reg, src1, src1w, src2, src2w));
2749 ADJUST_LOCAL_OFFSET(src2, src2w);
2753 CHECK_EXTRA_REGS(src2, src2w, (void)0);
2760 FAIL_IF(emit_mul(compiler, TMP_REG1, 0, src1, src1w, src2, src2w));
3160 sljit_s32 src2, sljit_sw src2w) argument
3166 …FAIL_IF(emit_groupf(compiler, CMPS_x_xm | EX86_SELECT_F2_F3(op) | EX86_SSE2, TMP_FREG, src2, src2w…
3172 src2 = TMP_FREG;
3179 if (!FAST_IS_REG(src2)) {
3180 FAIL_IF(emit_sse2_load(compiler, op & SLJIT_32, TMP_FREG, src2, src2w));
3181 src2 = TMP_FREG;
3184 return emit_groupf(compiler, UCOMISD_x_xm | EX86_SELECT_66(op) | EX86_SSE2, src2, src1, src1w);
3192 return emit_groupf(compiler, UCOMISD_x_xm | EX86_SELECT_66(op) | EX86_SSE2, src1, src2, src2w);
3280 sljit_s32 src2, sljit_sw src2w) argument
3285 CHECK(check_sljit_emit_fop2(compiler, op, dst, dstw, src1, src1w, src2, src2w));
3288 ADJUST_LOCAL_OFFSET(src2, src2w);
3298 else if (dst == src2 && (GET_OPCODE(op) == SLJIT_ADD_F64 || GET_OPCODE(op) == SLJIT_MUL_F64)) {
3300 src2 = src1;
3302 } else if (dst != src2)
3315 …FAIL_IF(emit_groupf(compiler, ADDSD_x_xm | EX86_SELECT_F2_F3(op) | EX86_SSE2, dst_r, src2, src2w));
3319 …FAIL_IF(emit_groupf(compiler, SUBSD_x_xm | EX86_SELECT_F2_F3(op) | EX86_SSE2, dst_r, src2, src2w));
3323 …FAIL_IF(emit_groupf(compiler, MULSD_x_xm | EX86_SELECT_F2_F3(op) | EX86_SSE2, dst_r, src2, src2w));
3327 …FAIL_IF(emit_groupf(compiler, DIVSD_x_xm | EX86_SELECT_F2_F3(op) | EX86_SSE2, dst_r, src2, src2w));
3339 sljit_s32 src2, sljit_sw src2w) argument
3344 CHECK(check_sljit_emit_fop2r(compiler, op, dst_freg, src1, src1w, src2, src2w));
3346 ADJUST_LOCAL_OFFSET(src2, src2w);
3353 FAIL_IF(emit_sse2_load(compiler, op & SLJIT_32, TMP_FREG, src2, src2w));
3366 if (dst_freg != src2)
3367 FAIL_IF(emit_sse2_load(compiler, op & SLJIT_32, dst_freg, src2, src2w));