On 12/18/2013 12:48 PM, Tom Musta wrote: > This patch adds the Divide Doubleword Extended Unsigned > instructions. This instruction requires dividing a 128-bit > value by a 64 bit value. Since 128 bit integer division is > not supported in TCG, a helper is used, providing a > repeated difference algorithm. > > V2: Moved the 128-bit divide routine into host-utils per Richard > Henderson's suggestion. > > Signed-off-by: Tom Musta <tommu...@gmail.com> > --- > include/qemu/host-utils.h | 14 ++++++++++++++ > target-ppc/helper.h | 1 + > target-ppc/int_helper.c | 27 +++++++++++++++++++++++++++ > target-ppc/translate.c | 20 ++++++++++++++++++++ > util/host-utils.c | 38 ++++++++++++++++++++++++++++++++++++++ > 5 files changed, 100 insertions(+), 0 deletions(-)
Reviewed-by: Richard Henderson <r...@twiddle.net> r~