diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2025-02-24 11:15:16 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2025-02-25 15:32:57 +0000 |
commit | 9ea6d1f141426a7da91f1c7ba3d693472f0550a4 (patch) | |
tree | be5d717c91a231b8bff7f098c1a6a5569723fdba /rust/qemu-api | |
parent | 165ce008d734bc0024dabdbfd1c41738bc5b834f (diff) | |
download | qemu-9ea6d1f141426a7da91f1c7ba3d693472f0550a4.zip qemu-9ea6d1f141426a7da91f1c7ba3d693472f0550a4.tar.gz qemu-9ea6d1f141426a7da91f1c7ba3d693472f0550a4.tar.bz2 |
fpu: Pass float_status to floatx80_is_infinity()
Unlike the other float formats, whether a floatx80 value is
considered to be an Infinity is target-dependent. (On x86 if the
explicit integer bit is clear this is a "pseudo-infinity" and not a
valid infinity; m68k does not care about the value of the integer
bit.)
Currently we select this target-specific logic at compile time with
an ifdef. We're going to want to do this at runtime, so change the
floatx80_is_infinity() function to take a float_status.
This commit doesn't change any logic; we'll do that in the
next commit.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-id: 20250224111524.1101196-5-peter.maydell@linaro.org
Diffstat (limited to 'rust/qemu-api')
0 files changed, 0 insertions, 0 deletions