Lines Matching refs:arg

927 #define EMIT_DATA_TRANSFER(type, add, target_reg, base_reg, arg) \  argument
928 (data_transfer_insts[(type) & 0xf] | ((add) << 23) | RD(target_reg) | RN(base_reg) | (arg))
1371 sljit_s32 arg, sljit_sw argw, sljit_s32 tmp_reg) in emit_op_mem() argument
1376 SLJIT_ASSERT (arg & SLJIT_MEM); in emit_op_mem()
1377 SLJIT_ASSERT((arg & REG_MASK) != tmp_reg); in emit_op_mem()
1379 if ((arg & REG_MASK) == SLJIT_UNUSED) { in emit_op_mem()
1393 if (arg & OFFS_REG_MASK) { in emit_op_mem()
1394 offset_reg = OFFS_REG(arg); in emit_op_mem()
1395 arg &= REG_MASK; in emit_op_mem()
1399 FAIL_IF(push_inst(compiler, ADD | RD(tmp_reg) | RN(arg) | RM(offset_reg) | (argw << 7))); in emit_op_mem()
1404 return push_inst(compiler, EMIT_DATA_TRANSFER(flags, 1, reg, arg, in emit_op_mem()
1408 arg &= REG_MASK; in emit_op_mem()
1414 FAIL_IF(push_inst(compiler, ADD | RD(tmp_reg) | RN(arg) | imm)); in emit_op_mem()
1416 arg = tmp_reg; in emit_op_mem()
1422 FAIL_IF(push_inst(compiler, SUB | RD(tmp_reg) | RN(arg) | imm)); in emit_op_mem()
1424 arg = tmp_reg; in emit_op_mem()
1429 return push_inst(compiler, EMIT_DATA_TRANSFER(flags, 1, reg, arg, argw)); in emit_op_mem()
1432 return push_inst(compiler, EMIT_DATA_TRANSFER(flags, 0, reg, arg, -argw)); in emit_op_mem()
1438 FAIL_IF(push_inst(compiler, ADD | RD(tmp_reg) | RN(arg) | imm)); in emit_op_mem()
1440 arg = tmp_reg; in emit_op_mem()
1446 FAIL_IF(push_inst(compiler, SUB | RD(tmp_reg) | RN(arg) | imm)); in emit_op_mem()
1448 arg = tmp_reg; in emit_op_mem()
1453 return push_inst(compiler, EMIT_DATA_TRANSFER(flags, 1, reg, arg, TYPE2_TRANSFER_IMM(argw))); in emit_op_mem()
1457 return push_inst(compiler, EMIT_DATA_TRANSFER(flags, 0, reg, arg, TYPE2_TRANSFER_IMM(argw))); in emit_op_mem()
1462 return push_inst(compiler, EMIT_DATA_TRANSFER(flags, 1, reg, arg, in emit_op_mem()
1848 …_mem(struct sljit_compiler *compiler, sljit_s32 flags, sljit_s32 reg, sljit_s32 arg, sljit_sw argw) in emit_fop_mem() argument
1853 SLJIT_ASSERT(arg & SLJIT_MEM); in emit_fop_mem()
1854 arg &= ~SLJIT_MEM; in emit_fop_mem()
1856 if (SLJIT_UNLIKELY(arg & OFFS_REG_MASK)) { in emit_fop_mem()
1857 …FAIL_IF(push_inst(compiler, ADD | RD(TMP_REG2) | RN(arg & REG_MASK) | RM(OFFS_REG(arg)) | ((argw &… in emit_fop_mem()
1858 arg = TMP_REG2; in emit_fop_mem()
1863 if (arg) { in emit_fop_mem()
1865 return push_inst(compiler, EMIT_FPU_DATA_TRANSFER(inst, 1, arg & REG_MASK, reg, argw >> 2)); in emit_fop_mem()
1867 return push_inst(compiler, EMIT_FPU_DATA_TRANSFER(inst, 0, arg & REG_MASK, reg, (-argw) >> 2)); in emit_fop_mem()
1871 FAIL_IF(push_inst(compiler, ADD | RD(TMP_REG2) | RN(arg & REG_MASK) | imm)); in emit_fop_mem()
1877 FAIL_IF(push_inst(compiler, SUB | RD(TMP_REG2) | RN(arg & REG_MASK) | imm)); in emit_fop_mem()
1882 if (arg) { in emit_fop_mem()
1884 FAIL_IF(push_inst(compiler, ADD | RD(TMP_REG2) | RN(arg & REG_MASK) | RM(TMP_REG2))); in emit_fop_mem()