target-ppc: Add ISA2.06 divdeu[o] Instructions
commit98d1eb2748e84f9e3118d1bd2495f0cc917ac18d
authorTom Musta <tommusta@gmail.com>
Tue, 7 Jan 2014 16:05:51 +0000 (7 10:05 -0600)
committerAlexander Graf <agraf@suse.de>
Wed, 5 Mar 2014 02:06:39 +0000 (5 03:06 +0100)
tree7768c567eff4633cb49b55878c29dc4580dc45de
parenta824bc191a90d86980a9ed090cb1d1219faaf8e7
target-ppc: Add ISA2.06 divdeu[o] Instructions

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.  An architecture
independent 128-bit division routine is added to host-utils.

Signed-off-by: Tom Musta <tommusta@gmail.com>
Reviewed-by: Richard Henderson <rth@twiddle.net>
[agraf: use ||]
Signed-off-by: Alexander Graf <agraf@suse.de>
include/qemu/host-utils.h
target-ppc/helper.h
target-ppc/int_helper.c
target-ppc/translate.c
util/host-utils.c