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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
|
# RUN: llvm-mc --disassemble %s -triple powerpc64-bgq-linux -mcpu=a2q | FileCheck %s
# CHECK: qvfabs 3, 5
0x10 0x60 0x2a 0x10
# CHECK: qvfadd 3, 4, 5
0x10 0x64 0x28 0x2a
# CHECK: qvfadds 3, 4, 5
0x00 0x64 0x28 0x2a
# FIXME: decode as qvfandc 3, 4, 5
# CHECK: qvflogical 3, 4, 5, 4
0x10 0x64 0x2a 0x08
# FIXME: decode as qvfand 3, 4, 5
# CHECK: qvflogical 3, 4, 5, 1
0x10 0x64 0x28 0x88
# CHECK: qvfcfid 3, 5
0x10 0x60 0x2e 0x9c
# CHECK: qvfcfids 3, 5
0x00 0x60 0x2e 0x9c
# CHECK: qvfcfidu 3, 5
0x10 0x60 0x2f 0x9c
# CHECK: qvfcfidus 3, 5
0x00 0x60 0x2f 0x9c
# FIXME: decode as qvfclr 3
# CHECK: qvflogical 3, 3, 3, 0
0x10 0x63 0x18 0x08
# CHECK: qvfcpsgn 3, 4, 5
0x10 0x64 0x28 0x10
# FIXME: decode as qvfctfb 3, 4
# CHECK: qvflogical 3, 4, 4, 5
0x10 0x64 0x22 0x88
# CHECK: qvfctid 3, 5
0x10 0x60 0x2e 0x5c
# CHECK: qvfctidu 3, 5
0x10 0x60 0x2f 0x5c
# CHECK: qvfctiduz 3, 5
0x10 0x60 0x2f 0x5e
# CHECK: qvfctidz 3, 5
0x10 0x60 0x2e 0x5e
# CHECK: qvfctiw 3, 5
0x10 0x60 0x28 0x1c
# CHECK: qvfctiwu 3, 5
0x10 0x60 0x29 0x1c
# CHECK: qvfctiwuz 3, 5
0x10 0x60 0x29 0x1e
# CHECK: qvfctiwz 3, 5
0x10 0x60 0x28 0x1e
# FIXME: decode as qvfequ 3, 4, 5
# CHECK: qvflogical 3, 4, 5, 9
0x10 0x64 0x2c 0x88
# CHECK: qvflogical 3, 4, 5, 12
0x10 0x64 0x2e 0x08
# CHECK: qvfmadd 3, 4, 6, 5
0x10 0x64 0x29 0xba
# CHECK: qvfmadds 3, 4, 6, 5
0x00 0x64 0x29 0xba
# CHECK: qvfmr 3, 5
0x10 0x60 0x28 0x90
# CHECK: qvfmsub 3, 4, 6, 5
0x10 0x64 0x29 0xb8
# CHECK: qvfmsubs 3, 4, 6, 5
0x00 0x64 0x29 0xb8
# CHECK: qvfmul 3, 4, 6
0x10 0x64 0x01 0xb2
# CHECK: qvfmuls 3, 4, 6
0x00 0x64 0x01 0xb2
# CHECK: qvfnabs 3, 5
0x10 0x60 0x29 0x10
# FIXME: decode as qvfnand 3, 4, 5
# CHECK: qvflogical 3, 4, 5, 14
0x10 0x64 0x2f 0x08
# CHECK: qvfneg 3, 5
0x10 0x60 0x28 0x50
# CHECK: qvfnmadd 3, 4, 6, 5
0x10 0x64 0x29 0xbe
# CHECK: qvfnmadds 3, 4, 6, 5
0x00 0x64 0x29 0xbe
# CHECK: qvfnmsub 3, 4, 6, 5
0x10 0x64 0x29 0xbc
# CHECK: qvfnmsubs 3, 4, 6, 5
0x00 0x64 0x29 0xbc
# FIXME: decode as qvfnor 3, 4, 5
# CHECK: qvflogical 3, 4, 5, 8
0x10 0x64 0x2c 0x08
# FIXME: decode as qvfnot 3, 4
# CHECK: qvflogical 3, 4, 4, 10
0x10 0x64 0x25 0x08
# FIXME: decode as qvforc 3, 4, 5
# CHECK: qvflogical 3, 4, 5, 13
0x10 0x64 0x2e 0x88
# FIXME: decode as qvfor 3, 4, 5
# CHECK: qvflogical 3, 4, 5, 7
0x10 0x64 0x2b 0x88
# CHECK: qvfperm 3, 4, 5, 6
0x10 0x64 0x29 0x8c
# CHECK: qvfre 3, 5
0x10 0x60 0x28 0x30
# CHECK: qvfres 3, 5
0x00 0x60 0x28 0x30
# CHECK: qvfrim 3, 5
0x10 0x60 0x2b 0xd0
# CHECK: qvfrin 3, 5
0x10 0x60 0x2b 0x10
# CHECK: qvfrip 3, 5
0x10 0x60 0x2b 0x90
# CHECK: qvfriz 3, 5
0x10 0x60 0x2b 0x50
# CHECK: qvfrsp 3, 5
0x10 0x60 0x28 0x18
# CHECK: qvfrsqrte 3, 5
0x10 0x60 0x28 0x34
# CHECK: qvfrsqrtes 3, 5
0x00 0x60 0x28 0x34
# CHECK: qvfsel 3, 4, 6, 5
0x10 0x64 0x29 0xae
# FIXME: decode as qvfset 3
# CHECK: qvflogical 3, 3, 3, 15
0x10 0x63 0x1f 0x88
# CHECK: qvfsub 3, 4, 5
0x10 0x64 0x28 0x28
# CHECK: qvfsubs 3, 4, 5
0x00 0x64 0x28 0x28
# CHECK: qvfxmadd 3, 4, 6, 5
0x10 0x64 0x29 0x92
# CHECK: qvfxmadds 3, 4, 6, 5
0x00 0x64 0x29 0x92
# CHECK: qvfxmul 3, 4, 6
0x10 0x64 0x01 0xa2
# CHECK: qvfxmuls 3, 4, 6
0x00 0x64 0x01 0xa2
# FIXME: decode as qvfxor 3, 4, 5
# CHECK: qvflogical 3, 4, 5, 6
0x10 0x64 0x2b 0x08
# CHECK: qvfxxcpnmadd 3, 4, 6, 5
0x10 0x64 0x29 0x86
# CHECK: qvfxxcpnmadds 3, 4, 6, 5
0x00 0x64 0x29 0x86
# CHECK: qvfxxmadd 3, 4, 6, 5
0x10 0x64 0x29 0x82
# CHECK: qvfxxmadds 3, 4, 6, 5
0x00 0x64 0x29 0x82
# CHECK: qvfxxnpmadd 3, 4, 6, 5
0x10 0x64 0x29 0x96
# CHECK: qvfxxnpmadds 3, 4, 6, 5
0x00 0x64 0x29 0x96
# CHECK: qvlfcduxa 3, 9, 11
0x7c 0x69 0x58 0xcf
# CHECK: qvlfcdux 3, 9, 11
0x7c 0x69 0x58 0xce
# CHECK: qvlfcdxa 3, 10, 11
0x7c 0x6a 0x58 0x8f
# CHECK: qvlfcdx 3, 10, 11
0x7c 0x6a 0x58 0x8e
# CHECK: qvlfcsuxa 3, 9, 11
0x7c 0x69 0x58 0x4f
# CHECK: qvlfcsux 3, 9, 11
0x7c 0x69 0x58 0x4e
# CHECK: qvlfcsxa 3, 10, 11
0x7c 0x6a 0x58 0x0f
# CHECK: qvlfcsx 3, 10, 11
0x7c 0x6a 0x58 0x0e
# CHECK: qvlfduxa 3, 9, 11
0x7c 0x69 0x5c 0xcf
# CHECK: qvlfdux 3, 9, 11
0x7c 0x69 0x5c 0xce
# CHECK: qvlfdxa 3, 10, 11
0x7c 0x6a 0x5c 0x8f
# CHECK: qvlfdx 3, 10, 11
0x7c 0x6a 0x5c 0x8e
# CHECK: qvlfiwaxa 3, 10, 11
0x7c 0x6a 0x5e 0xcf
# CHECK: qvlfiwax 3, 10, 11
0x7c 0x6a 0x5e 0xce
# CHECK: qvlfiwzxa 3, 10, 11
0x7c 0x6a 0x5e 0x8f
# CHECK: qvlfiwzx 3, 10, 11
0x7c 0x6a 0x5e 0x8e
# CHECK: qvlfsuxa 3, 9, 11
0x7c 0x69 0x5c 0x4f
# CHECK: qvlfsux 3, 9, 11
0x7c 0x69 0x5c 0x4e
# CHECK: qvlfsxa 3, 10, 11
0x7c 0x6a 0x5c 0x0f
# CHECK: qvlfsx 3, 10, 11
0x7c 0x6a 0x5c 0x0e
# CHECK: qvlpcldx 3, 10, 11
0x7c 0x6a 0x5c 0x8c
# CHECK: qvlpclsx 3, 10, 11
0x7c 0x6a 0x5c 0x0c
# CHECK: qvlpcrdx 3, 10, 11
0x7c 0x6a 0x58 0x8c
# CHECK: qvlpcrsx 3, 10, 11
0x7c 0x6a 0x58 0x0c
# CHECK: qvstfcduxa 2, 9, 11
0x7c 0x49 0x59 0xcf
# CHECK: qvstfcduxia 2, 9, 11
0x7c 0x49 0x59 0xcb
# CHECK: qvstfcduxi 2, 9, 11
0x7c 0x49 0x59 0xca
# CHECK: qvstfcdux 2, 9, 11
0x7c 0x49 0x59 0xce
# CHECK: qvstfcdxa 2, 10, 11
0x7c 0x4a 0x59 0x8f
# CHECK: qvstfcdxia 2, 10, 11
0x7c 0x4a 0x59 0x8b
# CHECK: qvstfcdxi 2, 10, 11
0x7c 0x4a 0x59 0x8a
# CHECK: qvstfcdx 2, 10, 11
0x7c 0x4a 0x59 0x8e
# CHECK: qvstfcsuxa 2, 9, 11
0x7c 0x49 0x59 0x4f
# CHECK: qvstfcsuxia 2, 9, 11
0x7c 0x49 0x59 0x4b
# CHECK: qvstfcsuxi 2, 9, 11
0x7c 0x49 0x59 0x4a
# CHECK: qvstfcsux 2, 9, 11
0x7c 0x49 0x59 0x4e
# CHECK: qvstfcsxa 2, 10, 11
0x7c 0x4a 0x59 0x0f
# CHECK: qvstfcsxia 2, 10, 11
0x7c 0x4a 0x59 0x0b
# CHECK: qvstfcsxi 2, 10, 11
0x7c 0x4a 0x59 0x0a
# CHECK: qvstfcsx 2, 10, 11
0x7c 0x4a 0x59 0x0e
# CHECK: qvstfduxa 2, 9, 11
0x7c 0x49 0x5d 0xcf
# CHECK: qvstfduxia 2, 9, 11
0x7c 0x49 0x5d 0xcb
# CHECK: qvstfduxi 2, 9, 11
0x7c 0x49 0x5d 0xca
# CHECK: qvstfdux 2, 9, 11
0x7c 0x49 0x5d 0xce
# CHECK: qvstfdxa 2, 10, 11
0x7c 0x4a 0x5d 0x8f
# CHECK: qvstfdxia 2, 10, 11
0x7c 0x4a 0x5d 0x8b
# CHECK: qvstfdxi 2, 10, 11
0x7c 0x4a 0x5d 0x8a
# CHECK: qvstfdx 2, 10, 11
0x7c 0x4a 0x5d 0x8e
# CHECK: qvstfiwxa 2, 10, 11
0x7c 0x4a 0x5f 0x8f
# CHECK: qvstfiwx 2, 10, 11
0x7c 0x4a 0x5f 0x8e
# CHECK: qvstfsuxa 2, 9, 11
0x7c 0x49 0x5d 0x4f
# CHECK: qvstfsuxia 2, 9, 11
0x7c 0x49 0x5d 0x4b
# CHECK: qvstfsuxi 2, 9, 11
0x7c 0x49 0x5d 0x4a
# CHECK: qvstfsux 2, 9, 11
0x7c 0x49 0x5d 0x4e
# CHECK: qvstfsxa 2, 10, 11
0x7c 0x4a 0x5d 0x0f
# CHECK: qvstfsxia 2, 10, 11
0x7c 0x4a 0x5d 0x0b
# CHECK: qvstfsxi 2, 10, 11
0x7c 0x4a 0x5d 0x0a
# CHECK: qvstfsx 2, 10, 11
0x7c 0x4a 0x5d 0x0e
|