The patch replaces all FP comparisons with inequalities and epsilons in those tests for libgomp.
2015-07-14 20:37 GMT+03:00 Maxim Blumental <bvm...@gmail.com>: > Sorry, a little misunderstanding between me and Ilya ) I'll send the > new patch now. > > 2015-07-14 20:29 GMT+03:00 Jakub Jelinek <ja...@redhat.com>: >> On Tue, Jul 14, 2015 at 08:26:49PM +0300, Maxim Blumental wrote: >>> I replaced all FP comparisons in my tests with inequalities and >>> epsilons. Ilya commited the patch. >> >> Even in latest trunk I see >> if (pri != 8237.25) >> and >> if (pri .ne. 8237.25) call abort () >> >> Jakub > > > > -- > > > --------------------- > Sincerely yours, > Maxim Blumental -- --------------------- Sincerely yours, Maxim Blumental
2015-07-14 Maxim Blumenthal <maxim.blument...@intel.com> * testsuite/libgomp.c/examples-4/simd-3.c: (main): Change type of res and ref from int to double. Replaced their comparison with an inequality of their difference and EPS. * testsuite/libgomp.c/examples-4/simd-8.c: (main): Replace the comparison of pri and a reference number with an inequality of their difference and EPS. * testsuite/libgomp.fortran/examples-4/simd-3.f90: (main): Replaced the comparison of sum and sum_ref with an inequality of their difference and EPS. * testsuite/libgomp.fortran/examples-4/simd-8.f90: (main): Replace the comparison of pri and a reference number with an inequality of their difference and EPS.
fp_compar.patch
Description: Binary data