]> git.ipfire.org Git - thirdparty/qemu.git/commit
softfloat: enforce softfloat if the host's FMA is broken
authorEmilio G. Cota <cota@braap.org>
Tue, 25 Dec 2018 07:03:05 +0000 (02:03 -0500)
committerAlex Bennée <alex.bennee@linaro.org>
Tue, 22 Jan 2019 20:48:17 +0000 (20:48 +0000)
commitf6b3b108a808fe07f8a45f82bc88196f668cf627
treec25d3a0c91ff44f25e6aa89313fb0da8c58da3f9
parentb343eb462bcf825d60a29269054d54aff95b1722
softfloat: enforce softfloat if the host's FMA is broken

The added branch to the FMA ops is marked as unlikely and therefore
its impact on performance (measured with fp-bench) is within noise range
when measured on an Intel(R) Xeon(R) Gold 6142 CPU @ 2.60GHz.

Reported-by: Laurent Desnogues <laurent.desnogues@gmail.com>
Signed-off-by: Emilio G. Cota <cota@braap.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
fpu/softfloat.c