Re: [Qemu-devel] target-ppc: Problem with mtmsr emulation

2014-03-28 Thread Thomas Huth
On Fri, 28 Mar 2014 18:25:02 +0800 Alexander Graf wrote: > > > > Am 28.03.2014 um 16:16 schrieb Thomas Huth : > > > > > > Hi all! > > > > There seems to be a problem with the emulation of the mtmsr instruction: > > According to the PowerISA spec, chapter Book III-S, the mtmsr opcode > > has

Re: [Qemu-devel] target-ppc: Problem with mtmsr emulation

2014-03-28 Thread Alexander Graf
> Am 28.03.2014 um 16:16 schrieb Thomas Huth : > > > Hi all! > > There seems to be a problem with the emulation of the mtmsr instruction: > According to the PowerISA spec, chapter Book III-S, the mtmsr opcode > has a so-called "L" field at bit position 15. Looking at the function > gen_mtmsr()

[Qemu-devel] target-ppc: Problem with mtmsr emulation

2014-03-28 Thread Thomas Huth
Hi all! There seems to be a problem with the emulation of the mtmsr instruction: According to the PowerISA spec, chapter Book III-S, the mtmsr opcode has a so-called "L" field at bit position 15. Looking at the function gen_mtmsr() in target-ppc/translate.c, the bit is taken into account since t