[NFC][RemoveDIs] Prefer iterators over inst-pointers in InstCombine
[llvm-project.git] / llvm / test / MC / SystemZ / insn-bad-z14.s
blob568717a85c0e1ddc79c291ddd083eb1302215980
1 # For z14 only.
2 # RUN: not llvm-mc -triple s390x-linux-gnu -mcpu=z14 < %s 2> %t
3 # RUN: FileCheck < %t %s
4 # RUN: not llvm-mc -triple s390x-linux-gnu -mcpu=arch12 < %s 2> %t
5 # RUN: FileCheck < %t %s
7 #CHECK: error: invalid operand
8 #CHECK: bi -524289
9 #CHECK: error: invalid operand
10 #CHECK: bi 524288
12 bi -524289
13 bi 524288
15 #CHECK: error: invalid operand
16 #CHECK: bic -1, 0(%r1)
17 #CHECK: error: invalid operand
18 #CHECK: bic 16, 0(%r1)
19 #CHECK: error: invalid operand
20 #CHECK: bic 0, -524289
21 #CHECK: error: invalid operand
22 #CHECK: bic 0, 524288
24 bic -1, 0(%r1)
25 bic 16, 0(%r1)
26 bic 0, -524289
27 bic 0, 524288
29 #CHECK: error: invalid operand
30 #CHECK: agh %r0, -524289
31 #CHECK: error: invalid operand
32 #CHECK: agh %r0, 524288
34 agh %r0, -524289
35 agh %r0, 524288
37 #CHECK: error: instruction requires: deflate-conversion
38 #CHECK: dfltcc %r2, %r4, %r6
40 dfltcc %r2, %r4, %r6
42 #CHECK: error: instruction requires: message-security-assist-extension9
43 #CHECK: kdsa %r0, %r2
45 kdsa %r0, %r2
47 #CHECK: error: invalid register pair
48 #CHECK: kma %r1, %r2, %r4
49 #CHECK: error: invalid register pair
50 #CHECK: kma %r2, %r1, %r4
51 #CHECK: error: invalid register pair
52 #CHECK: kma %r2, %r4, %r1
54 kma %r1, %r2, %r4
55 kma %r2, %r1, %r4
56 kma %r2, %r4, %r1
58 #CHECK: error: invalid operand
59 #CHECK: lgg %r0, -524289
60 #CHECK: error: invalid operand
61 #CHECK: lgg %r0, 524288
63 lgg %r0, -524289
64 lgg %r0, 524288
66 #CHECK: error: invalid operand
67 #CHECK: lgsc %r0, -524289
68 #CHECK: error: invalid operand
69 #CHECK: lgsc %r0, 524288
71 lgsc %r0, -524289
72 lgsc %r0, 524288
74 #CHECK: error: invalid operand
75 #CHECK: llgfsg %r0, -524289
76 #CHECK: error: invalid operand
77 #CHECK: llgfsg %r0, 524288
79 llgfsg %r0, -524289
80 llgfsg %r0, 524288
82 #CHECK: error: invalid operand
83 #CHECK: mg %r0, -524289
84 #CHECK: error: invalid operand
85 #CHECK: mg %r0, 524288
86 #CHECK: error: invalid register pair
87 #CHECK: mg %r1, 0
89 mg %r0, -524289
90 mg %r0, 524288
91 mg %r1, 0
93 #CHECK: error: invalid operand
94 #CHECK: mgh %r0, -524289
95 #CHECK: error: invalid operand
96 #CHECK: mgh %r0, 524288
98 mgh %r0, -524289
99 mgh %r0, 524288
101 #CHECK: error: invalid register pair
102 #CHECK: mgrk %r1, %r0, %r0
104 mgrk %r1, %r0, %r0
106 #CHECK: error: invalid operand
107 #CHECK: msc %r0, -524289
108 #CHECK: error: invalid operand
109 #CHECK: msc %r0, 524288
111 msc %r0, -524289
112 msc %r0, 524288
114 #CHECK: error: invalid operand
115 #CHECK: msgc %r0, -524289
116 #CHECK: error: invalid operand
117 #CHECK: msgc %r0, 524288
119 msgc %r0, -524289
120 msgc %r0, 524288
122 #CHECK: error: instruction requires: miscellaneous-extensions-3
123 #CHECK: mvcrl 0, 0
125 mvcrl 0, 0
127 #CHECK: error: instruction requires: miscellaneous-extensions-3
128 #CHECK: ncgrk %r0, %r0, %r0
130 ncgrk %r0, %r0, %r0
132 #CHECK: error: instruction requires: miscellaneous-extensions-3
133 #CHECK: ncrk %r0, %r0, %r0
135 ncrk %r0, %r0, %r0
137 #CHECK: error: instruction requires: miscellaneous-extensions-3
138 #CHECK: nngrk %r0, %r0, %r0
140 nngrk %r0, %r0, %r0
142 #CHECK: error: instruction requires: miscellaneous-extensions-3
143 #CHECK: nnrk %r0, %r0, %r0
145 nnrk %r0, %r0, %r0
147 #CHECK: error: instruction requires: miscellaneous-extensions-3
148 #CHECK: nogrk %r0, %r0, %r0
150 nogrk %r0, %r0, %r0
152 #CHECK: error: instruction requires: miscellaneous-extensions-3
153 #CHECK: nork %r0, %r0, %r0
155 nork %r0, %r0, %r0
157 #CHECK: error: instruction requires: miscellaneous-extensions-3
158 #CHECK: nxgrk %r0, %r0, %r0
160 nxgrk %r0, %r0, %r0
162 #CHECK: error: instruction requires: miscellaneous-extensions-3
163 #CHECK: nxrk %r0, %r0, %r0
165 nxrk %r0, %r0, %r0
167 #CHECK: error: instruction requires: miscellaneous-extensions-3
168 #CHECK: ocgrk %r0, %r0, %r0
170 ocgrk %r0, %r0, %r0
172 #CHECK: error: instruction requires: miscellaneous-extensions-3
173 #CHECK: ocrk %r0, %r0, %r0
175 ocrk %r0, %r0, %r0
177 #CHECK: error: instruction requires: miscellaneous-extensions-3
178 #CHECK: popcnt %r2, %r4, 1
180 popcnt %r2, %r4, 1
182 #CHECK: error: invalid register pair
183 #CHECK: prno %r1, %r2
184 #CHECK: error: invalid register pair
185 #CHECK: prno %r2, %r1
187 prno %r1, %r2
188 prno %r2, %r1
190 #CHECK: error: instruction requires: miscellaneous-extensions-3
191 #CHECK: selgr %r0, %r0, %r0, 0
192 #CHECK: error: instruction requires: miscellaneous-extensions-3
193 #CHECK: selgre %r0, %r0, %r0
195 selgr %r0, %r0, %r0, 0
196 selgre %r0, %r0, %r0
198 #CHECK: error: instruction requires: miscellaneous-extensions-3
199 #CHECK: selfhr %r0, %r0, %r0, 0
200 #CHECK: error: instruction requires: miscellaneous-extensions-3
201 #CHECK: selfhre %r0, %r0, %r0
203 selfhr %r0, %r0, %r0, 0
204 selfhre %r0, %r0, %r0
206 #CHECK: error: instruction requires: miscellaneous-extensions-3
207 #CHECK: selr %r0, %r0, %r0, 0
208 #CHECK: error: instruction requires: miscellaneous-extensions-3
209 #CHECK: selre %r0, %r0, %r0
211 selr %r0, %r0, %r0, 0
212 selre %r0, %r0, %r0
214 #CHECK: error: invalid operand
215 #CHECK: sgh %r0, -524289
216 #CHECK: error: invalid operand
217 #CHECK: sgh %r0, 524288
219 sgh %r0, -524289
220 sgh %r0, 524288
222 #CHECK: error: instruction requires: enhanced-sort
223 #CHECK: sortl %r2, %r4
225 sortl %r2, %r4
227 #CHECK: error: invalid operand
228 #CHECK: stgsc %r0, -524289
229 #CHECK: error: invalid operand
230 #CHECK: stgsc %r0, 524288
232 stgsc %r0, -524289
233 stgsc %r0, 524288
235 #CHECK: error: invalid operand
236 #CHECK: vap %v0, %v0, %v0, 0, -1
237 #CHECK: error: invalid operand
238 #CHECK: vap %v0, %v0, %v0, 0, 16
239 #CHECK: error: invalid operand
240 #CHECK: vap %v0, %v0, %v0, -1, 0
241 #CHECK: error: invalid operand
242 #CHECK: vap %v0, %v0, %v0, 256, 0
244 vap %v0, %v0, %v0, 0, -1
245 vap %v0, %v0, %v0, 0, 16
246 vap %v0, %v0, %v0, -1, 0
247 vap %v0, %v0, %v0, 256, 0
249 #CHECK: error: instruction requires: vector-enhancements-2
250 #CHECK: vcefb %v0, %v0, 0, 0
252 vcefb %v0, %v0, 0, 0
254 #CHECK: error: instruction requires: vector-enhancements-2
255 #CHECK: vcelfb %v0, %v0, 0, 0
257 vcelfb %v0, %v0, 0, 0
259 #CHECK: error: instruction requires: vector-enhancements-2
260 #CHECK: vcfeb %v0, %v0, 0, 0
262 vcfeb %v0, %v0, 0, 0
264 #CHECK: error: instruction requires: vector-enhancements-2
265 #CHECK: vcfpl %v0, %v0, 0, 0, 0
267 vcfpl %v0, %v0, 0, 0, 0
269 #CHECK: error: instruction requires: vector-enhancements-2
270 #CHECK: vcfps %v0, %v0, 0, 0, 0
272 vcfps %v0, %v0, 0, 0, 0
274 #CHECK: error: instruction requires: vector-enhancements-2
275 #CHECK: vclfeb %v0, %v0, 0, 0
277 vclfeb %v0, %v0, 0, 0
279 #CHECK: error: instruction requires: vector-enhancements-2
280 #CHECK: vclfp %v0, %v0, 0, 0, 0
282 vclfp %v0, %v0, 0, 0, 0
284 #CHECK: error: invalid operand
285 #CHECK: vcp %v0, %v0, -1
286 #CHECK: error: invalid operand
287 #CHECK: vcp %v0, %v0, 16
289 vcp %v0, %v0, -1
290 vcp %v0, %v0, 16
292 #CHECK: error: instruction requires: vector-enhancements-2
293 #CHECK: vcsfp %v0, %v0, 0, 0, 0
295 vcsfp %v0, %v0, 0, 0, 0
297 #CHECK: error: invalid operand
298 #CHECK: vcvb %r0, %v0, -1
299 #CHECK: error: invalid operand
300 #CHECK: vcvb %r0, %v0, 16
301 #CHECK: error: instruction requires: vector-packed-decimal-enhancement
302 #CHECK: vcvb %r0, %v0, 0, 1
304 vcvb %r0, %v0, -1
305 vcvb %r0, %v0, 16
306 vcvb %r0, %v0, 0, 1
308 #CHECK: error: invalid operand
309 #CHECK: vcvbg %r0, %v0, -1
310 #CHECK: error: invalid operand
311 #CHECK: vcvbg %r0, %v0, 16
312 #CHECK: error: instruction requires: vector-packed-decimal-enhancement
313 #CHECK: vcvbg %r0, %v0, 0, 1
315 vcvbg %r0, %v0, -1
316 vcvbg %r0, %v0, 16
317 vcvbg %r0, %v0, 0, 1
319 #CHECK: error: invalid operand
320 #CHECK: vcvd %r0, %v0, 0, -1
321 #CHECK: error: invalid operand
322 #CHECK: vcvd %r0, %v0, 0, 16
323 #CHECK: error: invalid operand
324 #CHECK: vcvd %r0, %v0, -1, 0
325 #CHECK: error: invalid operand
326 #CHECK: vcvd %r0, %v0, 256, 0
328 vcvd %r0, %v0, 0, -1
329 vcvd %r0, %v0, 0, 16
330 vcvd %r0, %v0, -1, 0
331 vcvd %r0, %v0, 256, 0
333 #CHECK: error: invalid operand
334 #CHECK: vcvdg %r0, %v0, 0, -1
335 #CHECK: error: invalid operand
336 #CHECK: vcvdg %r0, %v0, 0, 16
337 #CHECK: error: invalid operand
338 #CHECK: vcvdg %r0, %v0, -1, 0
339 #CHECK: error: invalid operand
340 #CHECK: vcvdg %r0, %v0, 256, 0
342 vcvdg %r0, %v0, 0, -1
343 vcvdg %r0, %v0, 0, 16
344 vcvdg %r0, %v0, -1, 0
345 vcvdg %r0, %v0, 256, 0
347 #CHECK: error: invalid operand
348 #CHECK: vdp %v0, %v0, %v0, 0, -1
349 #CHECK: error: invalid operand
350 #CHECK: vdp %v0, %v0, %v0, 0, 16
351 #CHECK: error: invalid operand
352 #CHECK: vdp %v0, %v0, %v0, -1, 0
353 #CHECK: error: invalid operand
354 #CHECK: vdp %v0, %v0, %v0, 256, 0
356 vdp %v0, %v0, %v0, 0, -1
357 vdp %v0, %v0, %v0, 0, 16
358 vdp %v0, %v0, %v0, -1, 0
359 vdp %v0, %v0, %v0, 256, 0
361 #CHECK: error: invalid operand
362 #CHECK: vfisb %v0, %v0, 0, -1
363 #CHECK: error: invalid operand
364 #CHECK: vfisb %v0, %v0, 0, 16
365 #CHECK: error: invalid operand
366 #CHECK: vfisb %v0, %v0, -1, 0
367 #CHECK: error: invalid operand
368 #CHECK: vfisb %v0, %v0, 16, 0
370 vfisb %v0, %v0, 0, -1
371 vfisb %v0, %v0, 0, 16
372 vfisb %v0, %v0, -1, 0
373 vfisb %v0, %v0, 16, 0
375 #CHECK: error: invalid operand
376 #CHECK: vfll %v0, %v0, 0, -1
377 #CHECK: error: invalid operand
378 #CHECK: vfll %v0, %v0, 0, 16
379 #CHECK: error: invalid operand
380 #CHECK: vfll %v0, %v0, -1, 0
381 #CHECK: error: invalid operand
382 #CHECK: vfll %v0, %v0, 16, 0
384 vfll %v0, %v0, 0, -1
385 vfll %v0, %v0, 0, 16
386 vfll %v0, %v0, -1, 0
387 vfll %v0, %v0, 16, 0
389 #CHECK: error: invalid operand
390 #CHECK: vflr %v0, %v0, 0, 0, -1
391 #CHECK: error: invalid operand
392 #CHECK: vflr %v0, %v0, 0, 0, 16
393 #CHECK: error: invalid operand
394 #CHECK: vflr %v0, %v0, 0, -1, 0
395 #CHECK: error: invalid operand
396 #CHECK: vflr %v0, %v0, 0, 16, 0
397 #CHECK: error: invalid operand
398 #CHECK: vflr %v0, %v0, -1, 0, 0
399 #CHECK: error: invalid operand
400 #CHECK: vflr %v0, %v0, 16, 0, 0
402 vflr %v0, %v0, 0, 0, -1
403 vflr %v0, %v0, 0, 0, 16
404 vflr %v0, %v0, 0, -1, 0
405 vflr %v0, %v0, 0, 16, 0
406 vflr %v0, %v0, -1, 0, 0
407 vflr %v0, %v0, 16, 0, 0
409 #CHECK: error: invalid operand
410 #CHECK: vflrd %v0, %v0, 0, -1
411 #CHECK: error: invalid operand
412 #CHECK: vflrd %v0, %v0, 0, 16
413 #CHECK: error: invalid operand
414 #CHECK: vflrd %v0, %v0, -1, 0
415 #CHECK: error: invalid operand
416 #CHECK: vflrd %v0, %v0, 16, 0
418 vflrd %v0, %v0, 0, -1
419 vflrd %v0, %v0, 0, 16
420 vflrd %v0, %v0, -1, 0
421 vflrd %v0, %v0, 16, 0
423 #CHECK: error: invalid operand
424 #CHECK: vfmax %v0, %v0, %v0, 0, 0, -1
425 #CHECK: error: invalid operand
426 #CHECK: vfmax %v0, %v0, %v0, 0, 0, 16
427 #CHECK: error: invalid operand
428 #CHECK: vfmax %v0, %v0, %v0, 0, -1, 0
429 #CHECK: error: invalid operand
430 #CHECK: vfmax %v0, %v0, %v0, 0, 16, 0
431 #CHECK: error: invalid operand
432 #CHECK: vfmax %v0, %v0, %v0, -1, 0, 0
433 #CHECK: error: invalid operand
434 #CHECK: vfmax %v0, %v0, %v0, 16, 0, 0
436 vfmax %v0, %v0, %v0, 0, 0, -1
437 vfmax %v0, %v0, %v0, 0, 0, 16
438 vfmax %v0, %v0, %v0, 0, -1, 0
439 vfmax %v0, %v0, %v0, 0, 16, 0
440 vfmax %v0, %v0, %v0, -1, 0, 0
441 vfmax %v0, %v0, %v0, 16, 0, 0
443 #CHECK: error: invalid operand
444 #CHECK: vfmaxdb %v0, %v0, %v0, -1
445 #CHECK: error: invalid operand
446 #CHECK: vfmaxdb %v0, %v0, %v0, 16
448 vfmaxdb %v0, %v0, %v0, -1
449 vfmaxdb %v0, %v0, %v0, 16
451 #CHECK: error: invalid operand
452 #CHECK: vfmaxsb %v0, %v0, %v0, -1
453 #CHECK: error: invalid operand
454 #CHECK: vfmaxsb %v0, %v0, %v0, 16
456 vfmaxsb %v0, %v0, %v0, -1
457 vfmaxsb %v0, %v0, %v0, 16
459 #CHECK: error: invalid operand
460 #CHECK: vfmin %v0, %v0, %v0, 0, 0, -1
461 #CHECK: error: invalid operand
462 #CHECK: vfmin %v0, %v0, %v0, 0, 0, 16
463 #CHECK: error: invalid operand
464 #CHECK: vfmin %v0, %v0, %v0, 0, -1, 0
465 #CHECK: error: invalid operand
466 #CHECK: vfmin %v0, %v0, %v0, 0, 16, 0
467 #CHECK: error: invalid operand
468 #CHECK: vfmin %v0, %v0, %v0, -1, 0, 0
469 #CHECK: error: invalid operand
470 #CHECK: vfmin %v0, %v0, %v0, 16, 0, 0
472 vfmin %v0, %v0, %v0, 0, 0, -1
473 vfmin %v0, %v0, %v0, 0, 0, 16
474 vfmin %v0, %v0, %v0, 0, -1, 0
475 vfmin %v0, %v0, %v0, 0, 16, 0
476 vfmin %v0, %v0, %v0, -1, 0, 0
477 vfmin %v0, %v0, %v0, 16, 0, 0
479 #CHECK: error: invalid operand
480 #CHECK: vfmindb %v0, %v0, %v0, -1
481 #CHECK: error: invalid operand
482 #CHECK: vfmindb %v0, %v0, %v0, 16
484 vfmindb %v0, %v0, %v0, -1
485 vfmindb %v0, %v0, %v0, 16
487 #CHECK: error: invalid operand
488 #CHECK: vfminsb %v0, %v0, %v0, -1
489 #CHECK: error: invalid operand
490 #CHECK: vfminsb %v0, %v0, %v0, 16
492 vfminsb %v0, %v0, %v0, -1
493 vfminsb %v0, %v0, %v0, 16
495 #CHECK: error: invalid operand
496 #CHECK: vfnma %v0, %v0, %v0, %v0, 0, -1
497 #CHECK: error: invalid operand
498 #CHECK: vfnma %v0, %v0, %v0, %v0, 0, 16
499 #CHECK: error: invalid operand
500 #CHECK: vfnma %v0, %v0, %v0, %v0, -1, 0
501 #CHECK: error: invalid operand
502 #CHECK: vfnma %v0, %v0, %v0, %v0, 16, 0
504 vfnma %v0, %v0, %v0, %v0, 0, -1
505 vfnma %v0, %v0, %v0, %v0, 0, 16
506 vfnma %v0, %v0, %v0, %v0, -1, 0
507 vfnma %v0, %v0, %v0, %v0, 16, 0
509 #CHECK: error: invalid operand
510 #CHECK: vfnms %v0, %v0, %v0, %v0, 0, -1
511 #CHECK: error: invalid operand
512 #CHECK: vfnms %v0, %v0, %v0, %v0, 0, 16
513 #CHECK: error: invalid operand
514 #CHECK: vfnms %v0, %v0, %v0, %v0, -1, 0
515 #CHECK: error: invalid operand
516 #CHECK: vfnms %v0, %v0, %v0, %v0, 16, 0
518 vfnms %v0, %v0, %v0, %v0, 0, -1
519 vfnms %v0, %v0, %v0, %v0, 0, 16
520 vfnms %v0, %v0, %v0, %v0, -1, 0
521 vfnms %v0, %v0, %v0, %v0, 16, 0
523 #CHECK: error: invalid operand
524 #CHECK: vftcisb %v0, %v0, -1
525 #CHECK: error: invalid operand
526 #CHECK: vftcisb %v0, %v0, 4096
528 vftcisb %v0, %v0, -1
529 vftcisb %v0, %v0, 4096
531 #CHECK: error: invalid operand
532 #CHECK: vlip %v0, 0, -1
533 #CHECK: error: invalid operand
534 #CHECK: vlip %v0, 0, 16
535 #CHECK: error: invalid operand
536 #CHECK: vlip %v0, -1, 0
537 #CHECK: error: invalid operand
538 #CHECK: vlip %v0, 65536, 0
540 vlip %v0, 0, -1
541 vlip %v0, 0, 16
542 vlip %v0, -1, 0
543 vlip %v0, 65536, 0
545 #CHECK: error: invalid operand
546 #CHECK: vllezlf %v0, -1
547 #CHECK: error: invalid operand
548 #CHECK: vllezlf %v0, 4096
549 #CHECK: error: invalid use of vector addressing
550 #CHECK: vllezlf %v0, 0(%v1,%r2)
552 vllezlf %v0, -1
553 vllezlf %v0, 4096
554 vllezlf %v0, 0(%v1,%r2)
556 #CHECK: error: instruction requires: vector-enhancements-2
557 #CHECK: vlbr %v0, 0, 0
558 #CHECK: error: instruction requires: vector-enhancements-2
559 #CHECK: vlbrf %v0, 0
560 #CHECK: error: instruction requires: vector-enhancements-2
561 #CHECK: vlbrg %v0, 0
562 #CHECK: error: instruction requires: vector-enhancements-2
563 #CHECK: vlbrh %v0, 0
564 #CHECK: error: instruction requires: vector-enhancements-2
565 #CHECK: vlbrq %v0, 0
567 vlbr %v0, 0, 0
568 vlbrf %v0, 0
569 vlbrg %v0, 0
570 vlbrh %v0, 0
571 vlbrq %v0, 0
573 #CHECK: error: instruction requires: vector-enhancements-2
574 #CHECK: vlbrrep %v0, 0, 0
575 #CHECK: error: instruction requires: vector-enhancements-2
576 #CHECK: vlbrrepf %v0, 0
577 #CHECK: error: instruction requires: vector-enhancements-2
578 #CHECK: vlbrrepg %v0, 0
579 #CHECK: error: instruction requires: vector-enhancements-2
580 #CHECK: vlbrreph %v0, 0
582 vlbrrep %v0, 0, 0
583 vlbrrepf %v0, 0
584 vlbrrepg %v0, 0
585 vlbrreph %v0, 0
587 #CHECK: error: instruction requires: vector-enhancements-2
588 #CHECK: vlebrf %v0, 0, 0
589 #CHECK: error: instruction requires: vector-enhancements-2
590 #CHECK: vlebrg %v0, 0, 0
591 #CHECK: error: instruction requires: vector-enhancements-2
592 #CHECK: vlebrh %v0, 0, 0
594 vlebrf %v0, 0, 0
595 vlebrg %v0, 0, 0
596 vlebrh %v0, 0, 0
598 #CHECK: error: instruction requires: vector-enhancements-2
599 #CHECK: vler %v0, 0, 0
600 #CHECK: error: instruction requires: vector-enhancements-2
601 #CHECK: vlerf %v0, 0
602 #CHECK: error: instruction requires: vector-enhancements-2
603 #CHECK: vlerg %v0, 0
604 #CHECK: error: instruction requires: vector-enhancements-2
605 #CHECK: vlerh %v0, 0
607 vler %v0, 0, 0
608 vlerf %v0, 0
609 vlerg %v0, 0
610 vlerh %v0, 0
612 #CHECK: error: instruction requires: vector-enhancements-2
613 #CHECK: vllebrz %v0, 0, 0
614 #CHECK: error: instruction requires: vector-enhancements-2
615 #CHECK: vllebrze %v0, 0
616 #CHECK: error: instruction requires: vector-enhancements-2
617 #CHECK: vllebrzf %v0, 0
618 #CHECK: error: instruction requires: vector-enhancements-2
619 #CHECK: vllebrzg %v0, 0
620 #CHECK: error: instruction requires: vector-enhancements-2
621 #CHECK: vllebrzh %v0, 0
623 vllebrz %v0, 0, 0
624 vllebrze %v0, 0
625 vllebrzf %v0, 0
626 vllebrzg %v0, 0
627 vllebrzh %v0, 0
629 #CHECK: error: invalid operand
630 #CHECK: vlrl %v0, 0, -1
631 #CHECK: error: invalid operand
632 #CHECK: vlrl %v0, 0, 256
633 #CHECK: error: invalid operand
634 #CHECK: vlrl %v0, -1, 0
635 #CHECK: error: invalid operand
636 #CHECK: vlrl %v0, 4096, 0
638 vlrl %v0, 0, -1
639 vlrl %v0, 0, 256
640 vlrl %v0, -1, 0
641 vlrl %v0, 4096, 0
643 #CHECK: error: invalid operand
644 #CHECK: vlrlr %v0, %r0, -1
645 #CHECK: error: invalid operand
646 #CHECK: vlrlr %v0, %r0, 4096
648 vlrlr %v0, %r0, -1
649 vlrlr %v0, %r0, 4096
651 #CHECK: error: invalid operand
652 #CHECK: vmp %v0, %v0, %v0, 0, -1
653 #CHECK: error: invalid operand
654 #CHECK: vmp %v0, %v0, %v0, 0, 16
655 #CHECK: error: invalid operand
656 #CHECK: vmp %v0, %v0, %v0, -1, 0
657 #CHECK: error: invalid operand
658 #CHECK: vmp %v0, %v0, %v0, 256, 0
660 vmp %v0, %v0, %v0, 0, -1
661 vmp %v0, %v0, %v0, 0, 16
662 vmp %v0, %v0, %v0, -1, 0
663 vmp %v0, %v0, %v0, 256, 0
665 #CHECK: error: invalid operand
666 #CHECK: vmsp %v0, %v0, %v0, 0, -1
667 #CHECK: error: invalid operand
668 #CHECK: vmsp %v0, %v0, %v0, 0, 16
669 #CHECK: error: invalid operand
670 #CHECK: vmsp %v0, %v0, %v0, -1, 0
671 #CHECK: error: invalid operand
672 #CHECK: vmsp %v0, %v0, %v0, 256, 0
674 vmsp %v0, %v0, %v0, 0, -1
675 vmsp %v0, %v0, %v0, 0, 16
676 vmsp %v0, %v0, %v0, -1, 0
677 vmsp %v0, %v0, %v0, 256, 0
679 #CHECK: error: invalid operand
680 #CHECK: vmsl %v0, %v0, %v0, %v0, 0, -1
681 #CHECK: error: invalid operand
682 #CHECK: vmsl %v0, %v0, %v0, %v0, 0, 16
683 #CHECK: error: invalid operand
684 #CHECK: vmsl %v0, %v0, %v0, %v0, -1, 0
685 #CHECK: error: invalid operand
686 #CHECK: vmsl %v0, %v0, %v0, %v0, 16, 0
688 vmsl %v0, %v0, %v0, %v0, 0, -1
689 vmsl %v0, %v0, %v0, %v0, 0, 16
690 vmsl %v0, %v0, %v0, %v0, -1, 0
691 vmsl %v0, %v0, %v0, %v0, 16, 0
693 #CHECK: error: invalid operand
694 #CHECK: vmslg %v0, %v0, %v0, %v0, -1
695 #CHECK: error: invalid operand
696 #CHECK: vmslg %v0, %v0, %v0, %v0, 16
698 vmslg %v0, %v0, %v0, %v0, -1
699 vmslg %v0, %v0, %v0, %v0, 16
701 #CHECK: error: invalid operand
702 #CHECK: vpkz %v0, 0, -1
703 #CHECK: error: invalid operand
704 #CHECK: vpkz %v0, 0, 256
705 #CHECK: error: invalid operand
706 #CHECK: vpkz %v0, -1, 0
707 #CHECK: error: invalid operand
708 #CHECK: vpkz %v0, 4096, 0
710 vpkz %v0, 0, -1
711 vpkz %v0, 0, 256
712 vpkz %v0, -1, 0
713 vpkz %v0, 4096, 0
715 #CHECK: error: invalid operand
716 #CHECK: vpsop %v0, %v0, 0, 0, -1
717 #CHECK: error: invalid operand
718 #CHECK: vpsop %v0, %v0, 0, 0, 16
719 #CHECK: error: invalid operand
720 #CHECK: vpsop %v0, %v0, 0, -1, 0
721 #CHECK: error: invalid operand
722 #CHECK: vpsop %v0, %v0, 0, 256, 0
723 #CHECK: error: invalid operand
724 #CHECK: vpsop %v0, %v0, -1, 0, 0
725 #CHECK: error: invalid operand
726 #CHECK: vpsop %v0, %v0, 256, 0, 0
728 vpsop %v0, %v0, 0, 0, -1
729 vpsop %v0, %v0, 0, 0, 16
730 vpsop %v0, %v0, 0, -1, 0
731 vpsop %v0, %v0, 0, 256, 0
732 vpsop %v0, %v0, -1, 0, 0
733 vpsop %v0, %v0, 256, 0, 0
735 #CHECK: error: invalid operand
736 #CHECK: vrp %v0, %v0, %v0, 0, -1
737 #CHECK: error: invalid operand
738 #CHECK: vrp %v0, %v0, %v0, 0, 16
739 #CHECK: error: invalid operand
740 #CHECK: vrp %v0, %v0, %v0, -1, 0
741 #CHECK: error: invalid operand
742 #CHECK: vrp %v0, %v0, %v0, 256, 0
744 vrp %v0, %v0, %v0, 0, -1
745 vrp %v0, %v0, %v0, 0, 16
746 vrp %v0, %v0, %v0, -1, 0
747 vrp %v0, %v0, %v0, 256, 0
749 #CHECK: error: invalid operand
750 #CHECK: vsdp %v0, %v0, %v0, 0, -1
751 #CHECK: error: invalid operand
752 #CHECK: vsdp %v0, %v0, %v0, 0, 16
753 #CHECK: error: invalid operand
754 #CHECK: vsdp %v0, %v0, %v0, -1, 0
755 #CHECK: error: invalid operand
756 #CHECK: vsdp %v0, %v0, %v0, 256, 0
758 vsdp %v0, %v0, %v0, 0, -1
759 vsdp %v0, %v0, %v0, 0, 16
760 vsdp %v0, %v0, %v0, -1, 0
761 vsdp %v0, %v0, %v0, 256, 0
763 #CHECK: error: instruction requires: vector-enhancements-2
764 #CHECK: vsld %v0, %v0, %v0, 0
766 vsld %v0, %v0, %v0, 0
768 #CHECK: error: invalid operand
769 #CHECK: vsp %v0, %v0, %v0, 0, -1
770 #CHECK: error: invalid operand
771 #CHECK: vsp %v0, %v0, %v0, 0, 16
772 #CHECK: error: invalid operand
773 #CHECK: vsp %v0, %v0, %v0, -1, 0
774 #CHECK: error: invalid operand
775 #CHECK: vsp %v0, %v0, %v0, 256, 0
777 vsp %v0, %v0, %v0, 0, -1
778 vsp %v0, %v0, %v0, 0, 16
779 vsp %v0, %v0, %v0, -1, 0
780 vsp %v0, %v0, %v0, 256, 0
782 #CHECK: error: instruction requires: vector-enhancements-2
783 #CHECK: vsrd %v0, %v0, %v0, 0
785 vsrd %v0, %v0, %v0, 0
787 #CHECK: error: invalid operand
788 #CHECK: vsrp %v0, %v0, 0, 0, -1
789 #CHECK: error: invalid operand
790 #CHECK: vsrp %v0, %v0, 0, 0, 16
791 #CHECK: error: invalid operand
792 #CHECK: vsrp %v0, %v0, 0, -1, 0
793 #CHECK: error: invalid operand
794 #CHECK: vsrp %v0, %v0, 0, 256, 0
795 #CHECK: error: invalid operand
796 #CHECK: vsrp %v0, %v0, -1, 0, 0
797 #CHECK: error: invalid operand
798 #CHECK: vsrp %v0, %v0, 256, 0, 0
800 vsrp %v0, %v0, 0, 0, -1
801 vsrp %v0, %v0, 0, 0, 16
802 vsrp %v0, %v0, 0, -1, 0
803 vsrp %v0, %v0, 0, 256, 0
804 vsrp %v0, %v0, -1, 0, 0
805 vsrp %v0, %v0, 256, 0, 0
807 #CHECK: error: instruction requires: vector-enhancements-2
808 #CHECK: vstbr %v0, 0, 0
809 #CHECK: error: instruction requires: vector-enhancements-2
810 #CHECK: vstbrf %v0, 0
811 #CHECK: error: instruction requires: vector-enhancements-2
812 #CHECK: vstbrg %v0, 0
813 #CHECK: error: instruction requires: vector-enhancements-2
814 #CHECK: vstbrh %v0, 0
815 #CHECK: error: instruction requires: vector-enhancements-2
816 #CHECK: vstbrq %v0, 0
818 vstbr %v0, 0, 0
819 vstbrf %v0, 0
820 vstbrg %v0, 0
821 vstbrh %v0, 0
822 vstbrq %v0, 0
824 #CHECK: error: instruction requires: vector-enhancements-2
825 #CHECK: vstebrf %v0, 0, 0
826 #CHECK: error: instruction requires: vector-enhancements-2
827 #CHECK: vstebrg %v0, 0, 0
828 #CHECK: error: instruction requires: vector-enhancements-2
829 #CHECK: vstebrh %v0, 0, 0
831 vstebrf %v0, 0, 0
832 vstebrg %v0, 0, 0
833 vstebrh %v0, 0, 0
835 #CHECK: error: instruction requires: vector-enhancements-2
836 #CHECK: vster %v0, 0, 0
837 #CHECK: error: instruction requires: vector-enhancements-2
838 #CHECK: vsterf %v0, 0
839 #CHECK: error: instruction requires: vector-enhancements-2
840 #CHECK: vsterg %v0, 0
841 #CHECK: error: instruction requires: vector-enhancements-2
842 #CHECK: vsterh %v0, 0
844 vster %v0, 0, 0
845 vsterf %v0, 0
846 vsterg %v0, 0
847 vsterh %v0, 0
849 #CHECK: error: invalid operand
850 #CHECK: vstrl %v0, 0, -1
851 #CHECK: error: invalid operand
852 #CHECK: vstrl %v0, 0, 256
853 #CHECK: error: invalid operand
854 #CHECK: vstrl %v0, -1, 0
855 #CHECK: error: invalid operand
856 #CHECK: vstrl %v0, 4096, 0
858 vstrl %v0, 0, -1
859 vstrl %v0, 0, 256
860 vstrl %v0, -1, 0
861 vstrl %v0, 4096, 0
863 #CHECK: error: invalid operand
864 #CHECK: vstrlr %v0, %r0, -1
865 #CHECK: error: invalid operand
866 #CHECK: vstrlr %v0, %r0, 4096
868 vstrlr %v0, %r0, -1
869 vstrlr %v0, %r0, 4096
871 #CHECK: error: instruction requires: vector-enhancements-2
872 #CHECK: vstrs %v0, %v0, %v0, %v0, 0
873 #CHECK: error: instruction requires: vector-enhancements-2
874 #CHECK: vstrsb %v0, %v0, %v0, %v0
875 #CHECK: error: instruction requires: vector-enhancements-2
876 #CHECK: vstrsf %v0, %v0, %v0, %v0
877 #CHECK: error: instruction requires: vector-enhancements-2
878 #CHECK: vstrsh %v0, %v0, %v0, %v0
879 #CHECK: error: instruction requires: vector-enhancements-2
880 #CHECK: vstrszb %v0, %v0, %v0, %v0
881 #CHECK: error: instruction requires: vector-enhancements-2
882 #CHECK: vstrszf %v0, %v0, %v0, %v0
883 #CHECK: error: instruction requires: vector-enhancements-2
884 #CHECK: vstrszh %v0, %v0, %v0, %v0
886 vstrs %v0, %v0, %v0, %v0, 0
887 vstrsb %v0, %v0, %v0, %v0
888 vstrsf %v0, %v0, %v0, %v0
889 vstrsh %v0, %v0, %v0, %v0
890 vstrszb %v0, %v0, %v0, %v0
891 vstrszf %v0, %v0, %v0, %v0
892 vstrszh %v0, %v0, %v0, %v0
894 #CHECK: error: invalid operand
895 #CHECK: vupkz %v0, 0, -1
896 #CHECK: error: invalid operand
897 #CHECK: vupkz %v0, 0, 256
898 #CHECK: error: invalid operand
899 #CHECK: vupkz %v0, -1, 0
900 #CHECK: error: invalid operand
901 #CHECK: vupkz %v0, 4096, 0
903 vupkz %v0, 0, -1
904 vupkz %v0, 0, 256
905 vupkz %v0, -1, 0
906 vupkz %v0, 4096, 0
908 #CHECK: error: instruction requires: vector-enhancements-2
909 #CHECK: wcefb %v0, %v0, 0, 0
911 wcefb %v0, %v0, 0, 0
913 #CHECK: error: instruction requires: vector-enhancements-2
914 #CHECK: wcelfb %v0, %v0, 0, 0
916 wcelfb %v0, %v0, 0, 0
918 #CHECK: error: instruction requires: vector-enhancements-2
919 #CHECK: wcfeb %v0, %v0, 0, 0
921 wcfeb %v0, %v0, 0, 0
923 #CHECK: error: instruction requires: vector-enhancements-2
924 #CHECK: wclfeb %v0, %v0, 0, 0
926 wclfeb %v0, %v0, 0, 0
928 #CHECK: error: invalid operand
929 #CHECK: wfisb %v0, %v0, 0, -1
930 #CHECK: error: invalid operand
931 #CHECK: wfisb %v0, %v0, 0, 16
932 #CHECK: error: invalid operand
933 #CHECK: wfisb %v0, %v0, -1, 0
934 #CHECK: error: invalid operand
935 #CHECK: wfisb %v0, %v0, 16, 0
937 wfisb %v0, %v0, 0, -1
938 wfisb %v0, %v0, 0, 16
939 wfisb %v0, %v0, -1, 0
940 wfisb %v0, %v0, 16, 0
942 #CHECK: error: invalid operand
943 #CHECK: wfixb %v0, %v0, 0, -1
944 #CHECK: error: invalid operand
945 #CHECK: wfixb %v0, %v0, 0, 16
946 #CHECK: error: invalid operand
947 #CHECK: wfixb %v0, %v0, -1, 0
948 #CHECK: error: invalid operand
949 #CHECK: wfixb %v0, %v0, 16, 0
951 wfixb %v0, %v0, 0, -1
952 wfixb %v0, %v0, 0, 16
953 wfixb %v0, %v0, -1, 0
954 wfixb %v0, %v0, 16, 0
956 #CHECK: error: invalid operand
957 #CHECK: wflrd %v0, %v0, 0, -1
958 #CHECK: error: invalid operand
959 #CHECK: wflrd %v0, %v0, 0, 16
960 #CHECK: error: invalid operand
961 #CHECK: wflrd %v0, %v0, -1, 0
962 #CHECK: error: invalid operand
963 #CHECK: wflrd %v0, %v0, 16, 0
965 wflrd %v0, %v0, 0, -1
966 wflrd %v0, %v0, 0, 16
967 wflrd %v0, %v0, -1, 0
968 wflrd %v0, %v0, 16, 0
970 #CHECK: error: invalid operand
971 #CHECK: wflrx %v0, %v0, 0, -1
972 #CHECK: error: invalid operand
973 #CHECK: wflrx %v0, %v0, 0, 16
974 #CHECK: error: invalid operand
975 #CHECK: wflrx %v0, %v0, -1, 0
976 #CHECK: error: invalid operand
977 #CHECK: wflrx %v0, %v0, 16, 0
979 wflrx %v0, %v0, 0, -1
980 wflrx %v0, %v0, 0, 16
981 wflrx %v0, %v0, -1, 0
982 wflrx %v0, %v0, 16, 0
984 #CHECK: error: invalid operand
985 #CHECK: wfmaxdb %v0, %v0, %v0, -1
986 #CHECK: error: invalid operand
987 #CHECK: wfmaxdb %v0, %v0, %v0, 16
989 wfmaxdb %v0, %v0, %v0, -1
990 wfmaxdb %v0, %v0, %v0, 16
992 #CHECK: error: invalid operand
993 #CHECK: wfmaxsb %v0, %v0, %v0, -1
994 #CHECK: error: invalid operand
995 #CHECK: wfmaxsb %v0, %v0, %v0, 16
997 wfmaxsb %v0, %v0, %v0, -1
998 wfmaxsb %v0, %v0, %v0, 16
1000 #CHECK: error: invalid operand
1001 #CHECK: wfmaxxb %v0, %v0, %v0, -1
1002 #CHECK: error: invalid operand
1003 #CHECK: wfmaxxb %v0, %v0, %v0, 16
1005 wfmaxxb %v0, %v0, %v0, -1
1006 wfmaxxb %v0, %v0, %v0, 16
1008 #CHECK: error: invalid operand
1009 #CHECK: wfmindb %v0, %v0, %v0, -1
1010 #CHECK: error: invalid operand
1011 #CHECK: wfmindb %v0, %v0, %v0, 16
1013 wfmindb %v0, %v0, %v0, -1
1014 wfmindb %v0, %v0, %v0, 16
1016 #CHECK: error: invalid operand
1017 #CHECK: wfminsb %v0, %v0, %v0, -1
1018 #CHECK: error: invalid operand
1019 #CHECK: wfminsb %v0, %v0, %v0, 16
1021 wfminsb %v0, %v0, %v0, -1
1022 wfminsb %v0, %v0, %v0, 16
1024 #CHECK: error: invalid operand
1025 #CHECK: wfminxb %v0, %v0, %v0, -1
1026 #CHECK: error: invalid operand
1027 #CHECK: wfminxb %v0, %v0, %v0, 16
1029 wfminxb %v0, %v0, %v0, -1
1030 wfminxb %v0, %v0, %v0, 16
1032 #CHECK: error: invalid operand
1033 #CHECK: wftcisb %v0, %v0, -1
1034 #CHECK: error: invalid operand
1035 #CHECK: wftcisb %v0, %v0, 4096
1037 wftcisb %v0, %v0, -1
1038 wftcisb %v0, %v0, 4096
1040 #CHECK: error: invalid operand
1041 #CHECK: wftcixb %v0, %v0, -1
1042 #CHECK: error: invalid operand
1043 #CHECK: wftcixb %v0, %v0, 4096
1045 wftcixb %v0, %v0, -1
1046 wftcixb %v0, %v0, 4096