i386: Also disable AVX512IFMA/AVX5124FMAPS/AVX5124VNNIW
authorH.J. Lu <hongjiu.lu@intel.com>
Sun, 14 Oct 2018 20:30:02 +0000 (20:30 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Sun, 14 Oct 2018 20:30:02 +0000 (13:30 -0700)
commit190667ae2509700bc2ddda4be0934249bdd30e9c
tree9e4b64c8a0a7b423d9d2b8e0c0b005881e78b5b5
parentfc7367ea773c31e18d7f1ec2bc17d3f5a7145640
i386: Also disable AVX512IFMA/AVX5124FMAPS/AVX5124VNNIW

Also disable AVX512IFMA, AVX5124FMAPS and AVX5124VNNIW when disabling
AVX512F.

gcc/

PR target/87572
* common/config/i386/i386-common.c (OPTION_MASK_ISA_AVX512F_UNSET):
Add OPTION_MASK_ISA_AVX512IFMA_UNSET,
OPTION_MASK_ISA_AVX5124FMAPS_UNSET and
OPTION_MASK_ISA_AVX5124VNNIW_UNSET.

gcc/testsuite/

PR target/87572
* gcc.target/i386/pr87572.c: New test.

From-SVN: r265150
gcc/ChangeLog
gcc/common/config/i386/i386-common.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr87572.c [new file with mode: 0644]