Lines Matching refs:argw

858 	sljit_s32 arg, sljit_sw argw, sljit_s32 tmp_reg)  in emit_op_mem()  argument
869 argw &= 0x3; in emit_op_mem()
871 if (argw == 0 || argw == shift) in emit_op_mem()
873 | RN(arg & REG_MASK) | RM(OFFS_REG(arg)) | (argw ? (1 << 12) : 0)); in emit_op_mem()
875 …FAIL_IF(push_inst(compiler, ADD | RD(tmp_reg) | RN(arg & REG_MASK) | RM(OFFS_REG(arg)) | (argw << … in emit_op_mem()
882 FAIL_IF(load_immediate(compiler, tmp_reg, argw & ~(0xfff << shift))); in emit_op_mem()
884 argw = (argw >> shift) & 0xfff; in emit_op_mem()
886 return push_inst(compiler, STRBI | type | RT(reg) | RN(tmp_reg) | (argw << 10)); in emit_op_mem()
889 if (argw >= 0 && (argw & ((1 << shift) - 1)) == 0) { in emit_op_mem()
890 if ((argw >> shift) <= 0xfff) { in emit_op_mem()
891 return push_inst(compiler, STRBI | type | RT(reg) | RN(arg) | (argw << (10 - shift))); in emit_op_mem()
894 if (argw <= 0xffffff) { in emit_op_mem()
895 FAIL_IF(push_inst(compiler, ADDI | (1 << 22) | RD(tmp_reg) | RN(arg) | ((argw >> 12) << 10))); in emit_op_mem()
897 argw = ((argw & 0xfff) >> shift); in emit_op_mem()
898 return push_inst(compiler, STRBI | type | RT(reg) | RN(tmp_reg) | (argw << 10)); in emit_op_mem()
902 if (argw <= 255 && argw >= -256) in emit_op_mem()
903 return push_inst(compiler, STURBI | type | RT(reg) | RN(arg) | ((argw & 0x1ff) << 12)); in emit_op_mem()
905 FAIL_IF(load_immediate(compiler, tmp_reg, argw)); in emit_op_mem()
1378 …_mem(struct sljit_compiler *compiler, sljit_s32 flags, sljit_s32 reg, sljit_s32 arg, sljit_sw argw) in emit_fop_mem() argument
1389 argw &= 3; in emit_fop_mem()
1390 if (argw == 0 || argw == shift) in emit_fop_mem()
1392 | RN(arg & REG_MASK) | RM(OFFS_REG(arg)) | (argw ? (1 << 12) : 0)); in emit_fop_mem()
1394 …FAIL_IF(push_inst(compiler, ADD | RD(TMP_REG1) | RN(arg & REG_MASK) | RM(OFFS_REG(arg)) | (argw <<… in emit_fop_mem()
1401 FAIL_IF(load_immediate(compiler, TMP_REG1, argw & ~(0xfff << shift))); in emit_fop_mem()
1403 argw = (argw >> shift) & 0xfff; in emit_fop_mem()
1405 return push_inst(compiler, STR_FI | type | VT(reg) | RN(TMP_REG1) | (argw << 10)); in emit_fop_mem()
1408 if (argw >= 0 && (argw & ((1 << shift) - 1)) == 0) { in emit_fop_mem()
1409 if ((argw >> shift) <= 0xfff) in emit_fop_mem()
1410 return push_inst(compiler, STR_FI | type | VT(reg) | RN(arg) | (argw << (10 - shift))); in emit_fop_mem()
1412 if (argw <= 0xffffff) { in emit_fop_mem()
1413 FAIL_IF(push_inst(compiler, ADDI | (1 << 22) | RD(TMP_REG1) | RN(arg) | ((argw >> 12) << 10))); in emit_fop_mem()
1415 argw = ((argw & 0xfff) >> shift); in emit_fop_mem()
1416 return push_inst(compiler, STR_FI | type | VT(reg) | RN(TMP_REG1) | (argw << 10)); in emit_fop_mem()
1420 if (argw <= 255 && argw >= -256) in emit_fop_mem()
1421 return push_inst(compiler, STUR_FI | type | VT(reg) | RN(arg) | ((argw & 0x1ff) << 12)); in emit_fop_mem()
1423 FAIL_IF(load_immediate(compiler, TMP_REG1, argw)); in emit_fop_mem()