Lines Matching refs:src2w

1045 	sljit_s32 src2, sljit_sw src2w)  in emit_rr()  argument
1068 FAIL_IF(emit_move(compiler, tmp1, src2, src2w)); in emit_rr()
1097 sljit_s32 src2, sljit_sw src2w) in emit_rrf() argument
1111 FAIL_IF(emit_move(compiler, tmp1, src2, src2w)); in emit_rrf()
1124 sljit_sw src2w, in emit_ri() argument
1141 return push_inst(compiler, ins | R36A(dst_r) | (src2w & 0xffffffff)); in emit_ri()
1142 return push_inst(compiler, ins | R20A(dst_r) | (src2w & 0xffff)); in emit_ri()
1148 sljit_sw src2w) in emit_rie_d() argument
1158 return push_inst(compiler, ins | R36A(dst_r) | R32A(src_r) | (sljit_ins)(src2w & 0xffff) << 16); in emit_rie_d()
1169 sljit_s32 src2, sljit_sw src2w, in emit_rx() argument
1198 if (src2w != 0) { in emit_rx()
1199 FAIL_IF(push_inst(compiler, sllg(tmp1, index, src2w & 0x3, 0))); in emit_rx()
1200 src2w = 0; in emit_rx()
1203 } else if ((type == RX_A && !is_u12(src2w)) || (type == RXY_A && !is_s20(src2w))) { in emit_rx()
1204 FAIL_IF(push_load_imm_inst(compiler, tmp1, src2w)); in emit_rx()
1210 src2w = 0; in emit_rx()
1214 ins |= R20A(dst_r) | R16A(index) | R12A(base) | (sljit_ins)src2w; in emit_rx()
1216 ins |= R36A(dst_r) | R32A(index) | R28A(base) | disp_s20((sljit_s32)src2w); in emit_rx()
1273 sljit_s32 src2, sljit_sw src2w) in emit_commutative() argument
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()
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()
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
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 …n emit_rr(compiler, (mode & SLJIT_32) ? forms->op_r : forms->op_gr, dst, src1, src1w, src2, src2w); 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
2205 if (!sets_zero_overflow && is_s8(src2w) && (src1 & SLJIT_MEM) && (dst == src1 && dstw == src1w)) { in sljit_emit_add()
2210 return emit_siy(compiler, ins, dst, dstw, src2w); in sljit_emit_add()
2213 if (is_s16(src2w)) { in sljit_emit_add()
2218 FAIL_IF(emit_rie_d(compiler, ins, dst, src1, src1w, src2w)); in sljit_emit_add()
2223 if ((op & SLJIT_32) || is_u32(src2w)) { in sljit_emit_add()
2225 FAIL_IF(emit_ri(compiler, ins, dst, src1, src1w, src2w, RIL_A)); in sljit_emit_add()
2228 if (is_u32(-src2w)) { in sljit_emit_add()
2229 FAIL_IF(emit_ri(compiler, 0xc20400000000 /* slgfi */, dst, src1, src1w, -src2w, RIL_A)); in sljit_emit_add()
2233 else if ((op & SLJIT_32) || is_s32(src2w)) { in sljit_emit_add()
2235 FAIL_IF(emit_ri(compiler, ins, dst, src1, src1w, src2w, RIL_A)); 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
2290 if (compare_signed || ((op & VARIABLE_FLAG_MASK) == 0 && is_s32(src2w))) in sljit_emit_sub()
2292 if ((op & SLJIT_32) || is_s32(src2w)) { in sljit_emit_sub()
2294 return emit_ri(compiler, ins, src1, src1, src1w, src2w, RIL_A); in sljit_emit_sub()
2298 if ((op & SLJIT_32) || is_u32(src2w)) { in sljit_emit_sub()
2300 return emit_ri(compiler, ins, src1, src1, src1w, src2w, RIL_A); in sljit_emit_sub()
2302 if (is_s16(src2w)) in sljit_emit_sub()
2303 return emit_rie_d(compiler, 0xec00000000db /* alghsik */, (sljit_s32)tmp0, src1, src1w, src2w); 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()
2333 sljit_sw neg_src2w = -src2w; in sljit_emit_sub()
2355 if ((op & SLJIT_32) || is_u32(src2w)) { in sljit_emit_sub()
2357 FAIL_IF(emit_ri(compiler, ins, dst, src1, src1w, src2w, RIL_A)); 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()
2441 if (is_s16(src2w)) { in sljit_emit_multiply()
2443 return emit_ri(compiler, ins, dst, src1, src1w, src2w, RI_A); in sljit_emit_multiply()
2446 if (is_s32(src2w)) { in sljit_emit_multiply()
2448 return emit_ri(compiler, ins, dst, src1, src1w, src2w, RIL_A); 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
2549 sljit_uw imm = (sljit_uw)src2w; 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
2612 imm = (sljit_ins)(src2w & ((op & SLJIT_32) ? 0x1f : 0x3f)); 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()
2686 src1w ^= src2w; in sljit_emit_op2()
2687 src2w ^= src1w; in sljit_emit_op2()
2688 src1w ^= src2w; 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()
3011 src2w = src1w; in sljit_emit_fop2()
3047 FAIL_IF(emit_float(compiler, ins_r, ins, dst_r, src2, src2w)); in sljit_emit_fop2()