Lines Matching refs:argw
879 #define OFFSET_CHECK(imm, shift) (!(argw & ~(imm << shift)))
973 sljit_s32 arg, sljit_sw argw, sljit_s32 tmp_reg) in emit_op_mem() argument
983 tmp = get_imm(argw & ~0xfff); in emit_op_mem()
986 …return push_inst32(compiler, sljit_mem32[flags] | MEM_IMM12 | RT4(reg) | RN4(tmp_reg) | (argw & 0x… in emit_op_mem()
989 FAIL_IF(load_immediate(compiler, tmp_reg, argw)); in emit_op_mem()
996 argw &= 0x3; in emit_op_mem()
1000 if (!argw && IS_3_LO_REGS(reg, arg, other_r)) in emit_op_mem()
1002 …return push_inst32(compiler, sljit_mem32[flags] | RT4(reg) | RN4(arg) | RM4(other_r) | (argw << 4)… in emit_op_mem()
1005 if (argw > 0xfff) { in emit_op_mem()
1006 tmp = get_imm(argw & ~0xfff); in emit_op_mem()
1010 argw = argw & 0xfff; in emit_op_mem()
1013 else if (argw < -0xff) { in emit_op_mem()
1014 tmp = get_imm(-argw & ~0xff); in emit_op_mem()
1018 argw = -(-argw & 0xff); in emit_op_mem()
1040 … return push_inst16(compiler, sljit_mem16_imm5[flags] | RD3(reg) | RN3(arg) | (argw << (6 - tmp))); in emit_op_mem()
1044 return push_inst16(compiler, STR_SP | ((flags & STORE) ? 0 : 0x800) | RDN3(reg) | (argw >> 2)); in emit_op_mem()
1047 if (argw >= 0 && argw <= 0xfff) in emit_op_mem()
1048 return push_inst32(compiler, sljit_mem32[flags] | MEM_IMM12 | RT4(reg) | RN4(arg) | argw); in emit_op_mem()
1049 else if (argw < 0 && argw >= -0xff) in emit_op_mem()
1050 return push_inst32(compiler, sljit_mem32[flags] | MEM_IMM8 | RT4(reg) | RN4(arg) | -argw); in emit_op_mem()
1054 FAIL_IF(load_immediate(compiler, tmp_reg, argw)); in emit_op_mem()
1540 …_mem(struct sljit_compiler *compiler, sljit_s32 flags, sljit_s32 reg, sljit_s32 arg, sljit_sw argw) in emit_fop_mem() argument
1549 …compiler, ADD_W | RD4(TMP_REG1) | RN4(arg & REG_MASK) | RM4(OFFS_REG(arg)) | ((argw & 0x3) << 6))); in emit_fop_mem()
1551 argw = 0; in emit_fop_mem()
1554 if ((arg & REG_MASK) && (argw & 0x3) == 0) { in emit_fop_mem()
1555 if (!(argw & ~0x3fc)) in emit_fop_mem()
1556 return push_inst32(compiler, inst | 0x800000 | RN4(arg & REG_MASK) | DD4(reg) | (argw >> 2)); in emit_fop_mem()
1557 if (!(-argw & ~0x3fc)) in emit_fop_mem()
1558 return push_inst32(compiler, inst | RN4(arg & REG_MASK) | DD4(reg) | (-argw >> 2)); in emit_fop_mem()
1562 if (emit_set_delta(compiler, TMP_REG1, arg & REG_MASK, argw) != SLJIT_ERR_UNSUPPORTED) { in emit_fop_mem()
1566 imm = get_imm(argw & ~0x3fc); in emit_fop_mem()
1569 return push_inst32(compiler, inst | 0x800000 | RN4(TMP_REG1) | DD4(reg) | ((argw & 0x3fc) >> 2)); in emit_fop_mem()
1571 imm = get_imm(-argw & ~0x3fc); in emit_fop_mem()
1573 argw = -argw; in emit_fop_mem()
1575 return push_inst32(compiler, inst | RN4(TMP_REG1) | DD4(reg) | ((argw & 0x3fc) >> 2)); in emit_fop_mem()
1579 FAIL_IF(load_immediate(compiler, TMP_REG1, argw)); in emit_fop_mem()