Re: [Qemu-devel] [PATCH 1/7] target-arm: Don't generate code specific to current CPU mode for SRS

2011-01-07 Thread Peter Maydell
On 7 January 2011 16:01, Aurelien Jarno wrote: > On Fri, Jan 07, 2011 at 03:06:28PM +, Peter Maydell wrote: >> When translating the SRS instruction, handle the "store registers >> to stack of current mode" case in the helper function rather than >> inline. This means the generated code does no

Re: [Qemu-devel] [PATCH 1/7] target-arm: Don't generate code specific to current CPU mode for SRS

2011-01-07 Thread Aurelien Jarno
On Fri, Jan 07, 2011 at 03:06:28PM +, Peter Maydell wrote: > When translating the SRS instruction, handle the "store registers > to stack of current mode" case in the helper function rather than > inline. This means the generated code does not make assumptions > about the current CPU mode which

[Qemu-devel] [PATCH 1/7] target-arm: Don't generate code specific to current CPU mode for SRS

2011-01-07 Thread Peter Maydell
When translating the SRS instruction, handle the "store registers to stack of current mode" case in the helper function rather than inline. This means the generated code does not make assumptions about the current CPU mode which might not be valid when the TB is executed later. Signed-off-by: Pete