Lines Matching refs:argw
1445 sljit_s32 arg, sljit_sw argw, sljit_s32 tmp_reg) in emit_op_mem() argument
1455 FAIL_IF(load_immediate(compiler, tmp_reg, argw & ~0xfff)); in emit_op_mem()
1456 argw &= 0xfff; in emit_op_mem()
1459 FAIL_IF(load_immediate(compiler, tmp_reg, argw & ~0xff)); in emit_op_mem()
1460 argw &= 0xff; in emit_op_mem()
1464 is_type1_transfer ? argw : TYPE2_TRANSFER_IMM(argw))); in emit_op_mem()
1470 argw &= 0x3; in emit_op_mem()
1472 if (argw != 0 && !is_type1_transfer) { in emit_op_mem()
1473 FAIL_IF(push_inst(compiler, ADD | RD(tmp_reg) | RN(arg) | RM(offset_reg) | (argw << 7))); in emit_op_mem()
1479 RM(offset_reg) | (is_type1_transfer ? (1 << 25) : 0) | (argw << 7))); in emit_op_mem()
1485 if (argw > 0xfff) { in emit_op_mem()
1486 imm = get_imm(argw & ~0xfff); in emit_op_mem()
1489 argw = argw & 0xfff; in emit_op_mem()
1493 else if (argw < -0xfff) { in emit_op_mem()
1494 imm = get_imm(-argw & ~0xfff); in emit_op_mem()
1497 argw = -(-argw & 0xfff); in emit_op_mem()
1502 if (argw >= 0 && argw <= 0xfff) in emit_op_mem()
1503 return push_inst(compiler, EMIT_DATA_TRANSFER(flags, 1, reg, arg, argw)); in emit_op_mem()
1505 if (argw < 0 && argw >= -0xfff) in emit_op_mem()
1506 return push_inst(compiler, EMIT_DATA_TRANSFER(flags, 0, reg, arg, -argw)); in emit_op_mem()
1509 if (argw > 0xff) { in emit_op_mem()
1510 imm = get_imm(argw & ~0xff); in emit_op_mem()
1513 argw = argw & 0xff; in emit_op_mem()
1517 else if (argw < -0xff) { in emit_op_mem()
1518 imm = get_imm(-argw & ~0xff); in emit_op_mem()
1521 argw = -(-argw & 0xff); in emit_op_mem()
1526 if (argw >= 0 && argw <= 0xff) in emit_op_mem()
1527 return push_inst(compiler, EMIT_DATA_TRANSFER(flags, 1, reg, arg, TYPE2_TRANSFER_IMM(argw))); in emit_op_mem()
1529 if (argw < 0 && argw >= -0xff) { in emit_op_mem()
1530 argw = -argw; in emit_op_mem()
1531 return push_inst(compiler, EMIT_DATA_TRANSFER(flags, 0, reg, arg, TYPE2_TRANSFER_IMM(argw))); in emit_op_mem()
1535 FAIL_IF(load_immediate(compiler, tmp_reg, argw)); in emit_op_mem()
1922 …_mem(struct sljit_compiler *compiler, sljit_s32 flags, sljit_s32 reg, sljit_s32 arg, sljit_sw argw) in emit_fop_mem() argument
1931 …FAIL_IF(push_inst(compiler, ADD | RD(TMP_REG2) | RN(arg & REG_MASK) | RM(OFFS_REG(arg)) | ((argw &… in emit_fop_mem()
1933 argw = 0; in emit_fop_mem()
1938 if (!(argw & ~0x3fc)) in emit_fop_mem()
1939 return push_inst(compiler, EMIT_FPU_DATA_TRANSFER(inst, 1, arg & REG_MASK, reg, argw >> 2)); in emit_fop_mem()
1940 if (!(-argw & ~0x3fc)) in emit_fop_mem()
1941 return push_inst(compiler, EMIT_FPU_DATA_TRANSFER(inst, 0, arg & REG_MASK, reg, (-argw) >> 2)); in emit_fop_mem()
1943 imm = get_imm(argw & ~0x3fc); in emit_fop_mem()
1946 return push_inst(compiler, EMIT_FPU_DATA_TRANSFER(inst, 1, TMP_REG2, reg, (argw & 0x3fc) >> 2)); in emit_fop_mem()
1948 imm = get_imm(-argw & ~0x3fc); in emit_fop_mem()
1950 argw = -argw; in emit_fop_mem()
1952 return push_inst(compiler, EMIT_FPU_DATA_TRANSFER(inst, 0, TMP_REG2, reg, (argw & 0x3fc) >> 2)); in emit_fop_mem()
1957 FAIL_IF(load_immediate(compiler, TMP_REG2, argw)); in emit_fop_mem()
1961 FAIL_IF(load_immediate(compiler, TMP_REG2, argw)); in emit_fop_mem()