aboutsummaryrefslogtreecommitdiff
path: root/source/test_az_extF80_rx.c
diff options
context:
space:
mode:
authorEmilio G. Cota <cota@braap.org>2018-09-08 16:59:37 -0400
committerEmilio G. Cota <cota@braap.org>2018-09-08 16:59:44 -0400
commitca9fa2ba05625ba929958f163b01747e07dd39cc (patch)
tree314b3f11308378d73f0d16debb295fe48ba53502 /source/test_az_extF80_rx.c
parent06b20075dd3c1a5d0dd007a93643282832221612 (diff)
downloadberkeley-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_az_extF80_rx.c')
-rw-r--r--source/test_az_extF80_rx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/test_az_extF80_rx.c b/source/test_az_extF80_rx.c
index dd25111..5d8be09 100644
--- a/source/test_az_extF80_rx.c
+++ b/source/test_az_extF80_rx.c
@@ -71,9 +71,9 @@ void
count = 10000;
while ( ! genCases_done || testLoops_forever ) {
genCases_extF80_a_next();
- *testLoops_trueFlagsPtr = 0;
+ testLoops_trueFlagsFunction();
trueFunction( &genCases_extF80_a, roundingMode, exact, &trueZ );
- trueFlags = *testLoops_trueFlagsPtr;
+ trueFlags = testLoops_trueFlagsFunction();
testLoops_subjFlagsFunction();
subjFunction( &genCases_extF80_a, roundingMode, exact, &subjZ );
subjFlags = testLoops_subjFlagsFunction();