aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/X86/sgx-encoding.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/X86/sgx-encoding.s')
-rw-r--r--test/MC/X86/sgx-encoding.s9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/MC/X86/sgx-encoding.s b/test/MC/X86/sgx-encoding.s
new file mode 100644
index 0000000..e6ae8c9
--- /dev/null
+++ b/test/MC/X86/sgx-encoding.s
@@ -0,0 +1,9 @@
+// RUN: llvm-mc -triple x86_64-unknown-unknown --show-encoding %s | FileCheck %s
+
+// CHECK: encls
+// CHECK: encoding: [0x0f,0x01,0xcf]
+ encls
+
+// CHECK: enclu
+// CHECK: encoding: [0x0f,0x01,0xd7]
+ enclu