diff options
author | Julia Koval <julia.koval@intel.com> | 2017-01-11 22:41:13 +0100 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2017-01-11 22:41:13 +0100 |
commit | 73e32c4743fbd0d2c16ea2fb9212540707f3c01a (patch) | |
tree | 6e7af7c398ddeaf7f3020e2a3e115d1141000752 /gcc/tree.c | |
parent | fa8438f71ce56891ea29eedb3a330c4359d18e9c (diff) | |
download | gcc-73e32c4743fbd0d2c16ea2fb9212540707f3c01a.zip gcc-73e32c4743fbd0d2c16ea2fb9212540707f3c01a.tar.gz gcc-73e32c4743fbd0d2c16ea2fb9212540707f3c01a.tar.bz2 |
i386-common.c (OPTION_MASK_ISA_SGX_UNSET): New.
* common/config/i386/i386-common.c (OPTION_MASK_ISA_SGX_UNSET): New.
(OPTION_MASK_ISA_SGX_SET): New.
(ix86_handle_option): Handle OPT_msgx.
* config.gcc: Added sgxintrin.h.
* config/i386/driver-i386.c (host_detect_local_cpu): Detect sgx.
* config/i386/i386-c.c (ix86_target_macros_internal): Define __SGX__.
* config/i386/i386.c (ix86_target_string): Add -msgx.
(PTA_SGX): New.
(ix86_option_override_internal): Handle new options.
(ix86_valid_target_attribute_inner_p): Add sgx.
* config/i386/i386.h (TARGET_SGX, TARGET_SGX_P): New.
* config/i386/i386.opt: Add msgx.
* config/i386/sgxintrin.h: New file.
* config/i386/x86intrin.h: Add sgxintrin.h.
testsuite/ChangeLog:
* gcc.target/i386/sgx.c New test.
* gcc.target/i386/sse-12.c: Add -msgx.
* gcc.target/i386/sse-13.c: Ditto.
* gcc.target/i386/sse-14.c: Ditto.
* gcc.target/i386/sse-22.c: Ditto.
* gcc.target/i386/sse-23.c: Ditto.
* g++.dg/other/i386-2.C: Ditto.
* g++.dg/other/i386-3.C: Ditto.
Co-Authored-By: Uros Bizjak <ubizjak@gmail.com>
From-SVN: r244339
Diffstat (limited to 'gcc/tree.c')
0 files changed, 0 insertions, 0 deletions