]> git.proxmox.com Git - mirror_qemu.git/commit
target/sh4: Fix TB_FLAG_UNALIGN
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 29 Aug 2022 01:58:20 +0000 (18:58 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 4 Oct 2022 19:33:05 +0000 (12:33 -0700)
commitab419fd8a035a65942de4e63effcd55ccbf1a9fe
tree55d0319dbdd6b945fce99fe70f06fd1694b32cbd
parent20add588296a8a24374004e9dbf6219f28665d34
target/sh4: Fix TB_FLAG_UNALIGN

The value previously chosen overlaps GUSA_MASK.

Rename all DELAY_SLOT_* and GUSA_* defines to emphasize
that they are included in TB_FLAGs.  Add aliases for the
FPSCR and SR bits that are included in TB_FLAGS, so that
we don't accidentally reassign those bits.

Fixes: 4da06fb3062 ("target/sh4: Implement prctl_unalign_sigbus")
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/856
Reviewed-by: Yoshinori Sato <ysato@users.sourceforge.jp>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
linux-user/sh4/signal.c
target/sh4/cpu.c
target/sh4/cpu.h
target/sh4/helper.c
target/sh4/translate.c