Enable VNNI support [1/5]
authorJulia Koval <julia.koval@intel.com>
Tue, 5 Dec 2017 07:11:58 +0000 (08:11 +0100)
committerKirill Yukhin <kyukhin@gcc.gnu.org>
Tue, 5 Dec 2017 07:11:58 +0000 (07:11 +0000)
commit9896696391d7b9ddcc3bd4631d18877f14edd557
tree8a01edbd0d9de34378f07e98c252ddedf323ff97
parentae4bb13f0d8bd4d630a47f04ff5b7e60274a0a9b
Enable VNNI support [1/5]

gcc/
* common/config/i386/i386-common.c (OPTION_MASK_ISA_AVX512VNNI_SET,
OPTION_MASK_ISA_AVX512VNNI_UNSET): New.
(ix86_handle_option): Handle -mavx512vnni.
* config/i386/cpuid.h (bit_AVX512VNNI): New bit.
* config/i386/driver-i386.c (host_detect_local_cpu): Handle new bit.
* config/i386/i386-c (__AVX512VNNI__): New.
* config/i386/i386.c (ix86_target_string): Handle new option.
(ix86_valid_target_attribute_inner_p): Handle new option.
* config/i386/i386.h (TARGET_AVX512VNNI, TARGET_AVX512VNNI_P): New.
* config/i386/i386.opt (mavx512vnni): New option.

From-SVN: r255401
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