Re: [Qemu-devel] [PATCH 12/32] ppc: FP exceptions are always precise

2016-07-26 Thread Benjamin Herrenschmidt
On Wed, 2016-07-27 at 12:00 +1000, David Gibson wrote: > On Wed, Jul 27, 2016 at 08:21:06AM +1000, Benjamin Herrenschmidt > wrote: > > > > We don't implement imprecise FP exceptions and using store_current > > which sets SRR1 to the *previous* instruction never makes sense > > for these. So let's

Re: [Qemu-devel] [PATCH 12/32] ppc: FP exceptions are always precise

2016-07-26 Thread David Gibson
On Wed, Jul 27, 2016 at 08:21:06AM +1000, Benjamin Herrenschmidt wrote: > We don't implement imprecise FP exceptions and using store_current > which sets SRR1 to the *previous* instruction never makes sense > for these. So let's be truthful and make them precise, which is > allowed by the architect

[Qemu-devel] [PATCH 12/32] ppc: FP exceptions are always precise

2016-07-26 Thread Benjamin Herrenschmidt
We don't implement imprecise FP exceptions and using store_current which sets SRR1 to the *previous* instruction never makes sense for these. So let's be truthful and make them precise, which is allowed by the architecture. Signed-off-by: Benjamin Herrenschmidt --- target-ppc/excp_helper.c | 11