Lines Matching refs:src2w
1120 sljit_si src2, sljit_sw src2w) in emit_op() argument
1185 FAIL_IF(load_immediate(compiler, sugg_src2_r, src2w)); in emit_op()
1188 else if (getput_arg_fast(compiler, input_flags | LOAD_DATA, sugg_src2_r, src2, src2w)) { in emit_op()
1198 if (!can_cache(src1, src1w, src2, src2w) && can_cache(src1, src1w, dst, dstw)) { in emit_op()
1199 FAIL_IF(getput_arg(compiler, input_flags | LOAD_DATA, TMP_REG2, src2, src2w, src1, src1w)); in emit_op()
1203 FAIL_IF(getput_arg(compiler, input_flags | LOAD_DATA, TMP_REG1, src1, src1w, src2, src2w)); in emit_op()
1204 FAIL_IF(getput_arg(compiler, input_flags | LOAD_DATA, TMP_REG2, src2, src2w, dst, dstw)); in emit_op()
1210 FAIL_IF(getput_arg(compiler, input_flags | LOAD_DATA, TMP_REG1, src1, src1w, src2, src2w)); in emit_op()
1218 FAIL_IF(getput_arg(compiler, input_flags | LOAD_DATA, sugg_src2_r, src2, src2w, dst, dstw)); in emit_op()
1231 FAIL_IF(getput_arg(compiler, input_flags | LOAD_DATA, sugg_src2_r, src2, src2w, 0, 0)); in emit_op()
1454 sljit_si src2, sljit_sw src2w) in sljit_emit_op2() argument
1459 CHECK(check_sljit_emit_op2(compiler, op, dst, dstw, src1, src1w, src2, src2w)); in sljit_emit_op2()
1462 ADJUST_LOCAL_OFFSET(src2, src2w); in sljit_emit_op2()
1466 if ((src2 & SLJIT_IMM) && src2w == 0) in sljit_emit_op2()
1476 src2w = (sljit_si)(src2w); in sljit_emit_op2()
1489 if (TEST_SL_IMM(src2, src2w)) { in sljit_emit_op2()
1490 compiler->imm = src2w & 0xffff; in sljit_emit_op2()
1495 return emit_op(compiler, SLJIT_ADD, flags | ALT_FORM1, dst, dstw, src2, src2w, TMP_REG2, 0); in sljit_emit_op2()
1497 if (TEST_SH_IMM(src2, src2w)) { in sljit_emit_op2()
1498 compiler->imm = (src2w >> 16) & 0xffff; in sljit_emit_op2()
1503 return emit_op(compiler, SLJIT_ADD, flags | ALT_FORM2, dst, dstw, src2, src2w, TMP_REG2, 0); in sljit_emit_op2()
1506 if (TEST_ADD_IMM(src2, src2w)) { in sljit_emit_op2()
1507 compiler->imm = src2w & 0xffffffff; in sljit_emit_op2()
1512 return emit_op(compiler, SLJIT_ADD, flags | ALT_FORM4, dst, dstw, src2, src2w, TMP_REG2, 0); in sljit_emit_op2()
1516 if (TEST_SL_IMM(src2, src2w)) { in sljit_emit_op2()
1517 compiler->imm = src2w & 0xffff; in sljit_emit_op2()
1522 return emit_op(compiler, SLJIT_ADD, flags | ALT_FORM3, dst, dstw, src2, src2w, TMP_REG2, 0); in sljit_emit_op2()
1525 return emit_op(compiler, SLJIT_ADD, flags, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1528 …JIT_ADDC, flags | (!(op & SLJIT_KEEP_FLAGS) ? 0 : ALT_FORM1), dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1532 if (TEST_SL_IMM(src2, -src2w)) { in sljit_emit_op2()
1533 compiler->imm = (-src2w) & 0xffff; in sljit_emit_op2()
1538 return emit_op(compiler, SLJIT_SUB, flags | ALT_FORM1, dst, dstw, src2, src2w, TMP_REG2, 0); in sljit_emit_op2()
1540 if (TEST_SH_IMM(src2, -src2w)) { in sljit_emit_op2()
1541 compiler->imm = ((-src2w) >> 16) & 0xffff; in sljit_emit_op2()
1545 if (TEST_ADD_IMM(src2, -src2w)) { in sljit_emit_op2()
1546 compiler->imm = -src2w & 0xffffffff; in sljit_emit_op2()
1553 if (TEST_SL_IMM(src2, src2w)) { in sljit_emit_op2()
1554 compiler->imm = src2w & 0xffff; in sljit_emit_op2()
1559 return emit_op(compiler, SLJIT_SUB, flags | ALT_FORM2, dst, dstw, src2, src2w, TMP_REG2, 0); in sljit_emit_op2()
1564 if (TEST_UL_IMM(src2, src2w)) { in sljit_emit_op2()
1565 compiler->imm = src2w & 0xffff; in sljit_emit_op2()
1568 return emit_op(compiler, SLJIT_SUB, flags | ALT_FORM4, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1570 if ((src2 & SLJIT_IMM) && src2w >= 0 && src2w <= 0x7fff) { in sljit_emit_op2()
1571 compiler->imm = src2w; in sljit_emit_op2()
1574 … : 0) | ((op & (SLJIT_SET_E | SLJIT_SET_S)) ? ALT_FORM5 : 0), dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1577 if (TEST_SL_IMM(src2, -src2w)) { in sljit_emit_op2()
1578 compiler->imm = (-src2w) & 0xffff; in sljit_emit_op2()
1583 …er, SLJIT_SUB, flags | (!(op & SLJIT_SET_U) ? 0 : ALT_FORM6), dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1586 …JIT_SUBC, flags | (!(op & SLJIT_KEEP_FLAGS) ? 0 : ALT_FORM1), dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1594 if (TEST_SL_IMM(src2, src2w)) { in sljit_emit_op2()
1595 compiler->imm = src2w & 0xffff; in sljit_emit_op2()
1600 return emit_op(compiler, SLJIT_MUL, flags | ALT_FORM1, dst, dstw, src2, src2w, TMP_REG2, 0); in sljit_emit_op2()
1603 return emit_op(compiler, SLJIT_MUL, flags, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1610 if (TEST_UL_IMM(src2, src2w)) { in sljit_emit_op2()
1611 compiler->imm = src2w; in sljit_emit_op2()
1616 … return emit_op(compiler, GET_OPCODE(op), flags | ALT_FORM1, dst, dstw, src2, src2w, TMP_REG2, 0); in sljit_emit_op2()
1618 if (TEST_UH_IMM(src2, src2w)) { in sljit_emit_op2()
1619 compiler->imm = (src2w >> 16) & 0xffff; in sljit_emit_op2()
1624 … return emit_op(compiler, GET_OPCODE(op), flags | ALT_FORM2, dst, dstw, src2, src2w, TMP_REG2, 0); in sljit_emit_op2()
1628 if (TEST_UI_IMM(src2, src2w)) { in sljit_emit_op2()
1629 compiler->imm = src2w; in sljit_emit_op2()
1634 … return emit_op(compiler, GET_OPCODE(op), flags | ALT_FORM3, dst, dstw, src2, src2w, TMP_REG2, 0); in sljit_emit_op2()
1637 return emit_op(compiler, GET_OPCODE(op), flags, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1650 compiler->imm = src2w; in sljit_emit_op2()
1653 return emit_op(compiler, GET_OPCODE(op), flags, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1860 sljit_si src2, sljit_sw src2w) in sljit_emit_fop1_cmp() argument
1863 FAIL_IF(emit_op_mem2(compiler, FLOAT_DATA(op) | LOAD_DATA, TMP_FREG1, src1, src1w, src2, src2w)); in sljit_emit_fop1_cmp()
1868 FAIL_IF(emit_op_mem2(compiler, FLOAT_DATA(op) | LOAD_DATA, TMP_FREG2, src2, src2w, 0, 0)); in sljit_emit_fop1_cmp()
1930 sljit_si src2, sljit_sw src2w) in sljit_emit_fop2() argument
1935 CHECK(check_sljit_emit_fop2(compiler, op, dst, dstw, src1, src1w, src2, src2w)); in sljit_emit_fop2()
1938 ADJUST_LOCAL_OFFSET(src2, src2w); in sljit_emit_fop2()
1954 if (getput_arg_fast(compiler, FLOAT_DATA(op) | LOAD_DATA, TMP_FREG2, src2, src2w)) { in sljit_emit_fop2()
1962 if (!can_cache(src1, src1w, src2, src2w) && can_cache(src1, src1w, dst, dstw)) { in sljit_emit_fop2()
1963 FAIL_IF(getput_arg(compiler, FLOAT_DATA(op) | LOAD_DATA, TMP_FREG2, src2, src2w, src1, src1w)); in sljit_emit_fop2()
1967 FAIL_IF(getput_arg(compiler, FLOAT_DATA(op) | LOAD_DATA, TMP_FREG1, src1, src1w, src2, src2w)); in sljit_emit_fop2()
1968 FAIL_IF(getput_arg(compiler, FLOAT_DATA(op) | LOAD_DATA, TMP_FREG2, src2, src2w, dst, dstw)); in sljit_emit_fop2()
1974 FAIL_IF(getput_arg(compiler, FLOAT_DATA(op) | LOAD_DATA, TMP_FREG2, src2, src2w, dst, dstw)); in sljit_emit_fop2()