Enable VAES support [1/5]
authorJulia Koval <julia.koval@intel.com>
Tue, 12 Dec 2017 05:17:03 +0000 (06:17 +0100)
committerKirill Yukhin <kyukhin@gcc.gnu.org>
Tue, 12 Dec 2017 05:17:03 +0000 (05:17 +0000)
commitb7b0a4fa6026762073b117a8e6b664f2ec7dd9c7
treee1f1e816e3345a68f4a878947e920cb6f997107e
parent102d484d482d055c2e9d0a6c383ca6437f45fe97
Enable VAES support [1/5]

gcc/
* common/config/i386/i386-common.c (OPTION_MASK_ISA_VAES_SET,
OPTION_MASK_ISA_VAES_UNSET): New.
(ix86_handle_option): Handle -mvaes.
* config/i386/cpuid.h: Define bit_VAES.
* config/i386/driver-i386.c (host_detect_local_cpu): Detect -mvaes.
* config/i386/i386-c.c (__VAES__): New.
* config/i386/i386.c (ix86_target_string): Add -mvaes.
(ix86_valid_target_attribute_inner_p): Ditto.
* config/i386/i386.h (TARGET_VAES, TARGET_VAES_P): New.
* config/i386/i386.opt: Add -mvaes.
* doc/invoke.texi: Ditto.

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