Lines Matching refs:src2w
1064 sljit_s32 src2, sljit_sw src2w) in emit_op() argument
1107 FAIL_IF(load_immediate(compiler, sugg_src2_r, src2w)); in emit_op()
1111 FAIL_IF(emit_op_mem(compiler, input_flags | LOAD_DATA, sugg_src2_r, src2, src2w, TMP_REG2)); in emit_op()
1330 sljit_s32 src2, sljit_sw src2w) in sljit_emit_op2() argument
1335 CHECK(check_sljit_emit_op2(compiler, op, dst, dstw, src1, src1w, src2, src2w)); in sljit_emit_op2()
1338 ADJUST_LOCAL_OFFSET(src2, src2w); in sljit_emit_op2()
1345 if ((src2 & SLJIT_IMM) && src2w == 0) in sljit_emit_op2()
1355 src2w = (sljit_s32)(src2w); in sljit_emit_op2()
1366 return emit_op(compiler, SLJIT_ADD, flags | ALT_FORM1, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1369 if (TEST_SL_IMM(src2, src2w)) { in sljit_emit_op2()
1370 compiler->imm = src2w & 0xffff; in sljit_emit_op2()
1375 return emit_op(compiler, SLJIT_ADD, flags | ALT_FORM2, dst, dstw, src2, src2w, TMP_REG2, 0); in sljit_emit_op2()
1377 if (TEST_SH_IMM(src2, src2w)) { in sljit_emit_op2()
1378 compiler->imm = (src2w >> 16) & 0xffff; in sljit_emit_op2()
1383 …return emit_op(compiler, SLJIT_ADD, flags | ALT_FORM2 | ALT_FORM3, dst, dstw, src2, src2w, TMP_REG… in sljit_emit_op2()
1386 if (TEST_ADD_IMM(src2, src2w)) { in sljit_emit_op2()
1387 compiler->imm = src2w & 0xffffffff; in sljit_emit_op2()
1392 …return emit_op(compiler, SLJIT_ADD, flags | ALT_FORM2 | ALT_FORM4, dst, dstw, src2, src2w, TMP_REG… in sljit_emit_op2()
1396 if (TEST_SL_IMM(src2, src2w)) { in sljit_emit_op2()
1397 compiler->imm = src2w & 0xffff; in sljit_emit_op2()
1402 return emit_op(compiler, SLJIT_ADD, flags | ALT_FORM3, dst, dstw, src2, src2w, TMP_REG2, 0); in sljit_emit_op2()
1405 …TYPE(op) == GET_FLAG_TYPE(SLJIT_SET_CARRY)) ? ALT_FORM4 : 0), dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1408 return emit_op(compiler, SLJIT_ADDC, flags, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1413 if (TEST_UL_IMM(src2, src2w)) { in sljit_emit_op2()
1414 compiler->imm = src2w & 0xffff; in sljit_emit_op2()
1417 return emit_op(compiler, SLJIT_SUB, flags | ALT_FORM1, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1420 if ((src2 & SLJIT_IMM) && src2w >= 0 && src2w <= (SIMM_MAX + 1)) { in sljit_emit_op2()
1421 compiler->imm = src2w; in sljit_emit_op2()
1424 …n emit_op(compiler, SLJIT_SUB, flags | ALT_FORM1 | ALT_FORM3, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1428 return emit_op(compiler, SLJIT_SUB, flags | ALT_FORM2, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1431 if (TEST_SL_IMM(src2, -src2w)) { in sljit_emit_op2()
1432 compiler->imm = (-src2w) & 0xffff; in sljit_emit_op2()
1437 return emit_op(compiler, SLJIT_SUB, flags | ALT_FORM3, dst, dstw, src2, src2w, TMP_REG2, 0); in sljit_emit_op2()
1439 if (TEST_SH_IMM(src2, -src2w)) { in sljit_emit_op2()
1440 compiler->imm = ((-src2w) >> 16) & 0xffff; in sljit_emit_op2()
1444 if (TEST_ADD_IMM(src2, -src2w)) { in sljit_emit_op2()
1445 compiler->imm = -src2w & 0xffffffff; in sljit_emit_op2()
1451 if (TEST_SL_IMM(src2, src2w)) { in sljit_emit_op2()
1452 compiler->imm = src2w & 0xffff; in sljit_emit_op2()
1455 return emit_op(compiler, SLJIT_SUB, flags | ALT_FORM4, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1458 if (TEST_SL_IMM(src2, -src2w)) { in sljit_emit_op2()
1459 compiler->imm = (-src2w) & 0xffff; in sljit_emit_op2()
1463 …TYPE(op) == GET_FLAG_TYPE(SLJIT_SET_CARRY)) ? ALT_FORM5 : 0), dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1466 return emit_op(compiler, SLJIT_SUBC, flags, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1474 if (TEST_SL_IMM(src2, src2w)) { in sljit_emit_op2()
1475 compiler->imm = src2w & 0xffff; in sljit_emit_op2()
1480 return emit_op(compiler, SLJIT_MUL, flags | ALT_FORM1, dst, dstw, src2, src2w, TMP_REG2, 0); in sljit_emit_op2()
1485 return emit_op(compiler, SLJIT_MUL, flags, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1492 if (TEST_UL_IMM(src2, src2w)) { in sljit_emit_op2()
1493 compiler->imm = src2w; in sljit_emit_op2()
1498 … return emit_op(compiler, GET_OPCODE(op), flags | ALT_FORM1, dst, dstw, src2, src2w, TMP_REG2, 0); in sljit_emit_op2()
1500 if (TEST_UH_IMM(src2, src2w)) { in sljit_emit_op2()
1501 compiler->imm = (src2w >> 16) & 0xffff; in sljit_emit_op2()
1506 … return emit_op(compiler, GET_OPCODE(op), flags | ALT_FORM2, dst, dstw, src2, src2w, TMP_REG2, 0); in sljit_emit_op2()
1511 if (TEST_UI_IMM(src2, src2w)) { in sljit_emit_op2()
1512 compiler->imm = src2w; in sljit_emit_op2()
1517 … return emit_op(compiler, GET_OPCODE(op), flags | ALT_FORM3, dst, dstw, src2, src2w, TMP_REG2, 0); in sljit_emit_op2()
1520 return emit_op(compiler, GET_OPCODE(op), flags, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1530 compiler->imm = src2w; in sljit_emit_op2()
1533 return emit_op(compiler, GET_OPCODE(op), flags, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
1752 sljit_s32 src2, sljit_sw src2w) in sljit_emit_fop1_cmp() argument
1760 FAIL_IF(emit_op_mem(compiler, FLOAT_DATA(op) | LOAD_DATA, TMP_FREG2, src2, src2w, TMP_REG2)); in sljit_emit_fop1_cmp()
1820 sljit_s32 src2, sljit_sw src2w) in sljit_emit_fop2() argument
1825 CHECK(check_sljit_emit_fop2(compiler, op, dst, dstw, src1, src1w, src2, src2w)); in sljit_emit_fop2()
1828 ADJUST_LOCAL_OFFSET(src2, src2w); in sljit_emit_fop2()
1838 FAIL_IF(emit_op_mem(compiler, FLOAT_DATA(op) | LOAD_DATA, TMP_FREG2, src2, src2w, TMP_REG2)); in sljit_emit_fop2()