Message ID | 20240319062855.8025-5-philmd@linaro.org |
---|---|
State | New |
Headers | show |
Series | target/microblaze: Sprint housekeeping | expand |
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>
On Tue, Mar 19, 2024 at 07:28:51AM +0100, Philippe Mathieu-Daudé wrote: > cpu_pc and jmp_dest are 32-bit. > Reviewed-by: Edgar E. Iglesias <edgar.iglesias@amd.com> > 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 >
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);
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(-)