[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 02/77] tests/tcg: Do not require FE_TOWARDZERO
From: |
Richard Henderson |
Subject: |
[PATCH 02/77] tests/tcg: Do not require FE_TOWARDZERO |
Date: |
Tue, 25 Aug 2020 13:58:35 -0700 |
This is optional in ISO C, and not all cpus provide it.
Cc: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
tests/tcg/multiarch/float_convs.c | 2 ++
tests/tcg/multiarch/float_madds.c | 2 ++
2 files changed, 4 insertions(+)
diff --git a/tests/tcg/multiarch/float_convs.c
b/tests/tcg/multiarch/float_convs.c
index 47e24b8b16..e9be75c2d5 100644
--- a/tests/tcg/multiarch/float_convs.c
+++ b/tests/tcg/multiarch/float_convs.c
@@ -30,7 +30,9 @@ float_mapping round_flags[] = {
#ifdef FE_DOWNWARD
{ FE_DOWNWARD, "downwards" },
#endif
+#ifdef FE_TOWARDZERO
{ FE_TOWARDZERO, "to zero" }
+#endif
};
static void print_input(float input)
diff --git a/tests/tcg/multiarch/float_madds.c
b/tests/tcg/multiarch/float_madds.c
index eceb4ae38b..e422608ccd 100644
--- a/tests/tcg/multiarch/float_madds.c
+++ b/tests/tcg/multiarch/float_madds.c
@@ -29,7 +29,9 @@ float_mapping round_flags[] = {
#ifdef FE_DOWNWARD
{ FE_DOWNWARD, "downwards" },
#endif
+#ifdef FE_TOWARDZERO
{ FE_TOWARDZERO, "to zero" }
+#endif
};
--
2.25.1
- [PATCH 00/77] target/microblaze improvements, Richard Henderson, 2020/08/25
- [PATCH 01/77] tests/tcg: Add microblaze to arches filter, Richard Henderson, 2020/08/25
- [PATCH 02/77] tests/tcg: Do not require FE_TOWARDZERO,
Richard Henderson <=
- [PATCH 03/77] tests/tcg: Do not require FE_* exception bits, Richard Henderson, 2020/08/25
- [PATCH 04/77] target/microblaze: Tidy gdbstub, Richard Henderson, 2020/08/25
- [PATCH 05/77] target/microblaze: Split out PC from env->sregs, Richard Henderson, 2020/08/25
- [PATCH 06/77] target/microblaze: Split out MSR from env->sregs, Richard Henderson, 2020/08/25
- [PATCH 08/77] target/microblaze: Split out ESR from env->sregs, Richard Henderson, 2020/08/25
- [PATCH 07/77] target/microblaze: Split out EAR from env->sregs, Richard Henderson, 2020/08/25
- [PATCH 09/77] target/microblaze: Split out FSR from env->sregs, Richard Henderson, 2020/08/25
- [PATCH 10/77] target/microblaze: Split out BTR from env->sregs, Richard Henderson, 2020/08/25