Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LJbre-0007X3-MK for qemu-devel@nongnu.org; Sun, 04 Jan 2009 17:54:34 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LJbrd-0007VD-Hm for qemu-devel@nongnu.org; Sun, 04 Jan 2009 17:54:34 -0500 Received: from [199.232.76.173] (port=49150 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LJbrd-0007Ur-Bs for qemu-devel@nongnu.org; Sun, 04 Jan 2009 17:54:33 -0500 Received: from hall.aurel32.net ([88.191.82.174]:43013) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LJbrc-00040w-VG for qemu-devel@nongnu.org; Sun, 04 Jan 2009 17:54:33 -0500 Date: Sun, 4 Jan 2009 23:54:31 +0100 From: Aurelien Jarno Subject: Re: [Qemu-devel] [PATCH] target-ppc: add integer Altivec instructions, take 2 Message-ID: <20090104225431.GB2382@hall.aurel32.net> References: <1230693022-18380-1-git-send-email-froydnj@codesourcery.com> <20090104222026.GB31060@volta.aurel32.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <20090104222026.GB31060@volta.aurel32.net> Sender: Aurelien Jarno Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Nathan Froyd Cc: qemu-devel@nongnu.org On Sun, Jan 04, 2009 at 11:20:26PM +0100, Aurelien Jarno wrote: > On Tue, Dec 30, 2008 at 07:09:42PM -0800, Nathan Froyd wrote: > > This is a follow-on to: > > > > http://lists.gnu.org/archive/html/qemu-devel/2008-12/msg01000.html > > > > as Aurelien asked me to modify the notation for defining instructions in > > target-ppc/translate.c. Since that change touched nearly every patch in > > the series, I figured I would also take the opportunity to eliminate the > > VECTOR_FOR macros that my patch used as well. I also fixed up various > > TCG errors that turned up under DEBUG_TCG. > > > > I did, however, leave the VECTOR_FOR_INORDER_I macros in place; I think > > they are the clearest way to indicate that vectors are being iterated > > over in target-endian order. Better than `#if defined(WORDS_BIGENDIAN)' > > all over the code, IMHO. > > > > As the message in: > > > > http://lists.gnu.org/archive/html/qemu-devel/2008-12/msg01106.html > > > > indicated, m{f,t}vscr seems to be broken in some way; the code looks > > correct to me, but I can't seem to puzzle out what's wrong with it. All > > other instructions have been tested against an Altivec hardware > > implementation. Except for the VSCR issue above, the simulated > > instructions perform identically to their hardware-implemented versions. > > > > Thanks for your great work. I have applied all the patches of the series > except the following ones, for which I have already send comments: > > - Add GEN_VXRFORM{, 1} macros for subsequent instructions. > - Add vcmpequ{b, h, w} and vcmpgt{s, u}{b, h, w} instructions. > - Add m{f,t}vscr instructions. I have just committed a different patch for m{f,t}vscr instructions (r6190). With this patch those instructions are working on my system. Could you please confirm that it works with your testsuite? -- .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' aurel32@debian.org | aurelien@aurel32.net `- people.debian.org/~aurel32 | www.aurel32.net