This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH][x86]Fix for false-positives results of runtime tests on machines not supporting AVX512F


Hi,

The attached patch fixes the issue of tests' false-positive results generation on machines not supporting AVX512F feature. Currently when any runtime test intended for AVX512F feature will be run on non-AVX512F machine the best it can produce to inform of such a case is print SKIPPED, if debug is enabled. But in any case the return value is 0, which is exactly the same as if the test passed what might be misleading when looking at gcc.sum summary values. With this patch such tests can be properly recognized during make check as unexpected failures.

gcc/testsuite/
	* gcc.target/i386/avx512f-check.h: Return value modified for skipped test.



Please let me know if such fix can be accepted.

Thanks,
Sebastian

Attachment: AVX512F_TESTS_VERIFICATION_PATCH.patch
Description: AVX512F_TESTS_VERIFICATION_PATCH.patch


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]