aboutsummaryrefslogtreecommitdiff
path: root/rust/qemu-api
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2025-02-24 11:15:23 +0000
committerPeter Maydell <peter.maydell@linaro.org>2025-02-25 15:32:57 +0000
commitc5d4173fcf04f6de9b9bb0959d1fdfc08254381a (patch)
treefc6a508031632af4cedc59ce60ea5e7319f5f745 /rust/qemu-api
parent3abed4d0eace62910e90c206cb9d5741c6095b12 (diff)
downloadqemu-c5d4173fcf04f6de9b9bb0959d1fdfc08254381a.zip
qemu-c5d4173fcf04f6de9b9bb0959d1fdfc08254381a.tar.gz
qemu-c5d4173fcf04f6de9b9bb0959d1fdfc08254381a.tar.bz2
fpu: Don't compile-time disable hardfloat for PPC targets
We happen to know that for the PPC target the FP status flags (and in particular float_flag_inexact) will always be cleared before a floating point operation, and so can_use_fpu() will always return false. So we speed things up a little by forcing QEMU_NO_HARDFLOAT to true on that target. We would like to build softfloat once for all targets; that means removing target-specific ifdefs. Remove the check for TARGET_PPC; this won't change behaviour because can_use_fpu() will see that float_flag_inexact is clear and take the softfloat path anyway. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20250224111524.1101196-12-peter.maydell@linaro.org Message-id: 20250217125055.160887-10-peter.maydell@linaro.org
Diffstat (limited to 'rust/qemu-api')
0 files changed, 0 insertions, 0 deletions