aboutsummaryrefslogtreecommitdiff
path: root/source/test_a_f16_z_ui32_x.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_a_f16_z_ui32_x.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_a_f16_z_ui32_x.c')
-rw-r--r--source/test_a_f16_z_ui32_x.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/test_a_f16_z_ui32_x.c b/source/test_a_f16_z_ui32_x.c
index 392c3bd..1a8e3dc 100644
--- a/source/test_a_f16_z_ui32_x.c
+++ b/source/test_a_f16_z_ui32_x.c
@@ -68,9 +68,9 @@ void
count = 10000;
while ( ! genCases_done || testLoops_forever ) {
genCases_f16_a_next();
- *testLoops_trueFlagsPtr = 0;
+ testLoops_trueFlagsFunction();
trueZ = trueFunction( genCases_f16_a, exact );
- trueFlags = *testLoops_trueFlagsPtr;
+ trueFlags = testLoops_trueFlagsFunction();
testLoops_subjFlagsFunction();
subjZ = subjFunction( genCases_f16_a, exact );
subjFlags = testLoops_subjFlagsFunction();