target/ppc: Add helper for fmuls
commit7f87214e3b9f0d562d75f9c7315bfa53b00d29a6
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 17 Dec 2021 16:57:16 +0000 (17 17:57 +0100)
committerCédric Le Goater <clg@kaod.org>
Fri, 17 Dec 2021 16:57:16 +0000 (17 17:57 +0100)
tree77c8633576fbd602228d5ac425ba4d91e8935fe5
parentd9e792a1c17020ea87f281b83d4d79a1fda3856f
target/ppc: Add helper for fmuls

Use float64r32_mul.  Fixes a double-rounding issue with performing
the compuation in float64 and then rounding afterward.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20211119160502.17432-32-richard.henderson@linaro.org>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
target/ppc/fpu_helper.c
target/ppc/helper.h
target/ppc/translate/fp-impl.c.inc