]> git.proxmox.com Git - mirror_qemu.git/commit
hardfloat: implement float32/64 division
authorEmilio G. Cota <cota@braap.org>
Sat, 17 Mar 2018 04:45:01 +0000 (00:45 -0400)
committerAlex Bennée <alex.bennee@linaro.org>
Mon, 17 Dec 2018 08:25:25 +0000 (08:25 +0000)
commit4a6295613f533a6841de5968c50e1ca36748807e
treef2ba39d2a76e5a48dc3eeca9387b0642e753b3c6
parent2dfabc86e656e835c67954c60e143ecd33e15817
hardfloat: implement float32/64 division

Performance results for fp-bench:

1. Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
- before:
div-single: 34.84 MFlops
div-double: 34.04 MFlops
- after:
div-single: 275.23 MFlops
div-double: 216.38 MFlops

2. ARM Aarch64 A57 @ 2.4GHz
- before:
div-single: 9.33 MFlops
div-double: 9.30 MFlops
- after:
div-single: 51.55 MFlops
div-double: 15.09 MFlops

3. IBM POWER8E @ 2.1 GHz
- before:
div-single: 25.65 MFlops
div-double: 24.91 MFlops
- after:
div-single: 96.83 MFlops
div-double: 31.01 MFlops

Here setting 2FP64_USE_FP to 1 pays off for x86_64:
[1] 215.97 vs [0] 62.15 MFlops

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Emilio G. Cota <cota@braap.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
fpu/softfloat.c