Lines Matching refs:src2w

1198 	sljit_s32 src2, sljit_sw src2w)  in emit_op()  argument
1247 if (src2w != 0) { in emit_op()
1248 FAIL_IF(load_immediate(compiler, sugg_src2_r, src2w)); in emit_op()
1253 FAIL_IF(emit_op_mem(compiler, input_flags | LOAD_DATA, sugg_src2_r, src2, src2w, TMP_REG2)); in emit_op()
1485 sljit_s32 src2, sljit_sw src2w) in sljit_emit_op2() argument
1490 CHECK(check_sljit_emit_op2(compiler, op, 0, dst, dstw, src1, src1w, src2, src2w)); in sljit_emit_op2()
1493 ADJUST_LOCAL_OFFSET(src2, src2w); in sljit_emit_op2()
1502 src2w = (sljit_s32)(src2w); in sljit_emit_op2()
1515 return emit_op(compiler, SLJIT_ADD, flags | ALT_FORM1, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1518 if (TEST_SL_IMM(src2, src2w)) { in sljit_emit_op2()
1519 compiler->imm = (sljit_ins)src2w & 0xffff; in sljit_emit_op2()
1524 return emit_op(compiler, SLJIT_ADD, flags | ALT_FORM2, dst, dstw, src2, src2w, TMP_REG2, 0); in sljit_emit_op2()
1526 if (TEST_SH_IMM(src2, src2w)) { in sljit_emit_op2()
1527 compiler->imm = (sljit_ins)(src2w >> 16) & 0xffff; in sljit_emit_op2()
1532 …return emit_op(compiler, SLJIT_ADD, flags | ALT_FORM2 | ALT_FORM3, dst, dstw, src2, src2w, TMP_REG… in sljit_emit_op2()
1535 if (TEST_ADD_IMM(src2, src2w)) { in sljit_emit_op2()
1536 compiler->imm = (sljit_ins)src2w & 0xffffffff; in sljit_emit_op2()
1541 …return emit_op(compiler, SLJIT_ADD, flags | ALT_FORM2 | ALT_FORM4, dst, dstw, src2, src2w, TMP_REG… in sljit_emit_op2()
1547 if (TEST_SL_IMM(src2, src2w)) { in sljit_emit_op2()
1548 compiler->imm = (sljit_ins)src2w & 0xffff; in sljit_emit_op2()
1553 …return emit_op(compiler, SLJIT_ADD, flags | ALT_FORM4 | ALT_FORM5, dst, dstw, src2, src2w, TMP_REG… in sljit_emit_op2()
1555 return emit_op(compiler, SLJIT_ADD, flags | ALT_FORM4, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1559 if (TEST_SL_IMM(src2, src2w)) { in sljit_emit_op2()
1560 compiler->imm = (sljit_ins)src2w & 0xffff; in sljit_emit_op2()
1565 return emit_op(compiler, SLJIT_ADD, flags | ALT_FORM3, dst, dstw, src2, src2w, TMP_REG2, 0); in sljit_emit_op2()
1568 …TYPE(op) == GET_FLAG_TYPE(SLJIT_SET_CARRY)) ? ALT_FORM5 : 0), dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1572 return emit_op(compiler, SLJIT_ADDC, flags, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1579 if (TEST_UL_IMM(src2, src2w)) { in sljit_emit_op2()
1580 compiler->imm = (sljit_ins)src2w & 0xffff; in sljit_emit_op2()
1583 return emit_op(compiler, SLJIT_SUB, flags | ALT_FORM1, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1586 if ((src2 & SLJIT_IMM) && src2w >= 0 && src2w <= (SIMM_MAX + 1)) { in sljit_emit_op2()
1587 compiler->imm = (sljit_ins)src2w; in sljit_emit_op2()
1590 …n emit_op(compiler, SLJIT_SUB, flags | ALT_FORM1 | ALT_FORM3, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1594 if (TEST_SL_IMM(src2, src2w)) { in sljit_emit_op2()
1595 compiler->imm = (sljit_ins)src2w & 0xffff; in sljit_emit_op2()
1598 return emit_op(compiler, SLJIT_SUB, flags | ALT_FORM2, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1602 if ((src2 & SLJIT_IMM) && src2w >= -SIMM_MAX && src2w <= SIMM_MAX) { in sljit_emit_op2()
1603 compiler->imm = (sljit_ins)src2w & 0xffff; in sljit_emit_op2()
1606 …n emit_op(compiler, SLJIT_SUB, flags | ALT_FORM2 | ALT_FORM4, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1610 return emit_op(compiler, SLJIT_SUB, flags | ALT_FORM3, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1612 if (TEST_SL_IMM(src2, -src2w)) { in sljit_emit_op2()
1613 compiler->imm = (sljit_ins)(-src2w) & 0xffff; in sljit_emit_op2()
1619 return emit_op(compiler, SLJIT_SUB, flags | ALT_FORM4, dst, dstw, src2, src2w, TMP_REG2, 0); in sljit_emit_op2()
1623 if (TEST_SH_IMM(src2, -src2w)) { in sljit_emit_op2()
1624 compiler->imm = (sljit_ins)((-src2w) >> 16) & 0xffff; in sljit_emit_op2()
1628 if (TEST_ADD_IMM(src2, -src2w)) { in sljit_emit_op2()
1629 compiler->imm = (sljit_ins)-src2w; in sljit_emit_op2()
1635 …TYPE(op) == GET_FLAG_TYPE(SLJIT_SET_CARRY)) ? ALT_FORM5 : 0), dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1639 return emit_op(compiler, SLJIT_SUBC, flags, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1647 if (TEST_SL_IMM(src2, src2w)) { in sljit_emit_op2()
1648 compiler->imm = (sljit_ins)src2w & 0xffff; in sljit_emit_op2()
1653 return emit_op(compiler, SLJIT_MUL, flags | ALT_FORM1, dst, dstw, src2, src2w, TMP_REG2, 0); in sljit_emit_op2()
1658 return emit_op(compiler, SLJIT_MUL, flags, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1665 if (TEST_UL_IMM(src2, src2w)) { in sljit_emit_op2()
1666 compiler->imm = (sljit_ins)src2w; in sljit_emit_op2()
1671 … return emit_op(compiler, GET_OPCODE(op), flags | ALT_FORM1, dst, dstw, src2, src2w, TMP_REG2, 0); in sljit_emit_op2()
1673 if (TEST_UH_IMM(src2, src2w)) { in sljit_emit_op2()
1674 compiler->imm = (sljit_ins)(src2w >> 16) & 0xffff; in sljit_emit_op2()
1679 … return emit_op(compiler, GET_OPCODE(op), flags | ALT_FORM2, dst, dstw, src2, src2w, TMP_REG2, 0); in sljit_emit_op2()
1684 if (TEST_UI_IMM(src2, src2w)) { in sljit_emit_op2()
1685 compiler->imm = (sljit_ins)src2w; in sljit_emit_op2()
1690 … return emit_op(compiler, GET_OPCODE(op), flags | ALT_FORM3, dst, dstw, src2, src2w, TMP_REG2, 0); in sljit_emit_op2()
1693 return emit_op(compiler, GET_OPCODE(op), flags, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1708 compiler->imm = (sljit_ins)src2w; in sljit_emit_op2()
1711 return emit_op(compiler, GET_OPCODE(op), flags, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1719 sljit_s32 src2, sljit_sw src2w) in sljit_emit_op2u() argument
1722 CHECK(check_sljit_emit_op2(compiler, op, 1, 0, 0, src1, src1w, src2, src2w)); in sljit_emit_op2u()
1725 return sljit_emit_op2(compiler, op, TMP_REG2, 0, src1, src1w, src2, src2w); in sljit_emit_op2u()
1735 sljit_s32 src2, sljit_sw src2w) in sljit_emit_shift_into() argument
1747 CHECK(check_sljit_emit_shift_into(compiler, op, src_dst, src1, src1w, src2, src2w)); in sljit_emit_shift_into()
1753 …iler, (is_right ? SLJIT_ROTR : SLJIT_ROTL) | (op & SLJIT_32), src_dst, 0, src_dst, 0, src2, src2w); in sljit_emit_shift_into()
1757 ADJUST_LOCAL_OFFSET(src2, src2w); in sljit_emit_shift_into()
1760 src2w &= bit_length - 1; in sljit_emit_shift_into()
1762 if (src2w == 0) in sljit_emit_shift_into()
1765 FAIL_IF(emit_op_mem(compiler, inp_flags, TMP_REG2, src2, src2w, TMP_REG2)); in sljit_emit_shift_into()
1781 FAIL_IF(push_inst(compiler, SRDI(src2w) | S(src_dst) | A(src_dst))); in sljit_emit_shift_into()
1782 return push_inst(compiler, RLDIMI | S(src1) | A(src_dst) | RLDI_SH(64 - src2w) | RLDI_MB(0)); in sljit_emit_shift_into()
1785 FAIL_IF(push_inst(compiler, SLDI(src2w) | S(src_dst) | A(src_dst))); in sljit_emit_shift_into()
1787 …FAIL_IF(push_inst(compiler, RLDICL | S(src1) | A(TMP_REG1) | RLDI_SH(src2w) | RLDI_MB(64 - src2w))… in sljit_emit_shift_into()
1793 FAIL_IF(push_inst(compiler, SRWI(src2w) | S(src_dst) | A(src_dst))); in sljit_emit_shift_into()
1794 … push_inst(compiler, RLWIMI | S(src1) | A(src_dst) | RLWI_SH(32 - src2w) | RLWI_MBE(0, src2w - 1)); in sljit_emit_shift_into()
1797 FAIL_IF(push_inst(compiler, SLWI(src2w) | S(src_dst) | A(src_dst))); in sljit_emit_shift_into()
1798 …return push_inst(compiler, RLWIMI | S(src1) | A(src_dst) | RLWI_SH(src2w) | RLWI_MBE(32 - src2w, 3… in sljit_emit_shift_into()
2038 sljit_s32 src2, sljit_sw src2w) in sljit_emit_fop1_cmp() argument
2046 FAIL_IF(emit_op_mem(compiler, FLOAT_DATA(op) | LOAD_DATA, TMP_FREG2, src2, src2w, TMP_REG2)); in sljit_emit_fop1_cmp()
2120 sljit_s32 src2, sljit_sw src2w) in sljit_emit_fop2() argument
2125 CHECK(check_sljit_emit_fop2(compiler, op, dst, dstw, src1, src1w, src2, src2w)); in sljit_emit_fop2()
2128 ADJUST_LOCAL_OFFSET(src2, src2w); in sljit_emit_fop2()
2138 FAIL_IF(emit_op_mem(compiler, FLOAT_DATA(op) | LOAD_DATA, TMP_FREG2, src2, src2w, TMP_REG2)); in sljit_emit_fop2()