]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/hppa: Mask reserved PSW bits in expand_sm_imm
authorHelge Deller <deller@gmx.de>
Tue, 7 Nov 2023 21:32:36 +0000 (22:32 +0100)
committerRichard Henderson <richard.henderson@linaro.org>
Sun, 12 Nov 2023 17:01:22 +0000 (09:01 -0800)
commit881d1073d0f83d9a07e5ea3ff444e1bef9679a7c
treea9be0c51973051325c8d648e4e59257ccb30b39e
parent69680740eafa1838527c90155a7432d51b8ff203
target/hppa: Mask reserved PSW bits in expand_sm_imm

The system mask is a restricted subset of the psw, with only
a couple of reserved bits.  It is better to handle this up
front in the translator than require helper_swap_system_mask
to use cpu_hppa_get_psw and cpu_hppa_put_psw.

Signed-off-by: Helge Deller <deller@gmx.de>
[rth: Handle this in expand_sm_imm not helper_swap_system_mask.]
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/hppa/translate.c