Re: [Qemu-devel] [PATCH 3/5] arm: Support thumb in set_pc routines

2015-06-15 Thread Peter Crosthwaite
On Mon, Jun 15, 2015 at 12:36 AM, Peter Maydell wrote: > On 15 June 2015 at 04:48, Peter Crosthwaite > wrote: >> ARM program counters are always at least 16b aligned with the LSB >> being only used the indicate thumb mode in exchange situations. Mask >> this bit off in set_pc to ignore the excha

Re: [Qemu-devel] [PATCH 3/5] arm: Support thumb in set_pc routines

2015-06-15 Thread Peter Maydell
On 15 June 2015 at 04:48, Peter Crosthwaite wrote: > ARM program counters are always at least 16b aligned with the LSB > being only used the indicate thumb mode in exchange situations. Mask > this bit off in set_pc to ignore the exchange semantic (which must > still be managed by the caller). > >

[Qemu-devel] [PATCH 3/5] arm: Support thumb in set_pc routines

2015-06-14 Thread Peter Crosthwaite
ARM program counters are always at least 16b aligned with the LSB being only used the indicate thumb mode in exchange situations. Mask this bit off in set_pc to ignore the exchange semantic (which must still be managed by the caller). Signed-off-by: Peter Crosthwaite --- --- target-arm/cpu.c |