https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81590
--- Comment #5 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> --- Author: hjl Date: Fri Aug 4 17:48:57 2017 New Revision: 250875 URL: https://gcc.gnu.org/viewcvs?rev=250875&root=gcc&view=rev Log: i386: Rewrite check for AVX512 features Add a new file, avx512-check.h, to check all AVX512 features. The test is skipped if any requested AVX512 features are unavailable. PR target/81590 * gcc.target/i386/avx512-check.h: New file. * gcc.target/i386/avx5124fmaps-check.h: Removed. * gcc.target/i386/avx5124vnniw-check.h: Likewise. * gcc.target/i386/avx512cd-check.h: Likewise. * gcc.target/i386/avx512ifma-check.h: Likewise. * gcc.target/i386/avx512vbmi-check.h: Likewise. * gcc.target/i386/avx512vpopcntdq-check.h: Likewise. * gcc.target/i386/avx512bw-check.h: Rewrite. * gcc.target/i386/avx512dq-check.h: Likewise. * gcc.target/i386/avx512er-check.h: Likewise. * gcc.target/i386/avx512f-check.h: Likewise. * gcc.target/i386/avx512vl-check.h: Likewise. * gcc.target/i386/avx512f-helper.h: Include "avx512-check.h" only. (test_512): Removed. (avx512*_test): Likewise. * gcc.target/i386/avx512f-pr71559.c (TEST): Undef. Added: trunk/gcc/testsuite/gcc.target/i386/avx512-check.h Removed: trunk/gcc/testsuite/gcc.target/i386/avx5124fmaps-check.h trunk/gcc/testsuite/gcc.target/i386/avx5124vnniw-check.h trunk/gcc/testsuite/gcc.target/i386/avx512cd-check.h trunk/gcc/testsuite/gcc.target/i386/avx512ifma-check.h trunk/gcc/testsuite/gcc.target/i386/avx512vbmi-check.h trunk/gcc/testsuite/gcc.target/i386/avx512vpopcntdq-check.h Modified: trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.target/i386/avx512bw-check.h trunk/gcc/testsuite/gcc.target/i386/avx512dq-check.h trunk/gcc/testsuite/gcc.target/i386/avx512er-check.h trunk/gcc/testsuite/gcc.target/i386/avx512f-check.h trunk/gcc/testsuite/gcc.target/i386/avx512f-helper.h trunk/gcc/testsuite/gcc.target/i386/avx512f-pr71559.c trunk/gcc/testsuite/gcc.target/i386/avx512vl-check.h