@samitouri / QOSamiQemu / commits / 70c9f6d186

target/mips: Remove last MO_TE use

Unfortunately commit 54821ff6e90 ("target/mips: Convert mips16e decr_and_load/store() macros to functions") got rebased on top of commit 2803e24694c ("target/mips: Replace MO_TE by mo_endian") and we missed the replacement. Fix that. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20260417042620.35329-5-philmd@linaro.org>

Philippe Mathieu-Daudé committed Oct 10, 2025 at 08:29 UTC 70c9f6d1868d257b739dcb15c581cddb205dfbbb
1 file changed +1 -1
target/mips/tcg/mips16e_translate.c.inc
+1 -1
@@ -293,7 +293,7 @@ static void decr_and_load(DisasContext *ctx, unsigned regidx, TCGv t0)
293
294 tcg_gen_movi_tl(t2, -4);
295 gen_op_addr_add(ctx, t0, t0, t2);
296 - tcg_gen_qemu_ld_tl(t1, t0, ctx->mem_idx, MO_TE | MO_SL |
296 + tcg_gen_qemu_ld_tl(t1, t0, ctx->mem_idx, mo_endian(ctx) | MO_SL |
297 ctx->default_tcg_memop_mask);
298 gen_store_gpr(t1, regidx);
299 }