From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42277) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhSZx-0002oB-9U for qemu-devel@nongnu.org; Tue, 06 Sep 2016 22:27:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bhSZu-0003Dm-4w for qemu-devel@nongnu.org; Tue, 06 Sep 2016 22:27:09 -0400 Message-ID: <1473215213.8689.52.camel@kernel.crashing.org> From: Benjamin Herrenschmidt Date: Wed, 07 Sep 2016 12:26:53 +1000 In-Reply-To: <1473198749.8689.43.camel@kernel.crashing.org> References: <1473133253-17598-1-git-send-email-david@gibson.dropbear.id.au> <762703d0-bb32-8b9f-a538-5541890c9781@redhat.com> <1473198749.8689.43.camel@kernel.crashing.org> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PULL 00/66] ppc-for-2.8 queue 20160906 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Thomas Huth , Peter Maydell , David Gibson Cc: peter.maydell@linearo.org, "qemu-ppc@nongnu.org" , Alexander Graf , QEMU Developers On Wed, 2016-09-07 at 07:52 +1000, Benjamin Herrenschmidt wrote: > On Tue, 2016-09-06 at 23:09 +0200, Thomas Huth wrote: > >=20 > > The bad commit is: "ppc: Speed up load/store multiple" > >=20 > > There are two "#if defined(HOST_WORDS_BIGENDIAN)" sections in this > > patch > > which are both bad: The memcpy tries to copy 32-bit values into 64- > > bit > > registers, which of course does not work (unless you compile this > > code > > for a 32-bit host only where the size of a gpr is only 32-bit). >=20 > The instruction does that. It only copies 32-bits. I think it's > correct.=C2=A0=09 Except of course when the host is 64-bit and we enable with a 64-bit target_ulong ... ugh ;-) Drop the patch for now, I'll redo it later. Cheers, Ben.