From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IhOmN-0006T3-6m for qemu-devel@nongnu.org; Mon, 15 Oct 2007 08:10:39 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IhOmL-0006SJ-LH for qemu-devel@nongnu.org; Mon, 15 Oct 2007 08:10:38 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IhOmL-0006Rz-GO for qemu-devel@nongnu.org; Mon, 15 Oct 2007 08:10:37 -0400 Received: from honiara.magic.fr ([195.154.193.36]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IhOmK-0004fS-8L for qemu-devel@nongnu.org; Mon, 15 Oct 2007 08:10:36 -0400 Received: from [192.168.0.2] (ppp-36.net-123.static.magiconline.fr [80.118.184.36]) by honiara.magic.fr (8.13.1/8.13.1) with ESMTP id l9FCAQxe019215 for ; Mon, 15 Oct 2007 14:10:26 +0200 Subject: Re: [Qemu-devel] RFC: reverse-endian softmmu memory accessors From: "J. Mayer" In-Reply-To: References: <1192362549.9976.389.camel@rapid> Content-Type: text/plain Date: Mon, 15 Oct 2007 14:10:33 +0200 Message-Id: <1192450234.9976.413.camel@rapid> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit 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 On Sun, 2007-10-14 at 15:59 +0300, Blue Swirl wrote: > On 10/14/07, J. Mayer wrote: > > Here's an updated version of the patch against current CVS. > > This patches provides reverse-endian, little-endian and big-endian > > memory accessors, available with and without softmmu. It also provides > > an IO_MEM_REVERSE TLB flag to allow future support of per-page > > endianness control, which is required by some targets CPU emulations. > > Having reverse-endian memory accessors also make it possible to optimise > > reverse-endian memory access when the target CPU has dedicated > > instructions. For now, it includes optimisations for the PowerPC target. > > This breaks Sparc32 softmmu, I get a black screen. Your changes to > target-sparc and hw/sun4m.c look fine, so the problem could be in IO? Did it worked before my commits ? I may have done something wrong during the merge... I will do more checks and more tests... -- J. Mayer Never organized