llvm-6502/test/MC/X86/x86_64-rtm-encoding.s
Michael Liao be02a90de1 Add support of RTM from TSX extension
- Add RTM code generation support throught 3 X86 intrinsics:
  xbegin()/xend() to start/end a transaction region, and xabort() to abort a
  tranaction region



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167573 91177308-0d34-0410-b5e6-96231b3b80d8
2012-11-08 07:28:54 +00:00

14 lines
281 B
ArmAsm

// 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