Lines Matching refs:argw
853 sljit_s32 arg, sljit_sw argw, sljit_s32 tmp_reg) in emit_op_mem() argument
864 argw &= 0x3; in emit_op_mem()
866 if (argw == 0 || argw == shift) in emit_op_mem()
868 | RN(arg & REG_MASK) | RM(OFFS_REG(arg)) | (argw ? (1 << 12) : 0)); in emit_op_mem()
870 …FAIL_IF(push_inst(compiler, ADD | RD(tmp_reg) | RN(arg & REG_MASK) | RM(OFFS_REG(arg)) | (argw << … in emit_op_mem()
877 FAIL_IF(load_immediate(compiler, tmp_reg, argw & ~(0xfff << shift))); in emit_op_mem()
879 argw = (argw >> shift) & 0xfff; in emit_op_mem()
881 return push_inst(compiler, STRBI | type | RT(reg) | RN(tmp_reg) | (argw << 10)); in emit_op_mem()
884 if (argw >= 0 && (argw & ((1 << shift) - 1)) == 0) { in emit_op_mem()
885 if ((argw >> shift) <= 0xfff) { in emit_op_mem()
886 return push_inst(compiler, STRBI | type | RT(reg) | RN(arg) | (argw << (10 - shift))); in emit_op_mem()
889 if (argw <= 0xffffff) { in emit_op_mem()
890 FAIL_IF(push_inst(compiler, ADDI | (1 << 22) | RD(tmp_reg) | RN(arg) | ((argw >> 12) << 10))); in emit_op_mem()
892 argw = ((argw & 0xfff) >> shift); in emit_op_mem()
893 return push_inst(compiler, STRBI | type | RT(reg) | RN(tmp_reg) | (argw << 10)); in emit_op_mem()
897 if (argw <= 255 && argw >= -256) in emit_op_mem()
898 return push_inst(compiler, STURBI | type | RT(reg) | RN(arg) | ((argw & 0x1ff) << 12)); in emit_op_mem()
900 FAIL_IF(load_immediate(compiler, tmp_reg, argw)); in emit_op_mem()
1373 …_mem(struct sljit_compiler *compiler, sljit_s32 flags, sljit_s32 reg, sljit_s32 arg, sljit_sw argw) in emit_fop_mem() argument
1384 argw &= 3; in emit_fop_mem()
1385 if (argw == 0 || argw == shift) in emit_fop_mem()
1387 | RN(arg & REG_MASK) | RM(OFFS_REG(arg)) | (argw ? (1 << 12) : 0)); in emit_fop_mem()
1389 …FAIL_IF(push_inst(compiler, ADD | RD(TMP_REG1) | RN(arg & REG_MASK) | RM(OFFS_REG(arg)) | (argw <<… in emit_fop_mem()
1396 FAIL_IF(load_immediate(compiler, TMP_REG1, argw & ~(0xfff << shift))); in emit_fop_mem()
1398 argw = (argw >> shift) & 0xfff; in emit_fop_mem()
1400 return push_inst(compiler, STR_FI | type | VT(reg) | RN(TMP_REG1) | (argw << 10)); in emit_fop_mem()
1403 if (argw >= 0 && (argw & ((1 << shift) - 1)) == 0) { in emit_fop_mem()
1404 if ((argw >> shift) <= 0xfff) in emit_fop_mem()
1405 return push_inst(compiler, STR_FI | type | VT(reg) | RN(arg) | (argw << (10 - shift))); in emit_fop_mem()
1407 if (argw <= 0xffffff) { in emit_fop_mem()
1408 FAIL_IF(push_inst(compiler, ADDI | (1 << 22) | RD(TMP_REG1) | RN(arg) | ((argw >> 12) << 10))); in emit_fop_mem()
1410 argw = ((argw & 0xfff) >> shift); in emit_fop_mem()
1411 return push_inst(compiler, STR_FI | type | VT(reg) | RN(TMP_REG1) | (argw << 10)); in emit_fop_mem()
1415 if (argw <= 255 && argw >= -256) in emit_fop_mem()
1416 return push_inst(compiler, STUR_FI | type | VT(reg) | RN(arg) | ((argw & 0x1ff) << 12)); in emit_fop_mem()
1418 FAIL_IF(load_immediate(compiler, TMP_REG1, argw)); in emit_fop_mem()