Skip to content
Commit 21c04611 authored by Bobby Bingham's avatar Bobby Bingham Committed by Aurelien Jarno
Browse files

target-sh4: move features flag after CPU_COMMON



Everything before CPU_COMMON in the structure is cleared as part of a
CPU reset. This included the features flag, which indicates whether SH4A
instructions are supported or not. As a result, a CPU reset downgraded
the CPU from an SH4A to an SH4.

Signed-off-by: default avatarBobby Bingham <koorogi@koorogi.info>
Reviewed-by: default avatarRichard Henderson <rth@twiddle.net>
Signed-off-by: default avatarAurelien Jarno <aurelien@aurel32.net>
parent a1d22a36
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment