]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/hppa: Fix hppa64 addressing
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 16 Sep 2023 23:52:51 +0000 (16:52 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 7 Nov 2023 02:49:33 +0000 (18:49 -0800)
commit698240d19b0d8c880a6e8c1baeec6d6048d2ca4b
treea149bf54351a61f44be38cf72e394c2b9125bb62
parent5718fe4cfe947cb46b188ccd9bc5f9673ad9dd5b
target/hppa: Fix hppa64 addressing

In form_gva and cpu_get_tb_cpu_state, we must truncate when PSW_W == 0.
In space_select, the bits that choose the space depend on PSW_W.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/hppa/cpu.h
target/hppa/translate.c