aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/PowerPC/htm.s
blob: f99ff3cd5362aa125edd786179a7de6beaf11e68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# RUN: llvm-mc -triple powerpc64-unknown-linux-gnu --show-encoding %s | FileCheck -check-prefix=CHECK-BE %s
# RUN: llvm-mc -triple powerpc64le-unknown-linux-gnu --show-encoding %s | FileCheck -check-prefix=CHECK-LE %s

# CHECK-BE: tbegin. 0                      # encoding: [0x7c,0x00,0x05,0x1d]
# CHECK-LE: tbegin. 0                      # encoding: [0x1d,0x05,0x00,0x7c]
            tbegin. 0
# CHECK-BE: tbegin. 1                      # encoding: [0x7c,0x20,0x05,0x1d]
# CHECK-LE: tbegin. 1                      # encoding: [0x1d,0x05,0x20,0x7c]
            tbegin. 1

# CHECK-BE: tend. 0                        # encoding: [0x7c,0x00,0x05,0x5d]
# CHECK-LE: tend. 0                        # encoding: [0x5d,0x05,0x00,0x7c]
            tend. 0
# CHECK-BE: tend. 1                        # encoding: [0x7e,0x00,0x05,0x5d]
# CHECK-LE: tend. 1                        # encoding: [0x5d,0x05,0x00,0x7e]
            tend. 1

# CHECK-BE: tabort. 9                      # encoding: [0x7c,0x09,0x07,0x1d]
# CHECK-LE: tabort. 9                      # encoding: [0x1d,0x07,0x09,0x7c]
            tabort. 9
# CHECK-BE: tabortdc. 0, 9, 9              # encoding: [0x7c,0x09,0x4e,0x5d]
# CHECK-LE: tabortdc. 0, 9, 9              # encoding: [0x5d,0x4e,0x09,0x7c]
            tabortdc. 0, 9, 9
# CHECK-BE: tabortdci. 0, 9, 0             # encoding: [0x7c,0x09,0x06,0xdd]
# CHECK-LE: tabortdci. 0, 9, 0             # encoding: [0xdd,0x06,0x09,0x7c]
            tabortdci. 0, 9, 0
# CHECK-BE: tabortwc. 0, 9, 9              # encoding: [0x7c,0x09,0x4e,0x1d]
# CHECK-LE: tabortwc. 0, 9, 9              # encoding: [0x1d,0x4e,0x09,0x7c]
            tabortwc. 0, 9, 9
# CHECK-BE: tabortwci. 0, 9, 0             # encoding: [0x7c,0x09,0x06,0x9d]
# CHECK-LE: tabortwci. 0, 9, 0             # encoding: [0x9d,0x06,0x09,0x7c]
            tabortwci. 0, 9, 0

# CHECK-BE: tsr. 0                         # encoding: [0x7c,0x00,0x05,0xdd]
# CHECK-LE: tsr. 0                         # encoding: [0xdd,0x05,0x00,0x7c]
            tsr. 0
# CHECK-BE: tsr. 1                         # encoding: [0x7c,0x20,0x05,0xdd]
# CHECK-LE: tsr. 1                         # encoding: [0xdd,0x05,0x20,0x7c]
            tsr. 1

# CHECK-BE: tcheck 0                       # encoding: [0x7c,0x00,0x05,0x9c]
# CHECK-LE: tcheck 0                       # encoding: [0x9c,0x05,0x00,0x7c]
            tcheck 0
# CHECK-BE: tcheck 3                       # encoding: [0x7d,0x80,0x05,0x9c]
# CHECK-LE: tcheck 3                       # encoding: [0x9c,0x05,0x80,0x7d]
            tcheck 3

# CHECK-BE: treclaim. 9                    # encoding: [0x7c,0x09,0x07,0x5d]
# CHECK-LE: treclaim. 9                    # encoding: [0x5d,0x07,0x09,0x7c]
            treclaim. 9
# CHECK-BE: trechkpt.                      # encoding: [0x7c,0x00,0x07,0xdd]
# CHECK-LE: trechkpt.                      # encoding: [0xdd,0x07,0x00,0x7c]
            trechkpt.