Lines Matching refs:src2

1032 	sljit_s32 src2, sljit_sw src2w)  in emit_rr()  argument
1043 else if (dst == src2) { in emit_rr()
1052 if (FAST_IS_REG(src2)) in emit_rr()
1053 src_r = gpr(src2 & REG_MASK); in emit_rr()
1055 FAIL_IF(emit_move(compiler, tmp1, src2, src2w)); in emit_rr()
1069 sljit_s32 src2, sljit_sw src2w) in emit_rrf() argument
1080 if (FAST_IS_REG(src2)) in emit_rrf()
1081 src2_r = gpr(src2 & REG_MASK); in emit_rrf()
1083 FAIL_IF(emit_move(compiler, tmp1, src2, src2w)); in emit_rrf()
1141 sljit_s32 src2, sljit_sw src2w, in emit_rx() argument
1148 SLJIT_ASSERT(src2 & SLJIT_MEM); in emit_rx()
1155 else if (dst == (src2 & REG_MASK) || (dst == OFFS_REG(src2))) { in emit_rx()
1164 base = gpr(src2 & REG_MASK); in emit_rx()
1167 if (src2 & OFFS_REG_MASK) { in emit_rx()
1168 index = gpr(OFFS_REG(src2)); in emit_rx()
1178 if (src2 & REG_MASK) in emit_rx()
1245 sljit_s32 src2, sljit_sw src2w) in emit_commutative() argument
1250 if ((src1 | src2) & SLJIT_MEM) { in emit_commutative()
1264 if ((src2 & SLJIT_MEM) && (!(src1 & SLJIT_MEM) in emit_commutative()
1266 if ((src2 & OFFS_REG_MASK) || is_u12(src2w) || !is_s20(src2w)) in emit_commutative()
1267 return emit_rx(compiler, ins12, dst, src1, src1w, src2, src2w, RX_A); in emit_commutative()
1269 return emit_rx(compiler, ins20, dst, src1, src1w, src2, src2w, RXY_A); in emit_commutative()
1274 return emit_rx(compiler, ins12, dst, src2, src2w, src1, src1w, RX_A); in emit_commutative()
1276 return emit_rx(compiler, ins20, dst, src2, src2w, src1, src1w, RXY_A); in emit_commutative()
1291 if ((src2 & SLJIT_MEM) && (!(src1 & SLJIT_MEM) in emit_commutative()
1293 return emit_rx(compiler, ins, dst, src1, src1w, src2, src2w, rx_type); in emit_commutative()
1296 return emit_rx(compiler, ins, dst, src2, src2w, src1, src1w, rx_type); in emit_commutative()
1313 return emit_rr(compiler, ins, dst, src1, src1w, src2, src2w); in emit_commutative()
1315 if (dst == src2) in emit_commutative()
1316 return emit_rr(compiler, ins, dst, src2, src2w, src1, src1w); in emit_commutative()
1320 return emit_rr(compiler, ins, dst, src1, src1w, src2, src2w); in emit_commutative()
1322 return emit_rrf(compiler, ins_k, dst, src1, src1w, src2, src2w); in emit_commutative()
1328 sljit_s32 src2, sljit_sw src2w) in emit_non_commutative() argument
1333 if (src2 & SLJIT_MEM) { in emit_non_commutative()
1346 if ((src2 & OFFS_REG_MASK) || is_u12(src2w) || !is_s20(src2w)) in emit_non_commutative()
1347 return emit_rx(compiler, ins12, dst, src1, src1w, src2, src2w, RX_A); in emit_non_commutative()
1349 return emit_rx(compiler, ins20, dst, src1, src1w, src2, src2w, RXY_A); in emit_non_commutative()
1352 return emit_rx(compiler, ins12, dst, src1, src1w, src2, src2w, RX_A); in emit_non_commutative()
1354 return emit_rx(compiler, ins20, dst, src1, src1w, src2, src2w, RXY_A); in emit_non_commutative()
1360 …it_rr(compiler, (mode & SLJIT_I32_OP) ? forms->op_r : forms->op_gr, dst, src1, src1w, src2, src2w); in emit_non_commutative()
1362 return emit_rrf(compiler, ins, dst, src1, src1w, src2, src2w); in emit_non_commutative()
2124 sljit_s32 src2, sljit_sw src2w) in sljit_emit_add() argument
2131 if (src2 & SLJIT_IMM) { in sljit_emit_add()
2168 FAIL_IF(emit_commutative(compiler, forms, dst, dstw, src1, src1w, src2, src2w)); in sljit_emit_add()
2203 sljit_s32 src2, sljit_sw src2w) in sljit_emit_sub() argument
2215 if (src2 & SLJIT_IMM) { in sljit_emit_sub()
2232 else if (src2 & SLJIT_MEM) { in sljit_emit_sub()
2233 if ((op & SLJIT_I32_OP) && ((src2 & OFFS_REG_MASK) || is_u12(src2w))) { in sljit_emit_sub()
2235 return emit_rx(compiler, ins, src1, src1, src1w, src2, src2w, RX_A); in sljit_emit_sub()
2242 return emit_rx(compiler, ins, src1, src1, src1w, src2, src2w, RXY_A); in sljit_emit_sub()
2249 return emit_rr(compiler, ins, src1, src1, src1w, src2, src2w); in sljit_emit_sub()
2252 if (src2 & SLJIT_IMM) { in sljit_emit_sub()
2293 FAIL_IF(emit_non_commutative(compiler, forms, dst, dstw, src1, src1w, src2, src2w)); in sljit_emit_sub()
2341 sljit_s32 src2, sljit_sw src2w) in sljit_emit_multiply() argument
2357 return emit_commutative(compiler, &multiply_overflow_forms, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_multiply()
2360 if (src2 & SLJIT_IMM) { in sljit_emit_multiply()
2372 return emit_commutative(compiler, &multiply_forms, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_multiply()
2462 sljit_s32 src2, sljit_sw src2w) in sljit_emit_bitwise() argument
2467 if ((src2 & SLJIT_IMM) && (!(op & SLJIT_SET_Z) || (type == SLJIT_AND && dst == SLJIT_UNUSED))) { in sljit_emit_bitwise()
2511 return emit_commutative(compiler, forms, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_bitwise()
2517 sljit_s32 src2, sljit_sw src2w) in sljit_emit_shift() argument
2531 if (src2 & SLJIT_IMM) in sljit_emit_shift()
2533 else if (FAST_IS_REG(src2)) in sljit_emit_shift()
2534 base_r = gpr(src2 & REG_MASK); in sljit_emit_shift()
2536 FAIL_IF(emit_move(compiler, tmp1, src2, src2w)); in sljit_emit_shift()
2590 sljit_s32 src2, sljit_sw src2w) in sljit_emit_op2() argument
2593 CHECK(check_sljit_emit_op2(compiler, op, dst, dstw, src1, src1w, src2, src2w)); in sljit_emit_op2()
2596 ADJUST_LOCAL_OFFSET(src2, src2w); in sljit_emit_op2()
2607 if (is_commutative(op) && (src1 & SLJIT_IMM) && !(src2 & SLJIT_IMM)) { in sljit_emit_op2()
2608 src1 ^= src2; in sljit_emit_op2()
2609 src2 ^= src1; in sljit_emit_op2()
2610 src1 ^= src2; in sljit_emit_op2()
2619 return sljit_emit_add(compiler, op, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
2621 FAIL_IF(emit_commutative(compiler, &addc_forms, dst, dstw, src1, src1w, src2, src2w)); in sljit_emit_op2()
2626 return sljit_emit_sub(compiler, op, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
2628 FAIL_IF(emit_non_commutative(compiler, &subc_forms, dst, dstw, src1, src1w, src2, src2w)); in sljit_emit_op2()
2633 FAIL_IF(sljit_emit_multiply(compiler, op, dst, dstw, src1, src1w, src2, src2w)); in sljit_emit_op2()
2638 FAIL_IF(sljit_emit_bitwise(compiler, op, dst, dstw, src1, src1w, src2, src2w)); in sljit_emit_op2()
2643 FAIL_IF(sljit_emit_shift(compiler, op, dst, dstw, src1, src1w, src2, src2w)); in sljit_emit_op2()
2725 sljit_s32 src2, sljit_sw src2w) in sljit_emit_fop2() argument