From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55829) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHbav-0001bh-HY for qemu-devel@nongnu.org; Thu, 05 Sep 2013 11:35:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VHban-0002KD-4v for qemu-devel@nongnu.org; Thu, 05 Sep 2013 11:35:41 -0400 Sender: Richard Henderson Message-ID: <5228A4C0.4000201@twiddle.net> Date: Thu, 05 Sep 2013 08:35:28 -0700 From: Richard Henderson MIME-Version: 1.0 References: <1378328705-23006-1-git-send-email-rth@twiddle.net> <1378328705-23006-17-git-send-email-rth@twiddle.net> <1378381255.4321.155.camel@pasglop> In-Reply-To: <1378381255.4321.155.camel@pasglop> Content-Type: text/plain; charset=UTF-8 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: Benjamin Herrenschmidt Cc: "qemu-ppc@nongnu.org list:PowerPC" , Alexander Graf , "qemu-devel@nongnu.org qemu-devel" On 09/05/2013 04:40 AM, Benjamin Herrenschmidt wrote: > Only nit: I find "end_mode" a very confusing identifier :-) "end" > usually means something else ! Why not endian_mode ? 80 column wrapping. A poor excuse, I know... > I haven't seen the patch itself for some reason (and I'm about to go off > for a few days). The early day powerpc endian mode can be safely ignored > I think, I don't even remember the details myself, I think it induced > some changes to the byte lanes ordering on the bus and thus required the > host bridge to be adjusted. This sounds like the ARM BE32 mode on early arms. Now discontinued, afaik. > 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. This would be significantly harder (and slower) to emulate. It would require playing games at the cputlb level, and really nothing to do with the code generation from tcg at all. r~