1//===-- X86InstrSGX.td - SGX Instruction Set Extension -----*- tablegen -*-===// 2// 3// The LLVM Compiler Infrastructure 4// 5// This file is distributed under the University of Illinois Open Source 6// License. See LICENSE.TXT for details. 7// 8//===----------------------------------------------------------------------===// 9// 10// This file describes the instructions that make up the Intel SGX instruction 11// set. 12// 13//===----------------------------------------------------------------------===// 14 15//===----------------------------------------------------------------------===// 16// SGX instructions 17 18// ENCLS - Execute an Enclave System Function of Specified Leaf Number 19def ENCLS : I<0x01, MRM_CF, (outs), (ins), 20 "encls", []>, TB; 21 22// ENCLU - Execute an Enclave User Function of Specified Leaf Number 23def ENCLU : I<0x01, MRM_D7, (outs), (ins), 24 "enclu", []>, TB; 25