From ca9fa2ba05625ba929958f163b01747e07dd39cc Mon Sep 17 00:00:00 2001 From: "Emilio G. Cota" Date: Sat, 8 Sep 2018 16:59:37 -0400 Subject: testLoops: add testLoops_trueFlagsFunction Instead of using *trueFlagsPtr. This will allow us to test code paths that depend on certain flags already being set. Signed-off-by: Emilio G. Cota --- source/test_a_f32_z_ui32_rx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/test_a_f32_z_ui32_rx.c') diff --git a/source/test_a_f32_z_ui32_rx.c b/source/test_a_f32_z_ui32_rx.c index 62f865c..1b295b7 100644 --- a/source/test_a_f32_z_ui32_rx.c +++ b/source/test_a_f32_z_ui32_rx.c @@ -67,9 +67,9 @@ void count = 10000; while ( ! genCases_done || testLoops_forever ) { genCases_f32_a_next(); - *testLoops_trueFlagsPtr = 0; + testLoops_trueFlagsFunction(); trueZ = trueFunction( genCases_f32_a, roundingMode, exact ); - trueFlags = *testLoops_trueFlagsPtr; + trueFlags = testLoops_trueFlagsFunction(); testLoops_subjFlagsFunction(); subjZ = subjFunction( genCases_f32_a, roundingMode, exact ); subjFlags = testLoops_subjFlagsFunction(); -- cgit v1.1