Re: [Qemu-devel] [V3 PATCH 04/14] target-ppc: Add ISA2.06 divde[o] Instructions

2013-12-24 Thread Richard Henderson
On 12/18/2013 12:48 PM, Tom Musta wrote: > +*plow = result; > +*phigh = dividend % divisor; > +return (result > INT64_MAX) | (result < INT64_MIN); Probably better as return result != *plow; Otherwise, Reviewed-by: Richard Henderson r~

[Qemu-devel] [V3 PATCH 04/14] target-ppc: Add ISA2.06 divde[o] Instructions

2013-12-18 Thread Tom Musta
This patch adds the Divide Doubleword Extended instructions. The implementation builds on the unsigned helper provided in the previous patch. V2: Updated to use the host-utils 128 bit divide. Signed-off-by: Tom Musta --- include/qemu/host-utils.h | 14 ++ target-ppc/helper.h