mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-31 14:02:05 -06:00
tests/fp/fp-test: Reverse order of floatx80 precision tests
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>
This commit is contained in:
parent
98b3cff753
commit
7ccae4ce7e
1 changed files with 4 additions and 4 deletions
|
@ -963,16 +963,16 @@ static void QEMU_NORETURN run_test(void)
|
||||||
verCases_usesExact = !!(attrs & FUNC_ARG_EXACT);
|
verCases_usesExact = !!(attrs & FUNC_ARG_EXACT);
|
||||||
|
|
||||||
for (k = 0; k < 3; k++) {
|
for (k = 0; k < 3; k++) {
|
||||||
FloatX80RoundPrec qsf_prec80 = floatx80_precision_s;
|
FloatX80RoundPrec qsf_prec80 = floatx80_precision_x;
|
||||||
int prec80 = 32;
|
int prec80 = 80;
|
||||||
int l;
|
int l;
|
||||||
|
|
||||||
if (k == 1) {
|
if (k == 1) {
|
||||||
prec80 = 64;
|
prec80 = 64;
|
||||||
qsf_prec80 = floatx80_precision_d;
|
qsf_prec80 = floatx80_precision_d;
|
||||||
} else if (k == 2) {
|
} else if (k == 2) {
|
||||||
prec80 = 80;
|
prec80 = 32;
|
||||||
qsf_prec80 = floatx80_precision_x;
|
qsf_prec80 = floatx80_precision_s;
|
||||||
}
|
}
|
||||||
|
|
||||||
verCases_roundingPrecision = 0;
|
verCases_roundingPrecision = 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue