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~
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