• Home
  • Raw
  • Download

Lines Matching refs:argw

874 #define OFFSET_CHECK(imm, shift)	(!(argw & ~(imm << shift)))
968 sljit_s32 arg, sljit_sw argw, sljit_s32 tmp_reg) in emit_op_mem() argument
978 tmp = get_imm(argw & ~0xfff); in emit_op_mem()
981 …return push_inst32(compiler, sljit_mem32[flags] | MEM_IMM12 | RT4(reg) | RN4(tmp_reg) | (argw & 0x… in emit_op_mem()
984 FAIL_IF(load_immediate(compiler, tmp_reg, argw)); in emit_op_mem()
991 argw &= 0x3; in emit_op_mem()
995 if (!argw && IS_3_LO_REGS(reg, arg, other_r)) in emit_op_mem()
997 …return push_inst32(compiler, sljit_mem32[flags] | RT4(reg) | RN4(arg) | RM4(other_r) | (argw << 4)… in emit_op_mem()
1000 if (argw > 0xfff) { in emit_op_mem()
1001 tmp = get_imm(argw & ~0xfff); in emit_op_mem()
1005 argw = argw & 0xfff; in emit_op_mem()
1008 else if (argw < -0xff) { in emit_op_mem()
1009 tmp = get_imm(-argw & ~0xff); in emit_op_mem()
1013 argw = -(-argw & 0xff); in emit_op_mem()
1035 … return push_inst16(compiler, sljit_mem16_imm5[flags] | RD3(reg) | RN3(arg) | (argw << (6 - tmp))); in emit_op_mem()
1039 return push_inst16(compiler, STR_SP | ((flags & STORE) ? 0 : 0x800) | RDN3(reg) | (argw >> 2)); in emit_op_mem()
1042 if (argw >= 0 && argw <= 0xfff) in emit_op_mem()
1043 return push_inst32(compiler, sljit_mem32[flags] | MEM_IMM12 | RT4(reg) | RN4(arg) | argw); in emit_op_mem()
1044 else if (argw < 0 && argw >= -0xff) in emit_op_mem()
1045 return push_inst32(compiler, sljit_mem32[flags] | MEM_IMM8 | RT4(reg) | RN4(arg) | -argw); in emit_op_mem()
1049 FAIL_IF(load_immediate(compiler, tmp_reg, argw)); in emit_op_mem()
1535 …_mem(struct sljit_compiler *compiler, sljit_s32 flags, sljit_s32 reg, sljit_s32 arg, sljit_sw argw) in emit_fop_mem() argument
1544 …compiler, ADD_W | RD4(TMP_REG1) | RN4(arg & REG_MASK) | RM4(OFFS_REG(arg)) | ((argw & 0x3) << 6))); in emit_fop_mem()
1546 argw = 0; in emit_fop_mem()
1549 if ((arg & REG_MASK) && (argw & 0x3) == 0) { in emit_fop_mem()
1550 if (!(argw & ~0x3fc)) in emit_fop_mem()
1551 return push_inst32(compiler, inst | 0x800000 | RN4(arg & REG_MASK) | DD4(reg) | (argw >> 2)); in emit_fop_mem()
1552 if (!(-argw & ~0x3fc)) in emit_fop_mem()
1553 return push_inst32(compiler, inst | RN4(arg & REG_MASK) | DD4(reg) | (-argw >> 2)); in emit_fop_mem()
1557 if (emit_set_delta(compiler, TMP_REG1, arg & REG_MASK, argw) != SLJIT_ERR_UNSUPPORTED) { in emit_fop_mem()
1561 imm = get_imm(argw & ~0x3fc); in emit_fop_mem()
1564 return push_inst32(compiler, inst | 0x800000 | RN4(TMP_REG1) | DD4(reg) | ((argw & 0x3fc) >> 2)); in emit_fop_mem()
1566 imm = get_imm(-argw & ~0x3fc); in emit_fop_mem()
1568 argw = -argw; in emit_fop_mem()
1570 return push_inst32(compiler, inst | RN4(TMP_REG1) | DD4(reg) | ((argw & 0x3fc) >> 2)); in emit_fop_mem()
1574 FAIL_IF(load_immediate(compiler, TMP_REG1, argw)); in emit_fop_mem()