• Home
  • Raw
  • Download

Lines Matching refs:argw

594 …fast(struct sljit_compiler *compiler, sljit_s32 flags, sljit_s32 reg, sljit_s32 arg, sljit_sw argw)  in getput_arg_fast()  argument
598 if ((!(arg & OFFS_REG_MASK) && argw <= SIMM_MAX && argw >= SIMM_MIN) in getput_arg_fast()
599 || ((arg & OFFS_REG_MASK) && (argw & 0x3) == 0)) { in getput_arg_fast()
605 | S1(arg & REG_MASK) | ((arg & OFFS_REG_MASK) ? S2(OFFS_REG(arg)) : IMM(argw)), in getput_arg_fast()
615 static sljit_s32 can_cache(sljit_s32 arg, sljit_sw argw, sljit_s32 next_arg, sljit_sw next_argw) in can_cache() argument
621 argw &= 0x3; in can_cache()
622 SLJIT_ASSERT(argw); in can_cache()
624 if ((arg & OFFS_REG_MASK) == (next_arg & OFFS_REG_MASK) && argw == next_argw) in can_cache()
629 if (((next_argw - argw) <= SIMM_MAX && (next_argw - argw) >= SIMM_MIN)) in can_cache()
635 …mpiler *compiler, sljit_s32 flags, sljit_s32 reg, sljit_s32 arg, sljit_sw argw, sljit_s32 next_arg… in getput_arg() argument
648 argw &= 0x3; in getput_arg()
651 …if (((SLJIT_MEM | (arg & OFFS_REG_MASK)) == compiler->cache_arg) && (argw == compiler->cache_argw)) in getput_arg()
654 if ((arg & OFFS_REG_MASK) == (next_arg & OFFS_REG_MASK) && argw == (next_argw & 0x3)) { in getput_arg()
656 compiler->cache_argw = argw; in getput_arg()
663 FAIL_IF(push_inst(compiler, SLL_W | D(arg2) | S1(OFFS_REG(arg)) | IMM_ARG | argw, DR(arg2))); in getput_arg()
668 …if ((compiler->cache_arg == SLJIT_MEM) && (argw - compiler->cache_argw) <= SIMM_MAX && (argw - com… in getput_arg()
669 if (argw != compiler->cache_argw) { in getput_arg()
670 …FAIL_IF(push_inst(compiler, ADD | D(TMP_REG3) | S1(TMP_REG3) | IMM(argw - compiler->cache_argw), D… in getput_arg()
671 compiler->cache_argw = argw; in getput_arg()
675 if ((next_argw - argw) <= SIMM_MAX && (next_argw - argw) >= SIMM_MIN) { in getput_arg()
677 compiler->cache_argw = argw; in getput_arg()
684 FAIL_IF(load_immediate(compiler, arg2, argw)); in getput_arg()
695 …_mem(struct sljit_compiler *compiler, sljit_s32 flags, sljit_s32 reg, sljit_s32 arg, sljit_sw argw) in emit_op_mem() argument
697 if (getput_arg_fast(compiler, flags, reg, arg, argw)) in emit_op_mem()
701 return getput_arg(compiler, flags, reg, arg, argw, 0, 0); in emit_op_mem()