ppc64-encoding-bookII.txt
1.97 KB
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
# RUN: llvm-mc --disassemble %s -triple powerpc64-unknown-unknown -mcpu=pwr7 | FileCheck %s
# CHECK: icbi 2, 3
0x7c 0x02 0x1f 0xac
# CHECK: icbt 0, 5, 31
0x7c 0x05 0xf8 0x2c
# CHECK: dcbt 2, 3
0x7c 0x02 0x1a 0x2c
# CHECK: dcbtst 2, 3
0x7c 0x02 0x19 0xec
# CHECK: dcbt 2, 3, 10
0x7d 0x42 0x1a 0x2c
# CHECK: dcbtst 2, 3, 10
0x7d 0x42 0x19 0xec
# CHECK: dcbz 2, 3
0x7c 0x02 0x1f 0xec
# CHECK: dcbst 2, 3
0x7c 0x02 0x18 0x6c
# CHECK: isync
0x4c 0x00 0x01 0x2c
# CHECK: stwcx. 2, 3, 4
0x7c 0x43 0x21 0x2d
# CHECK: stdcx. 2, 3, 4
0x7c 0x43 0x21 0xad
# CHECK: stwat 2, 3, 28
0x7c 0x43 0xe5 0x8c
# CHECK: stdat 2, 3, 28
0x7c 0x43 0xe5 0xcc
# CHECK: ptesync
0x7c 0x40 0x04 0xac
# CHECK: eieio
0x7c 0x00 0x06 0xac
# CHECK: waitimpl
0x7c 0x40 0x00 0x3c
# CHECK: mbar 1
0x7c 0x20 0x06 0xac
# CHECK: dcbf 2, 3
0x7c 0x02 0x18 0xac
# CHECK: dcbfl 2, 3
0x7c 0x22 0x18 0xac
# CHECK: dcbflp 2, 3
0x7c 0x62 0x18 0xac
# CHECK: lbarx 2, 3, 4
0x7c 0x43 0x20 0x68
# CHECK: lharx 2, 3, 4
0x7c 0x43 0x20 0xe8
# CHECK: lwarx 2, 3, 4
0x7c 0x43 0x20 0x28
# CHECK: ldarx 2, 3, 4
0x7c 0x43 0x20 0xa8
# CHECK: lbarx 2, 3, 4, 1
0x7c 0x43 0x20 0x69
# CHECK: lharx 2, 3, 4, 1
0x7c 0x43 0x20 0xe9
# CHECK: lwarx 2, 3, 4, 1
0x7c 0x43 0x20 0x29
# CHECK: ldarx 2, 3, 4, 1
0x7c 0x43 0x20 0xa9
# CHECK: lwat 2, 3, 28
0x7c 0x43 0xe4 0x8c
# CHECK: ldat 2, 3, 28
0x7c 0x43 0xe4 0xcc
# CHECK: sync
0x7c 0x00 0x04 0xac
# CHECK: sync
0x7c 0x00 0x04 0xac
# CHECK: lwsync
0x7c 0x20 0x04 0xac
# CHECK: ptesync
0x7c 0x40 0x04 0xac
# CHECK: wait
0x7c 0x00 0x00 0x3c
# CHECK: waitrsv
0x7c 0x20 0x00 0x3c
# CHECK: waitimpl
0x7c 0x40 0x00 0x3c
# CHECK: mftb 2, 123
0x7c 0x5b 0x1a 0xe6
# CHECK: mftb 2, 268
0x7c 0x4c 0x42 0xe6
# CHECK: mftbu 2
0x7c 0x4d 0x42 0xe6