diff options
author | Emilio G. Cota <cota@braap.org> | 2018-09-08 16:59:37 -0400 |
---|---|---|
committer | Emilio G. Cota <cota@braap.org> | 2018-09-08 16:59:44 -0400 |
commit | ca9fa2ba05625ba929958f163b01747e07dd39cc (patch) | |
tree | 314b3f11308378d73f0d16debb295fe48ba53502 /source/test_a_f32_z_i64_x.c | |
parent | 06b20075dd3c1a5d0dd007a93643282832221612 (diff) | |
download | berkeley-testfloat-3-ca9fa2ba05625ba929958f163b01747e07dd39cc.zip berkeley-testfloat-3-ca9fa2ba05625ba929958f163b01747e07dd39cc.tar.gz berkeley-testfloat-3-ca9fa2ba05625ba929958f163b01747e07dd39cc.tar.bz2 |
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 <cota@braap.org>
Diffstat (limited to 'source/test_a_f32_z_i64_x.c')
-rw-r--r-- | source/test_a_f32_z_i64_x.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/test_a_f32_z_i64_x.c b/source/test_a_f32_z_i64_x.c index a8dc17a..318535c 100644 --- a/source/test_a_f32_z_i64_x.c +++ b/source/test_a_f32_z_i64_x.c @@ -66,9 +66,9 @@ void count = 10000; while ( ! genCases_done || testLoops_forever ) { genCases_f32_a_next(); - *testLoops_trueFlagsPtr = 0; + testLoops_trueFlagsFunction(); trueZ = trueFunction( genCases_f32_a, exact ); - trueFlags = *testLoops_trueFlagsPtr; + trueFlags = testLoops_trueFlagsFunction(); testLoops_subjFlagsFunction(); subjZ = subjFunction( genCases_f32_a, exact ); subjFlags = testLoops_subjFlagsFunction(); |