ppc: FP exceptions are always precise
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 27 Jul 2016 06:56:29 +0000 (16:56 +1000)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 7 Sep 2016 02:33:47 +0000 (12:33 +1000)
commit1b7d17cae4c31e7cf16abd7036f5a5ca5dee8c57
tree6e5f40b636cef7e3a8fb4bea236b16517f574a09
parentef24726e4847d61ca647e3ae8dc47422ca721259
ppc: FP exceptions are always precise

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 <benh@kernel.crashing.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target-ppc/excp_helper.c