Enable VBMI2 support [1/7]
authorJulia Koval <julia.koval@intel.com>
Thu, 16 Nov 2017 06:07:00 +0000 (07:07 +0100)
committerKirill Yukhin <kyukhin@gcc.gnu.org>
Thu, 16 Nov 2017 06:07:00 +0000 (06:07 +0000)
commitfca51879ff3939a44588bd24e5e21af96feb01d6
tree9bc3831b14d730a7cbb738efd282a7a709105c8f
parente0c31a15faa00230fdd91b7fce179a8a92119b12
Enable VBMI2 support [1/7]

gcc/
* common/config/i386/i386-common.c (OPTION_MASK_ISA_AVX512VBMI2_SET,
OPTION_MASK_ISA_AVX512VBMI2_UNSET): New.
(ix86_handle_option): Handle -mavx512vbmi2.
* config/i386/cpuid.h: Add bit_AVX512VBMI2.
* config/i386/driver-i386.c (host_detect_local_cpu): Handle new bit.
* config/i386/i386-c.c (__AVX512VBMI2__): New.
* config/i386/i386.c (ix86_target_string): Handle -mavx512vbmi2.
(ix86_valid_target_attribute_inner_p): Ditto.
* config/i386/i386.h (TARGET_AVX512VBMI2, TARGET_AVX512VBMI2_P): New.
* config/i386/i386.opt (mavx512vbmi2): New option.
* doc/invoke.texi: Add new option.

From-SVN: r254796
gcc/ChangeLog
gcc/common/config/i386/i386-common.c
gcc/config/i386/cpuid.h
gcc/config/i386/driver-i386.c
gcc/config/i386/i386-c.c
gcc/config/i386/i386.c
gcc/config/i386/i386.h
gcc/config/i386/i386.opt
gcc/doc/invoke.texi