Lines Matching refs:src1
1124 sljit_s32 src1, sljit_sw src1w,
1977 sljit_s32 src1, sljit_sw src1w, argument
1986 if (dst == src1 && dstw == src1w) {
2021 if (src1 == SLJIT_IMM) {
2034 inst = emit_x86_instruction(compiler, 1, dst, dstw, src1, src1w);
2038 else if (FAST_IS_REG(src1)) {
2039 inst = emit_x86_instruction(compiler, 1, src1, src1w, dst, dstw);
2044 EMIT_MOV(compiler, TMP_REG1, 0, src1, src1w);
2054 EMIT_MOV(compiler, dst, 0, src1, src1w);
2066 EMIT_MOV(compiler, TMP_REG1, 0, src1, src1w);
2084 sljit_s32 src1, sljit_sw src1w, argument
2093 if (dst == src1 && dstw == src1w) {
2127 EMIT_MOV(compiler, dst, 0, src1, src1w);
2139 EMIT_MOV(compiler, TMP_REG1, 0, src1, src1w);
2156 sljit_s32 src1, sljit_sw src1w, argument
2163 if (dst_r == src1 && src2 != SLJIT_IMM) {
2165 } else if (dst_r == src2 && src1 != SLJIT_IMM) {
2166 FAIL_IF(emit_groupf(compiler, IMUL_r_rm, dst_r, src1, src1w));
2167 } else if (src1 == SLJIT_IMM) {
2213 inst = emit_x86_instruction(compiler, 1, dst_r, 0, src1, src1w);
2221 inst = emit_x86_instruction(compiler, 1, dst_r, 0, src1, src1w);
2232 inst = emit_x86_instruction(compiler, 1, dst_r, 0, src1, src1w);
2241 if (dst_r != src1)
2242 EMIT_MOV(compiler, dst_r, 0, src1, src1w);
2251 EMIT_MOV(compiler, dst_r, 0, src1, src1w);
2263 sljit_s32 src1, sljit_sw src1w, argument
2270 if (dst == src1 && dstw == src1w)
2277 if (FAST_IS_REG(src1)) {
2279 inst = emit_x86_instruction(compiler, 1, dst_r, 0, SLJIT_MEM2(src1, src2), 0);
2286 inst = emit_x86_instruction(compiler, 1, dst_r, 0, SLJIT_MEM1(src1), (sljit_s32)src2w);
2289 inst = emit_x86_instruction(compiler, 1, dst_r, 0, SLJIT_MEM1(src1), src2w);
2298 if (src1 == SLJIT_IMM && (compiler->mode32 || IS_HALFWORD(src1w))) {
2301 if (src1 == SLJIT_IMM) {
2319 sljit_s32 src1, sljit_sw src1w, 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)) {
2333 if (FAST_IS_REG(src1)) {
2335 BINARY_IMM(CMP, CMP_rm_r, src2w, src1, 0);
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);
2353 if (src1 == SLJIT_IMM) {
2354 EMIT_MOV(compiler, TMP_REG1, 0, src1, src1w);
2355 src1 = TMP_REG1;
2358 BINARY_IMM(CMP, CMP_rm_r, src2w, src1, src1w);
2361 EMIT_MOV(compiler, TMP_REG1, 0, src1, src1w);
2370 sljit_s32 src1, sljit_sw src1w, 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)) {
2393 if (src1 != SLJIT_IMM) {
2397 inst = emit_x86_instruction(compiler, 1, SLJIT_IMM, src2w, src1, src1w);
2401 FAIL_IF(emit_load_imm64(compiler, FAST_IS_REG(src1) ? TMP_REG2 : TMP_REG1, src2w));
2402 … inst = emit_x86_instruction(compiler, 1, FAST_IS_REG(src1) ? TMP_REG2 : TMP_REG1, 0, src1, src1w);
2407 inst = emit_x86_instruction(compiler, 1, SLJIT_IMM, src2w, src1, src1w);
2413 else if (FAST_IS_REG(src1)) {
2414 inst = emit_x86_instruction(compiler, 1, src1, 0, src2, src2w);
2422 if (src1 == SLJIT_IMM) {
2436 inst = emit_x86_instruction(compiler, 1, src1, src1w, src2, src2w);
2443 inst = emit_x86_instruction(compiler, 1, src2, 0, src1, src1w);
2450 EMIT_MOV(compiler, TMP_REG1, 0, src1, src1w);
2481 sljit_s32 src1, sljit_sw src1w, argument
2490 if (dst == src1 && dstw == src1w) {
2497 EMIT_MOV(compiler, TMP_REG1, 0, src1, src1w);
2505 EMIT_MOV(compiler, dst, 0, src1, src1w);
2512 EMIT_MOV(compiler, TMP_REG1, 0, src1, src1w);
2521 EMIT_MOV(compiler, TMP_REG1, 0, src1, src1w);
2530 if (src1 != dst)
2531 EMIT_MOV(compiler, dst, 0, src1, src1w);
2556 EMIT_MOV(compiler, TMP_REG1, 0, src1, src1w);
2588 sljit_s32 src1, sljit_sw src1w, argument
2599 return emit_shift(compiler, mode, dst, dstw, src1, src1w, src2, src2w);
2602 return emit_mov(compiler, dst, dstw, src1, src1w);
2605 dst, dstw, src1, src1w, SLJIT_IMM, 0);
2609 return emit_shift(compiler, mode, dst, dstw, src1, src1w, src2, src2w);
2612 FAIL_IF(emit_cmp_binary(compiler, src1, src1w, SLJIT_IMM, 0));
2614 FAIL_IF(emit_shift(compiler, mode, dst, dstw, src1, src1w, src2, src2w));
2623 sljit_s32 src1, sljit_sw src1w, argument
2627 CHECK(check_sljit_emit_op2(compiler, op, 0, dst, dstw, src1, src1w, src2, src2w));
2629 ADJUST_LOCAL_OFFSET(src1, src1w);
2633 CHECK_EXTRA_REGS(src1, src1w, (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);
2651 if (src1 == SLJIT_IMM && src1w == 0)
2655 …if (src2 == SLJIT_IMM && emit_lea_binary(compiler, dst, dstw, src1, src1w, SLJIT_IMM, -src2w) != S…
2658 FAIL_IF(emit_non_cum_binary(compiler, BINARY_OPCODE(SUB), dst, 0, dst, 0, src1, src1w));
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);
2679 return emit_unary(compiler, NOT_rm, dst, dstw, src1, src1w);
2680 if (src1 == SLJIT_IMM && src1w == -1)
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);
2710 sljit_s32 src1, sljit_sw src1w, 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);
2723 ADJUST_LOCAL_OFFSET(src1, src1w);
2726 CHECK_EXTRA_REGS(src1, src1w, (void)0);
2733 return emit_cmp_binary(compiler, src1, src1w, src2, src2w);
2735 return emit_test_binary(compiler, src1, src1w, src2, src2w);
2740 sljit_s32 src1, sljit_sw src1w, argument
2747 CHECK(check_sljit_emit_op2r(compiler, op, dst_reg, src1, src1w, src2, src2w));
2748 ADJUST_LOCAL_OFFSET(src1, src1w);
2752 CHECK_EXTRA_REGS(src1, src1w, (void)0);
2760 FAIL_IF(emit_mul(compiler, TMP_REG1, 0, src1, src1w, src2, src2w));
3159 sljit_s32 src1, sljit_sw src1w, argument
3165 FAIL_IF(emit_sse2_load(compiler, op & SLJIT_32, TMP_FREG, src1, src1w));
3171 src1 = TMP_FREG;
3184 return emit_groupf(compiler, UCOMISD_x_xm | EX86_SELECT_66(op) | EX86_SSE2, src2, src1, src1w);
3187 if (!FAST_IS_REG(src1)) {
3188 FAIL_IF(emit_sse2_load(compiler, op & SLJIT_32, TMP_FREG, src1, src1w));
3189 src1 = TMP_FREG;
3192 return emit_groupf(compiler, UCOMISD_x_xm | EX86_SELECT_66(op) | EX86_SSE2, src1, src2, src2w);
3279 sljit_s32 src1, sljit_sw src1w, argument
3285 CHECK(check_sljit_emit_fop2(compiler, op, dst, dstw, src1, src1w, src2, src2w));
3287 ADJUST_LOCAL_OFFSET(src1, src1w);
3296 if (dst == src1)
3300 src2 = src1;
3303 FAIL_IF(emit_sse2_load(compiler, op & SLJIT_32, dst_r, src1, src1w));
3306 FAIL_IF(emit_sse2_load(compiler, op & SLJIT_32, TMP_FREG, src1, src1w));
3310 FAIL_IF(emit_sse2_load(compiler, op & SLJIT_32, TMP_FREG, src1, src1w));
3338 sljit_s32 src1, sljit_sw src1w, argument
3344 CHECK(check_sljit_emit_fop2r(compiler, op, dst_freg, src1, src1w, src2, src2w));
3345 ADJUST_LOCAL_OFFSET(src1, src1w);
3352 if (dst_freg == src1) {
3355 FAIL_IF(emit_groupf(compiler, XORPD_x_xm | pref, TMP_FREG, src1, src1w));
3360 if (src1 & SLJIT_MEM) {
3361 FAIL_IF(emit_sse2_load(compiler, op & SLJIT_32, TMP_FREG, src1, src1w));
3362 src1 = TMP_FREG;
3370 FAIL_IF(emit_groupf(compiler, XORPD_x_xm | pref, dst_freg, src1, src1w));
3372 return emit_groupf(compiler, XORPD_x_xm | pref, dst_freg, src1, src1w);
3583 sljit_s32 src1, sljit_sw src1w, argument
3590 CHECK(check_sljit_emit_fselect(compiler, type, dst_freg, src1, src1w, src2_freg));
3592 ADJUST_LOCAL_OFFSET(src1, src1w);
3599 if (dst_freg == src1) {
3600 src1 = src2_freg;
3613 FAIL_IF(emit_sse2_load(compiler, type & SLJIT_32, dst_freg, src1, src1w));