From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LBST1-0006dE-Cr for qemu-devel@nongnu.org; Sat, 13 Dec 2008 06:15:27 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LBST0-0006cN-3A for qemu-devel@nongnu.org; Sat, 13 Dec 2008 06:15:27 -0500 Received: from [199.232.76.173] (port=34755 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LBSSz-0006cE-S9 for qemu-devel@nongnu.org; Sat, 13 Dec 2008 06:15:25 -0500 Received: from hall.aurel32.net ([88.191.82.174]:34069) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LBSSz-0002A8-I6 for qemu-devel@nongnu.org; Sat, 13 Dec 2008 06:15:25 -0500 Date: Sat, 13 Dec 2008 12:15:20 +0100 From: Aurelien Jarno Subject: Re: [Qemu-devel] [5949] target-ppc: memory load/store rework Message-ID: <20081213111520.GD17729@volta.aurel32.net> References: <20081213011803.GC9457@miranda.arrow> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <20081213011803.GC9457@miranda.arrow> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stuart Brady Cc: qemu-devel@nongnu.org On Sat, Dec 13, 2008 at 01:18:03AM +0000, Stuart Brady wrote: > On Mon, Dec 08, 2008 at 06:11:22PM +0000, Aurelien Jarno wrote: > > - Don't swap values twice for bit-reverse load/store functions > > in little endian mode. > > If I've read this correctly, it seems to me that we would still swap > twice on little endian hosts when when emulating little endian mode or > performing bit-reverse loads/stores. Bit-reverse loads/stores under > little endian emulation on a little endian host would have actually > resulted in *three* byteswaps! I was actually speaking about swapping in the TCG code. The global byteswapping has been actually reduced from 3 to 2 in the worst case. -- .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' aurel32@debian.org | aurelien@aurel32.net `- people.debian.org/~aurel32 | www.aurel32.net