Re: [Qemu-devel] [PULL 27/27] target-arm: Correctly handle 'sub pc, pc, 1' for ARMv6

2016-10-14 Thread Peter Maydell
On 14 October 2016 at 07:44, Alex Bennée wrote: > > Peter Maydell writes: > >> In the ARM v6 architecture, 'sub pc, pc, 1' is not an interworking >> branch, so the computed new value is written to r15 as a normal >> value. The architecture says that in this case, bits [1:0] of >> the value writte

Re: [Qemu-devel] [PULL 27/27] target-arm: Correctly handle 'sub pc, pc, 1' for ARMv6

2016-10-13 Thread Alex Bennée
Peter Maydell writes: > In the ARM v6 architecture, 'sub pc, pc, 1' is not an interworking > branch, so the computed new value is written to r15 as a normal > value. The architecture says that in this case, bits [1:0] of > the value written must be ignored if we are in ARM mode (or > bit [0] ign

[Qemu-devel] [PULL 27/27] target-arm: Correctly handle 'sub pc, pc, 1' for ARMv6

2016-10-04 Thread Peter Maydell
In the ARM v6 architecture, 'sub pc, pc, 1' is not an interworking branch, so the computed new value is written to r15 as a normal value. The architecture says that in this case, bits [1:0] of the value written must be ignored if we are in ARM mode (or bit [0] ignored if in Thumb mode); this is a c