Lines Matching refs:argw
584 …(struct sljit_compiler *compiler, sljit_s32 flags, sljit_s32 reg_ar, sljit_s32 arg, sljit_sw argw);
755 …t(struct sljit_compiler *compiler, sljit_s32 flags, sljit_s32 reg_ar, sljit_s32 arg, sljit_sw argw) in getput_arg_fast() argument
759 if (!(arg & OFFS_REG_MASK) && argw <= SIMM_MAX && argw >= SIMM_MIN) { in getput_arg_fast()
764 …| TA(reg_ar) | IMM(argw), ((flags & MEM_MASK) <= GPR_REG && (flags & LOAD_DATA)) ? reg_ar : MOVABL… in getput_arg_fast()
773 static sljit_s32 can_cache(sljit_s32 arg, sljit_sw argw, sljit_s32 next_arg, sljit_sw next_argw) in can_cache() argument
779 argw &= 0x3; in can_cache()
781 …if (argw && argw == next_argw && (arg == next_arg || (arg & OFFS_REG_MASK) == (next_arg & OFFS_REG… in can_cache()
787 if (((next_argw - argw) <= SIMM_MAX && (next_argw - argw) >= SIMM_MIN)) in can_cache()
796 …ler *compiler, sljit_s32 flags, sljit_s32 reg_ar, sljit_s32 arg, sljit_sw argw, sljit_s32 next_arg… in getput_arg() argument
817 argw &= 0x3; in getput_arg()
820 if (argw == compiler->cache_argw) { in getput_arg()
825 if (arg == next_arg && argw == (next_argw & 0x3)) { in getput_arg()
827 compiler->cache_argw = argw; in getput_arg()
836 if (SLJIT_UNLIKELY(argw)) { in getput_arg()
838 compiler->cache_argw = argw; in getput_arg()
839 … FAIL_IF(push_inst(compiler, SLL_W | T(OFFS_REG(arg)) | D(TMP_REG3) | SH_IMM(argw), DR(TMP_REG3))); in getput_arg()
842 if (arg == next_arg && argw == (next_argw & 0x3)) { in getput_arg()
844 compiler->cache_argw = argw; in getput_arg()
845 …FAIL_IF(push_inst(compiler, ADDU_W | S(base) | T(!argw ? OFFS_REG(arg) : TMP_REG3) | D(TMP_REG3), … in getput_arg()
849 …FAIL_IF(push_inst(compiler, ADDU_W | S(base) | T(!argw ? OFFS_REG(arg) : TMP_REG3) | DA(tmp_ar), t… in getput_arg()
853 …if (compiler->cache_arg == arg && argw - compiler->cache_argw <= SIMM_MAX && argw - compiler->cach… in getput_arg()
854 if (argw != compiler->cache_argw) { in getput_arg()
855 …FAIL_IF(push_inst(compiler, ADDIU_W | S(TMP_REG3) | T(TMP_REG3) | IMM(argw - compiler->cache_argw)… in getput_arg()
856 compiler->cache_argw = argw; in getput_arg()
861 …if (compiler->cache_arg == SLJIT_MEM && argw - compiler->cache_argw <= SIMM_MAX && argw - compiler… in getput_arg()
862 if (argw != compiler->cache_argw) in getput_arg()
863 …FAIL_IF(push_inst(compiler, ADDIU_W | S(TMP_REG3) | T(TMP_REG3) | IMM(argw - compiler->cache_argw)… in getput_arg()
867 FAIL_IF(load_immediate(compiler, DR(TMP_REG3), argw)); in getput_arg()
869 compiler->cache_argw = argw; in getput_arg()
874 if (arg == next_arg && next_argw - argw <= SIMM_MAX && next_argw - argw >= SIMM_MIN) { in getput_arg()
884 …m(struct sljit_compiler *compiler, sljit_s32 flags, sljit_s32 reg_ar, sljit_s32 arg, sljit_sw argw) in emit_op_mem() argument
888 if (getput_arg_fast(compiler, flags, reg_ar, arg, argw)) in emit_op_mem()
902 argw &= 0x3; in emit_op_mem()
904 if (SLJIT_UNLIKELY(argw)) { in emit_op_mem()
905 FAIL_IF(push_inst(compiler, SLL_W | T(OFFS_REG(arg)) | DA(tmp_ar) | SH_IMM(argw), tmp_ar)); in emit_op_mem()
913 FAIL_IF(load_immediate(compiler, tmp_ar, argw)); in emit_op_mem()