Lines Matching refs:argw
744 …(struct sljit_compiler *compiler, sljit_s32 flags, sljit_s32 reg_ar, sljit_s32 arg, sljit_sw argw);
915 …t(struct sljit_compiler *compiler, sljit_s32 flags, sljit_s32 reg_ar, sljit_s32 arg, sljit_sw argw) in getput_arg_fast() argument
919 if (!(arg & OFFS_REG_MASK) && argw <= SIMM_MAX && argw >= SIMM_MIN) { in getput_arg_fast()
924 …| TA(reg_ar) | IMM(argw), ((flags & MEM_MASK) <= GPR_REG && (flags & LOAD_DATA)) ? reg_ar : MOVABL… in getput_arg_fast()
933 static sljit_s32 can_cache(sljit_s32 arg, sljit_sw argw, sljit_s32 next_arg, sljit_sw next_argw) in can_cache() argument
939 argw &= 0x3; in can_cache()
941 …if (argw && argw == next_argw && (arg == next_arg || (arg & OFFS_REG_MASK) == (next_arg & OFFS_REG… in can_cache()
947 if (((next_argw - argw) <= SIMM_MAX && (next_argw - argw) >= SIMM_MIN)) in can_cache()
956 …ler *compiler, sljit_s32 flags, sljit_s32 reg_ar, sljit_s32 arg, sljit_sw argw, sljit_s32 next_arg… in getput_arg() argument
977 argw &= 0x3; in getput_arg()
980 if (argw == compiler->cache_argw) { in getput_arg()
985 if (arg == next_arg && argw == (next_argw & 0x3)) { in getput_arg()
987 compiler->cache_argw = argw; in getput_arg()
996 if (SLJIT_UNLIKELY(argw)) { in getput_arg()
998 compiler->cache_argw = argw; in getput_arg()
999 … FAIL_IF(push_inst(compiler, SLL_W | T(OFFS_REG(arg)) | D(TMP_REG3) | SH_IMM(argw), DR(TMP_REG3))); in getput_arg()
1002 if (arg == next_arg && argw == (next_argw & 0x3)) { in getput_arg()
1004 compiler->cache_argw = argw; in getput_arg()
1005 …FAIL_IF(push_inst(compiler, ADDU_W | S(base) | T(!argw ? OFFS_REG(arg) : TMP_REG3) | D(TMP_REG3), … in getput_arg()
1009 …FAIL_IF(push_inst(compiler, ADDU_W | S(base) | T(!argw ? OFFS_REG(arg) : TMP_REG3) | DA(tmp_ar), t… in getput_arg()
1013 …if (compiler->cache_arg == arg && argw - compiler->cache_argw <= SIMM_MAX && argw - compiler->cach… in getput_arg()
1014 if (argw != compiler->cache_argw) { in getput_arg()
1015 …FAIL_IF(push_inst(compiler, ADDIU_W | S(TMP_REG3) | T(TMP_REG3) | IMM(argw - compiler->cache_argw)… in getput_arg()
1016 compiler->cache_argw = argw; in getput_arg()
1021 …if (compiler->cache_arg == SLJIT_MEM && argw - compiler->cache_argw <= SIMM_MAX && argw - compiler… in getput_arg()
1022 if (argw != compiler->cache_argw) in getput_arg()
1023 …FAIL_IF(push_inst(compiler, ADDIU_W | S(TMP_REG3) | T(TMP_REG3) | IMM(argw - compiler->cache_argw)… in getput_arg()
1027 FAIL_IF(load_immediate(compiler, DR(TMP_REG3), argw)); in getput_arg()
1029 compiler->cache_argw = argw; in getput_arg()
1034 if (arg == next_arg && next_argw - argw <= SIMM_MAX && next_argw - argw >= SIMM_MIN) { in getput_arg()
1044 …m(struct sljit_compiler *compiler, sljit_s32 flags, sljit_s32 reg_ar, sljit_s32 arg, sljit_sw argw) in emit_op_mem() argument
1048 if (getput_arg_fast(compiler, flags, reg_ar, arg, argw)) in emit_op_mem()
1062 argw &= 0x3; in emit_op_mem()
1064 if (SLJIT_UNLIKELY(argw)) { in emit_op_mem()
1065 FAIL_IF(push_inst(compiler, SLL_W | T(OFFS_REG(arg)) | DA(tmp_ar) | SH_IMM(argw), tmp_ar)); in emit_op_mem()
1073 FAIL_IF(load_immediate(compiler, tmp_ar, argw)); in emit_op_mem()