Lines Matching refs:inp_flags

823 static sljit_si emit_op(struct sljit_compiler *compiler, sljit_si op, sljit_si inp_flags,
1336 static sljit_si getput_arg_fast(struct sljit_compiler *compiler, sljit_si inp_flags, sljit_si reg, … in getput_arg_fast() argument
1343 if (inp_flags & ARG_TEST) in getput_arg_fast()
1350 if (inp_flags & ARG_TEST) in getput_arg_fast()
1365 if ((argw & 0x3) != 0 && !IS_TYPE1_TRANSFER(inp_flags)) in getput_arg_fast()
1368 if (inp_flags & ARG_TEST) in getput_arg_fast()
1370 …FAIL_IF(push_inst(compiler, EMIT_DATA_TRANSFER(inp_flags, 1, inp_flags & WRITE_BACK, reg, arg & RE… in getput_arg_fast()
1371 RM(OFFS_REG(arg)) | (IS_TYPE1_TRANSFER(inp_flags) ? SRC2_IMM : 0) | ((argw & 0x3) << 7)))); in getput_arg_fast()
1375 if (IS_TYPE1_TRANSFER(inp_flags)) { in getput_arg_fast()
1377 if (inp_flags & ARG_TEST) in getput_arg_fast()
1379 …FAIL_IF(push_inst(compiler, EMIT_DATA_TRANSFER(inp_flags, 1, inp_flags & WRITE_BACK, reg, arg & RE… in getput_arg_fast()
1383 if (inp_flags & ARG_TEST) in getput_arg_fast()
1385 …FAIL_IF(push_inst(compiler, EMIT_DATA_TRANSFER(inp_flags, 0, inp_flags & WRITE_BACK, reg, arg & RE… in getput_arg_fast()
1391 if (inp_flags & ARG_TEST) in getput_arg_fast()
1393 …FAIL_IF(push_inst(compiler, EMIT_DATA_TRANSFER(inp_flags, 1, inp_flags & WRITE_BACK, reg, arg & RE… in getput_arg_fast()
1397 if (inp_flags & ARG_TEST) in getput_arg_fast()
1400 …FAIL_IF(push_inst(compiler, EMIT_DATA_TRANSFER(inp_flags, 0, inp_flags & WRITE_BACK, reg, arg & RE… in getput_arg_fast()
1442 FAIL_IF(push_inst(compiler, EMIT_DATA_TRANSFER(inp_flags, add, wb, target, base, imm))); \
1444 …FAIL_IF(push_inst(compiler, EMIT_DATA_TRANSFER(inp_flags, add, wb, target, base, TYPE2_TRANSFER_IM…
1447 if (inp_flags & WRITE_BACK) { \
1452 SLJIT_ASSERT(!(inp_flags & LOAD_DATA)); \
1459 static sljit_si getput_arg(struct sljit_compiler *compiler, sljit_si inp_flags, sljit_si reg, sljit… in getput_arg() argument
1467 SLJIT_ASSERT(inp_flags & LOAD_DATA); in getput_arg()
1473 tmp_r = (inp_flags & LOAD_DATA) ? reg : TMP_REG3; in getput_arg()
1474 max_delta = IS_TYPE1_TRANSFER(inp_flags) ? 0xfff : 0xff; in getput_arg()
1497 SLJIT_ASSERT(inp_flags & LOAD_DATA); in getput_arg()
1511 if (inp_flags & WRITE_BACK) in getput_arg()
1514 …return push_inst(compiler, EMIT_DATA_TRANSFER(inp_flags, 1, 0, reg, tmp_r, TYPE2_TRANSFER_IMM(0))); in getput_arg()
1519 SLJIT_ASSERT(!(inp_flags & WRITE_BACK)); in getput_arg()
1524 SLJIT_ASSERT(!(inp_flags & WRITE_BACK)); in getput_arg()
1534 GETPUT_ARG_DATA_TRANSFER(1, inp_flags & WRITE_BACK, reg, tmp_r, argw & max_delta); in getput_arg()
1543 GETPUT_ARG_DATA_TRANSFER(0, inp_flags & WRITE_BACK, reg, tmp_r, argw & max_delta); in getput_arg()
1549 …return push_inst(compiler, EMIT_DATA_TRANSFER(inp_flags, 1, inp_flags & WRITE_BACK, reg, arg & REG… in getput_arg()
1553 SLJIT_ASSERT(inp_flags & LOAD_DATA); in getput_arg()
1560 …return push_inst(compiler, EMIT_DATA_TRANSFER(inp_flags, 1, inp_flags & WRITE_BACK, reg, arg & REG… in getput_arg()
1564 …if (arg == next_arg && !(inp_flags & WRITE_BACK) && (imm <= (sljit_uw)max_delta || imm >= (sljit_u… in getput_arg()
1565 SLJIT_ASSERT(inp_flags & LOAD_DATA); in getput_arg()
1583 …return push_inst(compiler, EMIT_DATA_TRANSFER(inp_flags, 1, inp_flags & WRITE_BACK, reg, arg & REG… in getput_arg()
1602 static sljit_si emit_op(struct sljit_compiler *compiler, sljit_si op, sljit_si inp_flags, in emit_op() argument
1636 if (getput_arg_fast(compiler, inp_flags | ARG_TEST, TMP_REG2, dst, dstw)) { in emit_op()
1657 if ((inp_flags & ALLOW_ANY_IMM) && (src1 & SLJIT_IMM)) { in emit_op()
1666 if (inp_flags & ALLOW_INV_IMM) { in emit_op()
1687 if (getput_arg_fast(compiler, inp_flags | LOAD_DATA, TMP_REG1, src1, src1w)) { in emit_op()
1702 if ((inp_flags & ALLOW_ANY_IMM) && (src2 & SLJIT_IMM)) { in emit_op()
1706 if (inp_flags & ALLOW_INV_IMM) { in emit_op()
1732 if (getput_arg_fast(compiler, inp_flags | LOAD_DATA, sugg_src2_r, src2, src2w)) { in emit_op()
1745 FAIL_IF(getput_arg(compiler, inp_flags | LOAD_DATA, TMP_REG1, src2, src2w, src1, src1w)); in emit_op()
1746 FAIL_IF(getput_arg(compiler, inp_flags | LOAD_DATA, TMP_REG2, src1, src1w, dst, dstw)); in emit_op()
1749 FAIL_IF(getput_arg(compiler, inp_flags | LOAD_DATA, TMP_REG1, src1, src1w, src2, src2w)); in emit_op()
1750 FAIL_IF(getput_arg(compiler, inp_flags | LOAD_DATA, TMP_REG2, src2, src2w, dst, dstw)); in emit_op()
1756 FAIL_IF(getput_arg(compiler, inp_flags | LOAD_DATA, TMP_REG1, src1, src1w, src2, src2w)); in emit_op()
1760 FAIL_IF(getput_arg(compiler, inp_flags | LOAD_DATA, TMP_REG1, src1, src1w, dst, dstw)); in emit_op()
1764 FAIL_IF(getput_arg(compiler, inp_flags | LOAD_DATA, sugg_src2_r, src2, src2w, dst, dstw)); in emit_op()
1772 FAIL_IF(getput_arg(compiler, inp_flags | LOAD_DATA, TMP_REG1, src1, src1w, 0, 0)); in emit_op()
1777 FAIL_IF(getput_arg(compiler, inp_flags | LOAD_DATA, sugg_src2_r, src2, src2w, 0, 0)); in emit_op()
1785 FAIL_IF(getput_arg_fast(compiler, inp_flags, dst_r, dst, dstw)); in emit_op()
1787 FAIL_IF(getput_arg(compiler, inp_flags, dst_r, dst, dstw, 0, 0)); in emit_op()