Enable Intel ENCLV support.
authorOlga Makhotina <olga.makhotina@intel.com>
Thu, 15 Mar 2018 15:46:38 +0000 (15:46 +0000)
committerIgor Tsimbalist <itsimbal@gcc.gnu.org>
Thu, 15 Mar 2018 15:46:38 +0000 (16:46 +0100)
commite7297be9c04d1d44b72a6db2609e99b08fd63ac7
treeb1710e1a52c625923a8222161cb029e9e44e470e
parente333a522bb5f686c9536fd95af8da33fce333d43
Enable Intel ENCLV support.

2018-03-15  Olga Makhotina  <olga.makhotina@intel.com>

gcc/
        * config/i386/sgxintrin.h (_enclv_u32): New intrinsic.
        (__enclv_bc, __enclv_cd, __enclv_generic): New definitions.
        (ERDINFO, ETRACKC, ELDBC, ELDUC): New leaves.

gcc/testsuite/
        * gcc.target/i386/sgx.c (_enclv_u32): Test new intrinsic.

From-SVN: r258560
gcc/ChangeLog
gcc/config/i386/sgxintrin.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/sgx.c