[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 13/29] tests/fp/fp-test: Reverse order of floatx80 precision tests
From: |
Richard Henderson |
Subject: |
[PULL 13/29] tests/fp/fp-test: Reverse order of floatx80 precision tests |
Date: |
Thu, 3 Jun 2021 14:41:15 -0700 |
Many qemu softfloat will check floatx80_rounding_precision
even when berkeley testfloat will not. So begin with
floatx80_precision_x, so that's the one we use
when !FUNC_EFF_ROUNDINGPRECISION.
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
tests/fp/fp-test.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/fp/fp-test.c b/tests/fp/fp-test.c
index 1be3a9788a..352dd71c44 100644
--- a/tests/fp/fp-test.c
+++ b/tests/fp/fp-test.c
@@ -963,16 +963,16 @@ static void QEMU_NORETURN run_test(void)
verCases_usesExact = !!(attrs & FUNC_ARG_EXACT);
for (k = 0; k < 3; k++) {
- FloatX80RoundPrec qsf_prec80 = floatx80_precision_s;
- int prec80 = 32;
+ FloatX80RoundPrec qsf_prec80 = floatx80_precision_x;
+ int prec80 = 80;
int l;
if (k == 1) {
prec80 = 64;
qsf_prec80 = floatx80_precision_d;
} else if (k == 2) {
- prec80 = 80;
- qsf_prec80 = floatx80_precision_x;
+ prec80 = 32;
+ qsf_prec80 = floatx80_precision_s;
}
verCases_roundingPrecision = 0;
--
2.25.1
- [PULL 02/29] softfloat: Move int_to_float to softfloat-parts.c.inc, (continued)
- [PULL 02/29] softfloat: Move int_to_float to softfloat-parts.c.inc, Richard Henderson, 2021/06/03
- [PULL 04/29] softfloat: Move minmax_flags to softfloat-parts.c.inc, Richard Henderson, 2021/06/03
- [PULL 05/29] softfloat: Implement float128_(min|minnum|minnummag|max|maxnum|maxnummag), Richard Henderson, 2021/06/03
- [PULL 03/29] softfloat: Move uint_to_float to softfloat-parts.c.inc, Richard Henderson, 2021/06/03
- [PULL 06/29] softfloat: Move compare_floats to softfloat-parts.c.inc, Richard Henderson, 2021/06/03
- [PULL 07/29] softfloat: Move scalbn_decomposed to softfloat-parts.c.inc, Richard Henderson, 2021/06/03
- [PULL 09/29] softfloat: Split out parts_uncanon_normal, Richard Henderson, 2021/06/03
- [PULL 08/29] softfloat: Move sqrt_float to softfloat-parts.c.inc, Richard Henderson, 2021/06/03
- [PULL 12/29] softfloat: Adjust parts_uncanon_normal for floatx80, Richard Henderson, 2021/06/03
- [PULL 11/29] softfloat: Introduce Floatx80RoundPrec, Richard Henderson, 2021/06/03
- [PULL 13/29] tests/fp/fp-test: Reverse order of floatx80 precision tests,
Richard Henderson <=
- [PULL 10/29] softfloat: Reduce FloatFmt, Richard Henderson, 2021/06/03
- [PULL 14/29] softfloat: Convert floatx80_add/sub to FloatParts, Richard Henderson, 2021/06/03
- [PULL 18/29] softfloat: Convert floatx80_round to FloatParts, Richard Henderson, 2021/06/03
- [PULL 19/29] softfloat: Convert floatx80_round_to_int to FloatParts, Richard Henderson, 2021/06/03
- [PULL 16/29] softfloat: Convert floatx80_div to FloatParts, Richard Henderson, 2021/06/03
- [PULL 22/29] softfloat: Convert floatx80 to integer to FloatParts, Richard Henderson, 2021/06/03
- [PULL 21/29] softfloat: Convert floatx80 float conversions to FloatParts, Richard Henderson, 2021/06/03
- [PULL 17/29] softfloat: Convert floatx80_sqrt to FloatParts, Richard Henderson, 2021/06/03
- [PULL 15/29] softfloat: Convert floatx80_mul to FloatParts, Richard Henderson, 2021/06/03
- [PULL 24/29] softfloat: Convert floatx80 compare to FloatParts, Richard Henderson, 2021/06/03