diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2023-02-25 17:46:54 -1000 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-03-13 06:44:37 -0700 |
commit | c29e79af27484565fffac8c99fddb6d2fa54b4b7 (patch) | |
tree | e581f69e027ad5e6bf80f6dc4a1fc8a395a7ad8d /target/mips/tcg/micromips_translate.c.inc | |
parent | 0bcc6b4cfd46d7c0895d6d64dccebf120a509c6d (diff) |
target/mips: Avoid tcg_const_* throughout
All remaining uses are strictly read-only.
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/mips/tcg/micromips_translate.c.inc')
-rw-r--r-- | target/mips/tcg/micromips_translate.c.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/mips/tcg/micromips_translate.c.inc b/target/mips/tcg/micromips_translate.c.inc index 23f80d4315..e8b193aeda 100644 --- a/target/mips/tcg/micromips_translate.c.inc +++ b/target/mips/tcg/micromips_translate.c.inc @@ -704,8 +704,8 @@ static void gen_ldst_multiple(DisasContext *ctx, uint32_t opc, int reglist, gen_base_offset_addr(ctx, t0, base, offset); - t1 = tcg_const_tl(reglist); - t2 = tcg_const_i32(ctx->mem_idx); + t1 = tcg_constant_tl(reglist); + t2 = tcg_constant_i32(ctx->mem_idx); save_cpu_state(ctx, 1); switch (opc) { |