summaryrefslogtreecommitdiffstats
path: root/test/MC/Disassembler/AArch64/neon-instructions.txt
blob: 35906684f9ca98fd0050e168e6860cd899896189 (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
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
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
# RUN: llvm-mc  -triple aarch64-none-linux-gnu -mattr=+neon -disassemble < %s | FileCheck %s
# RUN: llvm-mc  -triple arm64-none-linux-gnu -mattr=+neon -disassemble < %s | FileCheck %s

#------------------------------------------------------------------------------
# Vector Integer Add/Sub
#------------------------------------------------------------------------------
# CHECK: add v31.8b, v31.8b, v31.8b
# CHECK: sub v0.2d, v0.2d, v0.2d
0xff 0x87 0x3f 0x0e
0x00 0x84 0xe0 0x6e

#------------------------------------------------------------------------------
# Vector Floating-Point Add/Sub
#------------------------------------------------------------------------------

# CHECK: fadd v0.4s, v0.4s, v0.4s
# CHECK: fsub v31.2s, v31.2s, v31.2s
0x00 0xd4 0x20 0x4e
0xff 0xd7 0xbf 0x0e

#------------------------------------------------------------------------------
# Vector Integer Mul
#------------------------------------------------------------------------------
# CHECK: mul v0.8b, v1.8b, v2.8b
0x20 0x9c 0x22 0x0e

#------------------------------------------------------------------------------
# Vector Floating-Point Mul/Div
#------------------------------------------------------------------------------
# CHECK: fmul v0.2s, v1.2s, v2.2s
# CHECK: fdiv v31.2s, v31.2s, v31.2s
0x20 0xdc 0x22 0x2e
0xff 0xff 0x3f 0x2e

#----------------------------------------------------------------------
# Vector Polynomial Multiply
#----------------------------------------------------------------------
# CHECK: pmul v0.8b, v15.8b, v16.8b
# CHECK: pmul v31.16b, v7.16b, v8.16b
0xe0 0x9d 0x30 0x2e
0xff 0x9c 0x28 0x6e

#------------------------------------------------------------------------------
# Vector And, Orr, Eor, Orn, Bic
#------------------------------------------------------------------------------
# CHECK: and v2.8b, v2.8b, v2.8b
# CHECK: orr v31.16b, v31.16b, v30.16b
# CHECK: eor v0.16b, v1.16b, v2.16b
# CHECK: orn v9.16b, v10.16b, v11.16b
# CHECK: bic v31.8b, v30.8b, v29.8b
0x42 0x1c 0x22 0x0e
0xff 0x1f 0xbe 0x4e
0x20 0x1c 0x22 0x6e
0x49 0x1d 0xeb 0x4e
0xdf 0x1f 0x7d 0x0e

#------------------------------------------------------------------------------
# Vector Bsl, Bit, Bif
#------------------------------------------------------------------------------
# CHECK: bsl v0.8b, v1.8b, v2.8b
# CHECK: bit v31.16b, v31.16b, v31.16b
# CHECK: bif v0.16b, v1.16b, v2.16b
0x20 0x1c 0x62 0x2e
0xff 0x1f 0xbf 0x6e
0x20 0x1c 0xe2 0x6e


#------------------------------------------------------------------------------
# Vector Integer Multiply-accumulate and Multiply-subtract
#------------------------------------------------------------------------------
# CHECK: mla v0.8b, v1.8b, v2.8b
# CHECK: mls v31.4h, v31.4h, v31.4h
0x20 0x94 0x22 0x0e
0xff 0x97 0x7f 0x2e

#------------------------------------------------------------------------------
# Vector Floating-Point Multiply-accumulate and Multiply-subtract
#------------------------------------------------------------------------------
# CHECK: fmla v0.2s, v1.2s, v2.2s
# CHECK: fmls v31.2s, v31.2s, v31.2s
0x20 0xcc 0x22 0x0e
0xff 0xcf 0xbf 0x0e

#------------------------------------------------------------------------------
# Vector Move Immediate Shifted
# Vector Move Inverted Immediate Shifted
# Vector Bitwise Bit Clear (AND NOT) - immediate
# Vector Bitwise OR - immedidate
#------------------------------------------------------------------------------
# CHECK: movi v31.4s, #0xff, lsl #24
# CHECK: mvni v0.2s, #{{0x0|0}}
# CHECK: bic v15.4h, #0xf, lsl #8
# CHECK: orr v16.8h, #0x1f
0xff 0x67 0x07 0x4f
0x00 0x04 0x00 0x2f
0xef 0xb5 0x00 0x2f
0xf0 0x97 0x00 0x4f

#------------------------------------------------------------------------------
# Vector Move Immediate Masked
# Vector Move Inverted Immediate Masked
#------------------------------------------------------------------------------
# CHECK: movi v8.2s, #0x8, msl #8
# CHECK: mvni v16.4s, #0x10, msl #16
0x08 0xc5 0x00 0x0f
0x10 0xd6 0x00 0x6f

#------------------------------------------------------------------------------
# Vector Immediate - per byte
# Vector Move Immediate - bytemask, per doubleword
# Vector Move Immediate - bytemask, one doubleword
#------------------------------------------------------------------------------
# CHECK: movi v16.8b, #0xff
# CHECK: movi v31.16b, #0x1f
# CHECK: movi d15, #0xff00ff00ff00ff
# CHECK: movi v31.2d, #0xff0000ff0000ffff
0xf0 0xe7 0x07 0x0f
0xff 0xe7 0x00 0x4f
0xaf 0xe6 0x02 0x2f
0x7f 0xe6 0x04 0x6f

#------------------------------------------------------------------------------
# Vector Floating Point Move Immediate
#------------------------------------------------------------------------------
# CHECK: fmov v0.2s, #13.0
# CHECK: fmov v15.4s, #1.0
# CHECK: fmov v31.2d, #-1.25
0x40 0xf5 0x01 0x0f
0x0f 0xf6 0x03 0x4f
0x9f 0xf6 0x07 0x6f

#------------------------------------------------------------------------------
# Vector Move - register
#------------------------------------------------------------------------------

# CHECK: mov v1.16b, v15.16b
# CHECK: mov v25.8b, v4.8b
0xe1 0x1d 0xaf 0x4e
0x99 0x1c 0xa4 0x0e

#----------------------------------------------------------------------
# Vector Absolute Difference and Accumulate (Signed, Unsigned)
# Vector Absolute Difference (Signed, Unsigned)
# Vector Absolute Difference (Floating Point)
#----------------------------------------------------------------------

# CHECK: uaba v0.8b, v1.8b, v2.8b
# CHECK: saba v31.16b, v30.16b, v29.16b
# CHECK: uabd v15.4h, v16.4h, v17.4h
# CHECK: sabd v5.4h, v4.4h, v6.4h
# CHECK: fabd v1.4s, v31.4s, v16.4s
0x20 0x7c 0x22 0x2e
0xdf 0x7f 0x3d 0x4e
0x0f 0x76 0x71 0x2e
0x85 0x74 0x66 0x0e
0xe1 0xd7 0xb0 0x6e

#----------------------------------------------------------------------
# Scalar Integer Add
# Scalar Integer Sub
#----------------------------------------------------------------------

# CHECK: add d17, d31, d29
# CHECK: sub d15, d5, d16
0xf1 0x87 0xfd 0x5e
0xaf 0x84 0xf0 0x7e

#----------------------------------------------------------------------
# Vector Reciprocal Square Root Step (Floating Point)
#----------------------------------------------------------------------
# CHECK: frsqrts v31.2d, v15.2d, v8.2d
0xff 0xfd 0xe8 0x4e

#----------------------------------------------------------------------
# Vector Reciprocal Step (Floating Point)
#----------------------------------------------------------------------
# CHECK: frecps  v5.4s, v7.4s, v16.4s
0xe5 0xfc 0x30 0x4e

#----------------------------------------------------------------------
# Vector Absolute Compare Mask Less Than Or Equal (Floating Point)
#----------------------------------------------------------------------
# CHECK: facge v0.4s, v31.4s, v16.4s
0xe0 0xef 0x30 0x6e

#----------------------------------------------------------------------
# Vector Absolute Compare Mask Less Than (Floating Point)
#----------------------------------------------------------------------
# CHECK: facgt v31.2d, v29.2d, v28.2d
0xbf 0xef 0xfc 0x6e

#----------------------------------------------------------------------
# Vector Compare Mask Equal (Integer)
#----------------------------------------------------------------------
# CHECK: cmeq v5.16b, v15.16b, v31.16b
0xe5 0x8d 0x3f 0x6e

#----------------------------------------------------------------------
# Vector Compare Mask Higher or Same (Unsigned Integer)
#----------------------------------------------------------------------
# CHECK: cmhs v1.8b, v16.8b, v30.8b
0x01 0x3e 0x3e 0x2e

#----------------------------------------------------------------------
# Vector Compare Mask Greater Than or Equal (Integer)
#----------------------------------------------------------------------
# CHECK: cmge v20.4h, v11.4h, v23.4h
0x74 0x3d 0x77 0x0e

#----------------------------------------------------------------------
# Vector Compare Mask Higher (Unsigned Integer)
# CHECK: cmhi v13.8h, v3.8h, v27.8h
0x6d 0x34 0x7b 0x6e

#----------------------------------------------------------------------
# Vector Compare Mask Greater Than (Integer)
#----------------------------------------------------------------------
# CHECK: cmgt v9.4s, v4.4s, v28.4s
0x89 0x34 0xbc 0x4e

#----------------------------------------------------------------------
# Vector Compare Mask Bitwise Test (Integer)
#----------------------------------------------------------------------
# CHECK: cmtst v21.2s, v19.2s, v18.2s
0x75 0x8e 0xb2 0x0e

#----------------------------------------------------------------------
# Vector Compare Mask Equal (Floating Point)
#----------------------------------------------------------------------
# CHECK: fcmeq v0.2s, v15.2s, v16.2s
0xe0 0xe5 0x30 0x0e

#----------------------------------------------------------------------
# Vector Compare Mask Greater Than Or Equal (Floating Point)
#----------------------------------------------------------------------
# CHECK: fcmge v31.4s, v7.4s, v29.4s
0xff 0xe4 0x3d 0x6e

#----------------------------------------------------------------------
# Vector Compare Mask Greater Than (Floating Point)
#----------------------------------------------------------------------
# CHECK: fcmgt v17.4s, v8.4s, v25.4s
0x11 0xe5 0xb9 0x6e

#----------------------------------------------------------------------
# Vector Compare Mask Equal to Zero (Integer)
#----------------------------------------------------------------------
# CHECK: cmeq v31.16b, v15.16b, #{{0x0|0}}
0xff 0x99 0x20 0x4e

#----------------------------------------------------------------------
# Vector Compare Mask Greater Than or Equal to Zero (Signed Integer)
#----------------------------------------------------------------------
# CHECK: cmge v3.8b, v15.8b, #{{0x0|0}}
0xe3 0x89 0x20 0x2e

#----------------------------------------------------------------------
# Vector Compare Mask Greater Than Zero (Signed Integer)
#----------------------------------------------------------------------
# CHECK: cmgt v22.2s, v9.2s, #{{0x0|0}}
0x36 0x89 0xa0 0x0e

#----------------------------------------------------------------------
# Vector Compare Mask Less Than or Equal To Zero (Signed Integer)
#----------------------------------------------------------------------
# CHECK: cmle v5.2d, v14.2d, #{{0x0|0}}
0xc5 0x99 0xe0 0x6e

#----------------------------------------------------------------------
# Vector Compare Mask Less Than Zero (Signed Integer)
#----------------------------------------------------------------------
# CHECK: cmlt v13.8h, v11.8h, #{{0x0|0}}
0x6d 0xa9 0x60 0x4e

#----------------------------------------------------------------------
# Vector Compare Mask Equal to Zero (Floating Point)
#----------------------------------------------------------------------
# CHECK: fcmeq v15.2s, v21.2s, #0.0
0xaf 0xda 0xa0 0x0e

#----------------------------------------------------------------------
# Vector Compare Mask Greater Than or Equal to Zero (Floating Point)
#----------------------------------------------------------------------
# CHECK: fcmge v14.2d, v13.2d, #0.0
0xae 0xc9 0xe0 0x6e

#----------------------------------------------------------------------
# Vector Compare Mask Greater Than Zero (Floating Point)
#----------------------------------------------------------------------
# CHECK: fcmgt v9.4s, v23.4s, #0.0
0xe9 0xca 0xa0 0x4e

#----------------------------------------------------------------------
# Vector Compare Mask Less Than or Equal To Zero (Floating Point)
#----------------------------------------------------------------------
# CHECK: fcmle v11.2d, v6.2d, #0.0
0xcb 0xd8 0xe0 0x6e

#----------------------------------------------------------------------
# Vector Compare Mask Less Than Zero (Floating Point)
#----------------------------------------------------------------------
# CHECK: fcmlt v12.4s, v25.4s, #0.0
0x2c 0xeb 0xa0 0x4e


#------------------------------------------------------------------------------
# Vector Integer Halving Add (Signed)
# Vector Integer Halving Add (Unsigned)
# Vector Integer Halving Sub (Signed)
# Vector Integer Halving Sub (Unsigned)
#------------------------------------------------------------------------------
# CHECK: shadd v0.8b, v31.8b, v29.8b
# CHECK: uhadd v15.16b, v16.16b, v17.16b
# CHECK: shsub v0.4h, v1.4h, v2.4h
# CHECK: uhadd v5.8h, v7.8h, v8.8h
# CHECK: shsub v9.2s, v11.2s, v21.2s
# CHECK: uhsub v22.4s, v30.4s, v19.4s
0xe0 0x07 0x3d 0x0e
0x0f 0x06 0x31 0x6e
0x20 0x24 0x62 0x0e
0xe5 0x04 0x68 0x6e
0x69 0x25 0xb5 0x0e
0xd6 0x27 0xb3 0x6e

#------------------------------------------------------------------------------
# Vector Integer Rouding Halving Add (Signed)
# Vector Integer Rouding Halving Add (Unsigned)
#------------------------------------------------------------------------------
# CHECK: srhadd v3.8b, v5.8b, v7.8b
# CHECK: urhadd v7.16b, v17.16b, v27.16b
# CHECK: srhadd v10.4h, v11.4h, v13.4h
# CHECK: urhadd v1.8h, v2.8h, v3.8h
# CHECK: srhadd v4.2s, v5.2s, v6.2s
# CHECK: urhadd v7.4s, v7.4s, v7.4s
0xa3 0x14 0x27 0x0e
0x27 0x16 0x3b 0x6e
0x6a 0x15 0x6d 0x0e
0x41 0x14 0x63 0x6e
0xa4 0x14 0xa6 0x0e
0xe7 0x14 0xa7 0x6e

#------------------------------------------------------------------------------
# Vector Integer Saturating Add (Signed)
# Vector Integer Saturating Add (Unsigned)
# Vector Integer Saturating Sub (Signed)
# Vector Integer Saturating Sub (Unsigned)
#------------------------------------------------------------------------------
# CHECK: sqsub v0.8b, v1.8b, v2.8b
# CHECK: sqadd v0.16b, v1.16b, v2.16b
# CHECK: uqsub v0.4h, v1.4h, v2.4h
# CHECK: uqadd v0.8h, v1.8h, v2.8h
# CHECK: sqadd v0.2s, v1.2s, v2.2s
# CHECK: sqsub v0.4s, v1.4s, v2.4s
# CHECK: sqsub v0.2d, v1.2d, v2.2d
0x20 0x2c 0x22 0x0e
0x20 0x0c 0x22 0x4e
0x20 0x2c 0x62 0x2e
0x20 0x0c 0x62 0x6e
0x20 0x0c 0xa2 0x0e
0x20 0x2c 0xa2 0x4e
0x20 0x2c 0xe2 0x4e

#------------------------------------------------------------------------------
# Scalar Integer Saturating Add (Signed)
# Scalar Integer Saturating Add (Unsigned)
# Scalar Integer Saturating Sub (Signed)
# Scalar Integer Saturating Add (Unsigned)
#------------------------------------------------------------------------------
# CHECK: sqadd b20, b11, b15
# CHECK: uqadd h0, h1, h5
# CHECK: sqsub s20, s10, s7
# CHECK: uqsub d16, d16, d16
0x74 0x0d 0x2f 0x5e
0x20 0x0c 0x65 0x7e
0x54 0x2d 0xa7 0x5e
0x10 0x2e 0xf0 0x7e


#----------------------------------------------------------------------
# Vector Shift Left (Signed and Unsigned Integer)
#----------------------------------------------------------------------
# CHECK: sshl v10.8b, v15.8b, v22.8b
# CHECK: ushl v10.16b, v5.16b, v2.16b
# CHECK: sshl v10.4h, v15.4h, v22.4h
# CHECK: ushl v10.8h, v5.8h, v2.8h
# CHECK: sshl v10.2s, v15.2s, v22.2s
# CHECK: ushl v10.4s, v5.4s, v2.4s
# CHECK: sshl v0.2d, v1.2d, v2.2d
0xea 0x45 0x36 0x0e
0xaa 0x44 0x22 0x6e
0xea 0x45 0x76 0x0e
0xaa 0x44 0x62 0x6e
0xea 0x45 0xb6 0x0e
0xaa 0x44 0xa2 0x6e
0x20 0x44 0xe2 0x4e

#----------------------------------------------------------------------
# Vector Saturating Shift Left (Signed and Unsigned Integer)
#----------------------------------------------------------------------
# CHECK: sqshl v1.8b, v15.8b, v22.8b
# CHECK: uqshl v2.16b, v14.16b, v23.16b
# CHECK: sqshl v3.4h, v13.4h, v24.4h
# CHECK: uqshl v4.8h, v12.8h, v25.8h
# CHECK: sqshl v5.2s, v11.2s, v26.2s
# CHECK: uqshl v6.4s, v10.4s, v27.4s
# CHECK: uqshl v0.2d, v1.2d, v2.2d
0xe1 0x4d 0x36 0x0e
0xc2 0x4d 0x37 0x6e
0xa3 0x4d 0x78 0x0e
0x84 0x4d 0x79 0x6e
0x65 0x4d 0xba 0x0e
0x46 0x4d 0xbb 0x6e
0x20 0x4c 0xe2 0x6e

#----------------------------------------------------------------------
# Vector Rouding Shift Left (Signed and Unsigned Integer)
#----------------------------------------------------------------------
# CHECK: srshl v10.8b, v5.8b, v22.8b
# CHECK: urshl v10.16b, v5.16b, v2.16b
# CHECK: srshl v1.4h, v5.4h, v31.4h
# CHECK: urshl v1.8h, v5.8h, v2.8h
# CHECK: srshl v10.2s, v15.2s, v2.2s
# CHECK: urshl v1.4s, v5.4s, v2.4s
# CHECK: urshl v0.2d, v1.2d, v2.2d
0xaa 0x54 0x36 0x0e
0xaa 0x54 0x22 0x6e
0xa1 0x54 0x7f 0x0e
0xa1 0x54 0x62 0x6e
0xea 0x55 0xa2 0x0e
0xa1 0x54 0xa2 0x6e
0x20 0x54 0xe2 0x6e

#----------------------------------------------------------------------
# Vector Saturating Rouding Shift Left (Signed and Unsigned Integer)
#----------------------------------------------------------------------
# CHECK: sqrshl v1.8b, v15.8b, v22.8b
# CHECK: uqrshl v2.16b, v14.16b, v23.16b
# CHECK: sqrshl v3.4h, v13.4h, v24.4h
# CHECK: uqrshl v4.8h, v12.8h, v25.8h
# CHECK: sqrshl v5.2s, v11.2s, v26.2s
# CHECK: uqrshl v6.4s, v10.4s, v27.4s
# CHECK: uqrshl v6.4s, v10.4s, v27.4s
0xe1 0x5d 0x36 0x0e
0xc2 0x5d 0x37 0x6e
0xa3 0x5d 0x78 0x0e
0x84 0x5d 0x79 0x6e
0x65 0x5d 0xba 0x0e
0x46 0x5d 0xbb 0x6e
0x46 0x5d 0xbb 0x6e

#----------------------------------------------------------------------
# Scalar Integer Shift Left (Signed, Unsigned)
#----------------------------------------------------------------------
# CHECK: sshl d31, d31, d31
# CHECK: ushl d0, d0, d0
0xff 0x47 0xff 0x5e
0x00 0x44 0xe0 0x7e

#----------------------------------------------------------------------
# Scalar Integer Saturating Shift Left (Signed, Unsigned)
#----------------------------------------------------------------------
# CHECK: sqshl d31, d31, d31
# CHECK: uqshl s23, s20, s16
# CHECK: sqshl h3, h4, h15
# CHECK: uqshl b11, b20, b30
0xff 0x4f 0xff 0x5e
0x97 0x4e 0xb0 0x7e
0x83 0x4c 0x6f 0x5e
0x8b 0x4e 0x3e 0x7e

#----------------------------------------------------------------------
# Scalar Integer Rouding Shift Left (Signed, Unsigned)
#----------------------------------------------------------------------
# CHECK: srshl d16, d16, d16
# CHECK: urshl d8, d7, d4
0x10 0x56 0xf0 0x5e
0xe8 0x54 0xe4 0x7e

#----------------------------------------------------------------------
# Scalar Integer Saturating Rounding Shift Left (Signed, Unsigned)
#----------------------------------------------------------------------
# CHECK: sqrshl d31, d31, d31
# CHECK: uqrshl s23, s20, s16
# CHECK: sqrshl h3, h4, h15
# CHECK: uqrshl b11, b20, b30
0xff 0x5f 0xff 0x5e
0x97 0x5e 0xb0 0x7e
0x83 0x5c 0x6f 0x5e
0x8b 0x5e 0x3e 0x7e

#----------------------------------------------------------------------
# Vector Maximum (Signed and Unsigned Integer)
#----------------------------------------------------------------------
# CHECK: smax v1.8b, v15.8b, v22.8b
# CHECK: umax v2.16b, v14.16b, v23.16b
# CHECK: smax v3.4h, v13.4h, v24.4h
# CHECK: umax v4.8h, v12.8h, v25.8h
# CHECK: smax v5.2s, v11.2s, v26.2s
# CHECK: umax v6.4s, v10.4s, v27.4s
0xe1 0x65 0x36 0x0e
0xc2 0x65 0x37 0x6e
0xa3 0x65 0x78 0x0e
0x84 0x65 0x79 0x6e
0x65 0x65 0xba 0x0e
0x46 0x65 0xbb 0x6e

#----------------------------------------------------------------------
# Vector Minimum (Signed and Unsigned Integer)
#----------------------------------------------------------------------
# CHECK: umin v1.8b, v15.8b, v22.8b
# CHECK: smin v2.16b, v14.16b, v23.16b
# CHECK: umin v3.4h, v13.4h, v24.4h
# CHECK: smin v4.8h, v12.8h, v25.8h
# CHECK: umin v5.2s, v11.2s, v26.2s
# CHECK: smin v6.4s, v10.4s, v27.4s
0xe1 0x6d 0x36 0x2e
0xc2 0x6d 0x37 0x4e
0xa3 0x6d 0x78 0x2e
0x84 0x6d 0x79 0x4e
0x65 0x6d 0xba 0x2e
0x46 0x6d 0xbb 0x4e

#----------------------------------------------------------------------
# Vector Maximum (Floating Point)
#----------------------------------------------------------------------
# CHECK: fmax v29.2s, v28.2s, v25.2s
# CHECK: fmax v9.4s, v8.4s, v5.4s
# CHECK: fmax v11.2d, v10.2d, v7.2d
0x9d 0xf7 0x39 0x0e
0x09 0xf5 0x25 0x4e
0x4b 0xf5 0x67 0x4e

#----------------------------------------------------------------------
# Vector Minimum (Floating Point)
#----------------------------------------------------------------------
# CHECK: fmin v29.2s, v28.2s, v25.2s
# CHECK: fmin v9.4s, v8.4s, v5.4s
# CHECK: fmin v11.2d, v10.2d, v7.2d
0x9d 0xf7 0xb9 0x0e
0x09 0xf5 0xa5 0x4e
0x4b 0xf5 0xe7 0x4e

#----------------------------------------------------------------------
# Vector maxNum (Floating Point)
#----------------------------------------------------------------------
# CHECK: fmaxnm v9.2s, v8.2s, v5.2s
# CHECK: fmaxnm v9.4s, v8.4s, v5.4s
# CHECK: fmaxnm v11.2d, v10.2d, v7.2d
0x09 0xc5 0x25 0x0e
0x09 0xc5 0x25 0x4e
0x4b 0xc5 0x67 0x4e

#----------------------------------------------------------------------
# Vector minNum (Floating Point)
#----------------------------------------------------------------------
# CHECK: fminnm v2.2s, v8.2s, v25.2s
# CHECK: fminnm v9.4s, v8.4s, v5.4s
# CHECK: fminnm v11.2d, v10.2d, v7.2d
0x02 0xc5 0xb9 0x0e
0x09 0xc5 0xa5 0x4e
0x4b 0xc5 0xe7 0x4e


#----------------------------------------------------------------------
# Vector Maximum Pairwise (Signed and Unsigned Integer)
#----------------------------------------------------------------------
# CHECK: smaxp v1.8b, v15.8b, v22.8b
# CHECK: umaxp v2.16b, v14.16b, v23.16b
# CHECK: smaxp v3.4h, v13.4h, v24.4h
# CHECK: umaxp v4.8h, v12.8h, v25.8h
# CHECK: smaxp v5.2s, v11.2s, v26.2s
# CHECK: umaxp v6.4s, v10.4s, v27.4s
0xe1 0xa5 0x36 0x0e
0xc2 0xa5 0x37 0x6e
0xa3 0xa5 0x78 0x0e
0x84 0xa5 0x79 0x6e
0x65 0xa5 0xba 0x0e
0x46 0xa5 0xbb 0x6e

#----------------------------------------------------------------------
# Vector Minimum Pairwise (Signed and Unsigned Integer)
#----------------------------------------------------------------------
# CHECK: uminp v1.8b, v15.8b, v22.8b
# CHECK: sminp v2.16b, v14.16b, v23.16b
# CHECK: uminp v3.4h, v13.4h, v24.4h
# CHECK: sminp v4.8h, v12.8h, v25.8h
# CHECK: uminp v5.2s, v11.2s, v26.2s
# CHECK: sminp v6.4s, v10.4s, v27.4s
0xe1 0xad 0x36 0x2e
0xc2 0xad 0x37 0x4e
0xa3 0xad 0x78 0x2e
0x84 0xad 0x79 0x4e
0x65 0xad 0xba 0x2e
0x46 0xad 0xbb 0x4e

#----------------------------------------------------------------------
# Vector Maximum Pairwise (Floating Point)
#----------------------------------------------------------------------
# CHECK: fmaxp v29.2s, v28.2s, v25.2s
# CHECK: fmaxp v9.4s, v8.4s, v5.4s
# CHECK: fmaxp v11.2d, v10.2d, v7.2d
0x9d 0xf7 0x39 0x2e
0x09 0xf5 0x25 0x6e
0x4b 0xf5 0x67 0x6e

#----------------------------------------------------------------------
# Vector Minimum Pairwise (Floating Point)
#----------------------------------------------------------------------
# CHECK: fminp v29.2s, v28.2s, v25.2s
# CHECK: fminp v9.4s, v8.4s, v5.4s
# CHECK: fminp v11.2d, v10.2d, v7.2d
0x9d 0xf7 0xb9 0x2e
0x09 0xf5 0xa5 0x6e
0x4b 0xf5 0xe7 0x6e

#----------------------------------------------------------------------
# Vector maxNum Pairwise (Floating Point)
#----------------------------------------------------------------------
# CHECK: fmaxnmp v9.2s, v8.2s, v5.2s
# CHECK: fmaxnmp v9.4s, v8.4s, v5.4s
# CHECK: fmaxnmp v11.2d, v10.2d, v7.2d
0x09 0xc5 0x25 0x2e
0x09 0xc5 0x25 0x6e
0x4b 0xc5 0x67 0x6e

#----------------------------------------------------------------------
# Vector minNum Pairwise (Floating Point)
#----------------------------------------------------------------------
# CHECK: fminnmp v2.2s, v8.2s, v25.2s
# CHECK: fminnmp v9.4s, v8.4s, v5.4s
# CHECK: fminnmp v11.2d, v10.2d, v7.2d
0x02 0xc5 0xb9 0x2e
0x09 0xc5 0xa5 0x6e
0x4b 0xc5 0xe7 0x6e

#------------------------------------------------------------------------------
# Vector Add Pairwise (Integer)
#------------------------------------------------------------------------------
# CHECK: addp v31.8b, v31.8b, v31.8b
# CHECK: addp v0.2d, v0.2d, v0.2d
0xff 0xbf 0x3f 0x0e
0x00 0xbc 0xe0 0x4e

#------------------------------------------------------------------------------
# Vector Add Pairwise (Floating Point)
#------------------------------------------------------------------------------
# CHECK: faddp v0.4s, v0.4s, v0.4s
# CHECK: faddp v31.2s, v31.2s, v31.2s
0x00 0xd4 0x20 0x6e
0xff 0xd7 0x3f 0x2e


#------------------------------------------------------------------------------
# Vector Saturating Doubling Multiply High
# Vector Saturating Rouding Doubling Multiply High
#------------------------------------------------------------------------------
# CHECK: sqdmulh v31.2s, v31.2s, v31.2s
# CHECK: sqdmulh v5.4s, v7.4s, v9.4s
# CHECK: sqrdmulh v31.4h, v3.4h, v13.4h
# CHECK: sqrdmulh v0.8h, v10.8h, v20.8h
0xff 0xb7 0xbf 0x0e
0xe5 0xb4 0xa9 0x4e
0x7f 0xb4 0x6d 0x2e
0x40 0xb5 0x74 0x6e

#------------------------------------------------------------------------------
# Vector Multiply Extended
#------------------------------------------------------------------------------
# CHECK: fmulx v1.2s, v22.2s, v2.2s
# CHECK: fmulx v21.4s, v15.4s, v3.4s
# CHECK: fmulx v11.2d, v5.2d, v23.2d
0xc1 0xde 0x22 0x0e
0xf5 0xdd 0x23 0x4e
0xab 0xdc 0x77 0x4e

#----------------------------------------------------------------------
# Vector Shift Left long 
#----------------------------------------------------------------------
# CHECK: shll2	v2.8h, v4.16b, #8
# CHECK: shll2	v6.4s, v8.8h, #16
# CHECK: shll2	v6.2d, v8.4s, #32
# CHECK: shll	v2.8h, v4.8b, #8
# CHECK: shll	v6.4s, v8.4h, #16
# CHECK: shll	v6.2d, v8.2s, #32

0x82,0x38,0x21,0x6e
0x06,0x39,0x61,0x6e
0x06,0x39,0xa1,0x6e
0x82,0x38,0x21,0x2e
0x06,0x39,0x61,0x2e
0x06,0x39,0xa1,0x2e

#----------------------------------------------------------------------
# Vector Shift Left by Immediate
#----------------------------------------------------------------------
# CHECK: shl v0.4h, v1.4h, #3
# CHECK: shl v0.16b, v1.16b, #3
# CHECK: shl v0.4s, v1.4s, #3
# CHECK: shl v0.2d, v1.2d, #3
0x20,0x54,0x13,0x0f
0x20,0x54,0x0b,0x4f
0x20,0x54,0x23,0x4f
0x20,0x54,0x43,0x4f

#----------------------------------------------------------------------
# Vector Shift Left Long (Signed, Unsigned) by Immediate
#----------------------------------------------------------------------
# CHECK: sshll v0.2d, v1.2s, #3
# CHECK: sshll2 v0.4s, v1.8h, #3
# CHECK: ushll v0.4s, v1.4h, #3
# CHECK: ushll2 v0.8h, v1.16b, #3
0x20 0xa4 0x23 0x0f
0x20 0xa4 0x13 0x4f
0x20 0xa4 0x13 0x2f
0x20 0xa4 0x0b 0x6f

#-----------------------------------------------------------------------------
#Integer shift right (Signed)
#-----------------------------------------------------------------------------
# CHECK: sshr v0.8b, v1.8b, #3
# CHECK: sshr v0.4h, v1.4h, #3
# CHECK: sshr v0.2s, v1.2s, #3
# CHECK: sshr v0.16b, v1.16b, #3
# CHECK: sshr v0.8h, v1.8h, #3
# CHECK: sshr v0.4s, v1.4s, #3
# CHECK: sshr v0.2d, v1.2d, #3
0x20,0x04,0x0d,0x0f
0x20,0x04,0x1d,0x0f
0x20,0x04,0x3d,0x0f
0x20,0x04,0x0d,0x4f
0x20,0x04,0x1d,0x4f
0x20,0x04,0x3d,0x4f
0x20,0x04,0x7d,0x4f

#-----------------------------------------------------------------------------
#Integer shift right (Unsigned)
#-----------------------------------------------------------------------------
# CHECK: ushr v0.8b, v1.8b, #3
# CHECK: ushr v0.4h, v1.4h, #3
# CHECK: ushr v0.2s, v1.2s, #3
# CHECK: ushr v0.16b, v1.16b, #3
# CHECK: ushr v0.8h, v1.8h, #3
# CHECK: ushr v0.4s, v1.4s, #3
# CHECK: ushr v0.2d, v1.2d, #3
0x20,0x04,0x0d,0x2f
0x20,0x04,0x1d,0x2f
0x20,0x04,0x3d,0x2f
0x20,0x04,0x0d,0x6f
0x20,0x04,0x1d,0x6f
0x20,0x04,0x3d,0x6f
0x20,0x04,0x7d,0x6f

#-----------------------------------------------------------------------------
#Integer shift right and accumulate (Signed)
#-----------------------------------------------------------------------------
# CHECK: ssra v0.8b, v1.8b, #3
# CHECK: ssra v0.4h, v1.4h, #3
# CHECK: ssra v0.2s, v1.2s, #3
# CHECK: ssra v0.16b, v1.16b, #3
# CHECK: ssra v0.8h, v1.8h, #3
# CHECK: ssra v0.4s, v1.4s, #3
# CHECK: ssra v0.2d, v1.2d, #3
0x20,0x14,0x0d,0x0f
0x20,0x14,0x1d,0x0f
0x20,0x14,0x3d,0x0f
0x20,0x14,0x0d,0x4f
0x20,0x14,0x1d,0x4f
0x20,0x14,0x3d,0x4f
0x20,0x14,0x7d,0x4f

#-----------------------------------------------------------------------------
#Integer shift right and accumulate (Unsigned)
#-----------------------------------------------------------------------------
# CHECK: usra v0.8b, v1.8b, #3
# CHECK: usra v0.4h, v1.4h, #3
# CHECK: usra v0.2s, v1.2s, #3
# CHECK: usra v0.16b, v1.16b, #3
# CHECK: usra v0.8h, v1.8h, #3
# CHECK: usra v0.4s, v1.4s, #3
# CHECK: usra v0.2d, v1.2d, #3
0x20,0x14,0x0d,0x2f
0x20,0x14,0x1d,0x2f
0x20,0x14,0x3d,0x2f
0x20,0x14,0x0d,0x6f
0x20,0x14,0x1d,0x6f
0x20,0x14,0x3d,0x6f
0x20,0x14,0x7d,0x6f

#-----------------------------------------------------------------------------
#Integer rounding shift right (Signed)
#-----------------------------------------------------------------------------
# CHECK: srshr v0.8b, v1.8b, #3
# CHECK: srshr v0.4h, v1.4h, #3
# CHECK: srshr v0.2s, v1.2s, #3
# CHECK: srshr v0.16b, v1.16b, #3
# CHECK: srshr v0.8h, v1.8h, #3
# CHECK: srshr v0.4s, v1.4s, #3
# CHECK: srshr v0.2d, v1.2d, #3
0x20,0x24,0x0d,0x0f
0x20,0x24,0x1d,0x0f
0x20,0x24,0x3d,0x0f
0x20,0x24,0x0d,0x4f
0x20,0x24,0x1d,0x4f
0x20,0x24,0x3d,0x4f
0x20,0x24,0x7d,0x4f

#-----------------------------------------------------------------------------
#Integer rounding shift right (Unsigned)
#-----------------------------------------------------------------------------
# CHECK: urshr v0.8b, v1.8b, #3
# CHECK: urshr v0.4h, v1.4h, #3
# CHECK: urshr v0.2s, v1.2s, #3
# CHECK: urshr v0.16b, v1.16b, #3
# CHECK: urshr v0.8h, v1.8h, #3
# CHECK: urshr v0.4s, v1.4s, #3
# CHECK: urshr v0.2d, v1.2d, #3
0x20,0x24,0x0d,0x2f
0x20,0x24,0x1d,0x2f
0x20,0x24,0x3d,0x2f
0x20,0x24,0x0d,0x6f
0x20,0x24,0x1d,0x6f
0x20,0x24,0x3d,0x6f
0x20,0x24,0x7d,0x6f

#-----------------------------------------------------------------------------
#Integer rounding shift right and accumulate (Signed)
#-----------------------------------------------------------------------------
# CHECK: srsra v0.8b, v1.8b, #3
# CHECK: srsra v0.4h, v1.4h, #3
# CHECK: srsra v0.2s, v1.2s, #3
# CHECK: srsra v0.16b, v1.16b, #3
# CHECK: srsra v0.8h, v1.8h, #3
# CHECK: srsra v0.4s, v1.4s, #3
# CHECK: srsra v0.2d, v1.2d, #3
0x20,0x34,0x0d,0x0f
0x20,0x34,0x1d,0x0f
0x20,0x34,0x3d,0x0f
0x20,0x34,0x0d,0x4f
0x20,0x34,0x1d,0x4f
0x20,0x34,0x3d,0x4f
0x20,0x34,0x7d,0x4f

#-----------------------------------------------------------------------------
#Integer rounding shift right and accumulate (Unsigned)
#-----------------------------------------------------------------------------
# CHECK: ursra v0.8b, v1.8b, #3
# CHECK: ursra v0.4h, v1.4h, #3
# CHECK: ursra v0.2s, v1.2s, #3
# CHECK: ursra v0.16b, v1.16b, #3
# CHECK: ursra v0.8h, v1.8h, #3
# CHECK: ursra v0.4s, v1.4s, #3
# CHECK: ursra v0.2d, v1.2d, #3
0x20,0x34,0x0d,0x2f
0x20,0x34,0x1d,0x2f
0x20,0x34,0x3d,0x2f
0x20,0x34,0x0d,0x6f
0x20,0x34,0x1d,0x6f
0x20,0x34,0x3d,0x6f
0x20,0x34,0x7d,0x6f

#-----------------------------------------------------------------------------
#Integer shift right and insert
#-----------------------------------------------------------------------------
# CHECK: sri v0.8b, v1.8b, #3
# CHECK: sri v0.4h, v1.4h, #3
# CHECK: sri v0.2s, v1.2s, #3
# CHECK: sri v0.16b, v1.16b, #3
# CHECK: sri v0.8h, v1.8h, #3
# CHECK: sri v0.4s, v1.4s, #3
# CHECK: sri v0.2d, v1.2d, #3
0x20,0x44,0x0d,0x2f
0x20,0x44,0x1d,0x2f
0x20,0x44,0x3d,0x2f
0x20,0x44,0x0d,0x6f
0x20,0x44,0x1d,0x6f
0x20,0x44,0x3d,0x6f
0x20,0x44,0x7d,0x6f

#-----------------------------------------------------------------------------
#Integer shift left and insert
#-----------------------------------------------------------------------------
# CHECK: sli v0.8b, v1.8b, #3
# CHECK: sli v0.4h, v1.4h, #3
# CHECK: sli v0.2s, v1.2s, #3
# CHECK: sli v0.16b, v1.16b, #3
# CHECK: sli v0.8h, v1.8h, #3
# CHECK: sli v0.4s, v1.4s, #3
# CHECK: sli v0.2d, v1.2d, #3
0x20,0x54,0x0b,0x2f
0x20,0x54,0x13,0x2f
0x20,0x54,0x23,0x2f
0x20,0x54,0x0b,0x6f
0x20,0x54,0x13,0x6f
0x20,0x54,0x23,0x6f
0x20,0x54,0x43,0x6f

#-----------------------------------------------------------------------------
#Integer saturating shift left unsigned
#-----------------------------------------------------------------------------
# CHECK: sqshlu v0.8b, v1.8b, #3
# CHECK: sqshlu v0.4h, v1.4h, #3
# CHECK: sqshlu v0.2s, v1.2s, #3
# CHECK: sqshlu v0.16b, v1.16b, #3
# CHECK: sqshlu v0.8h, v1.8h, #3
# CHECK: sqshlu v0.4s, v1.4s, #3
# CHECK: sqshlu v0.2d, v1.2d, #3
0x20,0x64,0x0b,0x2f
0x20,0x64,0x13,0x2f
0x20,0x64,0x23,0x2f
0x20,0x64,0x0b,0x6f
0x20,0x64,0x13,0x6f
0x20,0x64,0x23,0x6f
0x20,0x64,0x43,0x6f

#-----------------------------------------------------------------------------
#Integer saturating shift left (Signed)
#-----------------------------------------------------------------------------
# CHECK: sqshl v0.8b, v1.8b, #3
# CHECK: sqshl v0.4h, v1.4h, #3
# CHECK: sqshl v0.2s, v1.2s, #3
# CHECK: sqshl v0.16b, v1.16b, #3
# CHECK: sqshl v0.8h, v1.8h, #3
# CHECK: sqshl v0.4s, v1.4s, #3
# CHECK: sqshl v0.2d, v1.2d, #3
0x20,0x74,0x0b,0x0f
0x20,0x74,0x13,0x0f
0x20,0x74,0x23,0x0f
0x20,0x74,0x0b,0x4f
0x20,0x74,0x13,0x4f
0x20,0x74,0x23,0x4f
0x20,0x74,0x43,0x4f

#-----------------------------------------------------------------------------
#Integer saturating shift left (Unsigned)
#-----------------------------------------------------------------------------
# CHECK: uqshl v0.8b, v1.8b, #3
# CHECK: uqshl v0.4h, v1.4h, #3
# CHECK: uqshl v0.2s, v1.2s, #3
# CHECK: uqshl v0.16b, v1.16b, #3
# CHECK: uqshl v0.8h, v1.8h, #3
# CHECK: uqshl v0.4s, v1.4s, #3
# CHECK: uqshl v0.2d, v1.2d, #3
0x20,0x74,0x0b,0x2f
0x20,0x74,0x13,0x2f
0x20,0x74,0x23,0x2f
0x20,0x74,0x0b,0x6f
0x20,0x74,0x13,0x6f
0x20,0x74,0x23,0x6f
0x20,0x74,0x43,0x6f

#-----------------------------------------------------------------------------
#Integer shift right narrow
#-----------------------------------------------------------------------------
# CHECK: shrn v0.8b, v1.8h, #3
# CHECK: shrn v0.4h, v1.4s, #3
# CHECK: shrn v0.2s, v1.2d, #3
# CHECK: shrn2 v0.16b, v1.8h, #3
# CHECK: shrn2 v0.8h, v1.4s, #3
# CHECK: shrn2 v0.4s, v1.2d, #3
0x20,0x84,0x0d,0x0f
0x20,0x84,0x1d,0x0f
0x20,0x84,0x3d,0x0f
0x20,0x84,0x0d,0x4f
0x20,0x84,0x1d,0x4f
0x20,0x84,0x3d,0x4f

#-----------------------------------------------------------------------------
#Integer saturating shift right unsigned narrow (Signed)
#-----------------------------------------------------------------------------
# CHECK: sqshrun v0.8b, v1.8h, #3
# CHECK: sqshrun v0.4h, v1.4s, #3
# CHECK: sqshrun v0.2s, v1.2d, #3
# CHECK: sqshrun2 v0.16b, v1.8h, #3
# CHECK: sqshrun2 v0.8h, v1.4s, #3
# CHECK: sqshrun2 v0.4s, v1.2d, #3
0x20,0x84,0x0d,0x2f
0x20,0x84,0x1d,0x2f
0x20,0x84,0x3d,0x2f
0x20,0x84,0x0d,0x6f
0x20,0x84,0x1d,0x6f
0x20,0x84,0x3d,0x6f

#-----------------------------------------------------------------------------
#Integer rounding shift right narrow
#-----------------------------------------------------------------------------
# CHECK: rshrn v0.8b, v1.8h, #3
# CHECK: rshrn v0.4h, v1.4s, #3
# CHECK: rshrn v0.2s, v1.2d, #3
# CHECK: rshrn2 v0.16b, v1.8h, #3
# CHECK: rshrn2 v0.8h, v1.4s, #3
# CHECK: rshrn2 v0.4s, v1.2d, #3
0x20,0x8c,0x0d,0x0f
0x20,0x8c,0x1d,0x0f
0x20,0x8c,0x3d,0x0f
0x20,0x8c,0x0d,0x4f
0x20,0x8c,0x1d,0x4f
0x20,0x8c,0x3d,0x4f

#-----------------------------------------------------------------------------
#Integer saturating shift right rounded unsigned narrow (Signed)
#-----------------------------------------------------------------------------
# CHECK: sqrshrun v0.8b, v1.8h, #3
# CHECK: sqrshrun v0.4h, v1.4s, #3
# CHECK: sqrshrun v0.2s, v1.2d, #3
# CHECK: sqrshrun2 v0.16b, v1.8h, #3
# CHECK: sqrshrun2 v0.8h, v1.4s, #3
# CHECK: sqrshrun2 v0.4s, v1.2d, #3
0x20,0x8c,0x0d,0x2f
0x20,0x8c,0x1d,0x2f
0x20,0x8c,0x3d,0x2f
0x20,0x8c,0x0d,0x6f
0x20,0x8c,0x1d,0x6f
0x20,0x8c,0x3d,0x6f

#-----------------------------------------------------------------------------
#Integer saturating shift right narrow (Signed)
#-----------------------------------------------------------------------------
# CHECK: sqshrn v0.8b, v1.8h, #3
# CHECK: sqshrn v0.4h, v1.4s, #3
# CHECK: sqshrn v0.2s, v1.2d, #3
# CHECK: sqshrn2 v0.16b, v1.8h, #3
# CHECK: sqshrn2 v0.8h, v1.4s, #3
# CHECK: sqshrn2 v0.4s, v1.2d, #3
0x20,0x94,0x0d,0x0f
0x20,0x94,0x1d,0x0f
0x20,0x94,0x3d,0x0f
0x20,0x94,0x0d,0x4f
0x20,0x94,0x1d,0x4f
0x20,0x94,0x3d,0x4f

#-----------------------------------------------------------------------------
#Integer saturating shift right narrow (Unsigned)
#-----------------------------------------------------------------------------
# CHECK: uqshrn v0.8b, v1.8h, #3
# CHECK: uqshrn v0.4h, v1.4s, #3
# CHECK: uqshrn v0.2s, v1.2d, #3
# CHECK: uqshrn2 v0.16b, v1.8h, #3
# CHECK: uqshrn2 v0.8h, v1.4s, #3
# CHECK: uqshrn2 v0.4s, v1.2d, #3
0x20,0x94,0x0d,0x2f
0x20,0x94,0x1d,0x2f
0x20,0x94,0x3d,0x2f
0x20,0x94,0x0d,0x6f
0x20,0x94,0x1d,0x6f
0x20,0x94,0x3d,0x6f

#-----------------------------------------------------------------------------
#Integer saturating shift right rounded narrow (Signed)
#-----------------------------------------------------------------------------
# CHECK: sqrshrn v0.8b, v1.8h, #3
# CHECK: sqrshrn v0.4h, v1.4s, #3
# CHECK: sqrshrn v0.2s, v1.2d, #3
# CHECK: sqrshrn2 v0.16b, v1.8h, #3
# CHECK: sqrshrn2 v0.8h, v1.4s, #3
# CHECK: sqrshrn2 v0.4s, v1.2d, #3
0x20,0x9c,0x0d,0x0f
0x20,0x9c,0x1d,0x0f
0x20,0x9c,0x3d,0x0f
0x20,0x9c,0x0d,0x4f
0x20,0x9c,0x1d,0x4f
0x20,0x9c,0x3d,0x4f

#-----------------------------------------------------------------------------
#Integer saturating shift right rounded narrow (Unsigned)
#-----------------------------------------------------------------------------
# CHECK: uqrshrn v0.8b, v1.8h, #3
# CHECK: uqrshrn v0.4h, v1.4s, #3
# CHECK: uqrshrn v0.2s, v1.2d, #3
# CHECK: uqrshrn2 v0.16b, v1.8h, #3
# CHECK: uqrshrn2 v0.8h, v1.4s, #3
# CHECK: uqrshrn2 v0.4s, v1.2d, #3
0x20,0x9c,0x0d,0x2f
0x20,0x9c,0x1d,0x2f
0x20,0x9c,0x3d,0x2f
0x20,0x9c,0x0d,0x6f
0x20,0x9c,0x1d,0x6f
0x20,0x9c,0x3d,0x6f

#-----------------------------------------------------------------------------
#Fixed-point convert to floating-point
#-----------------------------------------------------------------------------
# CHECK: scvtf v0.2s, v1.2s, #3
# CHECK: scvtf v0.4s, v1.4s, #3
# CHECK: scvtf v0.2d, v1.2d, #3
# CHECK: ucvtf v0.2s, v1.2s, #3
# CHECK: ucvtf v0.4s, v1.4s, #3
# CHECK: ucvtf v0.2d, v1.2d, #3

0x20,0xe4,0x3d,0x0f
0x20,0xe4,0x3d,0x4f
0x20,0xe4,0x7d,0x4f
0x20,0xe4,0x3d,0x2f
0x20,0xe4,0x3d,0x6f
0x20,0xe4,0x7d,0x6f

#-----------------------------------------------------------------------------
#Floating-point convert to fixed-point
#-----------------------------------------------------------------------------
# CHECK: fcvtzs v0.2s, v1.2s, #3
# CHECK: fcvtzs v0.4s, v1.4s, #3
# CHECK: fcvtzs v0.2d, v1.2d, #3
# CHECK: fcvtzu v0.2s, v1.2s, #3
# CHECK: fcvtzu v0.4s, v1.4s, #3
# CHECK: fcvtzu v0.2d, v1.2d, #3
0x20,0xfc,0x3d,0x0f
0x20,0xfc,0x3d,0x4f
0x20,0xfc,0x7d,0x4f
0x20,0xfc,0x3d,0x2f
0x20,0xfc,0x3d,0x6f
0x20,0xfc,0x7d,0x6f


#------------------------------------------------------------------------------
# Vector with 3 operands having different data types
#------------------------------------------------------------------------------

#------------------------------------------------------------------------------
# Long
#------------------------------------------------------------------------------

#------------------------------------------------------------------------------
# Long - Variant 1
#------------------------------------------------------------------------------

# CHECK: saddl v0.8h, v1.8b, v2.8b
# CHECK: saddl v0.4s, v1.4h, v2.4h
# CHECK: saddl v0.2d, v1.2s, v2.2s
0x20 0x00 0x22 0x0e
0x20 0x00 0x62 0x0e
0x20 0x00 0xa2 0x0e

# CHECK: saddl2 v0.4s, v1.8h, v2.8h
# CHECK: saddl2 v0.8h, v1.16b, v2.16b
# CHECK: saddl2 v0.2d, v1.4s, v2.4s
0x20 0x00 0x62 0x4e
0x20 0x00 0x22 0x4e
0x20 0x00 0xa2 0x4e

# CHECK: uaddl v0.8h, v1.8b, v2.8b
# CHECK: uaddl v0.4s, v1.4h, v2.4h
# CHECK: uaddl v0.2d, v1.2s, v2.2s
0x20 0x00 0x22 0x2e
0x20 0x00 0x62 0x2e
0x20 0x00 0xa2 0x2e

# CHECK: uaddl2 v0.8h, v1.16b, v2.16b
# CHECK: uaddl2 v0.4s, v1.8h, v2.8h
# CHECK: uaddl2 v0.2d, v1.4s, v2.4s
0x20 0x00 0x22 0x6e
0x20 0x00 0x62 0x6e
0x20 0x00 0xa2 0x6e

# CHECK: ssubl v0.8h, v1.8b, v2.8b
# CHECK: ssubl v0.4s, v1.4h, v2.4h
# CHECK: ssubl v0.2d, v1.2s, v2.2s
0x20 0x20 0x22 0x0e
0x20 0x20 0x62 0x0e
0x20 0x20 0xa2 0x0e

# CHECK: ssubl2 v0.8h, v1.16b, v2.16b
# CHECK: ssubl2 v0.4s, v1.8h, v2.8h
# CHECK: ssubl2 v0.2d, v1.4s, v2.4s
0x20 0x20 0x22 0x4e
0x20 0x20 0x62 0x4e
0x20 0x20 0xa2 0x4e

# CHECK: usubl v0.8h, v1.8b, v2.8b
# CHECK: usubl v0.4s, v1.4h, v2.4h
# CHECK: usubl v0.2d, v1.2s, v2.2s
0x20 0x20 0x22 0x2e
0x20 0x20 0x62 0x2e
0x20 0x20 0xa2 0x2e

# CHECK: usubl2 v0.8h, v1.16b, v2.16b
# CHECK: usubl2 v0.4s, v1.8h, v2.8h
# CHECK: usubl2 v0.2d, v1.4s, v2.4s
0x20 0x20 0x22 0x6e
0x20 0x20 0x62 0x6e
0x20 0x20 0xa2 0x6e

# CHECK: sabal v0.8h, v1.8b, v2.8b
# CHECK: sabal v0.4s, v1.4h, v2.4h
# CHECK: sabal v0.2d, v1.2s, v2.2s
0x20 0x50 0x22 0x0e
0x20 0x50 0x62 0x0e
0x20 0x50 0xa2 0x0e

# CHECK: sabal2 v0.8h, v1.16b, v2.16b
# CHECK: sabal2 v0.4s, v1.8h, v2.8h
# CHECK: sabal2 v0.2d, v1.4s, v2.4s
0x20 0x50 0x22 0x4e
0x20 0x50 0x62 0x4e
0x20 0x50 0xa2 0x4e

# CHECK: uabal v0.8h, v1.8b, v2.8b
# CHECK: uabal v0.4s, v1.4h, v2.4h
# CHECK: uabal v0.2d, v1.2s, v2.2s
0x20 0x50 0x22 0x2e
0x20 0x50 0x62 0x2e
0x20 0x50 0xa2 0x2e

# CHECK: uabal2 v0.8h, v1.16b, v2.16b
# CHECK: uabal2 v0.4s, v1.8h, v2.8h
# CHECK: uabal2 v0.2d, v1.4s, v2.4s
0x20 0x50 0x22 0x6e
0x20 0x50 0x62 0x6e
0x20 0x50 0xa2 0x6e

# CHECK: sabdl v0.8h, v1.8b, v2.8b
# CHECK: sabdl v0.4s, v1.4h, v2.4h
# CHECK: sabdl v0.2d, v1.2s, v2.2s
0x20 0x70 0x22 0x0e
0x20 0x70 0x62 0x0e
0x20 0x70 0xa2 0x0e

# CHECK: sabdl2 v0.8h, v1.16b, v2.16b
# CHECK: sabdl2 v0.4s, v1.8h, v2.8h
# CHECK: sabdl2 v0.2d, v1.4s, v2.4s
0x20 0x70 0x22 0x4e
0x20 0x70 0x62 0x4e
0x20 0x70 0xa2 0x4e

# CHECK: uabdl v0.8h, v1.8b, v2.8b
# CHECK: uabdl v0.4s, v1.4h, v2.4h
# CHECK: uabdl v0.2d, v1.2s, v2.2s
0x20 0x70 0x22 0x2e
0x20 0x70 0x62 0x2e
0x20 0x70 0xa2 0x2e

# CHECK: uabdl2 v0.8h, v1.16b, v2.16b
# CHECK: uabdl2 v0.4s, v1.8h, v2.8h
# CHECK: uabdl2 v0.2d, v1.4s, v2.4s
0x20 0x70 0x22 0x6e
0x20 0x70 0x62 0x6e
0x20 0x70 0xa2 0x6e

# CHECK: smlal v0.8h, v1.8b, v2.8b
# CHECK: smlal v0.4s, v1.4h, v2.4h
# CHECK: smlal v0.2d, v1.2s, v2.2s
0x20 0x80 0x22 0x0e
0x20 0x80 0x62 0x0e
0x20 0x80 0xa2 0x0e

# CHECK: smlal2 v0.8h, v1.16b, v2.16b
# CHECK: smlal2 v0.4s, v1.8h, v2.8h
# CHECK: smlal2 v0.2d, v1.4s, v2.4s
0x20 0x80 0x22 0x4e
0x20 0x80 0x62 0x4e
0x20 0x80 0xa2 0x4e

# CHECK: umlal v0.8h, v1.8b, v2.8b
# CHECK: umlal v0.4s, v1.4h, v2.4h
# CHECK: umlal v0.2d, v1.2s, v2.2s

0x20 0x80 0x22 0x2e
0x20 0x80 0x62 0x2e
0x20 0x80 0xa2 0x2e

# CHECK: umlal2 v0.8h, v1.16b, v2.16b
# CHECK: umlal2 v0.4s, v1.8h, v2.8h
# CHECK: umlal2 v0.2d, v1.4s, v2.4s
0x20 0x80 0x22 0x6e
0x20 0x80 0x62 0x6e
0x20 0x80 0xa2 0x6e

# CHECK: smlsl v0.8h, v1.8b, v2.8b
# CHECK: smlsl v0.4s, v1.4h, v2.4h
# CHECK: smlsl v0.2d, v1.2s, v2.2s
0x20 0xa0 0x22 0x0e
0x20 0xa0 0x62 0x0e
0x20 0xa0 0xa2 0x0e

# CHECK: smlsl2 v0.8h, v1.16b, v2.16b
# CHECK: smlsl2 v0.4s, v1.8h, v2.8h
# CHECK: smlsl2 v0.2d, v1.4s, v2.4s
0x20 0xa0 0x22 0x4e
0x20 0xa0 0x62 0x4e
0x20 0xa0 0xa2 0x4e

# CHECK: umlsl v0.8h, v1.8b, v2.8b
# CHECK: umlsl v0.4s, v1.4h, v2.4h
# CHECK: umlsl v0.2d, v1.2s, v2.2s
0x20 0xa0 0x22 0x2e
0x20 0xa0 0x62 0x2e
0x20 0xa0 0xa2 0x2e

# CHECK: umlsl2 v0.8h, v1.16b, v2.16b
# CHECK: umlsl2 v0.4s, v1.8h, v2.8h
# CHECK: umlsl2 v0.2d, v1.4s, v2.4s
0x20 0xa0 0x22 0x6e
0x20 0xa0 0x62 0x6e
0x20 0xa0 0xa2 0x6e

# CHECK: smull v0.8h, v1.8b, v2.8b
# CHECK: smull v0.4s, v1.4h, v2.4h
# CHECK: smull v0.2d, v1.2s, v2.2s
0x20 0xc0 0x22 0x0e
0x20 0xc0 0x62 0x0e
0x20 0xc0 0xa2 0x0e

# CHECK: smull2 v0.8h, v1.16b, v2.16b
# CHECK: smull2 v0.4s, v1.8h, v2.8h
# CHECK: smull2 v0.2d, v1.4s, v2.4s
0x20 0xc0 0x22 0x4e
0x20 0xc0 0x62 0x4e
0x20 0xc0 0xa2 0x4e

# CHECK: umull v0.8h, v1.8b, v2.8b
# CHECK: umull v0.4s, v1.4h, v2.4h
# CHECK: umull v0.2d, v1.2s, v2.2s
0x20 0xc0 0x22 0x2e
0x20 0xc0 0x62 0x2e
0x20 0xc0 0xa2 0x2e

# CHECK: umull2 v0.8h, v1.16b, v2.16b
# CHECK: umull2 v0.4s, v1.8h, v2.8h
# CHECK: umull2 v0.2d, v1.4s, v2.4s
0x20 0xc0 0x22 0x6e
0x20 0xc0 0x62 0x6e
0x20 0xc0 0xa2 0x6e

#------------------------------------------------------------------------------
# Long - Variant 2
#------------------------------------------------------------------------------

# CHECK: sqdmlal v0.4s, v1.4h, v2.4h
# CHECK: sqdmlal v0.2d, v1.2s, v2.2s
0x20 0x90 0x62 0x0e
0x20 0x90 0xa2 0x0e

# CHECK: sqdmlal2 v0.4s, v1.8h, v2.8h
# CHECK: sqdmlal2 v0.2d, v1.4s, v2.4s
0x20 0x90 0x62 0x4e
0x20 0x90 0xa2 0x4e

# CHECK: sqdmlsl v0.4s, v1.4h, v2.4h
# CHECK: sqdmlsl v0.2d, v1.2s, v2.2s
0x20 0xb0 0x62 0x0e
0x20 0xb0 0xa2 0x0e

# CHECK: sqdmlsl2 v0.4s, v1.8h, v2.8h
# CHECK: sqdmlsl2 v0.2d, v1.4s, v2.4s
0x20 0xb0 0x62 0x4e
0x20 0xb0 0xa2 0x4e

# CHECK: sqdmull v0.4s, v1.4h, v2.4h
# CHECK: sqdmull v0.2d, v1.2s, v2.2s
0x20 0xd0 0x62 0x0e
0x20 0xd0 0xa2 0x0e

# CHECK: sqdmull2 v0.4s, v1.8h, v2.8h
# CHECK: sqdmull2 v0.2d, v1.4s, v2.4s
0x20 0xd0 0x62 0x4e
0x20 0xd0 0xa2 0x4e

#------------------------------------------------------------------------------
# Long - Variant 3
#------------------------------------------------------------------------------

# CHECK: pmull v0.8h, v1.8b, v2.8b
0x20 0xe0 0x22 0x0e

# CHECK: pmull2 v0.8h, v1.16b, v2.16b
0x20 0xe0 0x22 0x4e

#------------------------------------------------------------------------------
# Widen
#------------------------------------------------------------------------------

# CHECK: saddw v0.8h, v1.8h, v2.8b
# CHECK: saddw v0.4s, v1.4s, v2.4h
# CHECK: saddw v0.2d, v1.2d, v2.2s
0x20 0x10 0x22 0x0e
0x20 0x10 0x62 0x0e
0x20 0x10 0xa2 0x0e

# CHECK: saddw2 v0.8h, v1.8h, v2.16b
# CHECK: saddw2 v0.4s, v1.4s, v2.8h
# CHECK: saddw2 v0.2d, v1.2d, v2.4s
0x20 0x10 0x22 0x4e
0x20 0x10 0x62 0x4e
0x20 0x10 0xa2 0x4e

# CHECK: uaddw v0.8h, v1.8h, v2.8b
# CHECK: uaddw v0.4s, v1.4s, v2.4h
# CHECK: uaddw v0.2d, v1.2d, v2.2s
0x20 0x10 0x22 0x2e
0x20 0x10 0x62 0x2e
0x20 0x10 0xa2 0x2e

# CHECK: uaddw2 v0.8h, v1.8h, v2.16b
# CHECK: uaddw2 v0.4s, v1.4s, v2.8h
# CHECK: uaddw2 v0.2d, v1.2d, v2.4s
0x20 0x10 0x22 0x6e
0x20 0x10 0x62 0x6e
0x20 0x10 0xa2 0x6e

# CHECK: ssubw v0.8h, v1.8h, v2.8b
# CHECK: ssubw v0.4s, v1.4s, v2.4h
# CHECK: ssubw v0.2d, v1.2d, v2.2s
0x20 0x30 0x22 0x0e
0x20 0x30 0x62 0x0e
0x20 0x30 0xa2 0x0e

# CHECK: ssubw2 v0.8h, v1.8h, v2.16b
# CHECK: ssubw2 v0.4s, v1.4s, v2.8h
# CHECK: ssubw2 v0.2d, v1.2d, v2.4s
0x20 0x30 0x22 0x4e
0x20 0x30 0x62 0x4e
0x20 0x30 0xa2 0x4e

# CHECK: usubw v0.8h, v1.8h, v2.8b
# CHECK: usubw v0.4s, v1.4s, v2.4h
# CHECK: usubw v0.2d, v1.2d, v2.2s
0x20 0x30 0x22 0x2e
0x20 0x30 0x62 0x2e
0x20 0x30 0xa2 0x2e

# CHECK: usubw2 v0.8h, v1.8h, v2.16b
# CHECK: usubw2 v0.4s, v1.4s, v2.8h
# CHECK: usubw2 v0.2d, v1.2d, v2.4s
0x20 0x30 0x22 0x6e
0x20 0x30 0x62 0x6e
0x20 0x30 0xa2 0x6e

#------------------------------------------------------------------------------
# Narrow
#------------------------------------------------------------------------------

# CHECK: addhn v0.8b, v1.8h, v2.8h
# CHECK: addhn v0.4h, v1.4s, v2.4s
# CHECK: addhn v0.2s, v1.2d, v2.2d
0x20 0x40 0x22 0x0e
0x20 0x40 0x62 0x0e
0x20 0x40 0xa2 0x0e

# CHECK: addhn2 v0.16b, v1.8h, v2.8h
# CHECK: addhn2 v0.8h, v1.4s, v2.4s
# CHECK: addhn2 v0.4s, v1.2d, v2.2d
0x20 0x40 0x22 0x4e
0x20 0x40 0x62 0x4e
0x20 0x40 0xa2 0x4e

# CHECK: raddhn v0.8b, v1.8h, v2.8h
# CHECK: raddhn v0.4h, v1.4s, v2.4s
# CHECK: raddhn v0.2s, v1.2d, v2.2d
0x20 0x40 0x22 0x2e
0x20 0x40 0x62 0x2e
0x20 0x40 0xa2 0x2e

# CHECK: raddhn2 v0.16b, v1.8h, v2.8h
# CHECK: raddhn2 v0.8h, v1.4s, v2.4s
# CHECK: raddhn2 v0.4s, v1.2d, v2.2d
0x20 0x40 0x22 0x6e
0x20 0x40 0x62 0x6e
0x20 0x40 0xa2 0x6e

# CHECK: rsubhn v0.8b, v1.8h, v2.8h
# CHECK: rsubhn v0.4h, v1.4s, v2.4s
# CHECK: rsubhn v0.2s, v1.2d, v2.2d
0x20 0x60 0x22 0x2e
0x20 0x60 0x62 0x2e
0x20 0x60 0xa2 0x2e

# CHECK: rsubhn2 v0.16b, v1.8h, v2.8h
# CHECK: rsubhn2 v0.8h, v1.4s, v2.4s
# CHECK: rsubhn2 v0.4s, v1.2d, v2.2d
0x20 0x60 0x22 0x6e
0x20 0x60 0x62 0x6e
0x20 0x60 0xa2 0x6e

#----------------------------------------------------------------------
# Scalar Integer Saturating Doubling Multiply Half High
#----------------------------------------------------------------------
# CHECK: sqdmulh h10, h11, h12
# CHECK: sqdmulh s20, s21, s2
0x6a,0xb5,0x6c,0x5e
0xb4,0xb6,0xa2,0x5e

#----------------------------------------------------------------------
# Scalar Integer Saturating Rounding Doubling Multiply Half High
#----------------------------------------------------------------------
# CHECK: sqrdmulh h10, h11, h12
# CHECK: sqrdmulh s20, s21, s2
0x6a,0xb5,0x6c,0x7e
0xb4,0xb6,0xa2,0x7e

#----------------------------------------------------------------------
# Floating-point multiply extended
#----------------------------------------------------------------------
# CHECK: fmulx s20, s22, s15
# CHECK: fmulx d23, d11, d1
0xd4,0xde,0x2f,0x5e
0x77,0xdd,0x61,0x5e

#----------------------------------------------------------------------
# Floating-point Reciprocal Step
#----------------------------------------------------------------------
# CHECK: frecps s21, s16, s13
# CHECK: frecps d22, d30, d21
0x15,0xfe,0x2d,0x5e
0xd6,0xff,0x75,0x5e

#----------------------------------------------------------------------
# Floating-point Reciprocal Square Root Step
#----------------------------------------------------------------------
# CHECK: frsqrts s21, s5, s12
# CHECK: frsqrts d8, d22, d18
0xb5,0xfc,0xac,0x5e
0xc8,0xfe,0xf2,0x5e

#----------------------------------------------------------------------
# Scalar Signed Integer Convert To Floating-point
#----------------------------------------------------------------------
# CHECK: scvtf s22, s13
# CHECK: scvtf d21, d12
0xb6,0xd9,0x21,0x5e
0x95,0xd9,0x61,0x5e

#----------------------------------------------------------------------
# Scalar Unsigned Integer Convert To Floating-point
#----------------------------------------------------------------------
# CHECK: ucvtf s22, s13
# CHECK: ucvtf d21, d14
0xb6,0xd9,0x21,0x7e
0xd5,0xd9,0x61,0x7e

#----------------------------------------------------------------------
# Scalar Floating-point Reciprocal Estimate
#----------------------------------------------------------------------
# CHECK: frecpe s19, s14
# CHECK: frecpe d13, d13
0xd3,0xd9,0xa1,0x5e
0xad,0xd9,0xe1,0x5e

#----------------------------------------------------------------------
# Scalar Floating-point Reciprocal Exponent
#----------------------------------------------------------------------
# CHECK: frecpx s18, s10
# CHECK: frecpx d16, d19
0x52,0xf9,0xa1,0x5e
0x70,0xfa,0xe1,0x5e

#----------------------------------------------------------------------
# Scalar Floating-point Reciprocal Square Root Estimate
#----------------------------------------------------------------------
# CHECK: frsqrte s22, s13
# CHECK: frsqrte d21, d12
0xb6,0xd9,0xa1,0x7e
0x95,0xd9,0xe1,0x7e

#----------------------------------------------------------------------
# Scalar Compare Bitwise Equal
#----------------------------------------------------------------------
# CHECK: cmeq d20, d21, d22
0xb4,0x8e,0xf6,0x7e

#----------------------------------------------------------------------
# Scalar Compare Bitwise Equal To Zero
#----------------------------------------------------------------------
# CHECK: cmeq d20, d21, #{{0x0|0}}
0xb4,0x9a,0xe0,0x5e

#----------------------------------------------------------------------
# Scalar Compare Unsigned Higher Or Same
#----------------------------------------------------------------------
# CHECK: cmhs d20, d21, d22
0xb4,0x3e,0xf6,0x7e

        
#----------------------------------------------------------------------
# Scalar Compare Signed Greather Than Or Equal
#----------------------------------------------------------------------
# CHECK: cmge d20, d21, d22
0xb4,0x3e,0xf6,0x5e

#----------------------------------------------------------------------
# Scalar Compare Signed Greather Than Or Equal To Zero
#----------------------------------------------------------------------
# CHECK: cmge d20, d21, #{{0x0|0}}
0xb4,0x8a,0xe0,0x7e

#----------------------------------------------------------------------
# Scalar Compare Unsigned Higher
#----------------------------------------------------------------------
# CHECK: cmhi d20, d21, d22
0xb4,0x36,0xf6,0x7e

#----------------------------------------------------------------------
# Scalar Compare Signed Greater Than
#----------------------------------------------------------------------
# CHECK: cmgt d20, d21, d22
0xb4,0x36,0xf6,0x5e

#----------------------------------------------------------------------
# Scalar Compare Signed Greater Than Zero
#----------------------------------------------------------------------
# CHECK: cmgt d20, d21, #{{0x0|0}}
0xb4,0x8a,0xe0,0x5e

#----------------------------------------------------------------------
# Scalar Compare Signed Less Than Or Equal To Zero
#----------------------------------------------------------------------
# CHECK: cmle d20, d21, #{{0x0|0}}
0xb4,0x9a,0xe0,0x7e

#----------------------------------------------------------------------
# Scalar Compare Less Than Zero
#----------------------------------------------------------------------
# CHECK: cmlt d20, d21, #{{0x0|0}}
0xb4,0xaa,0xe0,0x5e

#----------------------------------------------------------------------
# Scalar Compare Bitwise Test Bits
#----------------------------------------------------------------------
# CHECK: cmtst d20, d21, d22
0xb4,0x8e,0xf6,0x5e

#----------------------------------------------------------------------
# Scalar Floating-point Compare Mask Equal
#----------------------------------------------------------------------
# CHECK: fcmeq s10, s11, s12
# CHECK: fcmeq d20, d21, d22
0x6a,0xe5,0x2c,0x5e
0xb4,0xe6,0x76,0x5e

#----------------------------------------------------------------------
# Scalar Floating-point Compare Mask Equal To Zero
#----------------------------------------------------------------------
# CHECK: fcmeq s10, s11, #0.0
# CHECK: fcmeq d20, d21, #0.0
0x6a,0xd9,0xa0,0x5e
0xb4,0xda,0xe0,0x5e

#----------------------------------------------------------------------
# Scalar Floating-point Compare Mask Greater Than Or Equal
#----------------------------------------------------------------------
# CHECK: fcmge s10, s11, s12
# CHECK: fcmge d20, d21, d22
0x6a,0xe5,0x2c,0x7e
0xb4,0xe6,0x76,0x7e

#----------------------------------------------------------------------
# Scalar Floating-point Compare Mask Greater Than Or Equal To Zero
#----------------------------------------------------------------------
# CHECK: fcmge s10, s11, #0.0
# CHECK: fcmge d20, d21, #0.0
0x6a,0xc9,0xa0,0x7e
0xb4,0xca,0xe0,0x7e

#----------------------------------------------------------------------
# Scalar Floating-point Compare Mask Greather Than
#----------------------------------------------------------------------
# CHECK: fcmgt s10, s11, s12
# CHECK: fcmgt d20, d21, d22
0x6a,0xe5,0xac,0x7e
0xb4,0xe6,0xf6,0x7e

#----------------------------------------------------------------------
# Scalar Floating-point Compare Mask Greather Than Zero
#----------------------------------------------------------------------
# CHECK: fcmgt s10, s11, #0.0
# CHECK: fcmgt d20, d21, #0.0
0x6a,0xc9,0xa0,0x5e
0xb4,0xca,0xe0,0x5e

#----------------------------------------------------------------------
# Scalar Floating-point Compare Mask Less Than Or Equal To Zero
#----------------------------------------------------------------------
# CHECK: fcmle s10, s11, #0.0
# CHECK: fcmle d20, d21, #0.0
0x6a,0xd9,0xa0,0x7e
0xb4,0xda,0xe0,0x7e

#----------------------------------------------------------------------
# Scalar Floating-point Compare Mask Less Than
#----------------------------------------------------------------------
# CHECK: fcmlt s10, s11, #0.0
# CHECK: fcmlt d20, d21, #0.0
0x6a,0xe9,0xa0,0x5e
0xb4,0xea,0xe0,0x5e

#----------------------------------------------------------------------
# Scalar Floating-point Absolute Compare Mask Greater Than Or Equal
#----------------------------------------------------------------------
# CHECK: facge s10, s11, s12
# CHECK: facge d20, d21, d22
0x6a,0xed,0x2c,0x7e
0xb4,0xee,0x76,0x7e

#----------------------------------------------------------------------
# Scalar Floating-point Absolute Compare Mask Greater Than
#----------------------------------------------------------------------
# CHECK: facgt s10, s11, s12   
# CHECK: facgt d20, d21, d22   
0x6a,0xed,0xac,0x7e
0xb4,0xee,0xf6,0x7e

#----------------------------------------------------------------------
# Scalar Absolute Value
#----------------------------------------------------------------------
# CHECK: abs d29, d24
0x1d,0xbb,0xe0,0x5e

#----------------------------------------------------------------------
# Scalar Signed Saturating Absolute Value
#----------------------------------------------------------------------
# CHECK: sqabs b19, b14
# CHECK: sqabs h21, h15
# CHECK: sqabs s20, s12
# CHECK: sqabs d18, d12
0xd3,0x79,0x20,0x5e
0xf5,0x79,0x60,0x5e
0x94,0x79,0xa0,0x5e
0x92,0x79,0xe0,0x5e

#----------------------------------------------------------------------
# Scalar Negate
#----------------------------------------------------------------------
# CHECK: neg d29, d24
0x1d,0xbb,0xe0,0x7e

#----------------------------------------------------------------------
# Scalar Signed Saturating Negate
#----------------------------------------------------------------------
# CHECK: sqneg b19, b14
# CHECK: sqneg h21, h15
# CHECK: sqneg s20, s12
# CHECK: sqneg d18, d12
0xd3,0x79,0x20,0x7e
0xf5,0x79,0x60,0x7e
0x94,0x79,0xa0,0x7e
0x92,0x79,0xe0,0x7e

#----------------------------------------------------------------------
# Signed Saturating Accumulated of Unsigned Value
#----------------------------------------------------------------------
# CHECK: suqadd b19, b14
# CHECK: suqadd h20, h15
# CHECK: suqadd s21, s12
# CHECK: suqadd d18, d22
0xd3,0x39,0x20,0x5e
0xf4,0x39,0x60,0x5e
0x95,0x39,0xa0,0x5e
0xd2,0x3a,0xe0,0x5e

#----------------------------------------------------------------------
# Unsigned Saturating Accumulated of Signed Value
#----------------------------------------------------------------------
# CHECK: usqadd b19, b14
# CHECK: usqadd h20, h15
# CHECK: usqadd s21, s12
# CHECK: usqadd d18, d22
0xd3,0x39,0x20,0x7e
0xf4,0x39,0x60,0x7e
0x95,0x39,0xa0,0x7e
0xd2,0x3a,0xe0,0x7e

#----------------------------------------------------------------------
# Signed Saturating Doubling Multiply-Add Long
#----------------------------------------------------------------------
# CHECK: sqdmlal s17, h27, h12
# CHECK: sqdmlal d19, s24, s12
0x71,0x93,0x6c,0x5e
0x13,0x93,0xac,0x5e
        
#----------------------------------------------------------------------
# Signed Saturating Doubling Multiply-Subtract Long
#----------------------------------------------------------------------
# CHECK: sqdmlsl s14, h12, h25
# CHECK: sqdmlsl d12, s23, s13
0x8e,0xb1,0x79,0x5e
0xec,0xb2,0xad,0x5e
        
#----------------------------------------------------------------------
# Signed Saturating Doubling Multiply Long
#----------------------------------------------------------------------
# CHECK: sqdmull s12, h22, h12
# CHECK: sqdmull d15, s22, s12
0xcc,0xd2,0x6c,0x5e
0xcf,0xd2,0xac,0x5e

#----------------------------------------------------------------------
# Scalar Signed Saturating Extract Unsigned Narrow
#----------------------------------------------------------------------
# CHECK: sqxtun b19, h14
# CHECK: sqxtun h21, s15
# CHECK: sqxtun s20, d12
0xd3,0x29,0x21,0x7e
0xf5,0x29,0x61,0x7e
0x94,0x29,0xa1,0x7e

#----------------------------------------------------------------------
# Scalar Signed Saturating Extract Signed Narrow
#----------------------------------------------------------------------
# CHECK: sqxtn b18, h18
# CHECK: sqxtn h20, s17
# CHECK: sqxtn s19, d14
0x52,0x4a,0x21,0x5e
0x34,0x4a,0x61,0x5e
0xd3,0x49,0xa1,0x5e

#----------------------------------------------------------------------
# Scalar Unsigned Saturating Extract Narrow
#----------------------------------------------------------------------
# CHECK: uqxtn b18, h18
# CHECK: uqxtn h20, s17
# CHECK: uqxtn s19, d14
0x52,0x4a,0x21,0x7e
0x34,0x4a,0x61,0x7e
0xd3,0x49,0xa1,0x7e

#----------------------------------------------------------------------
# Scalar Signed Shift Right (Immediate)
#----------------------------------------------------------------------
# CHECK: sshr d15, d16, #12
0x0f,0x06,0x74,0x5f

#----------------------------------------------------------------------
# Scalar Unsigned Shift Right (Immediate)
#----------------------------------------------------------------------
# CHECK: ushr d10, d17, #18
0x2a,0x06,0x6e,0x7f

#----------------------------------------------------------------------
# Scalar Signed Rounding Shift Right (Immediate)
#----------------------------------------------------------------------
# CHECK: srshr d19, d18, #7
0x53,0x26,0x79,0x5f

#----------------------------------------------------------------------
# Scalar Unigned Rounding Shift Right (Immediate)
#----------------------------------------------------------------------
# CHECK: urshr d20, d23, #31
0xf4,0x26,0x61,0x7f

#----------------------------------------------------------------------
# Scalar Signed Shift Right and Accumulate (Immediate)
#----------------------------------------------------------------------
# CHECK: ssra d18, d12, #21
0x92,0x15,0x6b,0x5f

#----------------------------------------------------------------------
# Scalar Unsigned Shift Right and Accumulate (Immediate)
#----------------------------------------------------------------------
# CHECK: usra d20, d13, #61
0xb4,0x15,0x43,0x7f

#----------------------------------------------------------------------
# Scalar Signed Rounding Shift Right and Accumulate (Immediate)
#----------------------------------------------------------------------
# CHECK: srsra d15, d11, #19
0x6f,0x35,0x6d,0x5f

#----------------------------------------------------------------------
# Scalar Unsigned Rounding Shift Right and Accumulate (Immediate)
#----------------------------------------------------------------------
# CHECK: ursra d18, d10, #13
0x52,0x35,0x73,0x7f

#----------------------------------------------------------------------
# Scalar Shift Left (Immediate)
#----------------------------------------------------------------------
# CHECK: shl d7, d10, #12
0x47,0x55,0x4c,0x5f

#----------------------------------------------------------------------
# Signed Saturating Shift Left (Immediate)
#----------------------------------------------------------------------
# CHECK: sqshl b11, b19, #7
# CHECK: sqshl h13, h18, #11
# CHECK: sqshl s14, s17, #22
# CHECK: sqshl d15, d16, #51
0x6b,0x76,0x0f,0x5f
0x4d,0x76,0x1b,0x5f
0x2e,0x76,0x36,0x5f
0x0f,0x76,0x73,0x5f

#----------------------------------------------------------------------
# Unsigned Saturating Shift Left (Immediate)
#----------------------------------------------------------------------
# CHECK: uqshl b18, b15, #6
# CHECK: uqshl h11, h18, #7
# CHECK: uqshl s14, s19, #18
# CHECK: uqshl d15, d12, #19
0xf2,0x75,0x0e,0x7f
0x4b,0x76,0x17,0x7f
0x6e,0x76,0x32,0x7f
0x8f,0x75,0x53,0x7f

#----------------------------------------------------------------------
# Signed Saturating Shift Left Unsigned (Immediate)
#----------------------------------------------------------------------
# CHECK: sqshlu b15, b18, #6
# CHECK: sqshlu h19, h17, #6
# CHECK: sqshlu s16, s14, #25
# CHECK: sqshlu d11, d13, #32
0x4f,0x66,0x0e,0x7f
0x33,0x66,0x16,0x7f
0xd0,0x65,0x39,0x7f
0xab,0x65,0x60,0x7f

#----------------------------------------------------------------------
# Shift Right And Insert (Immediate)
#----------------------------------------------------------------------
# CHECK: sri d10, d12, #14
0x8a,0x45,0x72,0x7f

#----------------------------------------------------------------------
# Shift Left And Insert (Immediate)
#----------------------------------------------------------------------
# CHECK: sli d10, d14, #12
0xca,0x55,0x4c,0x7f

#----------------------------------------------------------------------
# Signed Saturating Shift Right Narrow (Immediate)
#----------------------------------------------------------------------
# CHECK: sqshrn b10, h15, #5
# CHECK: sqshrn h17, s10, #4
# CHECK: sqshrn s18, d10, #31
0xea,0x95,0x0b,0x5f
0x51,0x95,0x1c,0x5f
0x52,0x95,0x21,0x5f

#----------------------------------------------------------------------
# Unsigned Saturating Shift Right Narrow (Immediate)
#----------------------------------------------------------------------
# CHECK: uqshrn b12, h10, #7
# CHECK: uqshrn h10, s14, #5
# CHECK: uqshrn s10, d12, #13
0x4c,0x95,0x09,0x7f
0xca,0x95,0x1b,0x7f
0x8a,0x95,0x33,0x7f

#----------------------------------------------------------------------
# Signed Saturating Rounded Shift Right Narrow (Immediate)
#----------------------------------------------------------------------
# CHECK: sqrshrn b10, h13, #2
# CHECK: sqrshrn h15, s10, #6
# CHECK: sqrshrn s15, d12, #9
0xaa,0x9d,0x0e,0x5f
0x4f,0x9d,0x1a,0x5f
0x8f,0x9d,0x37,0x5f

#----------------------------------------------------------------------
# Unsigned Saturating Rounded Shift Right Narrow (Immediate)
#----------------------------------------------------------------------
# CHECK: uqrshrn b10, h12, #5
# CHECK: uqrshrn h12, s10, #14
# CHECK: uqrshrn s10, d10, #25
0x8a,0x9d,0x0b,0x7f
0x4c,0x9d,0x12,0x7f
0x4a,0x9d,0x27,0x7f

#----------------------------------------------------------------------
# Signed Saturating Shift Right Unsigned Narrow (Immediate)
#----------------------------------------------------------------------
# CHECK: sqshrun b15, h10, #7
# CHECK: sqshrun h20, s14, #3
# CHECK: sqshrun s10, d15, #15
0x4f,0x85,0x09,0x7f
0xd4,0x85,0x1d,0x7f
0xea,0x85,0x31,0x7f

#----------------------------------------------------------------------
# Signed Saturating Rounded Shift Right Unsigned Narrow (Immediate)
#----------------------------------------------------------------------
# CHECK: sqrshrun b17, h10, #6
# CHECK: sqrshrun h10, s13, #15
# CHECK: sqrshrun s22, d16, #31
0x51,0x8d,0x0a,0x7f
0xaa,0x8d,0x11,0x7f
0x16,0x8e,0x21,0x7f

#----------------------------------------------------------------------
# Scalar Signed Fixed-point Convert To Floating-Point (Immediate)
#----------------------------------------------------------------------
# CHECK: scvtf s22, s13, #32
# CHECK: scvtf d21, d12, #64
0xb6,0xe5,0x20,0x5f
0x95,0xe5,0x40,0x5f

#----------------------------------------------------------------------
# Scalar Unsigned Fixed-point Convert To Floating-Point (Immediate)
#----------------------------------------------------------------------
# CHECK: ucvtf s22, s13, #32
# CHECK: ucvtf d21, d14, #64
0xb6,0xe5,0x20,0x7f
0xd5,0xe5,0x40,0x7f

#----------------------------------------------------------------------
# Scalar Floating-point Convert To Signed Fixed-point (Immediate)
#----------------------------------------------------------------------
# CHECK: fcvtzs s21, s12, #1
# CHECK: fcvtzs d21, d12, #1
0x95,0xfd,0x3f,0x5f
0x95,0xfd,0x7f,0x5f
        
#----------------------------------------------------------------------
# Scalar Floating-point Convert To Unsigned Fixed-point (Immediate)
#----------------------------------------------------------------------
# CHECK: fcvtzu s21, s12, #1
# CHECK: fcvtzu d21, d12, #1
0x95,0xfd,0x3f,0x7f
0x95,0xfd,0x7f,0x7f

#----------------------------------------------------------------------
# Vector load/store multiple N-element structure
#----------------------------------------------------------------------
# CHECK: ld1 { v0.16b }, [x0]
# CHECK: ld1 { v15.8h, v16.8h }, [x15]
# CHECK: ld1 { v31.4s, v0.4s, v1.4s }, [sp]
# CHECK: ld1 { v0.2d, v1.2d, v2.2d, v3.2d }, [x0]
0x00,0x70,0x40,0x4c
0xef,0xa5,0x40,0x4c
0xff,0x6b,0x40,0x4c
0x00,0x2c,0x40,0x4c

# CHECK: ld2 { v0.8b, v1.8b }, [x0]
# CHECK: ld3 { v15.4h, v16.4h, v17.4h }, [x15]
# CHECK: ld4 { v31.2s, v0.2s, v1.2s, v2.2s }, [sp]
0x00,0x80,0x40,0x0c
0xef,0x45,0x40,0x0c
0xff,0x0b,0x40,0x0c

# CHECK: st1 { v0.16b }, [x0]
# CHECK: st1 { v15.8h, v16.8h }, [x15]
# CHECK: st1 { v31.4s, v0.4s, v1.4s }, [sp]
# CHECK: st1 { v0.2d, v1.2d, v2.2d, v3.2d }, [x0]
0x00,0x70,0x00,0x4c
0xef,0xa5,0x00,0x4c
0xff,0x6b,0x00,0x4c
0x00,0x2c,0x00,0x4c

# CHECK: st2 { v0.8b, v1.8b }, [x0]
# CHECK: st3 { v15.4h, v16.4h, v17.4h }, [x15]
# CHECK: st4 { v31.2s, v0.2s, v1.2s, v2.2s }, [sp]
0x00,0x80,0x00,0x0c
0xef,0x45,0x00,0x0c
0xff,0x0b,0x00,0x0c

#----------------------------------------------------------------------
# Vector load/store multiple N-element structure (post-index)
#----------------------------------------------------------------------
# CHECK: ld1 { v15.8h }, [x15], x2
# CHECK: ld1 { v31.4s, v0.4s }, [sp], #32
# CHECK: ld1 { v0.2d, v1.2d, v2.2d }, [x0], #48
# CHECK: ld1 { v0.8b, v1.8b, v2.8b, v3.8b }, [x0], x3
0xef,0x75,0xc2,0x4c
0xff,0xab,0xdf,0x4c
0x00,0x6c,0xdf,0x4c
0x00,0x20,0xc3,0x0c

# CHECK: ld2 { v0.16b, v1.16b }, [x0], x1
# CHECK: ld3 { v15.8h, v16.8h, v17.8h }, [x15], x2
# CHECK: ld4 { v31.4s, v0.4s, v1.4s, v2.4s }, [sp], #64
0x00,0x80,0xc1,0x4c
0xef,0x45,0xc2,0x4c
0xff,0x0b,0xdf,0x4c


# CHECK: st1 { v15.8h }, [x15], x2
# CHECK: st1 { v31.4s, v0.4s }, [sp], #32
# CHECK: st1 { v0.2d, v1.2d, v2.2d }, [x0], #48
# CHECK: st1 { v0.8b, v1.8b, v2.8b, v3.8b }, [x0], x3
0xef,0x75,0x82,0x4c
0xff,0xab,0x9f,0x4c
0x00,0x6c,0x9f,0x4c
0x00,0x20,0x83,0x0c

# CHECK: st2 { v0.16b, v1.16b }, [x0], x1
# CHECK: st3 { v15.8h, v16.8h, v17.8h }, [x15], x2
# CHECK: st4 { v31.4s, v0.4s, v1.4s, v2.4s }, [sp], #64
0x00,0x80,0x81,0x4c
0xef,0x45,0x82,0x4c
0xff,0x0b,0x9f,0x4c

#----------------------------------------------------------------------
# Vector load single N-element structure to all lane of N
# consecutive registers (N = 1,2,3,4)
#----------------------------------------------------------------------
# CHECK: ld1r { v0.16b }, [x0]
# CHECK: ld1r { v15.8h }, [x15]
# CHECK: ld2r { v31.4s, v0.4s }, [sp]
# CHECK: ld2r { v0.2d, v1.2d }, [x0]
# CHECK: ld3r { v0.8b, v1.8b, v2.8b }, [x0]
# CHECK: ld3r { v15.4h, v16.4h, v17.4h }, [x15]
# CHECK: ld4r { v31.2s, v0.2s, v1.2s, v2.2s }, [sp]
# CHECK: ld4r { v31.1d, v0.1d, v1.1d, v2.1d }, [sp]
0x00,0xc0,0x40,0x4d
0xef,0xc5,0x40,0x4d
0xff,0xcb,0x60,0x4d
0x00,0xcc,0x60,0x4d
0x00,0xe0,0x40,0x0d
0xef,0xe5,0x40,0x0d
0xff,0xeb,0x60,0x0d
0xff,0xef,0x60,0x0d

#----------------------------------------------------------------------
# Vector load/store single N-element structure to/from one lane of N
# consecutive registers (N = 1,2,3,4)
#----------------------------------------------------------------------
# CHECK: ld1 { v0.b }[9], [x0]
# CHECK: ld2 { v15.h, v16.h }[7], [x15]
# CHECK: ld3 { v31.s, v0.s, v1.s }[3], [sp]
# CHECK: ld4 { v0.d, v1.d, v2.d, v3.d }[1], [x0]
# CHECK: st1 { v0.d }[1], [x0]
# CHECK: st2 { v31.s, v0.s }[3], [sp]
# CHECK: st3 { v15.h, v16.h, v17.h }[7], [x15]
# CHECK: st4 { v0.b, v1.b, v2.b, v3.b }[9], [x0]
0x00,0x04,0x40,0x4d
0xef,0x59,0x60,0x4d
0xff,0xb3,0x40,0x4d
0x00,0xa4,0x60,0x4d
0x00,0x84,0x00,0x4d
0xff,0x93,0x20,0x4d
0xef,0x79,0x00,0x4d
0x00,0x24,0x20,0x4d

#----------------------------------------------------------------------
# Post-index of vector load single N-element structure to all lane of N
# consecutive registers (N = 1,2,3,4)
#----------------------------------------------------------------------
# CHECK: ld1r { v0.16b }, [x0], #1
# CHECK: ld1r { v15.8h }, [x15], #2
# CHECK: ld2r { v31.4s, v0.4s }, [sp], #8
# CHECK: ld2r { v0.2d, v1.2d }, [x0], #16
# CHECK: ld3r { v0.8b, v1.8b, v2.8b }, [x0], #3
# CHECK: ld3r { v15.4h, v16.4h, v17.4h }, [x15], #6
# CHECK: ld4r { v31.2s, v0.2s, v1.2s, v2.2s }, [sp], x30
# CHECK: ld4r { v31.1d, v0.1d, v1.1d, v2.1d }, [sp], x7
0x00,0xc0,0xdf,0x4d
0xef,0xc5,0xdf,0x4d
0xff,0xcb,0xff,0x4d
0x00,0xcc,0xff,0x4d
0x00,0xe0,0xdf,0x0d
0xef,0xe5,0xdf,0x0d
0xff,0xeb,0xfe,0x0d
0xff,0xef,0xe7,0x0d

#----------------------------------------------------------------------
# Post-index of vector load/store single N-element structure to/from
#  one lane of N consecutive registers (N = 1,2,3,4)
#----------------------------------------------------------------------
# CHECK: ld1 { v0.b }[9], [x0], #1
# CHECK: ld2 { v15.h, v16.h }[7], [x15], #4
# CHECK: ld3 { v31.s, v0.s, v1.s }[3], [sp], x3
# CHECK: ld4 { v0.d, v1.d, v2.d, v3.d }[1], [x0], #32
# CHECK: ld4 { v0.h, v1.h, v2.h, v3.h }[7], [x0], x0
# CHECK: st1 { v0.d }[1], [x0], #8
# CHECK: st2 { v31.s, v0.s }[3], [sp], #8
# CHECK: st3 { v15.h, v16.h, v17.h }[7], [x15], #6
# CHECK: st4 { v0.b, v1.b, v2.b, v3.b }[9], [x0], x5
0x00,0x04,0xdf,0x4d
0xef,0x59,0xff,0x4d
0xff,0xb3,0xc3,0x4d
0x00,0xa4,0xff,0x4d
0x00,0x78,0xe0,0x4d
0x00,0x84,0x9f,0x4d
0xff,0x93,0xbf,0x4d
0xef,0x79,0x9f,0x4d
0x00,0x24,0xa5,0x4d

#----------------------------------------------------------------------
# Bitwise extract
#----------------------------------------------------------------------
0x20,0x18,0x02,0x2e
0x20,0x18,0x02,0x6e
# CHECK: ext v0.8b, v1.8b, v2.8b, #{{0x3|3}}
# CHECK: ext v0.16b, v1.16b, v2.16b, #{{0x3|3}}

#----------------------------------------------------------------------
# unzip with 3 same vectors to get primary result
#----------------------------------------------------------------------
# CHECK: uzp1	v1.8b, v1.8b, v2.8b
# CHECK: uzp1	v2.16b, v1.16b, v2.16b
# CHECK: uzp1	v3.4h, v1.4h, v2.4h
# CHECK: uzp1	v4.8h, v1.8h, v2.8h
# CHECK: uzp1	v5.2s, v1.2s, v2.2s
# CHECK: uzp1	v6.4s, v1.4s, v2.4s
# CHECK: uzp1	v7.2d, v1.2d, v2.2d
0x21,0x18,0x02,0x0e
0x22,0x18,0x02,0x4e
0x23,0x18,0x42,0x0e
0x24,0x18,0x42,0x4e
0x25,0x18,0x82,0x0e
0x26,0x18,0x82,0x4e
0x27,0x18,0xc2,0x4e

#----------------------------------------------------------------------
# transpose with 3 same vectors to get primary result
#----------------------------------------------------------------------
# CHECK: trn1	v8.8b, v1.8b, v2.8b
# CHECK: trn1	v9.16b, v1.16b, v2.16b
# CHECK: trn1	v10.4h, v1.4h, v2.4h
# CHECK: trn1	v27.8h, v7.8h, v2.8h
# CHECK: trn1	v12.2s, v7.2s, v2.2s
# CHECK: trn1	v29.4s, v6.4s, v2.4s
# CHECK: trn1	v14.2d, v6.2d, v2.2d
0x28,0x28,0x02,0x0e
0x29,0x28,0x02,0x4e
0x2a,0x28,0x42,0x0e
0xfb,0x28,0x42,0x4e
0xec,0x28,0x82,0x0e
0xdd,0x28,0x82,0x4e
0xce,0x28,0xc2,0x4e

#----------------------------------------------------------------------
# zip with 3 same vectors to get primary result
#----------------------------------------------------------------------
# CHECK: zip1	v31.8b, v5.8b, v2.8b
# CHECK: zip1	v0.16b, v5.16b, v2.16b
# CHECK: zip1	v17.4h, v4.4h, v2.4h
# CHECK: zip1	v2.8h, v4.8h, v2.8h
# CHECK: zip1	v19.2s, v3.2s, v2.2s
# CHECK: zip1	v4.4s, v3.4s, v2.4s
# CHECK: zip1	v21.2d, v2.2d, v2.2d
0xbf,0x38,0x02,0x0e
0xa0,0x38,0x02,0x4e
0x91,0x38,0x42,0x0e
0x82,0x38,0x42,0x4e
0x73,0x38,0x82,0x0e
0x64,0x38,0x82,0x4e
0x55,0x38,0xc2,0x4e

#----------------------------------------------------------------------
# unzip with 3 same vectors to get secondary result
#----------------------------------------------------------------------
# CHECK: uzp2	v6.8b, v2.8b, v2.8b
# CHECK: uzp2	v23.16b, v1.16b, v2.16b
# CHECK: uzp2	v8.4h, v1.4h, v2.4h
# CHECK: uzp2	v25.8h, v0.8h, v2.8h
# CHECK: uzp2	v10.2s, v0.2s, v2.2s
# CHECK: uzp2	v27.4s, v7.4s, v2.4s
# CHECK: uzp2	v12.2d, v7.2d, v2.2d
0x46,0x58,0x02,0x0e
0x37,0x58,0x02,0x4e
0x28,0x58,0x42,0x0e
0x19,0x58,0x42,0x4e
0x0a,0x58,0x82,0x0e
0xfb,0x58,0x82,0x4e
0xec,0x58,0xc2,0x4e

#----------------------------------------------------------------------
# transpose with 3 same vectors to get secondary result
#----------------------------------------------------------------------
# CHECK: trn2	v29.8b, v6.8b, v2.8b
# CHECK: trn2	v14.16b, v6.16b, v2.16b
# CHECK: trn2	v31.4h, v5.4h, v2.4h
# CHECK: trn2	v0.8h, v5.8h, v2.8h
# CHECK: trn2	v17.2s, v4.2s, v2.2s
# CHECK: trn2	v2.4s, v4.4s, v2.4s
# CHECK: trn2	v19.2d, v3.2d, v2.2d
0xdd,0x68,0x02,0x0e
0xce,0x68,0x02,0x4e
0xbf,0x68,0x42,0x0e
0xa0,0x68,0x42,0x4e
0x91,0x68,0x82,0x0e
0x82,0x68,0x82,0x4e
0x73,0x68,0xc2,0x4e

#----------------------------------------------------------------------
# zip with 3 same vectors to get secondary result
#----------------------------------------------------------------------
# CHECK: zip2	v4.8b, v3.8b, v2.8b
# CHECK: zip2	v21.16b, v2.16b, v2.16b
# CHECK: zip2	v6.4h, v2.4h, v2.4h
# CHECK: zip2	v23.8h, v1.8h, v2.8h
# CHECK: zip2	v8.2s, v1.2s, v2.2s
# CHECK: zip2	v25.4s, v0.4s, v2.4s
# CHECK: zip2	v10.2d, v0.2d, v2.2d
0x64,0x78,0x02,0x0e
0x55,0x78,0x02,0x4e
0x46,0x78,0x42,0x0e
0x37,0x78,0x42,0x4e
0x28,0x78,0x82,0x0e
0x19,0x78,0x82,0x4e
0x0a,0x78,0xc2,0x4e

#----------------------------------------------------------------------
# Scalar Floating Point  multiply (scalar, by element)
#----------------------------------------------------------------------
# CHECK: fmul s0, s1, v1.s[0]
# CHECK: fmul s0, s1, v1.s[3]
# CHECK: fmul d0, d1, v1.d[0]
# CHECK: fmul d0, d1, v1.d[1]
# CHECK: fmul d15, d15, v15.d[1]
0x20 0x90 0x81 0x5f
0x20 0x98 0xa1 0x5f
0x20 0x90 0xc1 0x5f
0x20 0x98 0xc1 0x5f
0xef 0x99 0xcf 0x5f

#----------------------------------------------------------------------
# Scalar Floating Point  multiply extended (scalar, by element)
#----------------------------------------------------------------------
# CHECK: fmulx s3, s5, v7.s[0]
# CHECK: fmulx s3, s5, v7.s[3]
# CHECK: fmulx s3, s5, v15.s[3]
# CHECK: fmulx d0, d4, v8.d[0]
# CHECK: fmulx d0, d4, v8.d[1]
0xa3 0x90 0x87 0x7f
0xa3 0x98 0xa7 0x7f
0xa3 0x98 0xaf 0x7f
0x80 0x90 0xc8 0x7f
0x80 0x98 0xc8 0x7f

#----------------------------------------------------------------------
# Scalar Floating Point fused multiply-add (scalar, by element)
#----------------------------------------------------------------------
# CHECK: fmla s0, s1, v1.s[0]
# CHECK: fmla s0, s1, v1.s[3]
# CHECK: fmla d0, d1, v1.d[0]
# CHECK: fmla d0, d1, v1.d[1]
# CHECK: fmla d15, d15, v15.d[1]
0x20 0x10 0x81 0x5f
0x20 0x18 0xa1 0x5f
0x20 0x10 0xc1 0x5f
0x20 0x18 0xc1 0x5f
0xef 0x19 0xcf 0x5f

#----------------------------------------------------------------------
# Scalar Floating Point fused multiply-sub (scalar, by element)
#----------------------------------------------------------------------
# CHECK: fmls s3, s5, v7.s[0]
# CHECK: fmls s3, s5, v7.s[3]
# CHECK: fmls s3, s5, v15.s[3]
# CHECK: fmls d0, d4, v8.d[0]
# CHECK: fmls d0, d4, v8.d[1]
0xa3 0x50 0x87 0x5f
0xa3 0x58 0xa7 0x5f
0xa3 0x58 0xaf 0x5f
0x80 0x50 0xc8 0x5f
0x80 0x58 0xc8 0x5f

#----------------------------------------------------------------------
# Scalar Signed saturating doubling
# multiply-add long (scalar, by element)
#----------------------------------------------------------------------
# CHECK: sqdmlal s0, h0, v0.h[0]
# CHECK: sqdmlal s0, h0, v0.h[1]
# CHECK: sqdmlal s0, h0, v0.h[2]
# CHECK: sqdmlal s0, h0, v0.h[3]
# CHECK: sqdmlal s0, h0, v0.h[4]
# CHECK: sqdmlal s0, h0, v0.h[5]
# CHECK: sqdmlal s0, h0, v0.h[6]
# CHECK: sqdmlal s0, h0, v0.h[7]
# CHECK: sqdmlal d8, s9, v15.s[0]
# CHECK: sqdmlal d8, s9, v15.s[1]
# CHECK: sqdmlal d8, s9, v15.s[2]
# CHECK: sqdmlal d8, s9, v15.s[3]
0x00 0x30 0x40 0x5f
0x00 0x30 0x50 0x5f
0x00 0x30 0x60 0x5f
0x00 0x30 0x70 0x5f
0x00 0x38 0x40 0x5f
0x00 0x38 0x50 0x5f
0x00 0x38 0x60 0x5f
0x00 0x38 0x70 0x5f
0x28 0x31 0x8f 0x5f
0x28 0x31 0xaf 0x5f
0x28 0x39 0x8f 0x5f
0x28 0x39 0xaf 0x5f

#----------------------------------------------------------------------
# Scalar Signed saturating doubling
# multiply-sub long (scalar, by element)
#----------------------------------------------------------------------
# CHECK: sqdmlsl s0, h0, v0.h[0]
# CHECK: sqdmlsl s0, h0, v0.h[1]
# CHECK: sqdmlsl s0, h0, v0.h[2]
# CHECK: sqdmlsl s0, h0, v0.h[3]
# CHECK: sqdmlsl s0, h0, v0.h[4]
# CHECK: sqdmlsl s0, h0, v0.h[5]
# CHECK: sqdmlsl s0, h0, v0.h[6]
# CHECK: sqdmlsl s0, h0, v0.h[7]
# CHECK: sqdmlsl d8, s9, v15.s[0]
# CHECK: sqdmlsl d8, s9, v15.s[1]
# CHECK: sqdmlsl d8, s9, v15.s[2]
# CHECK: sqdmlsl d8, s9, v15.s[3]
0x00 0x70 0x40 0x5f
0x00 0x70 0x50 0x5f
0x00 0x70 0x60 0x5f
0x00 0x70 0x70 0x5f
0x00 0x78 0x40 0x5f
0x00 0x78 0x50 0x5f
0x00 0x78 0x60 0x5f
0x00 0x78 0x70 0x5f
0x28 0x71 0x8f 0x5f
0x28 0x71 0xaf 0x5f
0x28 0x79 0x8f 0x5f
0x28 0x79 0xaf 0x5f

#----------------------------------------------------------------------
# Scalar Signed saturating doubling multiply long (scalar, by element)
#----------------------------------------------------------------------
# CHECK: sqdmull s1, h1, v1.h[0]
# CHECK: sqdmull s1, h1, v1.h[1]
# CHECK: sqdmull s1, h1, v1.h[2]
# CHECK: sqdmull s1, h1, v1.h[3]
# CHECK: sqdmull s1, h1, v1.h[4]
# CHECK: sqdmull s1, h1, v1.h[5]
# CHECK: sqdmull s1, h1, v1.h[6]
# CHECK: sqdmull s1, h1, v1.h[7]
# CHECK: sqdmull d1, s1, v4.s[0]
# CHECK: sqdmull d1, s1, v4.s[1]
# CHECK: sqdmull d1, s1, v4.s[2]
# CHECK: sqdmull d1, s1, v4.s[3]
0x21 0xb0 0x41 0x5f
0x21 0xb0 0x51 0x5f
0x21 0xb0 0x61 0x5f
0x21 0xb0 0x71 0x5f
0x21 0xb8 0x41 0x5f
0x21 0xb8 0x51 0x5f
0x21 0xb8 0x61 0x5f
0x21 0xb8 0x71 0x5f
0x21 0xb0 0x84 0x5f
0x21 0xb0 0xa4 0x5f
0x21 0xb8 0x84 0x5f
0x21 0xb8 0xa4 0x5f

#----------------------------------------------------------------------
# Scalar Signed saturating doubling multiply returning
# high half (scalar, by element)
#----------------------------------------------------------------------
# CHECK: sqdmulh h7, h1, v14.h[0]
# CHECK: sqdmulh h7, h15, v8.h[1]
# CHECK: sqdmulh h7, h15, v8.h[2]
# CHECK: sqdmulh h7, h15, v8.h[3]
# CHECK: sqdmulh h7, h15, v8.h[4]
# CHECK: sqdmulh h7, h15, v8.h[5]
# CHECK: sqdmulh h7, h15, v8.h[6]
# CHECK: sqdmulh h7, h15, v8.h[7]
# CHECK: sqdmulh s15, s3, v4.s[0]
# CHECK: sqdmulh s15, s14, v16.s[1]
# CHECK: sqdmulh s15, s15, v16.s[2]
# CHECK: sqdmulh s15, s16, v17.s[3]
0x27 0xc0 0x4e 0x5f
0xe7 0xc1 0x58 0x5f
0xe7 0xc1 0x68 0x5f
0xe7 0xc1 0x78 0x5f
0xe7 0xc9 0x48 0x5f
0xe7 0xc9 0x58 0x5f
0xe7 0xc9 0x68 0x5f
0xe7 0xc9 0x78 0x5f
0x6f 0xc0 0x84 0x5f
0xcf 0xc1 0xb0 0x5f
0xef 0xc9 0x90 0x5f
0x0f 0xca 0xb1 0x5f

#----------------------------------------------------------------------
# Scalar Signed saturating rounding doubling multiply
# returning high half (scalar, by element)
#----------------------------------------------------------------------
# CHECK: sqrdmulh h7, h1, v14.h[0]
# CHECK: sqrdmulh h7, h15, v8.h[1]
# CHECK: sqrdmulh h7, h15, v8.h[2]
# CHECK: sqrdmulh h7, h15, v8.h[3]
# CHECK: sqrdmulh h7, h15, v8.h[4]
# CHECK: sqrdmulh h7, h15, v8.h[5]
# CHECK: sqrdmulh h7, h15, v8.h[6]
# CHECK: sqrdmulh h7, h15, v8.h[7]
# CHECK: sqrdmulh s15, s3, v4.s[0]
# CHECK: sqrdmulh s15, s14, v16.s[1]
# CHECK: sqrdmulh s15, s15, v16.s[2]
# CHECK: sqrdmulh s15, s16, v17.s[3]
0x27 0xd0 0x4e 0x5f
0xe7 0xd1 0x58 0x5f
0xe7 0xd1 0x68 0x5f
0xe7 0xd1 0x78 0x5f
0xe7 0xd9 0x48 0x5f
0xe7 0xd9 0x58 0x5f
0xe7 0xd9 0x68 0x5f
0xe7 0xd9 0x78 0x5f
0x6f 0xd0 0x84 0x5f
0xcf 0xd1 0xb0 0x5f
0xef 0xd9 0x90 0x5f
0x0f 0xda 0xb1 0x5f

#----------------------------------------------------------------------
#Duplicate element (scalar)
#----------------------------------------------------------------------
# CHECK: {{dup|mov}} b0, v0.b[15]
# CHECK: {{dup|mov}} h2, v31.h[5]
# CHECK: {{dup|mov}} s17, v2.s[2]
# CHECK: {{dup|mov}} d6, v12.d[1]
0x00 0x04 0x1f 0x5e
0xe2 0x07 0x16 0x5e
0x51 0x04 0x14 0x5e
0x86 0x05 0x18 0x5e

#----------------------------------------------------------------------
# Table look up
#----------------------------------------------------------------------
0x20,0x00,0x02,0x0e
0xf0,0x23,0x02,0x0e
0x20,0x40,0x02,0x0e
0xf0,0x62,0x02,0x0e
# CHECK: tbl v0.8b, { v1.16b }, v2.8b
# CHECK: tbl v16.8b, { v31.16b, v0.16b }, v2.8b
# CHECK: tbl v0.8b, { v1.16b, v2.16b, v3.16b }, v2.8b
# CHECK: tbl v16.8b, { v23.16b, v24.16b, v25.16b, v26.16b }, v2.8b

0x20,0x00,0x02,0x4e
0xf0,0x23,0x02,0x4e
0x20,0x40,0x02,0x4e
0xe0,0x63,0x02,0x4e
# CHECK: tbl v0.16b, { v1.16b }, v2.16b
# CHECK: tbl v16.16b, { v31.16b, v0.16b }, v2.16b
# CHECK: tbl v0.16b, { v1.16b, v2.16b, v3.16b }, v2.16b
# CHECK: tbl v0.16b, { v31.16b, v0.16b, v1.16b, v2.16b }, v2.16b

0x20,0x10,0x02,0x0e
0xf0,0x33,0x02,0x0e
0x20,0x50,0x02,0x0e
0xf0,0x72,0x02,0x0e
# CHECK: tbx v0.8b, { v1.16b }, v2.8b
# CHECK: tbx v16.8b, { v31.16b, v0.16b }, v2.8b
# CHECK: tbx v0.8b, { v1.16b, v2.16b, v3.16b }, v2.8b
# CHECK: tbx v16.8b, { v23.16b, v24.16b, v25.16b, v26.16b }, v2.8b

0x20,0x10,0x02,0x4e
0xf0,0x33,0x02,0x4e
0x20,0x50,0x02,0x4e
0xf0,0x73,0x02,0x4e
# CHECK: tbx v0.16b, { v1.16b }, v2.16b
# CHECK: tbx v16.16b, { v31.16b, v0.16b }, v2.16b
# CHECK: tbx v0.16b, { v1.16b, v2.16b, v3.16b }, v2.16b
# CHECK: tbx v16.16b, { v31.16b, v0.16b, v1.16b, v2.16b }, v2.16b

#----------------------------------------------------------------------
# Scalar Floating-point Convert To Lower Precision Narrow, Rounding To
# Odd
#----------------------------------------------------------------------
# CHECK: fcvtxn s22, d13
0xb6,0x69,0x61,0x7e

#----------------------------------------------------------------------
# Scalar Floating-point Convert To Signed Integer, Rounding To Nearest
# With Ties To Away
#----------------------------------------------------------------------
# CHECK: fcvtas s12, s13
# CHECK: fcvtas d21, d14

0xac,0xc9,0x21,0x5e
0xd5,0xc9,0x61,0x5e

#----------------------------------------------------------------------
# Scalar Floating-point Convert To Unsigned Integer, Rounding To
# Nearest With Ties To Away
#----------------------------------------------------------------------
# CHECK: fcvtau s12, s13
# CHECK: fcvtau d21, d14
0xac,0xc9,0x21,0x7e
0xd5,0xc9,0x61,0x7e

#----------------------------------------------------------------------
# Scalar Floating-point Convert To Signed Integer, Rounding Toward
# Minus Infinity
#----------------------------------------------------------------------
# CHECK: fcvtms s22, s13
# CHECK: fcvtms d21, d14
0xb6,0xb9,0x21,0x5e
0xd5,0xb9,0x61,0x5e

#----------------------------------------------------------------------
# Scalar Floating-point Convert To Unsigned Integer, Rounding Toward
# Minus Infinity
#----------------------------------------------------------------------
# CHECK: fcvtmu s12, s13
# CHECK: fcvtmu d21, d14
0xac,0xb9,0x21,0x7e
0xd5,0xb9,0x61,0x7e

#----------------------------------------------------------------------
# Scalar Floating-point Convert To Signed Integer, Rounding To Nearest
# With Ties To Even
#----------------------------------------------------------------------

# CHECK: fcvtns s22, s13
# CHECK: fcvtns d21, d14

0xb6,0xa9,0x21,0x5e
0xd5,0xa9,0x61,0x5e

#----------------------------------------------------------------------
# Scalar Floating-point Convert To Unsigned Integer, Rounding To
# Nearest With Ties To Even
#----------------------------------------------------------------------

# CHECK: fcvtnu s12, s13
# CHECK: fcvtnu d21, d14
0xac,0xa9,0x21,0x7e
0xd5,0xa9,0x61,0x7e
        
#----------------------------------------------------------------------
# Scalar Floating-point Convert To Signed Integer, Rounding Toward
# Positive Infinity
#----------------------------------------------------------------------
# CHECK: fcvtps s22, s13
# CHECK: fcvtps d21, d14
0xb6,0xa9,0xa1,0x5e
0xd5,0xa9,0xe1,0x5e
        
#----------------------------------------------------------------------
# Scalar Floating-point Convert To Unsigned Integer, Rounding Toward
# Positive Infinity
#----------------------------------------------------------------------
# CHECK: fcvtpu s12, s13
# CHECK: fcvtpu d21, d14
0xac,0xa9,0xa1,0x7e
0xd5,0xa9,0xe1,0x7e

#----------------------------------------------------------------------
# Scalar Floating-point Convert To Signed Integer, Rounding Toward Zero
#----------------------------------------------------------------------
# CHECK: fcvtzs s12, s13
# CHECK: fcvtzs d21, d14
0xac,0xb9,0xa1,0x5e
0xd5,0xb9,0xe1,0x5e
        
#----------------------------------------------------------------------
# Scalar Floating-point Convert To Unsigned Integer, Rounding Toward 
# Zero
#----------------------------------------------------------------------
# CHECK: fcvtzu s12, s13
# CHECK: fcvtzu d21, d14
0xac,0xb9,0xa1,0x7e
0xd5,0xb9,0xe1,0x7e

#----------------------------------------------------------------------
# Scalar Floating-point Absolute Difference
#----------------------------------------------------------------------
# CHECK: fabd s29, s24, s20
# CHECK: fabd d29, d24, d20
0x1d,0xd7,0xb4,0x7e
0x1d,0xd7,0xf4,0x7e