Lines Matching refs:src2

1045 	sljit_s32 src2, sljit_sw src2w)  in emit_rr()  argument
1056 else if (dst == src2) { in emit_rr()
1065 if (FAST_IS_REG(src2)) in emit_rr()
1066 src_r = gpr(src2); in emit_rr()
1068 FAIL_IF(emit_move(compiler, tmp1, src2, src2w)); in emit_rr()
1097 sljit_s32 src2, sljit_sw src2w) in emit_rrf() argument
1108 if (FAST_IS_REG(src2)) in emit_rrf()
1109 src2_r = gpr(src2); in emit_rrf()
1111 FAIL_IF(emit_move(compiler, tmp1, src2, src2w)); in emit_rrf()
1169 sljit_s32 src2, sljit_sw src2w, in emit_rx() argument
1176 SLJIT_ASSERT(src2 & SLJIT_MEM); in emit_rx()
1183 else if (dst == (src2 & REG_MASK) || (dst == OFFS_REG(src2))) { in emit_rx()
1192 base = gpr(src2 & REG_MASK); in emit_rx()
1195 if (src2 & OFFS_REG_MASK) { in emit_rx()
1196 index = gpr(OFFS_REG(src2)); in emit_rx()
1206 if (src2 & REG_MASK) in emit_rx()
1273 sljit_s32 src2, sljit_sw src2w) in emit_commutative() argument
1278 if ((src1 | src2) & SLJIT_MEM) { in emit_commutative()
1292 if ((src2 & SLJIT_MEM) && (!(src1 & SLJIT_MEM) in emit_commutative()
1294 if ((src2 & OFFS_REG_MASK) || is_u12(src2w) || !is_s20(src2w)) in emit_commutative()
1295 return emit_rx(compiler, ins12, dst, src1, src1w, src2, src2w, RX_A); in emit_commutative()
1297 return emit_rx(compiler, ins20, dst, src1, src1w, src2, src2w, RXY_A); in emit_commutative()
1302 return emit_rx(compiler, ins12, dst, src2, src2w, src1, src1w, RX_A); in emit_commutative()
1304 return emit_rx(compiler, ins20, dst, src2, src2w, src1, src1w, RXY_A); in emit_commutative()
1319 if ((src2 & SLJIT_MEM) && (!(src1 & SLJIT_MEM) in emit_commutative()
1321 return emit_rx(compiler, ins, dst, src1, src1w, src2, src2w, rx_type); in emit_commutative()
1324 return emit_rx(compiler, ins, dst, src2, src2w, src1, src1w, rx_type); in emit_commutative()
1341 return emit_rr(compiler, ins, dst, src1, src1w, src2, src2w); in emit_commutative()
1343 if (dst == src2) in emit_commutative()
1344 return emit_rr(compiler, ins, dst, src2, src2w, src1, src1w); in emit_commutative()
1348 return emit_rr(compiler, ins, dst, src1, src1w, src2, src2w); in emit_commutative()
1350 return emit_rrf(compiler, ins_k, dst, src1, src1w, src2, src2w); in emit_commutative()
1356 sljit_s32 src2, sljit_sw src2w) in emit_non_commutative() argument
1361 if (src2 & SLJIT_MEM) { in emit_non_commutative()
1374 if ((src2 & OFFS_REG_MASK) || is_u12(src2w) || !is_s20(src2w)) in emit_non_commutative()
1375 return emit_rx(compiler, ins12, dst, src1, src1w, src2, src2w, RX_A); in emit_non_commutative()
1377 return emit_rx(compiler, ins20, dst, src1, src1w, src2, src2w, RXY_A); in emit_non_commutative()
1380 return emit_rx(compiler, ins12, dst, src1, src1w, src2, src2w, RX_A); in emit_non_commutative()
1382 return emit_rx(compiler, ins20, dst, src1, src1w, src2, src2w, RXY_A); in emit_non_commutative()
1388 …return emit_rr(compiler, (mode & SLJIT_32) ? forms->op_r : forms->op_gr, dst, src1, src1w, src2, s… in emit_non_commutative()
1390 return emit_rrf(compiler, ins, dst, src1, src1w, src2, src2w); in emit_non_commutative()
2197 sljit_s32 src2, sljit_sw src2w) in sljit_emit_add() argument
2204 if (src2 & SLJIT_IMM) { in sljit_emit_add()
2241 FAIL_IF(emit_commutative(compiler, forms, dst, src1, src1w, src2, src2w)); in sljit_emit_add()
2276 sljit_s32 src2, sljit_sw src2w) in sljit_emit_sub() argument
2289 if (src2 & SLJIT_IMM) { in sljit_emit_sub()
2306 else if (src2 & SLJIT_MEM) { in sljit_emit_sub()
2307 if ((op & SLJIT_32) && ((src2 & OFFS_REG_MASK) || is_u12(src2w))) { in sljit_emit_sub()
2309 return emit_rx(compiler, ins, src1, src1, src1w, src2, src2w, RX_A); in sljit_emit_sub()
2316 return emit_rx(compiler, ins, src1, src1, src1w, src2, src2w, RXY_A); in sljit_emit_sub()
2323 return emit_rr(compiler, ins, src1, src1, src1w, src2, src2w); in sljit_emit_sub()
2328 FAIL_IF(emit_rr1(compiler, ins, dst, src2, src2w)); in sljit_emit_sub()
2332 if (src2 & SLJIT_IMM) { in sljit_emit_sub()
2373 FAIL_IF(emit_non_commutative(compiler, forms, dst, src1, src1w, src2, src2w)); in sljit_emit_sub()
2421 sljit_s32 src2, sljit_sw src2w) in sljit_emit_multiply() argument
2437 return emit_commutative(compiler, &multiply_overflow_forms, dst, src1, src1w, src2, src2w); in sljit_emit_multiply()
2440 if (src2 & SLJIT_IMM) { in sljit_emit_multiply()
2452 return emit_commutative(compiler, &multiply_forms, dst, src1, src1w, src2, src2w); in sljit_emit_multiply()
2542 sljit_s32 src2, sljit_sw src2w) in sljit_emit_bitwise() argument
2547 if ((src2 & SLJIT_IMM) && (!(op & SLJIT_SET_Z) || (type == SLJIT_AND && dst == (sljit_s32)tmp0))) { in sljit_emit_bitwise()
2591 return emit_commutative(compiler, forms, dst, src1, src1w, src2, src2w); in sljit_emit_bitwise()
2597 sljit_s32 src2, sljit_sw src2w) in sljit_emit_shift() argument
2611 if (src2 & SLJIT_IMM) in sljit_emit_shift()
2613 else if (FAST_IS_REG(src2)) in sljit_emit_shift()
2614 base_r = gpr(src2 & REG_MASK); in sljit_emit_shift()
2616 FAIL_IF(emit_move(compiler, tmp1, src2, src2w)); in sljit_emit_shift()
2670 sljit_s32 src2, sljit_sw src2w) in sljit_emit_op2() argument
2673 CHECK(check_sljit_emit_op2(compiler, op, 0, dst, dstw, src1, src1w, src2, src2w)); in sljit_emit_op2()
2676 ADJUST_LOCAL_OFFSET(src2, src2w); in sljit_emit_op2()
2681 if (is_commutative(op) && (src1 & SLJIT_IMM) && !(src2 & SLJIT_IMM)) { in sljit_emit_op2()
2682 src1 ^= src2; in sljit_emit_op2()
2683 src2 ^= src1; in sljit_emit_op2()
2684 src1 ^= src2; in sljit_emit_op2()
2694 return sljit_emit_add(compiler, op, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
2697 FAIL_IF(emit_commutative(compiler, &addc_forms, dst, src1, src1w, src2, src2w)); in sljit_emit_op2()
2703 return sljit_emit_sub(compiler, op, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
2706 FAIL_IF(emit_non_commutative(compiler, &subc_forms, dst, src1, src1w, src2, src2w)); in sljit_emit_op2()
2711 FAIL_IF(sljit_emit_multiply(compiler, op, dst, src1, src1w, src2, src2w)); in sljit_emit_op2()
2716 FAIL_IF(sljit_emit_bitwise(compiler, op, dst, src1, src1w, src2, src2w)); in sljit_emit_op2()
2721 FAIL_IF(sljit_emit_shift(compiler, op, dst, src1, src1w, src2, src2w)); in sljit_emit_op2()
2732 sljit_s32 src2, sljit_sw src2w) in sljit_emit_op2u() argument
2735 CHECK(check_sljit_emit_op2(compiler, op, 1, 0, 0, src1, src1w, src2, src2w)); in sljit_emit_op2u()
2741 return sljit_emit_op2(compiler, op, (sljit_s32)tmp0, 0, src1, src1w, src2, src2w); in sljit_emit_op2u()
2909 sljit_s32 src2, sljit_sw src2w) in sljit_emit_fop1_cmp() argument
2926 return emit_float(compiler, ins_r, ins, src1, src2, src2w); in sljit_emit_fop1_cmp()
2990 sljit_s32 src2, sljit_sw src2w) in sljit_emit_fop2() argument
2996 CHECK(check_sljit_emit_fop2(compiler, op, dst, dstw, src1, src1w, src2, src2w)); in sljit_emit_fop2()
2999 ADJUST_LOCAL_OFFSET(src2, src2w); in sljit_emit_fop2()
3008 if (dst == src2) { in sljit_emit_fop2()
3010 src2 = src1; in sljit_emit_fop2()
3016 FAIL_IF(push_inst(compiler, FLOAT_MOV(op, TMP_FREG1, src2))); in sljit_emit_fop2()
3017 src2 = TMP_FREG1; in sljit_emit_fop2()
3047 FAIL_IF(emit_float(compiler, ins_r, ins, dst_r, src2, src2w)); in sljit_emit_fop2()