Re: [Qemu-devel] [PATCH 03/11] target-arm: Raw CPSR writes should skip checks and bank switching

2016-02-18 Thread Sergey Fedorov
On 15.02.2016 20:22, Peter Maydell wrote: > Raw CPSR writes should skip the architectural checks for whether > we're allowed to set the A or F bits and should also not do > the switching of register banks if the mode changes. Handle > this inside cpsr_write(), which allows us to drop the "manually

[Qemu-devel] [PATCH 03/11] target-arm: Raw CPSR writes should skip checks and bank switching

2016-02-15 Thread Peter Maydell
Raw CPSR writes should skip the architectural checks for whether we're allowed to set the A or F bits and should also not do the switching of register banks if the mode changes. Handle this inside cpsr_write(), which allows us to drop the "manually set the mode bits to avoid the bank switch" code