Lines Matching refs:argw
560 …fast(struct sljit_compiler *compiler, sljit_s32 flags, sljit_s32 reg, sljit_s32 arg, sljit_sw argw) in getput_arg_fast() argument
564 if ((!(arg & OFFS_REG_MASK) && argw <= SIMM_MAX && argw >= SIMM_MIN) in getput_arg_fast()
565 || ((arg & OFFS_REG_MASK) && (argw & 0x3) == 0)) { in getput_arg_fast()
571 | S1(arg & REG_MASK) | ((arg & OFFS_REG_MASK) ? S2(OFFS_REG(arg)) : IMM(argw)), in getput_arg_fast()
581 static sljit_s32 can_cache(sljit_s32 arg, sljit_sw argw, sljit_s32 next_arg, sljit_sw next_argw) in can_cache() argument
587 argw &= 0x3; in can_cache()
588 SLJIT_ASSERT(argw); in can_cache()
590 if ((arg & OFFS_REG_MASK) == (next_arg & OFFS_REG_MASK) && argw == next_argw) in can_cache()
595 if (((next_argw - argw) <= SIMM_MAX && (next_argw - argw) >= SIMM_MIN)) in can_cache()
601 …mpiler *compiler, sljit_s32 flags, sljit_s32 reg, sljit_s32 arg, sljit_sw argw, sljit_s32 next_arg… in getput_arg() argument
614 argw &= 0x3; in getput_arg()
617 …if (((SLJIT_MEM | (arg & OFFS_REG_MASK)) == compiler->cache_arg) && (argw == compiler->cache_argw)) in getput_arg()
620 if ((arg & OFFS_REG_MASK) == (next_arg & OFFS_REG_MASK) && argw == (next_argw & 0x3)) { in getput_arg()
622 compiler->cache_argw = argw; in getput_arg()
629 FAIL_IF(push_inst(compiler, SLL_W | D(arg2) | S1(OFFS_REG(arg)) | IMM_ARG | argw, DR(arg2))); in getput_arg()
634 …if ((compiler->cache_arg == SLJIT_MEM) && (argw - compiler->cache_argw) <= SIMM_MAX && (argw - com… in getput_arg()
635 if (argw != compiler->cache_argw) { in getput_arg()
636 …FAIL_IF(push_inst(compiler, ADD | D(TMP_REG3) | S1(TMP_REG3) | IMM(argw - compiler->cache_argw), D… in getput_arg()
637 compiler->cache_argw = argw; in getput_arg()
641 if ((next_argw - argw) <= SIMM_MAX && (next_argw - argw) >= SIMM_MIN) { in getput_arg()
643 compiler->cache_argw = argw; in getput_arg()
650 FAIL_IF(load_immediate(compiler, arg2, argw)); in getput_arg()
661 …_mem(struct sljit_compiler *compiler, sljit_s32 flags, sljit_s32 reg, sljit_s32 arg, sljit_sw argw) in emit_op_mem() argument
663 if (getput_arg_fast(compiler, flags, reg, arg, argw)) in emit_op_mem()
667 return getput_arg(compiler, flags, reg, arg, argw, 0, 0); in emit_op_mem()