summaryrefslogtreecommitdiff
path: root/tests/fp/fp-test.c
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2019-02-06 14:31:40 +0000
committerAlex Bennée <alex.bennee@linaro.org>2019-02-26 14:05:19 +0000
commit80d491fea342e0604727e68dd01b3308b82c077b (patch)
treee7152e4d6a2484ebd76e4040e990890e6baf4e03 /tests/fp/fp-test.c
parente45de9922e43c1ce4f4739b62142314a13029d5c (diff)
tests/fp: add wrapping for f128_to_ui32
Needed to test: softfloat: Implement float128_to_uint32 Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'tests/fp/fp-test.c')
-rw-r--r--tests/fp/fp-test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/fp/fp-test.c b/tests/fp/fp-test.c
index 2a35ef601d..4114f346a9 100644
--- a/tests/fp/fp-test.c
+++ b/tests/fp/fp-test.c
@@ -622,7 +622,8 @@ static void do_testfloat(int op, int rmode, bool exact)
test_ab_extF80_z_bool(true_ab_extF80M_z_bool, subj_ab_extF80M_z_bool);
break;
case F128_TO_UI32:
- not_implemented();
+ test_a_f128_z_ui32_rx(slow_f128M_to_ui32, qemu_f128M_to_ui32, rmode,
+ exact);
break;
case F128_TO_UI64:
test_a_f128_z_ui64_rx(slow_f128M_to_ui64, qemu_f128M_to_ui64, rmode,