search for: test_suite_fast_math

Displaying 1 result from an estimated 1 matches for "test_suite_fast_math".

2016 Oct 12
2
Matthias` suggestion for "test-suite" tests that are broken at "-Ofast" and are difficult to "repair"
...applications do not work properly with -ffast-math and I think we > have to accept that fact. I think it is valid to skip those tests in the test-suite when a fast math > flag combination is used (after making sure there is no easy way to make the test more robust). > I would add a "TEST_SUITE_FAST_MATH" variable in the cmake build (possibly scanning CFLAGS for -ffast-math/-Ofast > to determine the default value) and then adding if(NOT TEST_SUITE_FAST_MATH) ... endif() around the benchmark. I accept Matthias` proposal, and I propose that the above be used for wherever "really fix...