1 # RUN: llvm-mc -triple powerpc64-unknown-linux-gnu --show-encoding %s | FileCheck -check-prefix=CHECK-BE %s
2 # RUN: llvm-mc -triple powerpc64le-unknown-linux-gnu --show-encoding %s | FileCheck -check-prefix=CHECK-LE %s
4 # CHECK-BE: tbegin. 0 # encoding: [0x7c,0x00,0x05,0x1d]
5 # CHECK-LE: tbegin. 0 # encoding: [0x1d,0x05,0x00,0x7c]
7 # CHECK-BE: tbegin. 1 # encoding: [0x7c,0x20,0x05,0x1d]
8 # CHECK-LE: tbegin. 1 # encoding: [0x1d,0x05,0x20,0x7c]
11 # CHECK-BE: tend. 0 # encoding: [0x7c,0x00,0x05,0x5d]
12 # CHECK-LE: tend. 0 # encoding: [0x5d,0x05,0x00,0x7c]
14 # CHECK-BE: tend. 1 # encoding: [0x7e,0x00,0x05,0x5d]
15 # CHECK-LE: tend. 1 # encoding: [0x5d,0x05,0x00,0x7e]
18 # CHECK-BE: tabort. 9 # encoding: [0x7c,0x09,0x07,0x1d]
19 # CHECK-LE: tabort. 9 # encoding: [0x1d,0x07,0x09,0x7c]
21 # CHECK-BE: tabortdc. 0, 9, 9 # encoding: [0x7c,0x09,0x4e,0x5d]
22 # CHECK-LE: tabortdc. 0, 9, 9 # encoding: [0x5d,0x4e,0x09,0x7c]
24 # CHECK-BE: tabortdci. 0, 9, 0 # encoding: [0x7c,0x09,0x06,0xdd]
25 # CHECK-LE: tabortdci. 0, 9, 0 # encoding: [0xdd,0x06,0x09,0x7c]
27 # CHECK-BE: tabortwc. 0, 9, 9 # encoding: [0x7c,0x09,0x4e,0x1d]
28 # CHECK-LE: tabortwc. 0, 9, 9 # encoding: [0x1d,0x4e,0x09,0x7c]
30 # CHECK-BE: tabortwci. 0, 9, 0 # encoding: [0x7c,0x09,0x06,0x9d]
31 # CHECK-LE: tabortwci. 0, 9, 0 # encoding: [0x9d,0x06,0x09,0x7c]
34 # CHECK-BE: tsr. 0 # encoding: [0x7c,0x00,0x05,0xdd]
35 # CHECK-LE: tsr. 0 # encoding: [0xdd,0x05,0x00,0x7c]
37 # CHECK-BE: tsr. 1 # encoding: [0x7c,0x20,0x05,0xdd]
38 # CHECK-LE: tsr. 1 # encoding: [0xdd,0x05,0x20,0x7c]
41 # CHECK-BE: tcheck 0 # encoding: [0x7c,0x00,0x05,0x9c]
42 # CHECK-LE: tcheck 0 # encoding: [0x9c,0x05,0x00,0x7c]
44 # CHECK-BE: tcheck 3 # encoding: [0x7d,0x80,0x05,0x9c]
45 # CHECK-LE: tcheck 3 # encoding: [0x9c,0x05,0x80,0x7d]
48 # CHECK-BE: treclaim. 9 # encoding: [0x7c,0x09,0x07,0x5d]
49 # CHECK-LE: treclaim. 9 # encoding: [0x5d,0x07,0x09,0x7c]
51 # CHECK-BE: trechkpt. # encoding: [0x7c,0x00,0x07,0xdd]
52 # CHECK-LE: trechkpt. # encoding: [0xdd,0x07,0x00,0x7c]