qemu/target/sh4
Guenter Roeck bc2331635c target/sh4: Mask restore of env->flags from tb->flags
The values in env->flags are a subset of tb->flags.
Restore only the bits that belong.

Cc: qemu-stable@nongnu.org
Fixes: ab419fd8a0 ("target/sh4: Fix TB_FLAG_UNALIGN")
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Message-ID: <20221212011345.GA2235238@roeck-us.net>
[rth: Reduce to only the the superh_cpu_synchronize_from_tb change]
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2022-12-18 09:36:07 -08:00
..
cpu-param.h Normalize header guard symbol definition 2022-05-11 16:50:26 +02:00
cpu-qom.h target/sh4: Convert to 3-phase reset 2022-12-16 15:58:16 +00:00
cpu.c target/sh4: Mask restore of env->flags from tb->flags 2022-12-18 09:36:07 -08:00
cpu.h target/sh4: Fix TB_FLAG_UNALIGN 2022-10-04 12:33:05 -07:00
gdbstub.c target/sh4: Drop use of gdb_get_float32() and ldfl_p() 2021-02-15 09:38:37 +00:00
helper.c target/sh4: Fix TB_FLAG_UNALIGN 2022-10-04 12:33:05 -07:00
helper.h target/sh4: Drop check for singlestep_enabled 2021-10-15 16:39:14 -07:00
Kconfig meson: Introduce target-specific Kconfig 2021-07-09 18:21:34 +02:00
meson.build meson: target 2020-08-21 06:30:35 -04:00
monitor.c hmp: Pass monitor to mon_get_cpu_env() 2020-11-13 12:45:51 +00:00
op_helper.c compiler.h: replace QEMU_NORETURN with G_NORETURN 2022-04-21 17:03:51 +04:00
translate.c target/sh4: Convert to tcg_ops restore_state_to_opc 2022-10-26 11:11:28 +10:00