]> git.proxmox.com Git - mirror_qemu.git/commit
target/hppa: Pass displacement to do_dbranch
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 21 Mar 2024 06:02:42 +0000 (20:02 -1000)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 15 May 2024 07:11:18 +0000 (09:11 +0200)
commit2644f80ba5e0628af058072ed44b14e8d0bee115
treeed37b85a2abe5b32e69d532646e48cfd1d80b0c2
parent4e31e68bb6e77a48e57aa3a27549313ea0f19f69
target/hppa: Pass displacement to do_dbranch

Pass a displacement instead of an absolute value.

In trans_be, remove the user-only do_dbranch case.  The branch we are
attempting to optimize is to the zero page, which is perforce on a
different page than the code currently executing, which means that
we will *not* use a goto_tb.  Use a plain indirect branch instead,
which is what we got out of the attempted direct branch anyway.

Reviewed-by: Helge Deller <deller@gmx.de>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/hppa/translate.c