# RUN: llvm-mc --disassemble %s -triple powerpc64-unknown-unknown -mcpu=pwr8 | FileCheck %s

# CHECK: tbegin. 1
0x7c 0x20 0x05 0x1d

# CHECK: tbegin. 0
0x7c 0x00 0x05 0x1d

# CHECK: tend.
0x7c 0x00 0x05 0x5d

# CHECK: tendall.
0x7e 0x00 0x05 0x5d

# CHECK: tabort. 3
0x7c 0x03 0x07 0x1d

# CHECK: tabortdc. 9, 0, 0
0x7d 0x20 0x06 0x5d

# CHECK: tabortdci. 1, 0, 3
0x7c 0x20 0x1e 0xdd

# CHECK: tabortwc. 0, 4, 3
0x7c 0x04 0x1e 0x1d

# CHECK: tabortwci. 0, 4, 2
0x7c 0x04 0x16 0x9d

# CHECK: tresume.
0x7c 0x20 0x05 0xdd

# CHECK: tsuspend.
0x7c 0x00 0x05 0xdd

# CHECK: tcheck 0
0x7c 0x00 0x05 0x9c

# CHECK: treclaim. 3
0x7c 0x03 0x07 0x5d

# CHECK: trechkpt.
0x7c 0x00 0x07 0xdd
