xref: /aosp_15_r20/external/llvm/test/MC/PowerPC/ppc64-encoding-vmx.s (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker
2*9880d681SAndroid Build Coastguard Worker# RUN: llvm-mc -triple powerpc64-unknown-unknown --show-encoding %s | FileCheck -check-prefix=CHECK-BE %s
3*9880d681SAndroid Build Coastguard Worker# RUN: llvm-mc -triple powerpc64le-unknown-unknown --show-encoding %s | FileCheck -check-prefix=CHECK-LE %s
4*9880d681SAndroid Build Coastguard Worker
5*9880d681SAndroid Build Coastguard Worker# Vector facility
6*9880d681SAndroid Build Coastguard Worker
7*9880d681SAndroid Build Coastguard Worker# Vector storage access instructions
8*9880d681SAndroid Build Coastguard Worker
9*9880d681SAndroid Build Coastguard Worker# CHECK-BE: lvebx 2, 3, 4                   # encoding: [0x7c,0x43,0x20,0x0e]
10*9880d681SAndroid Build Coastguard Worker# CHECK-LE: lvebx 2, 3, 4                   # encoding: [0x0e,0x20,0x43,0x7c]
11*9880d681SAndroid Build Coastguard Worker            lvebx 2, 3, 4
12*9880d681SAndroid Build Coastguard Worker# CHECK-BE: lvehx 2, 3, 4                   # encoding: [0x7c,0x43,0x20,0x4e]
13*9880d681SAndroid Build Coastguard Worker# CHECK-LE: lvehx 2, 3, 4                   # encoding: [0x4e,0x20,0x43,0x7c]
14*9880d681SAndroid Build Coastguard Worker            lvehx 2, 3, 4
15*9880d681SAndroid Build Coastguard Worker# CHECK-BE: lvewx 2, 3, 4                   # encoding: [0x7c,0x43,0x20,0x8e]
16*9880d681SAndroid Build Coastguard Worker# CHECK-LE: lvewx 2, 3, 4                   # encoding: [0x8e,0x20,0x43,0x7c]
17*9880d681SAndroid Build Coastguard Worker            lvewx 2, 3, 4
18*9880d681SAndroid Build Coastguard Worker# CHECK-BE: lvx 2, 3, 4                     # encoding: [0x7c,0x43,0x20,0xce]
19*9880d681SAndroid Build Coastguard Worker# CHECK-LE: lvx 2, 3, 4                     # encoding: [0xce,0x20,0x43,0x7c]
20*9880d681SAndroid Build Coastguard Worker            lvx 2, 3, 4
21*9880d681SAndroid Build Coastguard Worker# CHECK-BE: lvxl 2, 3, 4                    # encoding: [0x7c,0x43,0x22,0xce]
22*9880d681SAndroid Build Coastguard Worker# CHECK-LE: lvxl 2, 3, 4                    # encoding: [0xce,0x22,0x43,0x7c]
23*9880d681SAndroid Build Coastguard Worker            lvxl 2, 3, 4
24*9880d681SAndroid Build Coastguard Worker# CHECK-BE: stvebx 2, 3, 4                  # encoding: [0x7c,0x43,0x21,0x0e]
25*9880d681SAndroid Build Coastguard Worker# CHECK-LE: stvebx 2, 3, 4                  # encoding: [0x0e,0x21,0x43,0x7c]
26*9880d681SAndroid Build Coastguard Worker            stvebx 2, 3, 4
27*9880d681SAndroid Build Coastguard Worker# CHECK-BE: stvehx 2, 3, 4                  # encoding: [0x7c,0x43,0x21,0x4e]
28*9880d681SAndroid Build Coastguard Worker# CHECK-LE: stvehx 2, 3, 4                  # encoding: [0x4e,0x21,0x43,0x7c]
29*9880d681SAndroid Build Coastguard Worker            stvehx 2, 3, 4
30*9880d681SAndroid Build Coastguard Worker# CHECK-BE: stvewx 2, 3, 4                  # encoding: [0x7c,0x43,0x21,0x8e]
31*9880d681SAndroid Build Coastguard Worker# CHECK-LE: stvewx 2, 3, 4                  # encoding: [0x8e,0x21,0x43,0x7c]
32*9880d681SAndroid Build Coastguard Worker            stvewx 2, 3, 4
33*9880d681SAndroid Build Coastguard Worker# CHECK-BE: stvx 2, 3, 4                    # encoding: [0x7c,0x43,0x21,0xce]
34*9880d681SAndroid Build Coastguard Worker# CHECK-LE: stvx 2, 3, 4                    # encoding: [0xce,0x21,0x43,0x7c]
35*9880d681SAndroid Build Coastguard Worker            stvx 2, 3, 4
36*9880d681SAndroid Build Coastguard Worker# CHECK-BE: stvxl 2, 3, 4                   # encoding: [0x7c,0x43,0x23,0xce]
37*9880d681SAndroid Build Coastguard Worker# CHECK-LE: stvxl 2, 3, 4                   # encoding: [0xce,0x23,0x43,0x7c]
38*9880d681SAndroid Build Coastguard Worker            stvxl 2, 3, 4
39*9880d681SAndroid Build Coastguard Worker# CHECK-BE: lvsl 2, 3, 4                    # encoding: [0x7c,0x43,0x20,0x0c]
40*9880d681SAndroid Build Coastguard Worker# CHECK-LE: lvsl 2, 3, 4                    # encoding: [0x0c,0x20,0x43,0x7c]
41*9880d681SAndroid Build Coastguard Worker            lvsl 2, 3, 4
42*9880d681SAndroid Build Coastguard Worker# CHECK-BE: lvsr 2, 3, 4                    # encoding: [0x7c,0x43,0x20,0x4c]
43*9880d681SAndroid Build Coastguard Worker# CHECK-LE: lvsr 2, 3, 4                    # encoding: [0x4c,0x20,0x43,0x7c]
44*9880d681SAndroid Build Coastguard Worker            lvsr 2, 3, 4
45*9880d681SAndroid Build Coastguard Worker
46*9880d681SAndroid Build Coastguard Worker# Vector permute and formatting instructions
47*9880d681SAndroid Build Coastguard Worker
48*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vpkpx 2, 3, 4                   # encoding: [0x10,0x43,0x23,0x0e]
49*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vpkpx 2, 3, 4                   # encoding: [0x0e,0x23,0x43,0x10]
50*9880d681SAndroid Build Coastguard Worker            vpkpx 2, 3, 4
51*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vpkshss 2, 3, 4                 # encoding: [0x10,0x43,0x21,0x8e]
52*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vpkshss 2, 3, 4                 # encoding: [0x8e,0x21,0x43,0x10]
53*9880d681SAndroid Build Coastguard Worker            vpkshss 2, 3, 4
54*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vpkshus 2, 3, 4                 # encoding: [0x10,0x43,0x21,0x0e]
55*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vpkshus 2, 3, 4                 # encoding: [0x0e,0x21,0x43,0x10]
56*9880d681SAndroid Build Coastguard Worker            vpkshus 2, 3, 4
57*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vpkswss 2, 3, 4                 # encoding: [0x10,0x43,0x21,0xce]
58*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vpkswss 2, 3, 4                 # encoding: [0xce,0x21,0x43,0x10]
59*9880d681SAndroid Build Coastguard Worker            vpkswss 2, 3, 4
60*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vpkswus 2, 3, 4                 # encoding: [0x10,0x43,0x21,0x4e]
61*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vpkswus 2, 3, 4                 # encoding: [0x4e,0x21,0x43,0x10]
62*9880d681SAndroid Build Coastguard Worker            vpkswus 2, 3, 4
63*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vpkuhum 2, 3, 4                 # encoding: [0x10,0x43,0x20,0x0e]
64*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vpkuhum 2, 3, 4                 # encoding: [0x0e,0x20,0x43,0x10]
65*9880d681SAndroid Build Coastguard Worker            vpkuhum 2, 3, 4
66*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vpkuhus 2, 3, 4                 # encoding: [0x10,0x43,0x20,0x8e]
67*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vpkuhus 2, 3, 4                 # encoding: [0x8e,0x20,0x43,0x10]
68*9880d681SAndroid Build Coastguard Worker            vpkuhus 2, 3, 4
69*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vpkuwum 2, 3, 4                 # encoding: [0x10,0x43,0x20,0x4e]
70*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vpkuwum 2, 3, 4                 # encoding: [0x4e,0x20,0x43,0x10]
71*9880d681SAndroid Build Coastguard Worker            vpkuwum 2, 3, 4
72*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vpkuwus 2, 3, 4                 # encoding: [0x10,0x43,0x20,0xce]
73*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vpkuwus 2, 3, 4                 # encoding: [0xce,0x20,0x43,0x10]
74*9880d681SAndroid Build Coastguard Worker            vpkuwus 2, 3, 4
75*9880d681SAndroid Build Coastguard Worker
76*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vupkhpx 2, 3                    # encoding: [0x10,0x40,0x1b,0x4e]
77*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vupkhpx 2, 3                    # encoding: [0x4e,0x1b,0x40,0x10]
78*9880d681SAndroid Build Coastguard Worker            vupkhpx 2, 3
79*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vupkhsb 2, 3                    # encoding: [0x10,0x40,0x1a,0x0e]
80*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vupkhsb 2, 3                    # encoding: [0x0e,0x1a,0x40,0x10]
81*9880d681SAndroid Build Coastguard Worker            vupkhsb 2, 3
82*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vupkhsh 2, 3                    # encoding: [0x10,0x40,0x1a,0x4e]
83*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vupkhsh 2, 3                    # encoding: [0x4e,0x1a,0x40,0x10]
84*9880d681SAndroid Build Coastguard Worker            vupkhsh 2, 3
85*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vupklpx 2, 3                    # encoding: [0x10,0x40,0x1b,0xce]
86*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vupklpx 2, 3                    # encoding: [0xce,0x1b,0x40,0x10]
87*9880d681SAndroid Build Coastguard Worker            vupklpx 2, 3
88*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vupklsb 2, 3                    # encoding: [0x10,0x40,0x1a,0x8e]
89*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vupklsb 2, 3                    # encoding: [0x8e,0x1a,0x40,0x10]
90*9880d681SAndroid Build Coastguard Worker            vupklsb 2, 3
91*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vupklsh 2, 3                    # encoding: [0x10,0x40,0x1a,0xce]
92*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vupklsh 2, 3                    # encoding: [0xce,0x1a,0x40,0x10]
93*9880d681SAndroid Build Coastguard Worker            vupklsh 2, 3
94*9880d681SAndroid Build Coastguard Worker
95*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vmrghb 2, 3, 4                  # encoding: [0x10,0x43,0x20,0x0c]
96*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vmrghb 2, 3, 4                  # encoding: [0x0c,0x20,0x43,0x10]
97*9880d681SAndroid Build Coastguard Worker            vmrghb 2, 3, 4
98*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vmrghh 2, 3, 4                  # encoding: [0x10,0x43,0x20,0x4c]
99*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vmrghh 2, 3, 4                  # encoding: [0x4c,0x20,0x43,0x10]
100*9880d681SAndroid Build Coastguard Worker            vmrghh 2, 3, 4
101*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vmrghw 2, 3, 4                  # encoding: [0x10,0x43,0x20,0x8c]
102*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vmrghw 2, 3, 4                  # encoding: [0x8c,0x20,0x43,0x10]
103*9880d681SAndroid Build Coastguard Worker            vmrghw 2, 3, 4
104*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vmrglb 2, 3, 4                  # encoding: [0x10,0x43,0x21,0x0c]
105*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vmrglb 2, 3, 4                  # encoding: [0x0c,0x21,0x43,0x10]
106*9880d681SAndroid Build Coastguard Worker            vmrglb 2, 3, 4
107*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vmrglh 2, 3, 4                  # encoding: [0x10,0x43,0x21,0x4c]
108*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vmrglh 2, 3, 4                  # encoding: [0x4c,0x21,0x43,0x10]
109*9880d681SAndroid Build Coastguard Worker            vmrglh 2, 3, 4
110*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vmrglw 2, 3, 4                  # encoding: [0x10,0x43,0x21,0x8c]
111*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vmrglw 2, 3, 4                  # encoding: [0x8c,0x21,0x43,0x10]
112*9880d681SAndroid Build Coastguard Worker            vmrglw 2, 3, 4
113*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vmrgew 2, 3, 4                  # encoding: [0x10,0x43,0x27,0x8c]
114*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vmrgew 2, 3, 4                  # encoding: [0x8c,0x27,0x43,0x10]
115*9880d681SAndroid Build Coastguard Worker            vmrgew 2, 3, 4
116*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vmrgow 2, 3, 4                  # encoding: [0x10,0x43,0x26,0x8c]
117*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vmrgow 2, 3, 4                  # encoding: [0x8c,0x26,0x43,0x10]
118*9880d681SAndroid Build Coastguard Worker            vmrgow 2, 3, 4
119*9880d681SAndroid Build Coastguard Worker
120*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vspltb 2, 3, 1                  # encoding: [0x10,0x41,0x1a,0x0c]
121*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vspltb 2, 3, 1                  # encoding: [0x0c,0x1a,0x41,0x10]
122*9880d681SAndroid Build Coastguard Worker            vspltb 2, 3, 1
123*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vsplth 2, 3, 1                  # encoding: [0x10,0x41,0x1a,0x4c]
124*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vsplth 2, 3, 1                  # encoding: [0x4c,0x1a,0x41,0x10]
125*9880d681SAndroid Build Coastguard Worker            vsplth 2, 3, 1
126*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vspltw 2, 3, 1                  # encoding: [0x10,0x41,0x1a,0x8c]
127*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vspltw 2, 3, 1                  # encoding: [0x8c,0x1a,0x41,0x10]
128*9880d681SAndroid Build Coastguard Worker            vspltw 2, 3, 1
129*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vspltisb 2, 3                   # encoding: [0x10,0x43,0x03,0x0c]
130*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vspltisb 2, 3                   # encoding: [0x0c,0x03,0x43,0x10]
131*9880d681SAndroid Build Coastguard Worker            vspltisb 2, 3
132*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vspltish 2, 3                   # encoding: [0x10,0x43,0x03,0x4c]
133*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vspltish 2, 3                   # encoding: [0x4c,0x03,0x43,0x10]
134*9880d681SAndroid Build Coastguard Worker            vspltish 2, 3
135*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vspltisw 2, 3                   # encoding: [0x10,0x43,0x03,0x8c]
136*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vspltisw 2, 3                   # encoding: [0x8c,0x03,0x43,0x10]
137*9880d681SAndroid Build Coastguard Worker            vspltisw 2, 3
138*9880d681SAndroid Build Coastguard Worker
139*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vperm 2, 3, 4, 5                # encoding: [0x10,0x43,0x21,0x6b]
140*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vperm 2, 3, 4, 5                # encoding: [0x6b,0x21,0x43,0x10]
141*9880d681SAndroid Build Coastguard Worker            vperm 2, 3, 4, 5
142*9880d681SAndroid Build Coastguard Worker
143*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vpermxor 2, 3, 4, 5             # encoding: [0x10,0x43,0x21,0x6d]
144*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vpermxor 2, 3, 4, 5             # encoding: [0x6d,0x21,0x43,0x10]
145*9880d681SAndroid Build Coastguard Worker            vpermxor 2, 3, 4, 5
146*9880d681SAndroid Build Coastguard Worker
147*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vsbox 2, 5                      # encoding: [0x10,0x45,0x05,0xc8]
148*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vsbox 2, 5                      # encoding: [0xc8,0x05,0x45,0x10]
149*9880d681SAndroid Build Coastguard Worker            vsbox 2, 5
150*9880d681SAndroid Build Coastguard Worker
151*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vcipher 2, 5, 17                # encoding: [0x10,0x45,0x8d,0x08]
152*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vcipher 2, 5, 17                # encoding: [0x08,0x8d,0x45,0x10]
153*9880d681SAndroid Build Coastguard Worker            vcipher 2, 5, 17
154*9880d681SAndroid Build Coastguard Worker
155*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vcipherlast 2, 5, 17            # encoding: [0x10,0x45,0x8d,0x09]
156*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vcipherlast 2, 5, 17            # encoding: [0x09,0x8d,0x45,0x10]
157*9880d681SAndroid Build Coastguard Worker            vcipherlast 2, 5, 17
158*9880d681SAndroid Build Coastguard Worker
159*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vncipher 2, 5, 17               # encoding: [0x10,0x45,0x8d,0x48]
160*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vncipher 2, 5, 17               # encoding: [0x48,0x8d,0x45,0x10]
161*9880d681SAndroid Build Coastguard Worker            vncipher 2, 5, 17
162*9880d681SAndroid Build Coastguard Worker
163*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vncipherlast 2, 5, 17           # encoding: [0x10,0x45,0x8d,0x49]
164*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vncipherlast 2, 5, 17           # encoding: [0x49,0x8d,0x45,0x10]
165*9880d681SAndroid Build Coastguard Worker            vncipherlast 2, 5, 17
166*9880d681SAndroid Build Coastguard Worker
167*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vpmsumb 2, 5, 17                # encoding: [0x10,0x45,0x8c,0x08]
168*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vpmsumb 2, 5, 17                # encoding: [0x08,0x8c,0x45,0x10]
169*9880d681SAndroid Build Coastguard Worker            vpmsumb 2, 5, 17
170*9880d681SAndroid Build Coastguard Worker
171*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vpmsumh 2, 5, 17                # encoding: [0x10,0x45,0x8c,0x48]
172*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vpmsumh 2, 5, 17                # encoding: [0x48,0x8c,0x45,0x10]
173*9880d681SAndroid Build Coastguard Worker            vpmsumh 2, 5, 17
174*9880d681SAndroid Build Coastguard Worker
175*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vpmsumw 2, 5, 17                # encoding: [0x10,0x45,0x8c,0x88]
176*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vpmsumw 2, 5, 17                # encoding: [0x88,0x8c,0x45,0x10]
177*9880d681SAndroid Build Coastguard Worker            vpmsumw 2, 5, 17
178*9880d681SAndroid Build Coastguard Worker
179*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vpmsumd 2, 5, 17                # encoding: [0x10,0x45,0x8c,0xc8]
180*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vpmsumd 2, 5, 17                # encoding: [0xc8,0x8c,0x45,0x10]
181*9880d681SAndroid Build Coastguard Worker            vpmsumd 2, 5, 17
182*9880d681SAndroid Build Coastguard Worker
183*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vshasigmaw 2, 3, 0, 11          # encoding: [0x10,0x43,0x5e,0x82]
184*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vshasigmaw 2, 3, 0, 11          # encoding: [0x82,0x5e,0x43,0x10]
185*9880d681SAndroid Build Coastguard Worker            vshasigmaw 2, 3, 0, 11
186*9880d681SAndroid Build Coastguard Worker
187*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vshasigmad 2, 3, 1, 15          # encoding: [0x10,0x43,0xfe,0xc2]
188*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vshasigmad 2, 3, 1, 15          # encoding: [0xc2,0xfe,0x43,0x10]
189*9880d681SAndroid Build Coastguard Worker            vshasigmad 2, 3, 1, 15
190*9880d681SAndroid Build Coastguard Worker
191*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vsel 2, 3, 4, 5                 # encoding: [0x10,0x43,0x21,0x6a]
192*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vsel 2, 3, 4, 5                 # encoding: [0x6a,0x21,0x43,0x10]
193*9880d681SAndroid Build Coastguard Worker            vsel 2, 3, 4, 5
194*9880d681SAndroid Build Coastguard Worker
195*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vsl 2, 3, 4                     # encoding: [0x10,0x43,0x21,0xc4]
196*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vsl 2, 3, 4                     # encoding: [0xc4,0x21,0x43,0x10]
197*9880d681SAndroid Build Coastguard Worker            vsl 2, 3, 4
198*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vsldoi 2, 3, 4, 5               # encoding: [0x10,0x43,0x21,0x6c]
199*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vsldoi 2, 3, 4, 5               # encoding: [0x6c,0x21,0x43,0x10]
200*9880d681SAndroid Build Coastguard Worker            vsldoi 2, 3, 4, 5
201*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vslo 2, 3, 4                    # encoding: [0x10,0x43,0x24,0x0c]
202*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vslo 2, 3, 4                    # encoding: [0x0c,0x24,0x43,0x10]
203*9880d681SAndroid Build Coastguard Worker            vslo 2, 3, 4
204*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vsr 2, 3, 4                     # encoding: [0x10,0x43,0x22,0xc4]
205*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vsr 2, 3, 4                     # encoding: [0xc4,0x22,0x43,0x10]
206*9880d681SAndroid Build Coastguard Worker            vsr 2, 3, 4
207*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vsro 2, 3, 4                    # encoding: [0x10,0x43,0x24,0x4c]
208*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vsro 2, 3, 4                    # encoding: [0x4c,0x24,0x43,0x10]
209*9880d681SAndroid Build Coastguard Worker            vsro 2, 3, 4
210*9880d681SAndroid Build Coastguard Worker
211*9880d681SAndroid Build Coastguard Worker# Vector integer arithmetic instructions
212*9880d681SAndroid Build Coastguard Worker
213*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vaddcuw 2, 3, 4                 # encoding: [0x10,0x43,0x21,0x80]
214*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vaddcuw 2, 3, 4                 # encoding: [0x80,0x21,0x43,0x10]
215*9880d681SAndroid Build Coastguard Worker            vaddcuw 2, 3, 4
216*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vaddsbs 2, 3, 4                 # encoding: [0x10,0x43,0x23,0x00]
217*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vaddsbs 2, 3, 4                 # encoding: [0x00,0x23,0x43,0x10]
218*9880d681SAndroid Build Coastguard Worker            vaddsbs 2, 3, 4
219*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vaddshs 2, 3, 4                 # encoding: [0x10,0x43,0x23,0x40]
220*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vaddshs 2, 3, 4                 # encoding: [0x40,0x23,0x43,0x10]
221*9880d681SAndroid Build Coastguard Worker            vaddshs 2, 3, 4
222*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vaddsws 2, 3, 4                 # encoding: [0x10,0x43,0x23,0x80]
223*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vaddsws 2, 3, 4                 # encoding: [0x80,0x23,0x43,0x10]
224*9880d681SAndroid Build Coastguard Worker            vaddsws 2, 3, 4
225*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vaddubm 2, 3, 4                 # encoding: [0x10,0x43,0x20,0x00]
226*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vaddubm 2, 3, 4                 # encoding: [0x00,0x20,0x43,0x10]
227*9880d681SAndroid Build Coastguard Worker            vaddubm 2, 3, 4
228*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vadduhm 2, 3, 4                 # encoding: [0x10,0x43,0x20,0x40]
229*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vadduhm 2, 3, 4                 # encoding: [0x40,0x20,0x43,0x10]
230*9880d681SAndroid Build Coastguard Worker            vadduhm 2, 3, 4
231*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vadduwm 2, 3, 4                 # encoding: [0x10,0x43,0x20,0x80]
232*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vadduwm 2, 3, 4                 # encoding: [0x80,0x20,0x43,0x10]
233*9880d681SAndroid Build Coastguard Worker            vadduwm 2, 3, 4
234*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vaddudm 2, 3, 4                 # encoding: [0x10,0x43,0x20,0xc0]
235*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vaddudm 2, 3, 4                 # encoding: [0xc0,0x20,0x43,0x10]
236*9880d681SAndroid Build Coastguard Worker            vaddudm 2, 3, 4
237*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vaddubs 2, 3, 4                 # encoding: [0x10,0x43,0x22,0x00]
238*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vaddubs 2, 3, 4                 # encoding: [0x00,0x22,0x43,0x10]
239*9880d681SAndroid Build Coastguard Worker            vaddubs 2, 3, 4
240*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vadduhs 2, 3, 4                 # encoding: [0x10,0x43,0x22,0x40]
241*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vadduhs 2, 3, 4                 # encoding: [0x40,0x22,0x43,0x10]
242*9880d681SAndroid Build Coastguard Worker            vadduhs 2, 3, 4
243*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vadduws 2, 3, 4                 # encoding: [0x10,0x43,0x22,0x80]
244*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vadduws 2, 3, 4                 # encoding: [0x80,0x22,0x43,0x10]
245*9880d681SAndroid Build Coastguard Worker            vadduws 2, 3, 4
246*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vadduqm 2, 3, 4                 # encoding: [0x10,0x43,0x21,0x00]
247*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vadduqm 2, 3, 4                 # encoding: [0x00,0x21,0x43,0x10]
248*9880d681SAndroid Build Coastguard Worker            vadduqm 2, 3, 4
249*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vaddeuqm 2, 3, 4, 5             # encoding: [0x10,0x43,0x21,0x7c]
250*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vaddeuqm 2, 3, 4, 5             # encoding:	[0x7c,0x21,0x43,0x10]
251*9880d681SAndroid Build Coastguard Worker            vaddeuqm 2, 3, 4, 5
252*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vaddcuq 2, 3, 4                 # encoding: [0x10,0x43,0x21,0x40]
253*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vaddcuq 2, 3, 4                 # encoding: [0x40,0x21,0x43,0x10]
254*9880d681SAndroid Build Coastguard Worker            vaddcuq 2, 3, 4
255*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vaddecuq 2, 3, 4, 5             # encoding: [0x10,0x43,0x21,0x7d]
256*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vaddecuq 2, 3, 4, 5             # encoding: [0x7d,0x21,0x43,0x10]
257*9880d681SAndroid Build Coastguard Worker            vaddecuq 2, 3, 4, 5
258*9880d681SAndroid Build Coastguard Worker
259*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vsubcuw 2, 3, 4                 # encoding: [0x10,0x43,0x25,0x80]
260*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vsubcuw 2, 3, 4                 # encoding: [0x80,0x25,0x43,0x10]
261*9880d681SAndroid Build Coastguard Worker            vsubcuw 2, 3, 4
262*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vsubsbs 2, 3, 4                 # encoding: [0x10,0x43,0x27,0x00]
263*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vsubsbs 2, 3, 4                 # encoding: [0x00,0x27,0x43,0x10]
264*9880d681SAndroid Build Coastguard Worker            vsubsbs 2, 3, 4
265*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vsubshs 2, 3, 4                 # encoding: [0x10,0x43,0x27,0x40]
266*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vsubshs 2, 3, 4                 # encoding: [0x40,0x27,0x43,0x10]
267*9880d681SAndroid Build Coastguard Worker            vsubshs 2, 3, 4
268*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vsubsws 2, 3, 4                 # encoding: [0x10,0x43,0x27,0x80]
269*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vsubsws 2, 3, 4                 # encoding: [0x80,0x27,0x43,0x10]
270*9880d681SAndroid Build Coastguard Worker            vsubsws 2, 3, 4
271*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vsububm 2, 3, 4                 # encoding: [0x10,0x43,0x24,0x00]
272*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vsububm 2, 3, 4                 # encoding: [0x00,0x24,0x43,0x10]
273*9880d681SAndroid Build Coastguard Worker            vsububm 2, 3, 4
274*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vsubuhm 2, 3, 4                 # encoding: [0x10,0x43,0x24,0x40]
275*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vsubuhm 2, 3, 4                 # encoding: [0x40,0x24,0x43,0x10]
276*9880d681SAndroid Build Coastguard Worker            vsubuhm 2, 3, 4
277*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vsubuwm 2, 3, 4                 # encoding: [0x10,0x43,0x24,0x80]
278*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vsubuwm 2, 3, 4                 # encoding: [0x80,0x24,0x43,0x10]
279*9880d681SAndroid Build Coastguard Worker            vsubuwm 2, 3, 4
280*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vsubudm 2, 3, 4                 # encoding: [0x10,0x43,0x24,0xc0]
281*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vsubudm 2, 3, 4                 # encoding: [0xc0,0x24,0x43,0x10]
282*9880d681SAndroid Build Coastguard Worker            vsubudm 2, 3, 4
283*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vsububs 2, 3, 4                 # encoding: [0x10,0x43,0x26,0x00]
284*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vsububs 2, 3, 4                 # encoding: [0x00,0x26,0x43,0x10]
285*9880d681SAndroid Build Coastguard Worker            vsububs 2, 3, 4
286*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vsubuhs 2, 3, 4                 # encoding: [0x10,0x43,0x26,0x40]
287*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vsubuhs 2, 3, 4                 # encoding: [0x40,0x26,0x43,0x10]
288*9880d681SAndroid Build Coastguard Worker            vsubuhs 2, 3, 4
289*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vsubuws 2, 3, 4                 # encoding: [0x10,0x43,0x26,0x80]
290*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vsubuws 2, 3, 4                 # encoding: [0x80,0x26,0x43,0x10]
291*9880d681SAndroid Build Coastguard Worker            vsubuws 2, 3, 4
292*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vsubuqm 2, 3, 4                 # encoding: [0x10,0x43,0x25,0x00]
293*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vsubuqm 2, 3, 4                 # encoding: [0x00,0x25,0x43,0x10]
294*9880d681SAndroid Build Coastguard Worker            vsubuqm 2, 3, 4
295*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vsubeuqm 2, 3, 4, 5             # encoding: [0x10,0x43,0x21,0x7e]
296*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vsubeuqm 2, 3, 4, 5             # encoding: [0x7e,0x21,0x43,0x10]
297*9880d681SAndroid Build Coastguard Worker            vsubeuqm 2, 3, 4, 5
298*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vsubcuq 2, 3, 4                 # encoding: [0x10,0x43,0x25,0x40]
299*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vsubcuq 2, 3, 4                 # encoding: [0x40,0x25,0x43,0x10]
300*9880d681SAndroid Build Coastguard Worker            vsubcuq 2, 3, 4
301*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vsubecuq 2, 3, 4, 5             # encoding: [0x10,0x43,0x21,0x7f]
302*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vsubecuq 2, 3, 4, 5             # encoding: [0x7f,0x21,0x43,0x10]
303*9880d681SAndroid Build Coastguard Worker            vsubecuq 2, 3, 4, 5
304*9880d681SAndroid Build Coastguard Worker
305*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vmulesb 2, 3, 4                 # encoding: [0x10,0x43,0x23,0x08]
306*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vmulesb 2, 3, 4                 # encoding: [0x08,0x23,0x43,0x10]
307*9880d681SAndroid Build Coastguard Worker            vmulesb 2, 3, 4
308*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vmulesh 2, 3, 4                 # encoding: [0x10,0x43,0x23,0x48]
309*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vmulesh 2, 3, 4                 # encoding: [0x48,0x23,0x43,0x10]
310*9880d681SAndroid Build Coastguard Worker            vmulesh 2, 3, 4
311*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vmulesw 2, 3, 4                 # encoding: [0x10,0x43,0x23,0x88]
312*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vmulesw 2, 3, 4                 # encoding: [0x88,0x23,0x43,0x10]
313*9880d681SAndroid Build Coastguard Worker            vmulesw 2, 3, 4
314*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vmuleub 2, 3, 4                 # encoding: [0x10,0x43,0x22,0x08]
315*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vmuleub 2, 3, 4                 # encoding: [0x08,0x22,0x43,0x10]
316*9880d681SAndroid Build Coastguard Worker            vmuleub 2, 3, 4
317*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vmuleuh 2, 3, 4                 # encoding: [0x10,0x43,0x22,0x48]
318*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vmuleuh 2, 3, 4                 # encoding: [0x48,0x22,0x43,0x10]
319*9880d681SAndroid Build Coastguard Worker            vmuleuh 2, 3, 4
320*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vmuleuw 2, 3, 4                 # encoding: [0x10,0x43,0x22,0x88]
321*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vmuleuw 2, 3, 4                 # encoding: [0x88,0x22,0x43,0x10]
322*9880d681SAndroid Build Coastguard Worker            vmuleuw 2, 3, 4
323*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vmulosb 2, 3, 4                 # encoding: [0x10,0x43,0x21,0x08]
324*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vmulosb 2, 3, 4                 # encoding: [0x08,0x21,0x43,0x10]
325*9880d681SAndroid Build Coastguard Worker            vmulosb 2, 3, 4
326*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vmulosh 2, 3, 4                 # encoding: [0x10,0x43,0x21,0x48]
327*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vmulosh 2, 3, 4                 # encoding: [0x48,0x21,0x43,0x10]
328*9880d681SAndroid Build Coastguard Worker            vmulosh 2, 3, 4
329*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vmulosw 2, 3, 4                 # encoding: [0x10,0x43,0x21,0x88]
330*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vmulosw 2, 3, 4                 # encoding: [0x88,0x21,0x43,0x10]
331*9880d681SAndroid Build Coastguard Worker            vmulosw 2, 3, 4
332*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vmuloub 2, 3, 4                 # encoding: [0x10,0x43,0x20,0x08]
333*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vmuloub 2, 3, 4                 # encoding: [0x08,0x20,0x43,0x10]
334*9880d681SAndroid Build Coastguard Worker            vmuloub 2, 3, 4
335*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vmulouh 2, 3, 4                 # encoding: [0x10,0x43,0x20,0x48]
336*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vmulouh 2, 3, 4                 # encoding: [0x48,0x20,0x43,0x10]
337*9880d681SAndroid Build Coastguard Worker            vmulouh 2, 3, 4
338*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vmulouw 2, 3, 4                 # encoding: [0x10,0x43,0x20,0x88]
339*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vmulouw 2, 3, 4                 # encoding: [0x88,0x20,0x43,0x10]
340*9880d681SAndroid Build Coastguard Worker            vmulouw 2, 3, 4
341*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vmuluwm 2, 3, 4                 # encoding: [0x10,0x43,0x20,0x89]
342*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vmuluwm 2, 3, 4                 # encoding: [0x89,0x20,0x43,0x10]
343*9880d681SAndroid Build Coastguard Worker            vmuluwm 2, 3, 4
344*9880d681SAndroid Build Coastguard Worker
345*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vmhaddshs 2, 3, 4, 5            # encoding: [0x10,0x43,0x21,0x60]
346*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vmhaddshs 2, 3, 4, 5            # encoding: [0x60,0x21,0x43,0x10]
347*9880d681SAndroid Build Coastguard Worker            vmhaddshs 2, 3, 4, 5
348*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vmhraddshs 2, 3, 4, 5           # encoding: [0x10,0x43,0x21,0x61]
349*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vmhraddshs 2, 3, 4, 5           # encoding: [0x61,0x21,0x43,0x10]
350*9880d681SAndroid Build Coastguard Worker            vmhraddshs 2, 3, 4, 5
351*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vmladduhm 2, 3, 4, 5            # encoding: [0x10,0x43,0x21,0x62]
352*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vmladduhm 2, 3, 4, 5            # encoding: [0x62,0x21,0x43,0x10]
353*9880d681SAndroid Build Coastguard Worker            vmladduhm 2, 3, 4, 5
354*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vmsumubm 2, 3, 4, 5             # encoding: [0x10,0x43,0x21,0x64]
355*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vmsumubm 2, 3, 4, 5             # encoding: [0x64,0x21,0x43,0x10]
356*9880d681SAndroid Build Coastguard Worker            vmsumubm 2, 3, 4, 5
357*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vmsummbm 2, 3, 4, 5             # encoding: [0x10,0x43,0x21,0x65]
358*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vmsummbm 2, 3, 4, 5             # encoding: [0x65,0x21,0x43,0x10]
359*9880d681SAndroid Build Coastguard Worker            vmsummbm 2, 3, 4, 5
360*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vmsumshm 2, 3, 4, 5             # encoding: [0x10,0x43,0x21,0x68]
361*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vmsumshm 2, 3, 4, 5             # encoding: [0x68,0x21,0x43,0x10]
362*9880d681SAndroid Build Coastguard Worker            vmsumshm 2, 3, 4, 5
363*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vmsumshs 2, 3, 4, 5             # encoding: [0x10,0x43,0x21,0x69]
364*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vmsumshs 2, 3, 4, 5             # encoding: [0x69,0x21,0x43,0x10]
365*9880d681SAndroid Build Coastguard Worker            vmsumshs 2, 3, 4, 5
366*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vmsumuhm 2, 3, 4, 5             # encoding: [0x10,0x43,0x21,0x66]
367*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vmsumuhm 2, 3, 4, 5             # encoding: [0x66,0x21,0x43,0x10]
368*9880d681SAndroid Build Coastguard Worker            vmsumuhm 2, 3, 4, 5
369*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vmsumuhs 2, 3, 4, 5             # encoding: [0x10,0x43,0x21,0x67]
370*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vmsumuhs 2, 3, 4, 5             # encoding: [0x67,0x21,0x43,0x10]
371*9880d681SAndroid Build Coastguard Worker            vmsumuhs 2, 3, 4, 5
372*9880d681SAndroid Build Coastguard Worker
373*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vsumsws 2, 3, 4                 # encoding: [0x10,0x43,0x27,0x88]
374*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vsumsws 2, 3, 4                 # encoding: [0x88,0x27,0x43,0x10]
375*9880d681SAndroid Build Coastguard Worker            vsumsws 2, 3, 4
376*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vsum2sws 2, 3, 4                # encoding: [0x10,0x43,0x26,0x88]
377*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vsum2sws 2, 3, 4                # encoding: [0x88,0x26,0x43,0x10]
378*9880d681SAndroid Build Coastguard Worker            vsum2sws 2, 3, 4
379*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vsum4sbs 2, 3, 4                # encoding: [0x10,0x43,0x27,0x08]
380*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vsum4sbs 2, 3, 4                # encoding: [0x08,0x27,0x43,0x10]
381*9880d681SAndroid Build Coastguard Worker            vsum4sbs 2, 3, 4
382*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vsum4shs 2, 3, 4                # encoding: [0x10,0x43,0x26,0x48]
383*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vsum4shs 2, 3, 4                # encoding: [0x48,0x26,0x43,0x10]
384*9880d681SAndroid Build Coastguard Worker            vsum4shs 2, 3, 4
385*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vsum4ubs 2, 3, 4                # encoding: [0x10,0x43,0x26,0x08]
386*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vsum4ubs 2, 3, 4                # encoding: [0x08,0x26,0x43,0x10]
387*9880d681SAndroid Build Coastguard Worker            vsum4ubs 2, 3, 4
388*9880d681SAndroid Build Coastguard Worker
389*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vavgsb 2, 3, 4                  # encoding: [0x10,0x43,0x25,0x02]
390*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vavgsb 2, 3, 4                  # encoding: [0x02,0x25,0x43,0x10]
391*9880d681SAndroid Build Coastguard Worker            vavgsb 2, 3, 4
392*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vavgsh 2, 3, 4                  # encoding: [0x10,0x43,0x25,0x42]
393*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vavgsh 2, 3, 4                  # encoding: [0x42,0x25,0x43,0x10]
394*9880d681SAndroid Build Coastguard Worker            vavgsh 2, 3, 4
395*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vavgsw 2, 3, 4                  # encoding: [0x10,0x43,0x25,0x82]
396*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vavgsw 2, 3, 4                  # encoding: [0x82,0x25,0x43,0x10]
397*9880d681SAndroid Build Coastguard Worker            vavgsw 2, 3, 4
398*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vavgub 2, 3, 4                  # encoding: [0x10,0x43,0x24,0x02]
399*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vavgub 2, 3, 4                  # encoding: [0x02,0x24,0x43,0x10]
400*9880d681SAndroid Build Coastguard Worker            vavgub 2, 3, 4
401*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vavguh 2, 3, 4                  # encoding: [0x10,0x43,0x24,0x42]
402*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vavguh 2, 3, 4                  # encoding: [0x42,0x24,0x43,0x10]
403*9880d681SAndroid Build Coastguard Worker            vavguh 2, 3, 4
404*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vavguw 2, 3, 4                  # encoding: [0x10,0x43,0x24,0x82]
405*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vavguw 2, 3, 4                  # encoding: [0x82,0x24,0x43,0x10]
406*9880d681SAndroid Build Coastguard Worker            vavguw 2, 3, 4
407*9880d681SAndroid Build Coastguard Worker
408*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vmaxsb 2, 3, 4                  # encoding: [0x10,0x43,0x21,0x02]
409*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vmaxsb 2, 3, 4                  # encoding: [0x02,0x21,0x43,0x10]
410*9880d681SAndroid Build Coastguard Worker            vmaxsb 2, 3, 4
411*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vmaxsh 2, 3, 4                  # encoding: [0x10,0x43,0x21,0x42]
412*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vmaxsh 2, 3, 4                  # encoding: [0x42,0x21,0x43,0x10]
413*9880d681SAndroid Build Coastguard Worker            vmaxsh 2, 3, 4
414*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vmaxsw 2, 3, 4                  # encoding: [0x10,0x43,0x21,0x82]
415*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vmaxsw 2, 3, 4                  # encoding: [0x82,0x21,0x43,0x10]
416*9880d681SAndroid Build Coastguard Worker            vmaxsw 2, 3, 4
417*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vmaxsd 2, 3, 4                  # encoding: [0x10,0x43,0x21,0xc2]
418*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vmaxsd 2, 3, 4                    # encoding: [0xc2,0x21,0x43,0x10]
419*9880d681SAndroid Build Coastguard Worker            vmaxsd 2, 3, 4
420*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vmaxub 2, 3, 4                  # encoding: [0x10,0x43,0x20,0x02]
421*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vmaxub 2, 3, 4                  # encoding: [0x02,0x20,0x43,0x10]
422*9880d681SAndroid Build Coastguard Worker            vmaxub 2, 3, 4
423*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vmaxuh 2, 3, 4                  # encoding: [0x10,0x43,0x20,0x42]
424*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vmaxuh 2, 3, 4                  # encoding: [0x42,0x20,0x43,0x10]
425*9880d681SAndroid Build Coastguard Worker            vmaxuh 2, 3, 4
426*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vmaxuw 2, 3, 4                  # encoding: [0x10,0x43,0x20,0x82]
427*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vmaxuw 2, 3, 4                  # encoding: [0x82,0x20,0x43,0x10]
428*9880d681SAndroid Build Coastguard Worker            vmaxuw 2, 3, 4
429*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vmaxud 2, 3, 4                  # encoding: [0x10,0x43,0x20,0xc2]
430*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vmaxud 2, 3, 4                  # encoding: [0xc2,0x20,0x43,0x10]
431*9880d681SAndroid Build Coastguard Worker            vmaxud 2, 3, 4
432*9880d681SAndroid Build Coastguard Worker
433*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vminsb 2, 3, 4                  # encoding: [0x10,0x43,0x23,0x02]
434*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vminsb 2, 3, 4                  # encoding: [0x02,0x23,0x43,0x10]
435*9880d681SAndroid Build Coastguard Worker            vminsb 2, 3, 4
436*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vminsh 2, 3, 4                  # encoding: [0x10,0x43,0x23,0x42]
437*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vminsh 2, 3, 4                  # encoding: [0x42,0x23,0x43,0x10]
438*9880d681SAndroid Build Coastguard Worker            vminsh 2, 3, 4
439*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vminsw 2, 3, 4                  # encoding: [0x10,0x43,0x23,0x82]
440*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vminsw 2, 3, 4                  # encoding: [0x82,0x23,0x43,0x10]
441*9880d681SAndroid Build Coastguard Worker            vminsw 2, 3, 4
442*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vminsd 2, 3, 4                  # encoding: [0x10,0x43,0x23,0xc2]
443*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vminsd 2, 3, 4                  # encoding: [0xc2,0x23,0x43,0x10]
444*9880d681SAndroid Build Coastguard Worker            vminsd 2, 3, 4
445*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vminub 2, 3, 4                  # encoding: [0x10,0x43,0x22,0x02]
446*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vminub 2, 3, 4                  # encoding: [0x02,0x22,0x43,0x10]
447*9880d681SAndroid Build Coastguard Worker            vminub 2, 3, 4
448*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vminuh 2, 3, 4                  # encoding: [0x10,0x43,0x22,0x42]
449*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vminuh 2, 3, 4                  # encoding: [0x42,0x22,0x43,0x10]
450*9880d681SAndroid Build Coastguard Worker            vminuh 2, 3, 4
451*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vminuw 2, 3, 4                  # encoding: [0x10,0x43,0x22,0x82]
452*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vminuw 2, 3, 4                  # encoding: [0x82,0x22,0x43,0x10]
453*9880d681SAndroid Build Coastguard Worker            vminuw 2, 3, 4
454*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vminud 2, 3, 4                  # encoding: [0x10,0x43,0x22,0xc2]
455*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vminud 2, 3, 4                  # encoding: [0xc2,0x22,0x43,0x10]
456*9880d681SAndroid Build Coastguard Worker            vminud 2, 3, 4
457*9880d681SAndroid Build Coastguard Worker
458*9880d681SAndroid Build Coastguard Worker# Vector integer compare instructions
459*9880d681SAndroid Build Coastguard Worker
460*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vcmpequb 2, 3, 4                # encoding: [0x10,0x43,0x20,0x06]
461*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vcmpequb 2, 3, 4                # encoding: [0x06,0x20,0x43,0x10]
462*9880d681SAndroid Build Coastguard Worker            vcmpequb 2, 3, 4
463*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vcmpequb. 2, 3, 4               # encoding: [0x10,0x43,0x24,0x06]
464*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vcmpequb. 2, 3, 4               # encoding: [0x06,0x24,0x43,0x10]
465*9880d681SAndroid Build Coastguard Worker            vcmpequb. 2, 3, 4
466*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vcmpequh 2, 3, 4                # encoding: [0x10,0x43,0x20,0x46]
467*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vcmpequh 2, 3, 4                # encoding: [0x46,0x20,0x43,0x10]
468*9880d681SAndroid Build Coastguard Worker            vcmpequh 2, 3, 4
469*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vcmpequh. 2, 3, 4               # encoding: [0x10,0x43,0x24,0x46]
470*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vcmpequh. 2, 3, 4               # encoding: [0x46,0x24,0x43,0x10]
471*9880d681SAndroid Build Coastguard Worker            vcmpequh. 2, 3, 4
472*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vcmpequw 2, 3, 4                # encoding: [0x10,0x43,0x20,0x86]
473*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vcmpequw 2, 3, 4                # encoding: [0x86,0x20,0x43,0x10]
474*9880d681SAndroid Build Coastguard Worker            vcmpequw 2, 3, 4
475*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vcmpequw. 2, 3, 4               # encoding: [0x10,0x43,0x24,0x86]
476*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vcmpequw. 2, 3, 4               # encoding: [0x86,0x24,0x43,0x10]
477*9880d681SAndroid Build Coastguard Worker            vcmpequw. 2, 3, 4
478*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vcmpequd 2, 3, 4                # encoding: [0x10,0x43,0x20,0xc7]
479*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vcmpequd 2, 3, 4                # encoding: [0xc7,0x20,0x43,0x10]
480*9880d681SAndroid Build Coastguard Worker            vcmpequd 2, 3, 4
481*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vcmpequd. 2, 3, 4               # encoding: [0x10,0x43,0x24,0xc7]
482*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vcmpequd. 2, 3, 4               # encoding: [0xc7,0x24,0x43,0x10]
483*9880d681SAndroid Build Coastguard Worker            vcmpequd. 2, 3, 4
484*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vcmpgtsb 2, 3, 4                # encoding: [0x10,0x43,0x23,0x06]
485*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vcmpgtsb 2, 3, 4                # encoding: [0x06,0x23,0x43,0x10]
486*9880d681SAndroid Build Coastguard Worker            vcmpgtsb 2, 3, 4
487*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vcmpgtsb. 2, 3, 4               # encoding: [0x10,0x43,0x27,0x06]
488*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vcmpgtsb. 2, 3, 4               # encoding: [0x06,0x27,0x43,0x10]
489*9880d681SAndroid Build Coastguard Worker            vcmpgtsb. 2, 3, 4
490*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vcmpgtsh 2, 3, 4                # encoding: [0x10,0x43,0x23,0x46]
491*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vcmpgtsh 2, 3, 4                # encoding: [0x46,0x23,0x43,0x10]
492*9880d681SAndroid Build Coastguard Worker            vcmpgtsh 2, 3, 4
493*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vcmpgtsh. 2, 3, 4               # encoding: [0x10,0x43,0x27,0x46]
494*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vcmpgtsh. 2, 3, 4               # encoding: [0x46,0x27,0x43,0x10]
495*9880d681SAndroid Build Coastguard Worker            vcmpgtsh. 2, 3, 4
496*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vcmpgtsw 2, 3, 4                # encoding: [0x10,0x43,0x23,0x86]
497*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vcmpgtsw 2, 3, 4                # encoding: [0x86,0x23,0x43,0x10]
498*9880d681SAndroid Build Coastguard Worker            vcmpgtsw 2, 3, 4
499*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vcmpgtsw. 2, 3, 4               # encoding: [0x10,0x43,0x27,0x86]
500*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vcmpgtsw. 2, 3, 4               # encoding: [0x86,0x27,0x43,0x10]
501*9880d681SAndroid Build Coastguard Worker            vcmpgtsw. 2, 3, 4
502*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vcmpgtsd 2, 3, 4                # encoding: [0x10,0x43,0x23,0xc7]
503*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vcmpgtsd 2, 3, 4                # encoding: [0xc7,0x23,0x43,0x10]
504*9880d681SAndroid Build Coastguard Worker            vcmpgtsd 2, 3, 4
505*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vcmpgtsd. 2, 3, 4               # encoding: [0x10,0x43,0x27,0xc7]
506*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vcmpgtsd. 2, 3, 4               # encoding: [0xc7,0x27,0x43,0x10]
507*9880d681SAndroid Build Coastguard Worker            vcmpgtsd. 2, 3, 4
508*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vcmpgtub 2, 3, 4                # encoding: [0x10,0x43,0x22,0x06]
509*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vcmpgtub 2, 3, 4                # encoding: [0x06,0x22,0x43,0x10]
510*9880d681SAndroid Build Coastguard Worker            vcmpgtub 2, 3, 4
511*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vcmpgtub. 2, 3, 4               # encoding: [0x10,0x43,0x26,0x06]
512*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vcmpgtub. 2, 3, 4               # encoding: [0x06,0x26,0x43,0x10]
513*9880d681SAndroid Build Coastguard Worker            vcmpgtub. 2, 3, 4
514*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vcmpgtuh 2, 3, 4                # encoding: [0x10,0x43,0x22,0x46]
515*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vcmpgtuh 2, 3, 4                # encoding: [0x46,0x22,0x43,0x10]
516*9880d681SAndroid Build Coastguard Worker            vcmpgtuh 2, 3, 4
517*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vcmpgtuh. 2, 3, 4               # encoding: [0x10,0x43,0x26,0x46]
518*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vcmpgtuh. 2, 3, 4               # encoding: [0x46,0x26,0x43,0x10]
519*9880d681SAndroid Build Coastguard Worker            vcmpgtuh. 2, 3, 4
520*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vcmpgtuw 2, 3, 4                # encoding: [0x10,0x43,0x22,0x86]
521*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vcmpgtuw 2, 3, 4                # encoding: [0x86,0x22,0x43,0x10]
522*9880d681SAndroid Build Coastguard Worker            vcmpgtuw 2, 3, 4
523*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vcmpgtuw. 2, 3, 4               # encoding: [0x10,0x43,0x26,0x86]
524*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vcmpgtuw. 2, 3, 4               # encoding: [0x86,0x26,0x43,0x10]
525*9880d681SAndroid Build Coastguard Worker            vcmpgtuw. 2, 3, 4
526*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vcmpgtud 2, 3, 4                # encoding: [0x10,0x43,0x22,0xc7]
527*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vcmpgtud 2, 3, 4                # encoding: [0xc7,0x22,0x43,0x10]
528*9880d681SAndroid Build Coastguard Worker            vcmpgtud 2, 3, 4
529*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vcmpgtud. 2, 3, 4               # encoding: [0x10,0x43,0x26,0xc7]
530*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vcmpgtud. 2, 3, 4               # encoding: [0xc7,0x26,0x43,0x10]
531*9880d681SAndroid Build Coastguard Worker            vcmpgtud. 2, 3, 4
532*9880d681SAndroid Build Coastguard Worker
533*9880d681SAndroid Build Coastguard Worker# Vector integer logical instructions
534*9880d681SAndroid Build Coastguard Worker
535*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vand 2, 3, 4                    # encoding: [0x10,0x43,0x24,0x04]
536*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vand 2, 3, 4                    # encoding: [0x04,0x24,0x43,0x10]
537*9880d681SAndroid Build Coastguard Worker            vand 2, 3, 4
538*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vandc 2, 3, 4                   # encoding: [0x10,0x43,0x24,0x44]
539*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vandc 2, 3, 4                   # encoding: [0x44,0x24,0x43,0x10]
540*9880d681SAndroid Build Coastguard Worker            vandc 2, 3, 4
541*9880d681SAndroid Build Coastguard Worker# CHECK-BE: veqv 2, 3, 4                    # encoding: [0x10,0x43,0x26,0x84]
542*9880d681SAndroid Build Coastguard Worker# CHECK-LE: veqv 2, 3, 4                    # encoding: [0x84,0x26,0x43,0x10]
543*9880d681SAndroid Build Coastguard Worker            veqv 2, 3, 4
544*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vnand 2, 3, 4                   # encoding: [0x10,0x43,0x25,0x84]
545*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vnand 2, 3, 4                   # encoding: [0x84,0x25,0x43,0x10]
546*9880d681SAndroid Build Coastguard Worker            vnand 2, 3, 4
547*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vorc 2, 3, 4                    # encoding: [0x10,0x43,0x25,0x44]
548*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vorc 2, 3, 4                    # encoding: [0x44,0x25,0x43,0x10]
549*9880d681SAndroid Build Coastguard Worker            vorc 2, 3, 4
550*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vnor 2, 3, 4                    # encoding: [0x10,0x43,0x25,0x04]
551*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vnor 2, 3, 4                    # encoding: [0x04,0x25,0x43,0x10]
552*9880d681SAndroid Build Coastguard Worker            vnor 2, 3, 4
553*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vor 2, 3, 4                     # encoding: [0x10,0x43,0x24,0x84]
554*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vor 2, 3, 4                     # encoding: [0x84,0x24,0x43,0x10]
555*9880d681SAndroid Build Coastguard Worker            vor 2, 3, 4
556*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vxor 2, 3, 4                    # encoding: [0x10,0x43,0x24,0xc4]
557*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vxor 2, 3, 4                    # encoding: [0xc4,0x24,0x43,0x10]
558*9880d681SAndroid Build Coastguard Worker            vxor 2, 3, 4
559*9880d681SAndroid Build Coastguard Worker
560*9880d681SAndroid Build Coastguard Worker# Vector integer rotate and shift instructions
561*9880d681SAndroid Build Coastguard Worker
562*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vrlb 2, 3, 4                    # encoding: [0x10,0x43,0x20,0x04]
563*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vrlb 2, 3, 4                    # encoding: [0x04,0x20,0x43,0x10]
564*9880d681SAndroid Build Coastguard Worker            vrlb 2, 3, 4
565*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vrlh 2, 3, 4                    # encoding: [0x10,0x43,0x20,0x44]
566*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vrlh 2, 3, 4                    # encoding: [0x44,0x20,0x43,0x10]
567*9880d681SAndroid Build Coastguard Worker            vrlh 2, 3, 4
568*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vrlw 2, 3, 4                    # encoding: [0x10,0x43,0x20,0x84]
569*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vrlw 2, 3, 4                    # encoding: [0x84,0x20,0x43,0x10]
570*9880d681SAndroid Build Coastguard Worker            vrlw 2, 3, 4
571*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vrld 2, 3, 4                    # encoding: [0x10,0x43,0x20,0xc4]
572*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vrld 2, 3, 4                    # encoding: [0xc4,0x20,0x43,0x10]
573*9880d681SAndroid Build Coastguard Worker            vrld 2, 3, 4
574*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vslb 2, 3, 4                    # encoding: [0x10,0x43,0x21,0x04]
575*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vslb 2, 3, 4                    # encoding: [0x04,0x21,0x43,0x10]
576*9880d681SAndroid Build Coastguard Worker            vslb 2, 3, 4
577*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vslh 2, 3, 4                    # encoding: [0x10,0x43,0x21,0x44]
578*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vslh 2, 3, 4                    # encoding: [0x44,0x21,0x43,0x10]
579*9880d681SAndroid Build Coastguard Worker            vslh 2, 3, 4
580*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vslw 2, 3, 4                    # encoding: [0x10,0x43,0x21,0x84]
581*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vslw 2, 3, 4                    # encoding: [0x84,0x21,0x43,0x10]
582*9880d681SAndroid Build Coastguard Worker            vslw 2, 3, 4
583*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vsld 2, 3, 4                    # encoding: [0x10,0x43,0x25,0xc4]
584*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vsld 2, 3, 4                    # encoding: [0xc4,0x25,0x43,0x10]
585*9880d681SAndroid Build Coastguard Worker            vsld 2, 3, 4
586*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vsrb 2, 3, 4                    # encoding: [0x10,0x43,0x22,0x04]
587*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vsrb 2, 3, 4                    # encoding: [0x04,0x22,0x43,0x10]
588*9880d681SAndroid Build Coastguard Worker            vsrb 2, 3, 4
589*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vsrh 2, 3, 4                    # encoding: [0x10,0x43,0x22,0x44]
590*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vsrh 2, 3, 4                    # encoding: [0x44,0x22,0x43,0x10]
591*9880d681SAndroid Build Coastguard Worker            vsrh 2, 3, 4
592*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vsrw 2, 3, 4                    # encoding: [0x10,0x43,0x22,0x84]
593*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vsrw 2, 3, 4                    # encoding: [0x84,0x22,0x43,0x10]
594*9880d681SAndroid Build Coastguard Worker            vsrw 2, 3, 4
595*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vsrd 2, 3, 4                    # encoding: [0x10,0x43,0x26,0xc4]
596*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vsrd 2, 3, 4                    # encoding: [0xc4,0x26,0x43,0x10]
597*9880d681SAndroid Build Coastguard Worker            vsrd 2, 3, 4
598*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vsrab 2, 3, 4                   # encoding: [0x10,0x43,0x23,0x04]
599*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vsrab 2, 3, 4                   # encoding: [0x04,0x23,0x43,0x10]
600*9880d681SAndroid Build Coastguard Worker            vsrab 2, 3, 4
601*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vsrah 2, 3, 4                   # encoding: [0x10,0x43,0x23,0x44]
602*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vsrah 2, 3, 4                   # encoding: [0x44,0x23,0x43,0x10]
603*9880d681SAndroid Build Coastguard Worker            vsrah 2, 3, 4
604*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vsraw 2, 3, 4                   # encoding: [0x10,0x43,0x23,0x84]
605*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vsraw 2, 3, 4                   # encoding: [0x84,0x23,0x43,0x10]
606*9880d681SAndroid Build Coastguard Worker            vsraw 2, 3, 4
607*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vsrad 2, 3, 4                   # encoding: [0x10,0x43,0x23,0xc4]
608*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vsrad 2, 3, 4                   # encoding: [0xc4,0x23,0x43,0x10]
609*9880d681SAndroid Build Coastguard Worker            vsrad 2, 3, 4
610*9880d681SAndroid Build Coastguard Worker
611*9880d681SAndroid Build Coastguard Worker# Vector floating-point instructions
612*9880d681SAndroid Build Coastguard Worker
613*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vaddfp 2, 3, 4                  # encoding: [0x10,0x43,0x20,0x0a]
614*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vaddfp 2, 3, 4                  # encoding: [0x0a,0x20,0x43,0x10]
615*9880d681SAndroid Build Coastguard Worker            vaddfp 2, 3, 4
616*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vsubfp 2, 3, 4                  # encoding: [0x10,0x43,0x20,0x4a]
617*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vsubfp 2, 3, 4                  # encoding: [0x4a,0x20,0x43,0x10]
618*9880d681SAndroid Build Coastguard Worker            vsubfp 2, 3, 4
619*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vmaddfp 2, 3, 4, 5              # encoding: [0x10,0x43,0x29,0x2e]
620*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vmaddfp 2, 3, 4, 5              # encoding: [0x2e,0x29,0x43,0x10]
621*9880d681SAndroid Build Coastguard Worker            vmaddfp 2, 3, 4, 5
622*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vnmsubfp 2, 3, 4, 5             # encoding: [0x10,0x43,0x29,0x2f]
623*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vnmsubfp 2, 3, 4, 5             # encoding: [0x2f,0x29,0x43,0x10]
624*9880d681SAndroid Build Coastguard Worker            vnmsubfp 2, 3, 4, 5
625*9880d681SAndroid Build Coastguard Worker
626*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vmaxfp 2, 3, 4                  # encoding: [0x10,0x43,0x24,0x0a]
627*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vmaxfp 2, 3, 4                  # encoding: [0x0a,0x24,0x43,0x10]
628*9880d681SAndroid Build Coastguard Worker            vmaxfp 2, 3, 4
629*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vminfp 2, 3, 4                  # encoding: [0x10,0x43,0x24,0x4a]
630*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vminfp 2, 3, 4                  # encoding: [0x4a,0x24,0x43,0x10]
631*9880d681SAndroid Build Coastguard Worker            vminfp 2, 3, 4
632*9880d681SAndroid Build Coastguard Worker
633*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vctsxs 2, 3, 4                  # encoding: [0x10,0x44,0x1b,0xca]
634*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vctsxs 2, 3, 4                  # encoding: [0xca,0x1b,0x44,0x10]
635*9880d681SAndroid Build Coastguard Worker            vctsxs 2, 3, 4
636*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vctuxs 2, 3, 4                  # encoding: [0x10,0x44,0x1b,0x8a]
637*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vctuxs 2, 3, 4                  # encoding: [0x8a,0x1b,0x44,0x10]
638*9880d681SAndroid Build Coastguard Worker            vctuxs 2, 3, 4
639*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vcfsx 2, 3, 4                   # encoding: [0x10,0x44,0x1b,0x4a]
640*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vcfsx 2, 3, 4                   # encoding: [0x4a,0x1b,0x44,0x10]
641*9880d681SAndroid Build Coastguard Worker            vcfsx 2, 3, 4
642*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vcfux 2, 3, 4                   # encoding: [0x10,0x44,0x1b,0x0a]
643*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vcfux 2, 3, 4                   # encoding: [0x0a,0x1b,0x44,0x10]
644*9880d681SAndroid Build Coastguard Worker            vcfux 2, 3, 4
645*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vrfim 2, 3                      # encoding: [0x10,0x40,0x1a,0xca]
646*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vrfim 2, 3                      # encoding: [0xca,0x1a,0x40,0x10]
647*9880d681SAndroid Build Coastguard Worker            vrfim 2, 3
648*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vrfin 2, 3                      # encoding: [0x10,0x40,0x1a,0x0a]
649*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vrfin 2, 3                      # encoding: [0x0a,0x1a,0x40,0x10]
650*9880d681SAndroid Build Coastguard Worker            vrfin 2, 3
651*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vrfip 2, 3                      # encoding: [0x10,0x40,0x1a,0x8a]
652*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vrfip 2, 3                      # encoding: [0x8a,0x1a,0x40,0x10]
653*9880d681SAndroid Build Coastguard Worker            vrfip 2, 3
654*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vrfiz 2, 3                      # encoding: [0x10,0x40,0x1a,0x4a]
655*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vrfiz 2, 3                      # encoding: [0x4a,0x1a,0x40,0x10]
656*9880d681SAndroid Build Coastguard Worker            vrfiz 2, 3
657*9880d681SAndroid Build Coastguard Worker
658*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vcmpbfp 2, 3, 4                 # encoding: [0x10,0x43,0x23,0xc6]
659*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vcmpbfp 2, 3, 4                 # encoding: [0xc6,0x23,0x43,0x10]
660*9880d681SAndroid Build Coastguard Worker            vcmpbfp 2, 3, 4
661*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vcmpbfp. 2, 3, 4                # encoding: [0x10,0x43,0x27,0xc6]
662*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vcmpbfp. 2, 3, 4                # encoding: [0xc6,0x27,0x43,0x10]
663*9880d681SAndroid Build Coastguard Worker            vcmpbfp. 2, 3, 4
664*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vcmpeqfp 2, 3, 4                # encoding: [0x10,0x43,0x20,0xc6]
665*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vcmpeqfp 2, 3, 4                # encoding: [0xc6,0x20,0x43,0x10]
666*9880d681SAndroid Build Coastguard Worker            vcmpeqfp 2, 3, 4
667*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vcmpeqfp. 2, 3, 4               # encoding: [0x10,0x43,0x24,0xc6]
668*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vcmpeqfp. 2, 3, 4               # encoding: [0xc6,0x24,0x43,0x10]
669*9880d681SAndroid Build Coastguard Worker            vcmpeqfp. 2, 3, 4
670*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vcmpgefp 2, 3, 4                # encoding: [0x10,0x43,0x21,0xc6]
671*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vcmpgefp 2, 3, 4                # encoding: [0xc6,0x21,0x43,0x10]
672*9880d681SAndroid Build Coastguard Worker            vcmpgefp 2, 3, 4
673*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vcmpgefp. 2, 3, 4               # encoding: [0x10,0x43,0x25,0xc6]
674*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vcmpgefp. 2, 3, 4               # encoding: [0xc6,0x25,0x43,0x10]
675*9880d681SAndroid Build Coastguard Worker            vcmpgefp. 2, 3, 4
676*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vcmpgtfp 2, 3, 4                # encoding: [0x10,0x43,0x22,0xc6]
677*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vcmpgtfp 2, 3, 4                # encoding: [0xc6,0x22,0x43,0x10]
678*9880d681SAndroid Build Coastguard Worker            vcmpgtfp 2, 3, 4
679*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vcmpgtfp. 2, 3, 4               # encoding: [0x10,0x43,0x26,0xc6]
680*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vcmpgtfp. 2, 3, 4               # encoding: [0xc6,0x26,0x43,0x10]
681*9880d681SAndroid Build Coastguard Worker            vcmpgtfp. 2, 3, 4
682*9880d681SAndroid Build Coastguard Worker
683*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vexptefp 2, 3                   # encoding: [0x10,0x40,0x19,0x8a]
684*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vexptefp 2, 3                   # encoding: [0x8a,0x19,0x40,0x10]
685*9880d681SAndroid Build Coastguard Worker            vexptefp 2, 3
686*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vlogefp 2, 3                    # encoding: [0x10,0x40,0x19,0xca]
687*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vlogefp 2, 3                    # encoding: [0xca,0x19,0x40,0x10]
688*9880d681SAndroid Build Coastguard Worker            vlogefp 2, 3
689*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vrefp 2, 3                      # encoding: [0x10,0x40,0x19,0x0a]
690*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vrefp 2, 3                      # encoding: [0x0a,0x19,0x40,0x10]
691*9880d681SAndroid Build Coastguard Worker            vrefp 2, 3
692*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vrsqrtefp 2, 3                  # encoding: [0x10,0x40,0x19,0x4a]
693*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vrsqrtefp 2, 3                  # encoding: [0x4a,0x19,0x40,0x10]
694*9880d681SAndroid Build Coastguard Worker            vrsqrtefp 2, 3
695*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vgbbd 2, 3                      # encoding: [0x10,0x40,0x1d,0x0c]
696*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vgbbd 2, 3                      # encoding: [0x0c,0x1d,0x40,0x10]
697*9880d681SAndroid Build Coastguard Worker            vgbbd 2, 3
698*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vbpermq 2, 5, 17                # encoding: [0x10,0x45,0x8d,0x4c]
699*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vbpermq 2, 5, 17                # encoding: [0x4c,0x8d,0x45,0x10]
700*9880d681SAndroid Build Coastguard Worker            vbpermq 2, 5, 17
701*9880d681SAndroid Build Coastguard Worker
702*9880d681SAndroid Build Coastguard Worker# Vector count leading zero instructions
703*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vclzb 2, 3                      # encoding: [0x10,0x40,0x1f,0x02]
704*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vclzb 2, 3                      # encoding: [0x02,0x1f,0x40,0x10]
705*9880d681SAndroid Build Coastguard Worker            vclzb 2, 3
706*9880d681SAndroid Build Coastguard Worker
707*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vclzh 2, 3                      # encoding: [0x10,0x40,0x1f,0x42]
708*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vclzh 2, 3                      # encoding: [0x42,0x1f,0x40,0x10]
709*9880d681SAndroid Build Coastguard Worker            vclzh 2, 3
710*9880d681SAndroid Build Coastguard Worker
711*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vclzw 2, 3                      # encoding: [0x10,0x40,0x1f,0x82]
712*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vclzw 2, 3                      # encoding: [0x82,0x1f,0x40,0x10]
713*9880d681SAndroid Build Coastguard Worker            vclzw 2, 3
714*9880d681SAndroid Build Coastguard Worker
715*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vclzd 2, 3                      # encoding: [0x10,0x40,0x1f,0xc2]
716*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vclzd 2, 3                      # encoding: [0xc2,0x1f,0x40,0x10]
717*9880d681SAndroid Build Coastguard Worker            vclzd 2, 3
718*9880d681SAndroid Build Coastguard Worker
719*9880d681SAndroid Build Coastguard Worker# Vector population count instructions
720*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vpopcntb 2, 3                   # encoding: [0x10,0x40,0x1f,0x03]
721*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vpopcntb 2, 3                   # encoding: [0x03,0x1f,0x40,0x10]
722*9880d681SAndroid Build Coastguard Worker            vpopcntb 2, 3
723*9880d681SAndroid Build Coastguard Worker
724*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vpopcnth 2, 3                   # encoding: [0x10,0x40,0x1f,0x43]
725*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vpopcnth 2, 3                   # encoding: [0x43,0x1f,0x40,0x10]
726*9880d681SAndroid Build Coastguard Worker            vpopcnth 2, 3
727*9880d681SAndroid Build Coastguard Worker
728*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vpopcntw 2, 3                   # encoding: [0x10,0x40,0x1f,0x83]
729*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vpopcntw 2, 3                   # encoding: [0x83,0x1f,0x40,0x10]
730*9880d681SAndroid Build Coastguard Worker            vpopcntw 2, 3
731*9880d681SAndroid Build Coastguard Worker
732*9880d681SAndroid Build Coastguard Worker# BCHECK-BE: vpopcntd 2, 3                   # encoding: [0x10,0x40,0x1f,0xC3]
733*9880d681SAndroid Build Coastguard Worker# BCHECK-LE: vpopcntd 2, 3                   # encoding: [0xC3,0x1f,0x40,0x10]
734*9880d681SAndroid Build Coastguard Worker#            vpopcntd 2, 3
735*9880d681SAndroid Build Coastguard Worker
736*9880d681SAndroid Build Coastguard Worker# Vector status and control register instructions
737*9880d681SAndroid Build Coastguard Worker
738*9880d681SAndroid Build Coastguard Worker# CHECK-BE: mtvscr 2                        # encoding: [0x10,0x00,0x16,0x44]
739*9880d681SAndroid Build Coastguard Worker# CHECK-LE: mtvscr 2                        # encoding: [0x44,0x16,0x00,0x10]
740*9880d681SAndroid Build Coastguard Worker            mtvscr 2
741*9880d681SAndroid Build Coastguard Worker# CHECK-BE: mfvscr 2                        # encoding: [0x10,0x40,0x06,0x04]
742*9880d681SAndroid Build Coastguard Worker# CHECK-LE: mfvscr 2                        # encoding: [0x04,0x06,0x40,0x10]
743*9880d681SAndroid Build Coastguard Worker            mfvscr 2
744*9880d681SAndroid Build Coastguard Worker
745*9880d681SAndroid Build Coastguard Worker# Power9 instructions
746*9880d681SAndroid Build Coastguard Worker
747*9880d681SAndroid Build Coastguard Worker# Vector Compare Not Equal (Zero)
748*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vcmpneb 2, 3, 4                 # encoding: [0x10,0x43,0x20,0x07]
749*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vcmpneb 2, 3, 4                 # encoding: [0x07,0x20,0x43,0x10]
750*9880d681SAndroid Build Coastguard Worker            vcmpneb 2, 3, 4
751*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vcmpneb. 2, 3, 4                # encoding: [0x10,0x43,0x24,0x07]
752*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vcmpneb. 2, 3, 4                # encoding: [0x07,0x24,0x43,0x10]
753*9880d681SAndroid Build Coastguard Worker            vcmpneb. 2, 3, 4
754*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vcmpnezb 2, 3, 4                # encoding: [0x10,0x43,0x21,0x07]
755*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vcmpnezb 2, 3, 4                # encoding: [0x07,0x21,0x43,0x10]
756*9880d681SAndroid Build Coastguard Worker            vcmpnezb 2, 3, 4
757*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vcmpnezb. 2, 3, 4               # encoding: [0x10,0x43,0x25,0x07]
758*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vcmpnezb. 2, 3, 4               # encoding: [0x07,0x25,0x43,0x10]
759*9880d681SAndroid Build Coastguard Worker            vcmpnezb. 2, 3, 4
760*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vcmpneh 2, 3, 4                 # encoding: [0x10,0x43,0x20,0x47]
761*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vcmpneh 2, 3, 4                 # encoding: [0x47,0x20,0x43,0x10]
762*9880d681SAndroid Build Coastguard Worker            vcmpneh 2, 3, 4
763*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vcmpneh. 2, 3, 4                # encoding: [0x10,0x43,0x24,0x47]
764*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vcmpneh. 2, 3, 4                # encoding: [0x47,0x24,0x43,0x10]
765*9880d681SAndroid Build Coastguard Worker            vcmpneh. 2, 3, 4
766*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vcmpnezh 2, 3, 4                # encoding: [0x10,0x43,0x21,0x47]
767*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vcmpnezh 2, 3, 4                # encoding: [0x47,0x21,0x43,0x10]
768*9880d681SAndroid Build Coastguard Worker            vcmpnezh 2, 3, 4
769*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vcmpnezh. 2, 3, 4               # encoding: [0x10,0x43,0x25,0x47]
770*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vcmpnezh. 2, 3, 4               # encoding: [0x47,0x25,0x43,0x10]
771*9880d681SAndroid Build Coastguard Worker            vcmpnezh. 2, 3, 4
772*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vcmpnew 2, 3, 4                 # encoding: [0x10,0x43,0x20,0x87]
773*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vcmpnew 2, 3, 4                 # encoding: [0x87,0x20,0x43,0x10]
774*9880d681SAndroid Build Coastguard Worker            vcmpnew 2, 3, 4
775*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vcmpnew. 2, 3, 4                # encoding: [0x10,0x43,0x24,0x87]
776*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vcmpnew. 2, 3, 4                # encoding: [0x87,0x24,0x43,0x10]
777*9880d681SAndroid Build Coastguard Worker            vcmpnew. 2, 3, 4
778*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vcmpnezw 2, 3, 4                # encoding: [0x10,0x43,0x21,0x87]
779*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vcmpnezw 2, 3, 4                # encoding: [0x87,0x21,0x43,0x10]
780*9880d681SAndroid Build Coastguard Worker            vcmpnezw 2, 3, 4
781*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vcmpnezw. 2, 3, 4               # encoding: [0x10,0x43,0x25,0x87]
782*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vcmpnezw. 2, 3, 4               # encoding: [0x87,0x25,0x43,0x10]
783*9880d681SAndroid Build Coastguard Worker            vcmpnezw. 2, 3, 4
784*9880d681SAndroid Build Coastguard Worker
785*9880d681SAndroid Build Coastguard Worker# Vector Extract Unsigned
786*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vextractub 2, 3, 15             # encoding: [0x10,0x4f,0x1a,0x0d]
787*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vextractub 2, 3, 15             # encoding: [0x0d,0x1a,0x4f,0x10]
788*9880d681SAndroid Build Coastguard Worker            vextractub 2, 3, 15
789*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vextractuh 2, 3, 14             # encoding: [0x10,0x4e,0x1a,0x4d]
790*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vextractuh 2, 3, 14             # encoding: [0x4d,0x1a,0x4e,0x10]
791*9880d681SAndroid Build Coastguard Worker            vextractuh 2, 3, 14
792*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vextractuw 2, 3, 12             # encoding: [0x10,0x4c,0x1a,0x8d]
793*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vextractuw 2, 3, 12             # encoding: [0x8d,0x1a,0x4c,0x10]
794*9880d681SAndroid Build Coastguard Worker            vextractuw 2, 3, 12
795*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vextractd 2, 3, 8               # encoding: [0x10,0x48,0x1a,0xcd]
796*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vextractd 2, 3, 8               # encoding: [0xcd,0x1a,0x48,0x10]
797*9880d681SAndroid Build Coastguard Worker            vextractd 2, 3, 8
798*9880d681SAndroid Build Coastguard Worker
799*9880d681SAndroid Build Coastguard Worker# Vector Extract Unsigned Left/Right-Indexed
800*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vextublx 2, 3, 4                # encoding: [0x10,0x43,0x26,0x0d]
801*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vextublx 2, 3, 4                # encoding: [0x0d,0x26,0x43,0x10]
802*9880d681SAndroid Build Coastguard Worker            vextublx 2, 3, 4
803*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vextubrx 2, 3, 4                # encoding: [0x10,0x43,0x27,0x0d]
804*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vextubrx 2, 3, 4                # encoding: [0x0d,0x27,0x43,0x10]
805*9880d681SAndroid Build Coastguard Worker            vextubrx 2, 3, 4
806*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vextuhlx 2, 3, 4                # encoding: [0x10,0x43,0x26,0x4d]
807*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vextuhlx 2, 3, 4                # encoding: [0x4d,0x26,0x43,0x10]
808*9880d681SAndroid Build Coastguard Worker            vextuhlx 2, 3, 4
809*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vextuhrx 2, 3, 4                # encoding: [0x10,0x43,0x27,0x4d]
810*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vextuhrx 2, 3, 4                # encoding: [0x4d,0x27,0x43,0x10]
811*9880d681SAndroid Build Coastguard Worker            vextuhrx 2, 3, 4
812*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vextuwlx 2, 3, 4                # encoding: [0x10,0x43,0x26,0x8d]
813*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vextuwlx 2, 3, 4                # encoding: [0x8d,0x26,0x43,0x10]
814*9880d681SAndroid Build Coastguard Worker            vextuwlx 2, 3, 4
815*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vextuwrx 2, 3, 4                # encoding: [0x10,0x43,0x27,0x8d]
816*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vextuwrx 2, 3, 4                # encoding: [0x8d,0x27,0x43,0x10]
817*9880d681SAndroid Build Coastguard Worker            vextuwrx 2, 3, 4
818*9880d681SAndroid Build Coastguard Worker
819*9880d681SAndroid Build Coastguard Worker# Vector Insert Element
820*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vinsertb 2, 3, 15               # encoding: [0x10,0x4f,0x1b,0x0d]
821*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vinsertb 2, 3, 15               # encoding: [0x0d,0x1b,0x4f,0x10]
822*9880d681SAndroid Build Coastguard Worker            vinsertb 2, 3, 15
823*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vinserth 2, 3, 14               # encoding: [0x10,0x4e,0x1b,0x4d]
824*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vinserth 2, 3, 14               # encoding: [0x4d,0x1b,0x4e,0x10]
825*9880d681SAndroid Build Coastguard Worker            vinserth 2, 3, 14
826*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vinsertw 2, 3, 12               # encoding: [0x10,0x4c,0x1b,0x8d]
827*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vinsertw 2, 3, 12               # encoding: [0x8d,0x1b,0x4c,0x10]
828*9880d681SAndroid Build Coastguard Worker            vinsertw 2, 3, 12
829*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vinsertd 2, 3, 8                # encoding: [0x10,0x48,0x1b,0xcd]
830*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vinsertd 2, 3, 8                # encoding: [0xcd,0x1b,0x48,0x10]
831*9880d681SAndroid Build Coastguard Worker            vinsertd 2, 3, 8
832*9880d681SAndroid Build Coastguard Worker
833*9880d681SAndroid Build Coastguard Worker# Power9 instructions
834*9880d681SAndroid Build Coastguard Worker
835*9880d681SAndroid Build Coastguard Worker# Vector Count Trailing Zeros
836*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vctzb 2, 3                      # encoding: [0x10,0x5c,0x1e,0x02]
837*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vctzb 2, 3                      # encoding: [0x02,0x1e,0x5c,0x10]
838*9880d681SAndroid Build Coastguard Worker            vctzb 2, 3
839*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vctzh 2, 3                      # encoding: [0x10,0x5d,0x1e,0x02]
840*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vctzh 2, 3                      # encoding: [0x02,0x1e,0x5d,0x10]
841*9880d681SAndroid Build Coastguard Worker            vctzh 2, 3
842*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vctzw 2, 3                      # encoding: [0x10,0x5e,0x1e,0x02]
843*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vctzw 2, 3                      # encoding: [0x02,0x1e,0x5e,0x10]
844*9880d681SAndroid Build Coastguard Worker            vctzw 2, 3
845*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vctzd 2, 3                      # encoding: [0x10,0x5f,0x1e,0x02]
846*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vctzd 2, 3                      # encoding: [0x02,0x1e,0x5f,0x10]
847*9880d681SAndroid Build Coastguard Worker            vctzd 2, 3
848*9880d681SAndroid Build Coastguard Worker
849*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vclzlsbb 2, 3                   # encoding: [0x10,0x40,0x1e,0x02]
850*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vclzlsbb 2, 3                   # encoding: [0x02,0x1e,0x40,0x10]
851*9880d681SAndroid Build Coastguard Worker            vclzlsbb 2, 3
852*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vctzlsbb 2, 3                   # encoding: [0x10,0x41,0x1e,0x02]
853*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vctzlsbb 2, 3                   # encoding: [0x02,0x1e,0x41,0x10]
854*9880d681SAndroid Build Coastguard Worker            vctzlsbb 2, 3
855*9880d681SAndroid Build Coastguard Worker
856*9880d681SAndroid Build Coastguard Worker# Vector Extend Sign
857*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vextsb2w 2, 3                   # encoding: [0x10,0x50,0x1e,0x02]
858*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vextsb2w 2, 3                   # encoding: [0x02,0x1e,0x50,0x10]
859*9880d681SAndroid Build Coastguard Worker            vextsb2w 2, 3
860*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vextsh2w 2, 3                   # encoding: [0x10,0x51,0x1e,0x02]
861*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vextsh2w 2, 3                   # encoding: [0x02,0x1e,0x51,0x10]
862*9880d681SAndroid Build Coastguard Worker            vextsh2w 2, 3
863*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vextsb2d 2, 3                   # encoding: [0x10,0x58,0x1e,0x02]
864*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vextsb2d 2, 3                   # encoding: [0x02,0x1e,0x58,0x10]
865*9880d681SAndroid Build Coastguard Worker            vextsb2d 2, 3
866*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vextsh2d 2, 3                   # encoding: [0x10,0x59,0x1e,0x02]
867*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vextsh2d 2, 3                   # encoding: [0x02,0x1e,0x59,0x10]
868*9880d681SAndroid Build Coastguard Worker            vextsh2d 2, 3
869*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vextsw2d 2, 3                   # encoding: [0x10,0x5a,0x1e,0x02]
870*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vextsw2d 2, 3                   # encoding: [0x02,0x1e,0x5a,0x10]
871*9880d681SAndroid Build Coastguard Worker            vextsw2d 2, 3
872*9880d681SAndroid Build Coastguard Worker
873*9880d681SAndroid Build Coastguard Worker# Vector Integer Negate
874*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vnegw 2, 3                      # encoding: [0x10,0x46,0x1e,0x02]
875*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vnegw 2, 3                      # encoding: [0x02,0x1e,0x46,0x10]
876*9880d681SAndroid Build Coastguard Worker            vnegw 2, 3
877*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vnegd 2, 3                      # encoding: [0x10,0x47,0x1e,0x02]
878*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vnegd 2, 3                      # encoding: [0x02,0x1e,0x47,0x10]
879*9880d681SAndroid Build Coastguard Worker            vnegd 2, 3
880*9880d681SAndroid Build Coastguard Worker
881*9880d681SAndroid Build Coastguard Worker# Vector Parity Byte
882*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vprtybw 2, 3                    # encoding: [0x10,0x48,0x1e,0x02]
883*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vprtybw 2, 3                    # encoding: [0x02,0x1e,0x48,0x10]
884*9880d681SAndroid Build Coastguard Worker            vprtybw 2, 3
885*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vprtybd 2, 3                    # encoding: [0x10,0x49,0x1e,0x02]
886*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vprtybd 2, 3                    # encoding: [0x02,0x1e,0x49,0x10]
887*9880d681SAndroid Build Coastguard Worker            vprtybd 2, 3
888*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vprtybq 2, 3                    # encoding: [0x10,0x4a,0x1e,0x02]
889*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vprtybq 2, 3                    # encoding: [0x02,0x1e,0x4a,0x10]
890*9880d681SAndroid Build Coastguard Worker            vprtybq 2, 3
891*9880d681SAndroid Build Coastguard Worker
892*9880d681SAndroid Build Coastguard Worker# Vector (Bit) Permute (Right-indexed)
893*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vbpermd 2, 5, 17                # encoding: [0x10,0x45,0x8d,0xcc]
894*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vbpermd 2, 5, 17                # encoding: [0xcc,0x8d,0x45,0x10]
895*9880d681SAndroid Build Coastguard Worker            vbpermd 2, 5, 17
896*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vpermr 2, 3, 4, 5               # encoding: [0x10,0x43,0x21,0x7b]
897*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vpermr 2, 3, 4, 5               # encoding: [0x7b,0x21,0x43,0x10]
898*9880d681SAndroid Build Coastguard Worker            vpermr 2, 3, 4, 5
899*9880d681SAndroid Build Coastguard Worker
900*9880d681SAndroid Build Coastguard Worker# Vector Rotate Left Mask/Mask-Insert
901*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vrlwnm 2, 3, 4                  # encoding: [0x10,0x43,0x21,0x85]
902*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vrlwnm 2, 3, 4                  # encoding: [0x85,0x21,0x43,0x10]
903*9880d681SAndroid Build Coastguard Worker            vrlwnm 2, 3, 4
904*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vrlwmi 2, 3, 4                  # encoding: [0x10,0x43,0x20,0x85]
905*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vrlwmi 2, 3, 4                  # encoding: [0x85,0x20,0x43,0x10]
906*9880d681SAndroid Build Coastguard Worker            vrlwmi 2, 3, 4
907*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vrldnm 2, 3, 4                  # encoding: [0x10,0x43,0x21,0xc5]
908*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vrldnm 2, 3, 4                  # encoding: [0xc5,0x21,0x43,0x10]
909*9880d681SAndroid Build Coastguard Worker            vrldnm 2, 3, 4
910*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vrldmi 2, 3, 4                  # encoding: [0x10,0x43,0x20,0xc5]
911*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vrldmi 2, 3, 4                  # encoding: [0xc5,0x20,0x43,0x10]
912*9880d681SAndroid Build Coastguard Worker            vrldmi 2, 3, 4
913*9880d681SAndroid Build Coastguard Worker
914*9880d681SAndroid Build Coastguard Worker# Vector Shift Left/Right
915*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vslv 2, 3, 4                    # encoding: [0x10,0x43,0x27,0x44]
916*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vslv 2, 3, 4                    # encoding: [0x44,0x27,0x43,0x10]
917*9880d681SAndroid Build Coastguard Worker            vslv 2, 3, 4
918*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vsrv 2, 3, 4                    # encoding: [0x10,0x43,0x27,0x04]
919*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vsrv 2, 3, 4                    # encoding: [0x04,0x27,0x43,0x10]
920*9880d681SAndroid Build Coastguard Worker            vsrv 2, 3, 4
921*9880d681SAndroid Build Coastguard Worker
922*9880d681SAndroid Build Coastguard Worker# Vector Multiply-by-10
923*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vmul10uq 2, 3                   # encoding: [0x10,0x43,0x02,0x01]
924*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vmul10uq 2, 3                   # encoding: [0x01,0x02,0x43,0x10]
925*9880d681SAndroid Build Coastguard Worker            vmul10uq 2, 3
926*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vmul10cuq 2, 3                  # encoding: [0x10,0x43,0x00,0x01]
927*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vmul10cuq 2, 3                  # encoding: [0x01,0x00,0x43,0x10]
928*9880d681SAndroid Build Coastguard Worker            vmul10cuq 2, 3
929*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vmul10euq 2, 3, 4               # encoding: [0x10,0x43,0x22,0x41]
930*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vmul10euq 2, 3, 4               # encoding: [0x41,0x22,0x43,0x10]
931*9880d681SAndroid Build Coastguard Worker            vmul10euq 2, 3, 4
932*9880d681SAndroid Build Coastguard Worker# CHECK-BE: vmul10ecuq 2, 3, 4              # encoding: [0x10,0x43,0x20,0x41]
933*9880d681SAndroid Build Coastguard Worker# CHECK-LE: vmul10ecuq 2, 3, 4              # encoding: [0x41,0x20,0x43,0x10]
934*9880d681SAndroid Build Coastguard Worker            vmul10ecuq 2, 3, 4
935*9880d681SAndroid Build Coastguard Worker
936*9880d681SAndroid Build Coastguard Worker# Decimal Convert From/to National/Zoned/Signed-QWord
937*9880d681SAndroid Build Coastguard Worker# CHECK-BE: bcdcfn. 27, 31, 1                  # encoding: [0x13,0x67,0xff,0x81]
938*9880d681SAndroid Build Coastguard Worker# CHECK-LE: bcdcfn. 27, 31, 1                  # encoding: [0x81,0xff,0x67,0x13]
939*9880d681SAndroid Build Coastguard Worker            bcdcfn. 27, 31, 1
940*9880d681SAndroid Build Coastguard Worker# CHECK-BE: bcdcfz. 27, 31, 1                  # encoding: [0x13,0x66,0xff,0x81]
941*9880d681SAndroid Build Coastguard Worker# CHECK-LE: bcdcfz. 27, 31, 1                  # encoding: [0x81,0xff,0x66,0x13]
942*9880d681SAndroid Build Coastguard Worker            bcdcfz. 27, 31, 1
943*9880d681SAndroid Build Coastguard Worker# CHECK-BE: bcdctn. 27, 31                     # encoding: [0x13,0x65,0xfd,0x81]
944*9880d681SAndroid Build Coastguard Worker# CHECK-LE: bcdctn. 27, 31                     # encoding: [0x81,0xfd,0x65,0x13]
945*9880d681SAndroid Build Coastguard Worker            bcdctn. 27, 31
946*9880d681SAndroid Build Coastguard Worker# CHECK-BE: bcdctz. 27, 31, 1                  # encoding: [0x13,0x64,0xff,0x81]
947*9880d681SAndroid Build Coastguard Worker# CHECK-LE: bcdctz. 27, 31, 1                  # encoding: [0x81,0xff,0x64,0x13]
948*9880d681SAndroid Build Coastguard Worker            bcdctz. 27, 31, 1
949*9880d681SAndroid Build Coastguard Worker# CHECK-BE: bcdcfsq. 27, 31, 1                 # encoding: [0x13,0x62,0xff,0x81]
950*9880d681SAndroid Build Coastguard Worker# CHECK-LE: bcdcfsq. 27, 31, 1                 # encoding: [0x81,0xff,0x62,0x13]
951*9880d681SAndroid Build Coastguard Worker            bcdcfsq. 27, 31, 1
952*9880d681SAndroid Build Coastguard Worker# CHECK-BE: bcdctsq. 27, 31                    # encoding: [0x13,0x60,0xfd,0x81]
953*9880d681SAndroid Build Coastguard Worker# CHECK-LE: bcdctsq. 27, 31                    # encoding: [0x81,0xfd,0x60,0x13]
954*9880d681SAndroid Build Coastguard Worker            bcdctsq. 27, 31
955*9880d681SAndroid Build Coastguard Worker
956*9880d681SAndroid Build Coastguard Worker# Decimal Copy-Sign/Set-Sign
957*9880d681SAndroid Build Coastguard Worker# CHECK-BE: bcdcpsgn. 27, 31, 7                # encoding: [0x13,0x7f,0x3b,0x41]
958*9880d681SAndroid Build Coastguard Worker# CHECK-LE: bcdcpsgn. 27, 31, 7                # encoding: [0x41,0x3b,0x7f,0x13]
959*9880d681SAndroid Build Coastguard Worker            bcdcpsgn. 27, 31, 7
960*9880d681SAndroid Build Coastguard Worker# CHECK-BE: bcdsetsgn. 27, 31, 1               # encoding: [0x13,0x7f,0xff,0x81]
961*9880d681SAndroid Build Coastguard Worker# CHECK-LE: bcdsetsgn. 27, 31, 1               # encoding: [0x81,0xff,0x7f,0x13]
962*9880d681SAndroid Build Coastguard Worker            bcdsetsgn. 27, 31, 1
963*9880d681SAndroid Build Coastguard Worker
964*9880d681SAndroid Build Coastguard Worker# Decimal Shift/Unsigned-Shift/Shift-and-Round
965*9880d681SAndroid Build Coastguard Worker# CHECK-BE: bcds. 27, 31, 7, 1                 # encoding: [0x13,0x7f,0x3e,0xc1]
966*9880d681SAndroid Build Coastguard Worker# CHECK-LE: bcds. 27, 31, 7, 1                 # encoding: [0xc1,0x3e,0x7f,0x13]
967*9880d681SAndroid Build Coastguard Worker            bcds. 27, 31, 7, 1
968*9880d681SAndroid Build Coastguard Worker# CHECK-BE: bcdus. 27, 31, 7                   # encoding: [0x13,0x7f,0x3c,0x81]
969*9880d681SAndroid Build Coastguard Worker# CHECK-LE: bcdus. 27, 31, 7                   # encoding: [0x81,0x3c,0x7f,0x13]
970*9880d681SAndroid Build Coastguard Worker            bcdus. 27, 31, 7
971*9880d681SAndroid Build Coastguard Worker# CHECK-BE: bcdsr. 27, 31, 7, 1                # encoding: [0x13,0x7f,0x3f,0xc1]
972*9880d681SAndroid Build Coastguard Worker# CHECK-LE: bcdsr. 27, 31, 7, 1                # encoding: [0xc1,0x3f,0x7f,0x13]
973*9880d681SAndroid Build Coastguard Worker            bcdsr. 27, 31, 7, 1
974*9880d681SAndroid Build Coastguard Worker
975*9880d681SAndroid Build Coastguard Worker# Decimal (Unsigned) Truncate
976*9880d681SAndroid Build Coastguard Worker# CHECK-BE: bcdtrunc. 27, 31, 7, 1             # encoding: [0x13,0x7f,0x3f,0x01]
977*9880d681SAndroid Build Coastguard Worker# CHECK-LE: bcdtrunc. 27, 31, 7, 1             # encoding: [0x01,0x3f,0x7f,0x13]
978*9880d681SAndroid Build Coastguard Worker            bcdtrunc. 27, 31, 7, 1
979*9880d681SAndroid Build Coastguard Worker# CHECK-BE: bcdutrunc. 27, 31, 7               # encoding: [0x13,0x7f,0x3d,0x41]
980*9880d681SAndroid Build Coastguard Worker# CHECK-LE: bcdutrunc. 27, 31, 7               # encoding: [0x41,0x3d,0x7f,0x13]
981*9880d681SAndroid Build Coastguard Worker            bcdutrunc. 27, 31, 7
982