summaryrefslogtreecommitdiff
path: root/test/MC/X86/x86_64-rtm-encoding.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/X86/x86_64-rtm-encoding.s')
-rw-r--r--test/MC/X86/x86_64-rtm-encoding.s13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/MC/X86/x86_64-rtm-encoding.s b/test/MC/X86/x86_64-rtm-encoding.s
new file mode 100644
index 0000000000..44d6bacb7f
--- /dev/null
+++ b/test/MC/X86/x86_64-rtm-encoding.s
@@ -0,0 +1,13 @@
+// RUN: llvm-mc -triple x86_64-unknown-unknown --show-encoding %s | FileCheck %s
+
+// CHECK: xbegin .L0
+// CHECK: encoding: [0xc7,0xf8,A,A,A,A]
+ xbegin .L0
+
+// CHECK: xend
+// CHECK: encoding: [0x0f,0x01,0xd5]
+ xend
+
+// CHECK: xabort
+// CHECK: encoding: [0xc6,0xf8,0x0d]
+ xabort $13