mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-29 16:04:33 +00:00
42deb12738
This allows assembling the two new instructions, encls and enclu for the SKX processor model. Note the diffs are a bigger than what might think, but to fit the new MRM_CF and MRM_D7 in things in the right places things had to be renumbered and shuffled down causing a bit more diffs. rdar://16228228 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214460 91177308-0d34-0410-b5e6-96231b3b80d8
25 lines
947 B
TableGen
25 lines
947 B
TableGen
//===-- X86InstrSGX.td - SGX Instruction Set Extension -----*- tablegen -*-===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// This file describes the instructions that make up the Intel SGX instruction
|
|
// set.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
// SGX instructions
|
|
|
|
// ENCLS - Execute an Enclave System Function of Specified Leaf Number
|
|
def ENCLS : I<0x01, MRM_CF, (outs), (ins),
|
|
"encls", []>, TB, Requires<[HasSGX]>;
|
|
|
|
// ENCLU - Execute an Enclave User Function of Specified Leaf Number
|
|
def ENCLU : I<0x01, MRM_D7, (outs), (ins),
|
|
"enclu", []>, TB, Requires<[HasSGX]>;
|