From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50858) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHZkz-0007p5-DH for qemu-devel@nongnu.org; Thu, 05 Sep 2013 09:38:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VHZkt-0006F0-8s for qemu-devel@nongnu.org; Thu, 05 Sep 2013 09:37:57 -0400 Message-ID: <1378388252.4321.177.camel@pasglop> From: Benjamin Herrenschmidt Date: Thu, 05 Sep 2013 23:37:32 +1000 In-Reply-To: References: <1378328705-23006-1-git-send-email-rth@twiddle.net> <1378328705-23006-17-git-send-email-rth@twiddle.net> <1378381255.4321.155.camel@pasglop> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [Qemu-ppc] [PATCH 16/16] target-ppc: Convert to new ldst opcodes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: "qemu-ppc@nongnu.org list:PowerPC" , "qemu-devel@nongnu.org qemu-devel" , Richard Henderson On Thu, 2013-09-05 at 14:59 +0200, Alexander Graf wrote: > > The embedded PPCs have simply a per-page E bit in the TLB > controlling > > the endianness of accesses through the translation, the endianness > is > > "clean" in that case, and the bus doesn't flip around so it's akin > to > > what P7 does but with a finer granularity. > > So on P7 basically everything that goes from registers out is > byte-swapped, including any RAM access and MMIOs? I think that's > basically what the current little endian mode implements (though it > might miss a few places, like FPU or Altivec, but I'd consider that > bugs). Yes. There are some oddities with VSX though (it does PDP endian iirc). Cheers, Ben.