Lines Matching refs:src1w

1046 	sljit_s32 src1, sljit_sw src1w,  in emit_rr()  argument
1065 FAIL_IF(emit_move(compiler, dst_r, src1, src1w)); in emit_rr()
1083 sljit_s32 src1, sljit_sw src1w) in emit_rr1() argument
1091 FAIL_IF(emit_move(compiler, tmp1, src1, src1w)); in emit_rr1()
1098 sljit_s32 src1, sljit_sw src1w, in emit_rrf() argument
1108 FAIL_IF(emit_move(compiler, tmp0, src1, src1w)); in emit_rrf()
1125 sljit_s32 src1, sljit_sw src1w, in emit_ri() argument
1140 FAIL_IF(emit_move(compiler, dst_r, src1, src1w)); in emit_ri()
1149 sljit_s32 src1, sljit_sw src1w, in emit_rie_d() argument
1156 FAIL_IF(emit_move(compiler, tmp0, src1, src1w)); in emit_rie_d()
1170 sljit_s32 src1, sljit_sw src1w, in emit_rx() argument
1192 FAIL_IF(emit_move(compiler, dst_r, src1, src1w)); in emit_rx()
1274 sljit_s32 src1, sljit_sw src1w, in emit_commutative() argument
1295 || ((src1 & OFFS_REG_MASK) ? (src1w & 0x3) == 0 : is_s20(src1w)))) { in emit_commutative()
1297 return emit_rx(compiler, ins12, dst, src1, src1w, src2, src2w, RX_A); in emit_commutative()
1299 return emit_rx(compiler, ins20, dst, src1, src1w, src2, src2w, RXY_A); in emit_commutative()
1303 if ((src1 & OFFS_REG_MASK) || is_u12(src1w) || !is_s20(src1w)) in emit_commutative()
1304 return emit_rx(compiler, ins12, dst, src2, src2w, src1, src1w, RX_A); in emit_commutative()
1306 return emit_rx(compiler, ins20, dst, src2, src2w, src1, src1w, RXY_A); in emit_commutative()
1322 …|| ((src1 & OFFS_REG_MASK) ? (src1w & 0x3) == 0 : (rx_type == RX_A ? is_u12(src1w) : is_s20(src1w)… in emit_commutative()
1323 return emit_rx(compiler, ins, dst, src1, src1w, src2, src2w, rx_type); in emit_commutative()
1326 return emit_rx(compiler, ins, dst, src2, src2w, src1, src1w, rx_type); in emit_commutative()
1343 return emit_rr(compiler, ins, dst, src1, src1w, src2, src2w); in emit_commutative()
1346 return emit_rr(compiler, ins, dst, src2, src2w, src1, src1w); in emit_commutative()
1350 return emit_rr(compiler, ins, dst, src1, src1w, src2, src2w); in emit_commutative()
1352 return emit_rrf(compiler, ins_k, dst, src1, src1w, src2, src2w); in emit_commutative()
1357 sljit_s32 src1, sljit_sw src1w, in emit_non_commutative() argument
1377 return emit_rx(compiler, ins12, dst, src1, src1w, src2, src2w, RX_A); in emit_non_commutative()
1379 return emit_rx(compiler, ins20, dst, src1, src1w, src2, src2w, RXY_A); in emit_non_commutative()
1382 return emit_rx(compiler, ins12, dst, src1, src1w, src2, src2w, RX_A); in emit_non_commutative()
1384 return emit_rx(compiler, ins20, dst, src1, src1w, src2, src2w, RXY_A); in emit_non_commutative()
1390 …return emit_rr(compiler, (mode & SLJIT_32) ? forms->op_r : forms->op_gr, dst, src1, src1w, src2, s… in emit_non_commutative()
1392 return emit_rrf(compiler, ins, dst, src1, src1w, src2, src2w); in emit_non_commutative()
2379 sljit_s32 src1, sljit_sw src1w, in sljit_emit_add() argument
2388 if (!sets_zero_overflow && is_s8(src2w) && (src1 & SLJIT_MEM) && (dst == src1 && dstw == src1w)) { in sljit_emit_add()
2401 FAIL_IF(emit_rie_d(compiler, ins, dst, src1, src1w, src2w)); in sljit_emit_add()
2408 FAIL_IF(emit_ri(compiler, ins, dst, src1, src1w, src2w, RIL_A)); in sljit_emit_add()
2412 FAIL_IF(emit_ri(compiler, 0xc20400000000 /* slgfi */, dst, src1, src1w, -src2w, RIL_A)); in sljit_emit_add()
2418 FAIL_IF(emit_ri(compiler, ins, dst, src1, src1w, src2w, RIL_A)); in sljit_emit_add()
2424 FAIL_IF(emit_commutative(compiler, forms, dst, src1, src1w, src2, src2w)); in sljit_emit_add()
2458 sljit_s32 src1, sljit_sw src1w, in sljit_emit_sub() argument
2476 return emit_ri(compiler, ins, src1, src1, src1w, src2w, RIL_A); in sljit_emit_sub()
2482 return emit_ri(compiler, ins, src1, src1, src1w, src2w, RIL_A); in sljit_emit_sub()
2485 return emit_rie_d(compiler, 0xec00000000db /* alghsik */, (sljit_s32)tmp0, src1, src1w, src2w); in sljit_emit_sub()
2491 return emit_rx(compiler, ins, src1, src1, src1w, src2, src2w, RX_A); in sljit_emit_sub()
2498 return emit_rx(compiler, ins, src1, src1, src1w, src2, src2w, RXY_A); in sljit_emit_sub()
2505 return emit_rr(compiler, ins, src1, src1, src1w, src2, src2w); in sljit_emit_sub()
2508 if (src1 == SLJIT_IMM && src1w == 0 && (flag_type == 0 || sets_signed)) { in sljit_emit_sub()
2518 …(!sets_zero_overflow && is_s8(neg_src2w) && (src1 & SLJIT_MEM) && (dst == src1 && dstw == src1w)) { in sljit_emit_sub()
2531 FAIL_IF(emit_rie_d(compiler, ins, dst, src1, src1w, neg_src2w)); in sljit_emit_sub()
2539 FAIL_IF(emit_ri(compiler, ins, dst, src1, src1w, src2w, RIL_A)); in sljit_emit_sub()
2543 FAIL_IF(emit_ri(compiler, 0xc20a00000000 /* algfi */, dst, src1, src1w, neg_src2w, RIL_A)); in sljit_emit_sub()
2549 FAIL_IF(emit_ri(compiler, ins, dst, src1, src1w, neg_src2w, RIL_A)); in sljit_emit_sub()
2555 FAIL_IF(emit_non_commutative(compiler, forms, dst, src1, src1w, src2, src2w)); in sljit_emit_sub()
2602 sljit_s32 src1, sljit_sw src1w, in sljit_emit_multiply() argument
2619 return emit_commutative(compiler, &multiply_overflow_forms, dst, src1, src1w, src2, src2w); in sljit_emit_multiply()
2625 return emit_ri(compiler, ins, dst, src1, src1w, src2w, RI_A); in sljit_emit_multiply()
2630 return emit_ri(compiler, ins, dst, src1, src1w, src2w, RIL_A); in sljit_emit_multiply()
2634 return emit_commutative(compiler, &multiply_forms, dst, src1, src1w, src2, src2w); in sljit_emit_multiply()
2639 sljit_s32 src1, sljit_sw src1w, in sljit_emit_bitwise_imm() argument
2653 FAIL_IF(emit_move(compiler, dst_r, src1, src1w)); in sljit_emit_bitwise_imm()
2723 sljit_s32 src1, sljit_sw src1w, in sljit_emit_bitwise() argument
2751 FAIL_IF(emit_move(compiler, tmp1, src1, src1w)); in sljit_emit_bitwise()
2763 return sljit_emit_bitwise_imm(compiler, type, dst, src1, src1w, imm, count16); in sljit_emit_bitwise()
2773 return emit_commutative(compiler, forms, dst, src1, src1w, src2, src2w); in sljit_emit_bitwise()
2778 sljit_s32 src1, sljit_sw src1w, in sljit_emit_shift() argument
2791 FAIL_IF(emit_move(compiler, tmp0, src1, src1w)); in sljit_emit_shift()
2839 sljit_s32 src1, sljit_sw src1w, in sljit_emit_rotate() argument
2851 FAIL_IF(emit_move(compiler, tmp0, src1, src1w)); in sljit_emit_rotate()
2900 sljit_s32 src1, sljit_sw src1w, in sljit_emit_op2() argument
2904 CHECK(check_sljit_emit_op2(compiler, op, 0, dst, dstw, src1, src1w, src2, src2w)); in sljit_emit_op2()
2906 ADJUST_LOCAL_OFFSET(src1, src1w); in sljit_emit_op2()
2917 src1w ^= src2w; in sljit_emit_op2()
2918 src2w ^= src1w; in sljit_emit_op2()
2919 src1w ^= src2w; in sljit_emit_op2()
2925 return sljit_emit_add(compiler, op, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
2928 FAIL_IF(emit_commutative(compiler, &addc_forms, dst, src1, src1w, src2, src2w)); in sljit_emit_op2()
2934 return sljit_emit_sub(compiler, op, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
2937 FAIL_IF(emit_non_commutative(compiler, &subc_forms, dst, src1, src1w, src2, src2w)); in sljit_emit_op2()
2942 FAIL_IF(sljit_emit_multiply(compiler, op, dst, src1, src1w, src2, src2w)); in sljit_emit_op2()
2947 FAIL_IF(sljit_emit_bitwise(compiler, op, dst, src1, src1w, src2, src2w)); in sljit_emit_op2()
2955 FAIL_IF(sljit_emit_shift(compiler, op, dst, src1, src1w, src2, src2w)); in sljit_emit_op2()
2959 FAIL_IF(sljit_emit_rotate(compiler, op, dst, src1, src1w, src2, src2w)); in sljit_emit_op2()
2969 sljit_s32 src1, sljit_sw src1w, in sljit_emit_op2u() argument
2975 CHECK(check_sljit_emit_op2(compiler, op, 1, 0, 0, src1, src1w, src2, src2w)); in sljit_emit_op2u()
2978 return sljit_emit_op2(compiler, op, dst_reg, 0, src1, src1w, src2, src2w); in sljit_emit_op2u()
2983 sljit_s32 src1, sljit_sw src1w, in sljit_emit_op2r() argument
2987 CHECK(check_sljit_emit_op2r(compiler, op, dst_reg, src1, src1w, src2, src2w)); in sljit_emit_op2r()
2992 …FAIL_IF(sljit_emit_op2(compiler, SLJIT_MUL | (op & SLJIT_32), 0 /* tmp0 */, 0, src1, src1w, src2, … in sljit_emit_op2r()
3337 sljit_s32 src1, sljit_sw src1w, in sljit_emit_fop1_cmp() argument
3343 FAIL_IF(float_mem(compiler, FLOAT_LOAD | (op & SLJIT_32), TMP_FREG1, src1, src1w)); in sljit_emit_fop1_cmp()
3416 sljit_s32 src1, sljit_sw src1w, in sljit_emit_fop2() argument
3423 CHECK(check_sljit_emit_fop2(compiler, op, dst, dstw, src1, src1w, src2, src2w)); in sljit_emit_fop2()
3425 ADJUST_LOCAL_OFFSET(src1, src1w); in sljit_emit_fop2()
3438 src2w = src1w; in sljit_emit_fop2()
3449 FAIL_IF(float_mem(compiler, FLOAT_LOAD | (op & SLJIT_32), dst_r, src1, src1w)); in sljit_emit_fop2()
3484 sljit_s32 src1, sljit_sw src1w, in sljit_emit_fop2r() argument
3490 CHECK(check_sljit_emit_fop2r(compiler, op, dst_freg, src1, src1w, src2, src2w)); in sljit_emit_fop2r()
3491 ADJUST_LOCAL_OFFSET(src1, src1w); in sljit_emit_fop2r()
3501 FAIL_IF(float_mem(compiler, FLOAT_LOAD | (op & SLJIT_32), reg, src1, src1w)); in sljit_emit_fop2r()
3758 sljit_s32 src1, sljit_sw src1w, in sljit_emit_select() argument
3767 CHECK(check_sljit_emit_select(compiler, type, dst_reg, src1, src1w, src2_reg)); in sljit_emit_select()
3769 ADJUST_LOCAL_OFFSET(src1, src1w); in sljit_emit_select()
3774 src1w = 0; in sljit_emit_select()
3778 FAIL_IF(load_word(compiler, dst_r, src1, src1w, type & SLJIT_32)); in sljit_emit_select()
3780 src1w = 0; in sljit_emit_select()
3793 if (src1w != 0) { in sljit_emit_select()
3794 …ompiler, 0xeb000000000d /* sllg */ | R36A(tmp1) | R32A(src_r) | ((sljit_ins)(src1w & 0x3) << 16))); in sljit_emit_select()
3800 src1w = 0; in sljit_emit_select()
3801 } else if (!is_s20(src1w)) { in sljit_emit_select()
3802 FAIL_IF(push_load_imm_inst(compiler, tmp1, src1w)); in sljit_emit_select()
3808 src1w = 0; in sljit_emit_select()
3813 …n push_inst(compiler, ins | R36A(dst_r) | (mask << 32) | R28A(src_r) | disp_s20((sljit_s32)src1w)); in sljit_emit_select()
3818 src1w = (sljit_s32)src1w; in sljit_emit_select()
3820 if (have_lscond2() && is_s16(src1w)) { in sljit_emit_select()
3822 return push_inst(compiler, ins | R36A(dst_r) | (mask << 32) | (sljit_ins)(src1w & 0xffff) << 16); in sljit_emit_select()
3825 FAIL_IF(push_load_imm_inst(compiler, tmp1, src1w)); in sljit_emit_select()
3836 sljit_s32 src1, sljit_sw src1w, in sljit_emit_fselect() argument
3844 CHECK(check_sljit_emit_fselect(compiler, type, dst_freg, src1, src1w, src2_freg)); in sljit_emit_fselect()
3846 ADJUST_LOCAL_OFFSET(src1, src1w); in sljit_emit_fselect()
3851 src1w = 0; in sljit_emit_fselect()
3867 FAIL_IF(float_mem(compiler, FLOAT_LOAD | (type & SLJIT_32), dst_freg, src1, src1w)); in sljit_emit_fselect()