target/ppc: Tidy helper_fmul
commit79f916331da907b44e5da2c97f57823bcf8db3fb
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 3 Jul 2018 15:17:28 +0000 (3 08:17 -0700)
committerDavid Gibson <david@gibson.dropbear.id.au>
Tue, 21 Aug 2018 04:28:45 +0000 (21 14:28 +1000)
treea11fafc7a7549bb8afe3a5149d914e04eed2b659
parentae13018d79fb4db7c6a648617bfa0d5976f6e47d
target/ppc: Tidy helper_fmul

Tidy the invalid exception checking so that we rely on softfloat for
initial argument validation, and select the kind of invalid operand
exception only when we know we must.  Pass and return float64 values
directly rather than bounce through the CPU_DoubleU union.

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