From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54940) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VvTmZ-0002kq-LT for qemu-devel@nongnu.org; Tue, 24 Dec 2013 10:20:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VvTmQ-00068s-OW for qemu-devel@nongnu.org; Tue, 24 Dec 2013 10:20:31 -0500 Sender: Richard Henderson Message-ID: <52B9A632.6010208@twiddle.net> Date: Tue, 24 Dec 2013 07:20:18 -0800 From: Richard Henderson MIME-Version: 1.0 References: <1387399747-4994-1-git-send-email-tommusta@gmail.com> <1387399747-4994-4-git-send-email-tommusta@gmail.com> In-Reply-To: <1387399747-4994-4-git-send-email-tommusta@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [V3 PATCH 03/14] target-ppc: Add ISA2.06 divdeu[o] Instructions List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Tom Musta , qemu-devel@nongnu.org Cc: qemu-ppc@nongnu.org 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 > --- > 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~