Lines Matching refs:src2
1297 sljit_s32 src2, sljit_sw src2w) in emit_op() argument
1320 if (FAST_IS_REG(src2)) { in emit_op()
1321 src2_r = src2; in emit_op()
1326 } else if (src2 == SLJIT_IMM) { in emit_op()
1333 FAIL_IF(emit_op_mem(compiler, input_flags | LOAD_DATA, src2_tmp_reg, src2, src2w, TMP_REG1)); in emit_op()
1712 sljit_s32 src2, sljit_sw src2w) in sljit_emit_op2() argument
1717 CHECK(check_sljit_emit_op2(compiler, op, 0, dst, dstw, src1, src1w, src2, src2w)); in sljit_emit_op2()
1720 ADJUST_LOCAL_OFFSET(src2, src2w); in sljit_emit_op2()
1728 if (src2 == SLJIT_IMM) in sljit_emit_op2()
1742 return emit_op(compiler, SLJIT_ADD, flags | ALT_FORM1, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1744 if (!HAS_FLAGS(op) && (src1 == SLJIT_IMM || src2 == SLJIT_IMM)) { in sljit_emit_op2()
1745 if (TEST_SL_IMM(src2, src2w)) { in sljit_emit_op2()
1751 return emit_op(compiler, SLJIT_ADD, flags | ALT_FORM2, dst, dstw, src2, src2w, TMP_REG2, 0); in sljit_emit_op2()
1753 if (TEST_SH_IMM(src2, src2w)) { in sljit_emit_op2()
1759 …return emit_op(compiler, SLJIT_ADD, flags | ALT_FORM2 | ALT_FORM3, dst, dstw, src2, src2w, TMP_REG… in sljit_emit_op2()
1762 if (TEST_ADD_IMM(src2, src2w)) { in sljit_emit_op2()
1768 …return emit_op(compiler, SLJIT_ADD, flags | ALT_FORM2 | ALT_FORM4, dst, dstw, src2, src2w, TMP_REG… in sljit_emit_op2()
1774 if (TEST_SL_IMM(src2, src2w)) { in sljit_emit_op2()
1780 …return emit_op(compiler, SLJIT_ADD, flags | ALT_FORM4 | ALT_FORM5, dst, dstw, src2, src2w, TMP_REG… in sljit_emit_op2()
1782 return emit_op(compiler, SLJIT_ADD, flags | ALT_FORM4, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1786 if (TEST_SL_IMM(src2, src2w)) { in sljit_emit_op2()
1792 return emit_op(compiler, SLJIT_ADD, flags | ALT_FORM3, dst, dstw, src2, src2w, TMP_REG2, 0); in sljit_emit_op2()
1795 …flags | ((GET_FLAG_TYPE(op) == SLJIT_CARRY) ? ALT_FORM5 : 0), dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1799 return emit_op(compiler, SLJIT_ADDC, flags, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1806 if (TEST_UL_IMM(src2, src2w)) { in sljit_emit_op2()
1810 return emit_op(compiler, SLJIT_SUB, flags | ALT_FORM1, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1813 if (src2 == SLJIT_IMM && src2w >= 0 && src2w <= (SIMM_MAX + 1)) { in sljit_emit_op2()
1817 …return emit_op(compiler, SLJIT_SUB, flags | ALT_FORM1 | ALT_FORM3, dst, dstw, src1, src1w, src2, s… in sljit_emit_op2()
1821 if (TEST_SL_IMM(src2, src2w)) { in sljit_emit_op2()
1825 return emit_op(compiler, SLJIT_SUB, flags | ALT_FORM2, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1829 if (src2 == SLJIT_IMM && src2w >= -SIMM_MAX && src2w <= SIMM_MAX) { in sljit_emit_op2()
1833 …return emit_op(compiler, SLJIT_SUB, flags | ALT_FORM2 | ALT_FORM4, dst, dstw, src1, src1w, src2, s… in sljit_emit_op2()
1837 return emit_op(compiler, SLJIT_SUB, flags | ALT_FORM3, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1839 if (TEST_SL_IMM(src2, -src2w)) { in sljit_emit_op2()
1846 return emit_op(compiler, SLJIT_SUB, flags | ALT_FORM4, dst, dstw, src2, src2w, TMP_REG2, 0); in sljit_emit_op2()
1850 if (TEST_SH_IMM(src2, -src2w)) { in sljit_emit_op2()
1855 if (TEST_ADD_IMM(src2, -src2w)) { in sljit_emit_op2()
1862 …flags | ((GET_FLAG_TYPE(op) == SLJIT_CARRY) ? ALT_FORM5 : 0), dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1866 return emit_op(compiler, SLJIT_SUBC, flags, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1874 if (TEST_SL_IMM(src2, src2w)) { in sljit_emit_op2()
1880 return emit_op(compiler, SLJIT_MUL, flags | ALT_FORM1, dst, dstw, src2, src2w, TMP_REG2, 0); in sljit_emit_op2()
1885 return emit_op(compiler, SLJIT_MUL, flags, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1888 if (src2 == SLJIT_IMM && src2w == -1) { in sljit_emit_op2()
1892 return emit_op(compiler, GET_OPCODE(op), flags | ALT_FORM4, dst, dstw, TMP_REG1, 0, src2, src2w); in sljit_emit_op2()
1899 if (TEST_UL_IMM(src2, src2w)) { in sljit_emit_op2()
1905 … return emit_op(compiler, GET_OPCODE(op), flags | ALT_FORM1, dst, dstw, src2, src2w, TMP_REG2, 0); in sljit_emit_op2()
1907 if (TEST_UH_IMM(src2, src2w)) { in sljit_emit_op2()
1913 … return emit_op(compiler, GET_OPCODE(op), flags | ALT_FORM2, dst, dstw, src2, src2w, TMP_REG2, 0); in sljit_emit_op2()
1918 if (TEST_UI_IMM(src2, src2w)) { in sljit_emit_op2()
1924 … return emit_op(compiler, GET_OPCODE(op), flags | ALT_FORM3, dst, dstw, src2, src2w, TMP_REG2, 0); in sljit_emit_op2()
1927 return emit_op(compiler, GET_OPCODE(op), flags, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1941 if (src2 == SLJIT_IMM) { in sljit_emit_op2()
1945 return emit_op(compiler, GET_OPCODE(op), flags, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1953 sljit_s32 src2, sljit_sw src2w) in sljit_emit_op2u() argument
1956 CHECK(check_sljit_emit_op2(compiler, op, 1, 0, 0, src1, src1w, src2, src2w)); in sljit_emit_op2u()
1959 return sljit_emit_op2(compiler, op, TMP_REG1, 0, src1, src1w, src2, src2w); in sljit_emit_op2u()
1969 sljit_s32 src2, sljit_sw src2w) in sljit_emit_op2r() argument
1972 CHECK(check_sljit_emit_op2r(compiler, op, dst_reg, src1, src1w, src2, src2w)); in sljit_emit_op2r()
1977 …FAIL_IF(sljit_emit_op2(compiler, SLJIT_MUL | (op & SLJIT_32), TMP_REG2, 0, src1, src1w, src2, src2… in sljit_emit_op2r()
2237 sljit_s32 src2, sljit_sw src2w) in sljit_emit_fop1_cmp() argument
2244 if (src2 & SLJIT_MEM) { in sljit_emit_fop1_cmp()
2245 FAIL_IF(emit_op_mem(compiler, FLOAT_DATA(op) | LOAD_DATA, TMP_FREG2, src2, src2w, TMP_REG2)); in sljit_emit_fop1_cmp()
2246 src2 = TMP_FREG2; in sljit_emit_fop1_cmp()
2249 FAIL_IF(push_inst(compiler, FCMPU | CRD(4) | FA(src1) | FB(src2))); in sljit_emit_fop1_cmp()
2316 sljit_s32 src2, sljit_sw src2w) in sljit_emit_fop2() argument
2321 CHECK(check_sljit_emit_fop2(compiler, op, dst, dstw, src1, src1w, src2, src2w)); in sljit_emit_fop2()
2324 ADJUST_LOCAL_OFFSET(src2, src2w); in sljit_emit_fop2()
2333 if (src2 & SLJIT_MEM) { in sljit_emit_fop2()
2334 FAIL_IF(emit_op_mem(compiler, FLOAT_DATA(op) | LOAD_DATA, TMP_FREG2, src2, src2w, TMP_REG1)); in sljit_emit_fop2()
2335 src2 = TMP_FREG2; in sljit_emit_fop2()
2340 FAIL_IF(push_inst(compiler, SELECT_FOP(op, FADDS, FADD) | FD(dst_r) | FA(src1) | FB(src2))); in sljit_emit_fop2()
2343 FAIL_IF(push_inst(compiler, SELECT_FOP(op, FSUBS, FSUB) | FD(dst_r) | FA(src1) | FB(src2))); in sljit_emit_fop2()
2346 …FAIL_IF(push_inst(compiler, SELECT_FOP(op, FMULS, FMUL) | FD(dst_r) | FA(src1) | FC(src2) /* FMUL … in sljit_emit_fop2()
2349 FAIL_IF(push_inst(compiler, SELECT_FOP(op, FDIVS, FDIV) | FD(dst_r) | FA(src1) | FB(src2))); in sljit_emit_fop2()
2352 …FAIL_IF(push_inst(compiler, ((op & SLJIT_32) ? STFS : STFD) | FS(src2) | A(SLJIT_SP) | TMP_MEM_OFF… in sljit_emit_fop2()