Re: [Qemu-devel] [PATCH2] ppc64: fix mtmsr behavior on 64-bit targets

2011-06-13 Thread Alexander Graf
On 13.06.2011, at 14:52, Nathan Whitehorn wrote: > On 06/13/11 05:20, Alexander Graf wrote: >> >> >> >> Am 12.06.2011 um 17:49 schrieb Nathan Whitehorn: >> >>> The mtmsr instruction is required not to modify the upper 32-bits of the >>> machine state register, but checks the current value of

Re: [Qemu-devel] [PATCH2] ppc64: fix mtmsr behavior on 64-bit targets

2011-06-13 Thread Nathan Whitehorn
On 06/13/11 05:20, Alexander Graf wrote: Am 12.06.2011 um 17:49 schrieb Nathan Whitehorn: The mtmsr instruction is required not to modify the upper 32-bits of the machine state register, but checks the current value of MSR[SF] to decide whether to do this. This has the effect of zeroing th

Re: [Qemu-devel] [PATCH2] ppc64: fix mtmsr behavior on 64-bit targets

2011-06-13 Thread Alexander Graf
Am 12.06.2011 um 17:49 schrieb Nathan Whitehorn : > The mtmsr instruction is required not to modify the upper 32-bits of the > machine state register, but checks the current value of MSR[SF] to decide > whether to do this. This has the effect of zeroing the upper 32 bits of the > MSR whenev

[Qemu-devel] [PATCH2] ppc64: fix mtmsr behavior on 64-bit targets

2011-06-12 Thread Nathan Whitehorn
The mtmsr instruction is required not to modify the upper 32-bits of the machine state register, but checks the current value of MSR[SF] to decide whether to do this. This has the effect of zeroing the upper 32 bits of the MSR whenever mtmsr is executed in 64-bit mode. Unconditionally preserve