target/arm/tcg/translate.c: remove target_ulong
We can replace it with uint32_t, because we know it's limited to 32-bit target. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Message-id: 20260407222208.271838-21-pierrick.bouvier@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Pierrick Bouvier committed
Apr 23, 2026 at 10:24 UTC
37b4f6092274937fd1794eb14c839801ddd88323
1 file changed
+2
-2
target/arm/tcg/translate.c
+2
-2
@@ -6282,7 +6282,7 @@ static void disas_thumb_insn(DisasContext *s, uint32_t insn)
6282
6283
/* Ditto, for a halfword (Thumb) instruction */
6284
static uint16_t arm_lduw_code(CPUARMState *env, DisasContextBase* s,
6285
- target_ulong addr, bool sctlr_b)
6285
+ uint32_t addr, bool sctlr_b)
6286
{
6287
MemOp end = MO_LE;
6288
if (sctlr_b) {
@@ -6529,7 +6529,7 @@ static void arm_post_translate_insn(DisasContext *dc)
6529
6530
/* Load an instruction and return it in the standard little-endian order */
6531
static uint32_t arm_ldl_code(CPUARMState *env, DisasContextBase *s,
6532
- target_ulong addr, bool sctlr_b)
6532
+ uint32_t addr, bool sctlr_b)
6533
{
6534
return translator_ldl_end(env, s, addr, sctlr_b ? MO_BE : MO_LE);
6535
}