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