Re: [Qemu-devel] [PATCH v2 0/9] arm: Implement M profile exception return properly

2017-04-20 Thread Peter Maydell
On 15 April 2017 at 13:31, Richard Henderson wrote: > On 04/10/2017 10:13 AM, Peter Maydell wrote: >> >> Peter Maydell (9): >> arm: Don't implement BXJ on M-profile CPUs >> arm: Thumb shift operations should not permit interworking branches >> arm: Factor out "generate right kind of step exc

Re: [Qemu-devel] [PATCH v2 0/9] arm: Implement M profile exception return properly

2017-04-15 Thread Richard Henderson
On 04/10/2017 10:13 AM, Peter Maydell wrote: Peter Maydell (9): arm: Don't implement BXJ on M-profile CPUs arm: Thumb shift operations should not permit interworking branches arm: Factor out "generate right kind of step exception" arm: Move gen_set_condexec() and gen_set_pc_im() up in the

[Qemu-devel] [PATCH v2 0/9] arm: Implement M profile exception return properly

2017-04-10 Thread Peter Maydell
On M profile, return from exceptions happen when code in Handler mode executes one of the following function call return instructions: * POP or LDM which loads the PC * LDR to PC * BX register and the new PC value is 0xFFxx. QEMU tries to implement this by not treating the i