Re: [Qemu-devel] [PATCH 4/8] target-ppc: Bug Fix: mullw

2014-08-15 Thread Richard Henderson
On 08/11/2014 09:23 AM, Tom Musta wrote: > For 64-bit implementations, the mullw result is the 64 bit product > of the sign-extended least significant 32 bits of the source > registers. > > Fix the code to properly sign extend the source operands and produce > a 64 bit product. > > Signed-off-by:

[Qemu-devel] [PATCH 4/8] target-ppc: Bug Fix: mullw

2014-08-11 Thread Tom Musta
For 64-bit implementations, the mullw result is the 64 bit product of the sign-extended least significant 32 bits of the source registers. Fix the code to properly sign extend the source operands and produce a 64 bit product. Signed-off-by: Tom Musta --- target-ppc/translate.c | 11 ++