Re: [Qemu-devel] [PATCH 6/8] target-ppc: Bug Fix: mulldo OV Detection

2014-08-15 Thread Richard Henderson
On 08/11/2014 09:23 AM, Tom Musta wrote: > Fix the code to properly detect overflow; the 128 bit signed > product must have all zeroes or all ones in the first 65 bits > otherwise OV should be set. > > Signed-off-by: Tom Musta > --- > target-ppc/int_helper.c | 14 -- > 1 files chan

[Qemu-devel] [PATCH 6/8] target-ppc: Bug Fix: mulldo OV Detection

2014-08-11 Thread Tom Musta
Fix the code to properly detect overflow; the 128 bit signed product must have all zeroes or all ones in the first 65 bits otherwise OV should be set. Signed-off-by: Tom Musta --- target-ppc/int_helper.c | 14 -- 1 files changed, 12 insertions(+), 2 deletions(-) diff --git a/targe