From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KcKpP-0003fF-Vy for qemu-devel@nongnu.org; Sun, 07 Sep 2008 10:01:24 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KcKpO-0003eJ-6Y for qemu-devel@nongnu.org; Sun, 07 Sep 2008 10:01:23 -0400 Received: from [199.232.76.173] (port=55399 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KcKpO-0003eC-1m for qemu-devel@nongnu.org; Sun, 07 Sep 2008 10:01:22 -0400 Received: from mail.codesourcery.com ([65.74.133.4]:50137) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KcKpN-0006w6-Ep for qemu-devel@nongnu.org; Sun, 07 Sep 2008 10:01:21 -0400 From: Paul Brook Subject: Re: [Qemu-devel] TCG: 128 bit ops? Date: Sun, 7 Sep 2008 15:01:13 +0100 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200809071501.13837.paul@codesourcery.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Andreas =?iso-8859-1?q?F=E4rber?= On Thursday 04 September 2008, Andreas F=E4rber wrote: > Hello, > > Am I correct in seeing that TCG offers no i128 ops? Would this be > useful to add to TCG, internally reusing the i64/i32 code? ppc needs > 128-bit temporaries for Altivec instructions. It uses a union > ppc_avr_t of (among others) two uint64_t. > > Or should I just use two i64 temporaries with a local macro/helper? > It's not used much in ppc but I thought it might be useful to share > with other architectures. Does it really have 128-bit ops, or just 128-bit vectors with smaller=20 elements? I expect that implementing native 128-bit support would end up fairly trick= y.=20 It's bad enough having to handle 64-bit ops 32-bit x86. Paul