1 //===-- X86InstrSGX.td - SGX Instruction Set Extension -----*- tablegen -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file describes the instructions that make up the Intel SGX instruction
13 //===----------------------------------------------------------------------===//
15 //===----------------------------------------------------------------------===//
18 let SchedRW = [WriteSystem], Predicates = [HasSGX] in {
19 // ENCLS - Execute an Enclave System Function of Specified Leaf Number
20 def ENCLS : I<0x01, MRM_CF, (outs), (ins),
23 // ENCLU - Execute an Enclave User Function of Specified Leaf Number
24 def ENCLU : I<0x01, MRM_D7, (outs), (ins),
27 // ENCLV - Execute an Enclave VMM Function of Specified Leaf Number
28 def ENCLV : I<0x01, MRM_C0, (outs), (ins),