target/ppc: Use non-arithmetic conversions for fp load/store
commit86c0cab11aabb0c2a5cc76825bc05dfe2b367412
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 3 Jul 2018 15:17:32 +0000 (3 08:17 -0700)
committerDavid Gibson <david@gibson.dropbear.id.au>
Tue, 21 Aug 2018 04:28:45 +0000 (21 14:28 +1000)
tree1fe2360935f9e11444955668aa3242d124cebd01
parent384347175588912a75e3b9d14d868fd3d646c9db
target/ppc: Use non-arithmetic conversions for fp load/store

Memory operations have no side effects on fp state.
The use of a "real" conversions between float64 and float32
would raise exceptions for SNaN and out-of-range inputs.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target/ppc/fpu_helper.c
target/ppc/helper.h
target/ppc/translate/fp-impl.inc.c