Re: [Qemu-devel] [PATCH] target-sh4: move features flag after CPU_COMMON

2013-12-09 Thread Aurelien Jarno
On Sun, Nov 24, 2013 at 02:03:05PM -0600, Bobby Bingham wrote: > 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 a

Re: [Qemu-devel] [PATCH] target-sh4: move features flag after CPU_COMMON

2013-11-24 Thread Richard Henderson
On 11/25/2013 06:03 AM, Bobby Bingham wrote: > 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.

[Qemu-devel] [PATCH] target-sh4: move features flag after CPU_COMMON

2013-11-24 Thread Bobby Bingham
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: Bobby Bingham --- target-sh4/cpu.h