From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48363) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bU4vQ-0004XY-4k for qemu-devel@nongnu.org; Mon, 01 Aug 2016 00:34:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bU4vJ-0001TL-WB for qemu-devel@nongnu.org; Mon, 01 Aug 2016 00:33:59 -0400 Date: Mon, 1 Aug 2016 14:35:43 +1000 From: David Gibson Message-ID: <20160801043543.GW2588@voom.fritz.box> References: <20160729054015.GR2588@voom.fritz.box> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="V2AZ19bMCakBLong" Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] target-ppc: SPR_BOOKE_ESR not set on FP exceptions List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: alarson@ddci.com Cc: agraf@suse.de, qemu-devel@nongnu.org, qemu-ppc@nongnu.org --V2AZ19bMCakBLong Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 29, 2016 at 08:04:04AM -0500, alarson@ddci.com wrote: > David Gibson wrote on 07/29/2016 12:40:15= =20 > AM: >=20 > > From: David Gibson > > To: alarson@ddci.com > > Cc: qemu-devel@nongnu.org, qemu-ppc@nongnu.org, agraf@suse.de > > Date: 07/29/2016 12:38 AM > > Subject: Re: target-ppc: SPR_BOOKE_ESR not set on FP exceptions > >=20 > > On Thu, Jul 28, 2016 at 06:32:27PM -0500, alarson@ddci.com wrote: > ... > > > I did a quick check of the bits set in the POWERPC_EXCP_PROGRAM case. > > > The classic PPC sets SRR1 bits 11--15 depending on the exception. In > > > Book E these correspond to bits 43--47, > >=20 > > Um.. what? I'm not understanding where this bit shift is coming > > from.=20 >=20 > Sorry, I was looking at an old "classic" 32-bit manual for the SRR1=20 > exception definition and a 64-bit manual for the BookE. They are > the same bits. MSB0 bit numbering bytes again :-) Ok. Can you re-do your analysis and submit a patch to fix this? --=20 David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson --V2AZ19bMCakBLong Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJXntGfAAoJEGw4ysog2bOSl0AQAJYZa7SXzVvqTdwy8Vza4qje k8BoRtW8jKHTGHiaeehp5Z6qYFX8DWkJNklvT3SmMSvCKrnEj9Mz6fvJ8Wo73VeS sylm6PQ0CztQDdTpP9MjD4LJnwNs3IPFr2UztfBoNd+QrlIt4OslUzp7e+wq+v2e HBi88i5Zf7693MAuiM80P8D9FoITgOE1OqIo4nt+PTwPg+66VRQq4VSMjDoNX6bY hmhP6MW//Qp5glANoIybfFyIkSW8mV4jHkBe9hl1NUWKmobtOr99+DK4LzZj3fzI 9z3p8iVRM3tvXAniSbTbou72SXBKErzR1hDDwgZBL6z5IdHfL2GR98W0mLIlmAhm RYvLGiCgNGklyya5RvEI+hg3/O6JgtT4StN19yfDtaLYdiwHhnN3jSzpVDush496 u4Ba+CBL8d1xYawtfFMO/d/qKjwpA7GZ4y6gx4Lrhq+/0KvhDDcmzCpTv8zoj5fV IRZrrIBwUSIBDYddJ4F9IWvZYQaCbJMatd0HGhG5q4JVlaTvcyjJPLO7BhmcuXG4 1ZwubKEgBUiRhpCKOCNKJ+JjjvkZSU2ebxWa/VA4JKOiH45Ir57GXlD9olMmuJW0 xknM7qRu4e/qUZzSiIQMHXdj7cdC5zHFG2HSnCNqwaNRTE4fAFJ5D3uUEHy+QwMK c+SDWqVfBBzrVc6ftKyF =W2vh -----END PGP SIGNATURE----- --V2AZ19bMCakBLong--