[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH-for-9.1 4/8] target/microblaze: Use 32-bit destination in gen
From: |
Anton Johansson |
Subject: |
Re: [PATCH-for-9.1 4/8] target/microblaze: Use 32-bit destination in gen_goto_tb() |
Date: |
Tue, 19 Mar 2024 16:57:15 +0100 |
On 19/03/24, Philippe Mathieu-Daudé wrote:
> cpu_pc and jmp_dest are 32-bit.
>
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
> ---
> target/microblaze/translate.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/target/microblaze/translate.c b/target/microblaze/translate.c
> index 4e52ef32db..d6a42381bb 100644
> --- a/target/microblaze/translate.c
> +++ b/target/microblaze/translate.c
> @@ -121,7 +121,7 @@ static void gen_raise_hw_excp(DisasContext *dc, uint32_t
> esr_ec)
> gen_raise_exception_sync(dc, EXCP_HW_EXCP);
> }
>
> -static void gen_goto_tb(DisasContext *dc, int n, target_ulong dest)
> +static void gen_goto_tb(DisasContext *dc, int n, uint32_t dest)
> {
> if (translator_use_goto_tb(&dc->base, dest)) {
> tcg_gen_goto_tb(n);
> --
> 2.41.0
>
Reviewed-by: Anton Johansson <anjo@rev.ng>
- [PATCH-for-9.1 1/8] target/microblaze: Use correct string format in do_unaligned_access(), (continued)
- [PATCH-for-9.1 1/8] target/microblaze: Use correct string format in do_unaligned_access(), Philippe Mathieu-Daudé, 2024/03/19
- [PATCH-for-9.1 2/8] target/microblaze: Use hwaddr/vaddr in cpu_get_phys_page_attrs_debug(), Philippe Mathieu-Daudé, 2024/03/19
- [PATCH-for-9.1 3/8] target/microblaze: Widen vaddr in mmu_translate(), Philippe Mathieu-Daudé, 2024/03/19
- [PATCH-for-9.1 4/8] target/microblaze: Use 32-bit destination in gen_goto_tb(), Philippe Mathieu-Daudé, 2024/03/19
- [PATCH-for-9.1 5/8] target/microblaze: Restrict 64-bit 'res_addr' to system emulation, Philippe Mathieu-Daudé, 2024/03/19
- [PATCH-for-9.1 6/8] target/microblaze: Rename helper.c -> sys_helper.c, Philippe Mathieu-Daudé, 2024/03/19
- [RFC PATCH-for-9.1 8/8] target/microblaze: Widen $ear to 64-bit, Philippe Mathieu-Daudé, 2024/03/19