On Fri, Jul 29, 2016 at 08:04:04AM -0500, alar...@ddci.com wrote:
> David Gibson <da...@gibson.dropbear.id.au> wrote on 07/29/2016 12:40:15 
> AM:
> 
> > From: David Gibson <da...@gibson.dropbear.id.au>
> > To: alar...@ddci.com
> > Cc: qemu-devel@nongnu.org, qemu-...@nongnu.org, ag...@suse.de
> > Date: 07/29/2016 12:38 AM
> > Subject: Re: target-ppc: SPR_BOOKE_ESR not set on FP exceptions
> > 
> > On Thu, Jul 28, 2016 at 06:32:27PM -0500, alar...@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,
> > 
> > Um.. what?  I'm not understanding where this bit shift is coming
> > from. 
> 
> Sorry, I was looking at an old "classic" 32-bit manual for the SRR1 
> 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?

-- 
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

Attachment: signature.asc
Description: PGP signature

Reply via email to