Lines Matching refs:argw

812 	sljit_s32 arg, sljit_sw argw, sljit_s32 tmp_reg)  in emit_op_mem()  argument
823 argw &= 0x3; in emit_op_mem()
825 if (argw == 0 || argw == shift) in emit_op_mem()
827 | RN(arg & REG_MASK) | RM(OFFS_REG(arg)) | (argw ? (1 << 12) : 0)); in emit_op_mem()
829 …FAIL_IF(push_inst(compiler, ADD | RD(tmp_reg) | RN(arg & REG_MASK) | RM(OFFS_REG(arg)) | (argw << … in emit_op_mem()
836 FAIL_IF(load_immediate(compiler, tmp_reg, argw & ~(0xfff << shift))); in emit_op_mem()
838 argw = (argw >> shift) & 0xfff; in emit_op_mem()
840 return push_inst(compiler, STRBI | type | RT(reg) | RN(tmp_reg) | (argw << 10)); in emit_op_mem()
843 if (argw >= 0 && (argw & ((1 << shift) - 1)) == 0) { in emit_op_mem()
844 if ((argw >> shift) <= 0xfff) { in emit_op_mem()
845 return push_inst(compiler, STRBI | type | RT(reg) | RN(arg) | (argw << (10 - shift))); in emit_op_mem()
848 if (argw <= 0xffffff) { in emit_op_mem()
849 FAIL_IF(push_inst(compiler, ADDI | (1 << 22) | RD(tmp_reg) | RN(arg) | ((argw >> 12) << 10))); in emit_op_mem()
851 argw = ((argw & 0xfff) >> shift); in emit_op_mem()
852 return push_inst(compiler, STRBI | type | RT(reg) | RN(tmp_reg) | (argw << 10)); in emit_op_mem()
856 if (argw <= 255 && argw >= -256) in emit_op_mem()
857 return push_inst(compiler, STURBI | type | RT(reg) | RN(arg) | ((argw & 0x1ff) << 12)); in emit_op_mem()
859 FAIL_IF(load_immediate(compiler, tmp_reg, argw)); in emit_op_mem()
1306 …_mem(struct sljit_compiler *compiler, sljit_s32 flags, sljit_s32 reg, sljit_s32 arg, sljit_sw argw) in emit_fop_mem() argument
1317 argw &= 3; in emit_fop_mem()
1318 if (argw == 0 || argw == shift) in emit_fop_mem()
1320 | RN(arg & REG_MASK) | RM(OFFS_REG(arg)) | (argw ? (1 << 12) : 0)); in emit_fop_mem()
1322 …FAIL_IF(push_inst(compiler, ADD | RD(TMP_REG1) | RN(arg & REG_MASK) | RM(OFFS_REG(arg)) | (argw <<… in emit_fop_mem()
1329 FAIL_IF(load_immediate(compiler, TMP_REG1, argw & ~(0xfff << shift))); in emit_fop_mem()
1331 argw = (argw >> shift) & 0xfff; in emit_fop_mem()
1333 return push_inst(compiler, STR_FI | type | VT(reg) | RN(TMP_REG1) | (argw << 10)); in emit_fop_mem()
1336 if (argw >= 0 && (argw & ((1 << shift) - 1)) == 0) { in emit_fop_mem()
1337 if ((argw >> shift) <= 0xfff) in emit_fop_mem()
1338 return push_inst(compiler, STR_FI | type | VT(reg) | RN(arg) | (argw << (10 - shift))); in emit_fop_mem()
1340 if (argw <= 0xffffff) { in emit_fop_mem()
1341 FAIL_IF(push_inst(compiler, ADDI | (1 << 22) | RD(TMP_REG1) | RN(arg) | ((argw >> 12) << 10))); in emit_fop_mem()
1343 argw = ((argw & 0xfff) >> shift); in emit_fop_mem()
1344 return push_inst(compiler, STR_FI | type | VT(reg) | RN(TMP_REG1) | (argw << 10)); in emit_fop_mem()
1348 if (argw <= 255 && argw >= -256) in emit_fop_mem()
1349 return push_inst(compiler, STUR_FI | type | VT(reg) | RN(arg) | ((argw & 0x1ff) << 12)); in emit_fop_mem()
1351 FAIL_IF(load_immediate(compiler, TMP_REG1, argw)); in emit_fop_mem()