aboutsummaryrefslogtreecommitdiff
path: root/include/fpu
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2024-12-11 15:30:59 +0000
committerPeter Maydell <peter.maydell@linaro.org>2024-12-11 15:30:59 +0000
commitdc416d6ca74d43f3aa1bd304d241b9a11d86e184 (patch)
tree8c45641f5545dbdd8f9aa21366b2e6e29f57df41 /include/fpu
parentf8023791f21bf46229ce403566ca476b86e06505 (diff)
downloadqemu-dc416d6ca74d43f3aa1bd304d241b9a11d86e184.zip
qemu-dc416d6ca74d43f3aa1bd304d241b9a11d86e184.tar.gz
qemu-dc416d6ca74d43f3aa1bd304d241b9a11d86e184.tar.bz2
fpu: Remove use_first_nan field from float_status
The use_first_nan field in float_status was an xtensa-specific way to select at runtime from two different NaN propagation rules. Now that xtensa is using the target-agnostic NaN propagation rule selection that we've just added, we can remove use_first_nan, because there is no longer any code that reads it. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20241202131347.498124-27-peter.maydell@linaro.org
Diffstat (limited to 'include/fpu')
-rw-r--r--include/fpu/softfloat-helpers.h5
-rw-r--r--include/fpu/softfloat-types.h1
2 files changed, 0 insertions, 6 deletions
diff --git a/include/fpu/softfloat-helpers.h b/include/fpu/softfloat-helpers.h
index cf06b4e..10a6763 100644
--- a/include/fpu/softfloat-helpers.h
+++ b/include/fpu/softfloat-helpers.h
@@ -113,11 +113,6 @@ static inline void set_snan_bit_is_one(bool val, float_status *status)
status->snan_bit_is_one = val;
}
-static inline void set_use_first_nan(bool val, float_status *status)
-{
- status->use_first_nan = val;
-}
-
static inline void set_no_signaling_nans(bool val, float_status *status)
{
status->no_signaling_nans = val;
diff --git a/include/fpu/softfloat-types.h b/include/fpu/softfloat-types.h
index d9f0797..84ba4ed 100644
--- a/include/fpu/softfloat-types.h
+++ b/include/fpu/softfloat-types.h
@@ -309,7 +309,6 @@ typedef struct float_status {
* softfloat-specialize.inc.c)
*/
bool snan_bit_is_one;
- bool use_first_nan;
bool no_signaling_nans;
/* should overflowed results subtract re_bias to its exponent? */
bool rebias_overflow;