1# RUN: llvm-mc --disassemble %s -triple powerpc64-unknown-unknown -mcpu=pwr7 | FileCheck %s
2
3# CHECK: icbi 2, 3
40x7c 0x02 0x1f 0xac
5
6# CHECK: icbt 0, 5, 31
70x7c 0x05 0xf8 0x2c
8
9# CHECK: dcbt 2, 3
100x7c 0x02 0x1a 0x2c
11
12# CHECK: dcbtst 2, 3
130x7c 0x02 0x19 0xec
14
15# CHECK: dcbt 2, 3, 10
160x7d 0x42 0x1a 0x2c
17
18# CHECK: dcbtst 2, 3, 10
190x7d 0x42 0x19 0xec
20
21# CHECK: dcbz 2, 3
220x7c 0x02 0x1f 0xec
23
24# CHECK: dcbst 2, 3
250x7c 0x02 0x18 0x6c
26
27# CHECK: isync
280x4c 0x00 0x01 0x2c
29
30# CHECK: stwcx. 2, 3, 4
310x7c 0x43 0x21 0x2d
32
33# CHECK: stdcx. 2, 3, 4
340x7c 0x43 0x21 0xad
35
36# CHECK: ptesync
370x7c 0x40 0x04 0xac
38
39# CHECK: eieio
400x7c 0x00 0x06 0xac
41
42# CHECK: waitimpl
430x7c 0x40 0x00 0x7c
44
45# CHECK: mbar 1
460x7c 0x20 0x06 0xac
47
48# CHECK: dcbf 2, 3
490x7c 0x02 0x18 0xac
50
51# CHECK: lbarx 2, 3, 4
520x7c 0x43 0x20 0x68
53
54# CHECK: lharx 2, 3, 4
550x7c 0x43 0x20 0xe8
56
57# CHECK: lwarx 2, 3, 4
580x7c 0x43 0x20 0x28
59
60# CHECK: ldarx 2, 3, 4
610x7c 0x43 0x20 0xa8
62
63# CHECK: lbarx 2, 3, 4, 1
640x7c 0x43 0x20 0x69
65
66# CHECK: lharx 2, 3, 4, 1
670x7c 0x43 0x20 0xe9
68
69# CHECK: lwarx 2, 3, 4, 1
700x7c 0x43 0x20 0x29
71
72# CHECK: ldarx 2, 3, 4, 1
730x7c 0x43 0x20 0xa9
74
75# CHECK: sync
760x7c 0x00 0x04 0xac
77
78# CHECK: sync
790x7c 0x00 0x04 0xac
80
81# CHECK: lwsync
820x7c 0x20 0x04 0xac
83
84# CHECK: ptesync
850x7c 0x40 0x04 0xac
86
87# CHECK: wait
880x7c 0x00 0x00 0x7c
89
90# CHECK: waitrsv
910x7c 0x20 0x00 0x7c
92
93# CHECK: waitimpl
940x7c 0x40 0x00 0x7c
95
96# CHECK: mftb 2, 123
970x7c 0x5b 0x1a 0xe6
98
99# CHECK: mftb 2, 268
1000x7c 0x4c 0x42 0xe6
101
102# CHECK: mftbu 2
1030x7c 0x4d 0x42 0xe6
104
105