1/*===- TableGen'erated file -------------------------------------*- C++ -*-===*\
2|* *|
3|* Machine Code Emitter *|
4|* *|
5|* Automatically generated file, do not edit! *|
6|* *|
7\*===----------------------------------------------------------------------===*/
8
9uint64_t HexagonMCCodeEmitter::getBinaryCodeForInstr(const MCInst &MI,
10 SmallVectorImpl<MCFixup> &Fixups,
11 const MCSubtargetInfo &STI) const {
12 static const uint64_t InstBits[] = {
13 UINT64_C(2357198976), // A2_abs
14 UINT64_C(2155872448), // A2_absp
15 UINT64_C(2357199008), // A2_abssat
16 UINT64_C(4076863488), // A2_add
17 UINT64_C(3577741408), // A2_addh_h16_hh
18 UINT64_C(3577741376), // A2_addh_h16_hl
19 UINT64_C(3577741344), // A2_addh_h16_lh
20 UINT64_C(3577741312), // A2_addh_h16_ll
21 UINT64_C(3577741536), // A2_addh_h16_sat_hh
22 UINT64_C(3577741504), // A2_addh_h16_sat_hl
23 UINT64_C(3577741472), // A2_addh_h16_sat_lh
24 UINT64_C(3577741440), // A2_addh_h16_sat_ll
25 UINT64_C(3573547072), // A2_addh_l16_hl
26 UINT64_C(3573547008), // A2_addh_l16_ll
27 UINT64_C(3573547200), // A2_addh_l16_sat_hl
28 UINT64_C(3573547136), // A2_addh_l16_sat_ll
29 UINT64_C(2952790016), // A2_addi
30 UINT64_C(3539992800), // A2_addp
31 UINT64_C(3546284192), // A2_addpsat
32 UINT64_C(4131389440), // A2_addsat
33 UINT64_C(3546284256), // A2_addsph
34 UINT64_C(3546284224), // A2_addspl
35 UINT64_C(4043309056), // A2_and
36 UINT64_C(1979711488), // A2_andir
37 UINT64_C(3554672640), // A2_andp
38 UINT64_C(1879048192), // A2_aslh
39 UINT64_C(1881145344), // A2_asrh
40 UINT64_C(4085252096), // A2_combine_hh
41 UINT64_C(4087349248), // A2_combine_hl
42 UINT64_C(4089446400), // A2_combine_lh
43 UINT64_C(4091543552), // A2_combine_ll
44 UINT64_C(2080374784), // A2_combineii
45 UINT64_C(4110417920), // A2_combinew
46 UINT64_C(3586129920), // A2_max
47 UINT64_C(3552575616), // A2_maxp
48 UINT64_C(3586130048), // A2_maxu
49 UINT64_C(3552575648), // A2_maxup
50 UINT64_C(3584032768), // A2_min
51 UINT64_C(3550478528), // A2_minp
52 UINT64_C(3584032896), // A2_minu
53 UINT64_C(3550478560), // A2_minup
54 UINT64_C(2155872416), // A2_negp
55 UINT64_C(2357199040), // A2_negsat
56 UINT64_C(2130706432), // A2_nop
57 UINT64_C(2139095040), // A2_nop_rb
58 UINT64_C(2155872384), // A2_notp
59 UINT64_C(4045406208), // A2_or
60 UINT64_C(1988100096), // A2_orir
61 UINT64_C(3554672704), // A2_orp
62 UINT64_C(4211081344), // A2_paddf
63 UINT64_C(4211089536), // A2_paddfnew
64 UINT64_C(1954545664), // A2_paddif
65 UINT64_C(1954553856), // A2_paddifnew
66 UINT64_C(1946157056), // A2_paddit
67 UINT64_C(1946165248), // A2_padditnew
68 UINT64_C(4211081216), // A2_paddt
69 UINT64_C(4211089408), // A2_paddtnew
70 UINT64_C(4177526912), // A2_pandf
71 UINT64_C(4177535104), // A2_pandfnew
72 UINT64_C(4177526784), // A2_pandt
73 UINT64_C(4177534976), // A2_pandtnew
74 UINT64_C(4179624064), // A2_porf
75 UINT64_C(4179632256), // A2_porfnew
76 UINT64_C(4179623936), // A2_port
77 UINT64_C(4179632128), // A2_portnew
78 UINT64_C(4213178496), // A2_psubf
79 UINT64_C(4213186688), // A2_psubfnew
80 UINT64_C(4213178368), // A2_psubt
81 UINT64_C(4213186560), // A2_psubtnew
82 UINT64_C(4183818368), // A2_pxorf
83 UINT64_C(4183826560), // A2_pxorfnew
84 UINT64_C(4183818240), // A2_pxort
85 UINT64_C(4183826432), // A2_pxortnew
86 UINT64_C(2294284320), // A2_roundsat
87 UINT64_C(2294284288), // A2_sat
88 UINT64_C(2361393376), // A2_satb
89 UINT64_C(2361393280), // A2_sath
90 UINT64_C(2361393344), // A2_satub
91 UINT64_C(2361393312), // A2_satuh
92 UINT64_C(4078960640), // A2_sub
93 UINT64_C(3579838560), // A2_subh_h16_hh
94 UINT64_C(3579838528), // A2_subh_h16_hl
95 UINT64_C(3579838496), // A2_subh_h16_lh
96 UINT64_C(3579838464), // A2_subh_h16_ll
97 UINT64_C(3579838688), // A2_subh_h16_sat_hh
98 UINT64_C(3579838656), // A2_subh_h16_sat_hl
99 UINT64_C(3579838624), // A2_subh_h16_sat_lh
100 UINT64_C(3579838592), // A2_subh_h16_sat_ll
101 UINT64_C(3575644224), // A2_subh_l16_hl
102 UINT64_C(3575644160), // A2_subh_l16_ll
103 UINT64_C(3575644352), // A2_subh_l16_sat_hl
104 UINT64_C(3575644288), // A2_subh_l16_sat_ll
105 UINT64_C(3542089952), // A2_subp
106 UINT64_C(1983905792), // A2_subri
107 UINT64_C(4139778048), // A2_subsat
108 UINT64_C(4127195136), // A2_svaddh
109 UINT64_C(4129292288), // A2_svaddhs
110 UINT64_C(4133486592), // A2_svadduhs
111 UINT64_C(4143972352), // A2_svavgh
112 UINT64_C(4146069504), // A2_svavghs
113 UINT64_C(4150263808), // A2_svnavgh
114 UINT64_C(4135583744), // A2_svsubh
115 UINT64_C(4137680896), // A2_svsubhs
116 UINT64_C(4141875200), // A2_svsubuhs
117 UINT64_C(2357199072), // A2_swiz
118 UINT64_C(1889533952), // A2_sxtb
119 UINT64_C(1893728256), // A2_sxth
120 UINT64_C(2218786816), // A2_sxtw
121 UINT64_C(1885339648), // A2_tfr
122 UINT64_C(1778384896), // A2_tfrcrr
123 UINT64_C(1914699776), // A2_tfrih
124 UINT64_C(1897922560), // A2_tfril
125 UINT64_C(1646264320), // A2_tfrrcr
126 UINT64_C(2013265920), // A2_tfrsi
127 UINT64_C(2151678080), // A2_vabsh
128 UINT64_C(2151678112), // A2_vabshsat
129 UINT64_C(2151678144), // A2_vabsw
130 UINT64_C(2151678176), // A2_vabswsat
131 UINT64_C(3539992640), // A2_vaddh
132 UINT64_C(3539992672), // A2_vaddhs
133 UINT64_C(3539992576), // A2_vaddub
134 UINT64_C(3539992608), // A2_vaddubs
135 UINT64_C(3539992704), // A2_vadduhs
136 UINT64_C(3539992736), // A2_vaddw
137 UINT64_C(3539992768), // A2_vaddws
138 UINT64_C(3544186944), // A2_vavgh
139 UINT64_C(3544187008), // A2_vavghcr
140 UINT64_C(3544186976), // A2_vavghr
141 UINT64_C(3544186880), // A2_vavgub
142 UINT64_C(3544186912), // A2_vavgubr
143 UINT64_C(3544187040), // A2_vavguh
144 UINT64_C(3544187072), // A2_vavguhr
145 UINT64_C(3546284128), // A2_vavguw
146 UINT64_C(3546284160), // A2_vavguwr
147 UINT64_C(3546284032), // A2_vavgw
148 UINT64_C(3546284096), // A2_vavgwcr
149 UINT64_C(3546284064), // A2_vavgwr
150 UINT64_C(3523215552), // A2_vcmpbeq
151 UINT64_C(3523215584), // A2_vcmpbgtu
152 UINT64_C(3523215456), // A2_vcmpheq
153 UINT64_C(3523215488), // A2_vcmphgt
154 UINT64_C(3523215520), // A2_vcmphgtu
155 UINT64_C(3523215360), // A2_vcmpweq
156 UINT64_C(3523215392), // A2_vcmpwgt
157 UINT64_C(3523215424), // A2_vcmpwgtu
158 UINT64_C(2155872480), // A2_vconj
159 UINT64_C(3552575680), // A2_vmaxb
160 UINT64_C(3552575520), // A2_vmaxh
161 UINT64_C(3552575488), // A2_vmaxub
162 UINT64_C(3552575552), // A2_vmaxuh
163 UINT64_C(3550478496), // A2_vmaxuw
164 UINT64_C(3552575584), // A2_vmaxw
165 UINT64_C(3552575712), // A2_vminb
166 UINT64_C(3550478368), // A2_vminh
167 UINT64_C(3550478336), // A2_vminub
168 UINT64_C(3550478400), // A2_vminuh
169 UINT64_C(3550478464), // A2_vminuw
170 UINT64_C(3550478432), // A2_vminw
171 UINT64_C(3548381184), // A2_vnavgh
172 UINT64_C(3548381248), // A2_vnavghcr
173 UINT64_C(3548381216), // A2_vnavghr
174 UINT64_C(3548381280), // A2_vnavgw
175 UINT64_C(3548381376), // A2_vnavgwcr
176 UINT64_C(3548381312), // A2_vnavgwr
177 UINT64_C(3896508448), // A2_vraddub
178 UINT64_C(3930062880), // A2_vraddub_acc
179 UINT64_C(3896508480), // A2_vrsadub
180 UINT64_C(3930062912), // A2_vrsadub_acc
181 UINT64_C(3542089792), // A2_vsubh
182 UINT64_C(3542089824), // A2_vsubhs
183 UINT64_C(3542089728), // A2_vsubub
184 UINT64_C(3542089760), // A2_vsububs
185 UINT64_C(3542089856), // A2_vsubuhs
186 UINT64_C(3542089888), // A2_vsubw
187 UINT64_C(3542089920), // A2_vsubws
188 UINT64_C(4049600512), // A2_xor
189 UINT64_C(3554672768), // A2_xorp
190 UINT64_C(1891631104), // A2_zxth
191 UINT64_C(3267362816), // A4_addp_c
192 UINT64_C(4051697664), // A4_andn
193 UINT64_C(3554672672), // A4_andnp
194 UINT64_C(3558866944), // A4_bitsplit
195 UINT64_C(2294284416), // A4_bitspliti
196 UINT64_C(3523223712), // A4_boundscheck_hi
197 UINT64_C(3523223680), // A4_boundscheck_lo
198 UINT64_C(3351249088), // A4_cmpbeq
199 UINT64_C(3707764736), // A4_cmpbeqi
200 UINT64_C(3351248960), // A4_cmpbgt
201 UINT64_C(3709861888), // A4_cmpbgti
202 UINT64_C(3351249120), // A4_cmpbgtu
203 UINT64_C(3711959040), // A4_cmpbgtui
204 UINT64_C(3351248992), // A4_cmpheq
205 UINT64_C(3707764744), // A4_cmpheqi
206 UINT64_C(3351249024), // A4_cmphgt
207 UINT64_C(3709861896), // A4_cmphgti
208 UINT64_C(3351249056), // A4_cmphgtu
209 UINT64_C(3711959048), // A4_cmphgtui
210 UINT64_C(2088763392), // A4_combineii
211 UINT64_C(1931485184), // A4_combineir
212 UINT64_C(1929388032), // A4_combineri
213 UINT64_C(2363490304), // A4_cround_ri
214 UINT64_C(3334471680), // A4_cround_rr
215 UINT64_C(0), // A4_ext
216 UINT64_C(3554672864), // A4_modwrapu
217 UINT64_C(4053794816), // A4_orn
218 UINT64_C(3554672736), // A4_ornp
219 UINT64_C(1879058432), // A4_paslhf
220 UINT64_C(1879059456), // A4_paslhfnew
221 UINT64_C(1879056384), // A4_paslht
222 UINT64_C(1879057408), // A4_paslhtnew
223 UINT64_C(1881155584), // A4_pasrhf
224 UINT64_C(1881156608), // A4_pasrhfnew
225 UINT64_C(1881153536), // A4_pasrht
226 UINT64_C(1881154560), // A4_pasrhtnew
227 UINT64_C(1889544192), // A4_psxtbf
228 UINT64_C(1889545216), // A4_psxtbfnew
229 UINT64_C(1889542144), // A4_psxtbt
230 UINT64_C(1889543168), // A4_psxtbtnew
231 UINT64_C(1893738496), // A4_psxthf
232 UINT64_C(1893739520), // A4_psxthfnew
233 UINT64_C(1893736448), // A4_psxtht
234 UINT64_C(1893737472), // A4_psxthtnew
235 UINT64_C(1887447040), // A4_pzxtbf
236 UINT64_C(1887448064), // A4_pzxtbfnew
237 UINT64_C(1887444992), // A4_pzxtbt
238 UINT64_C(1887446016), // A4_pzxtbtnew
239 UINT64_C(1891641344), // A4_pzxthf
240 UINT64_C(1891642368), // A4_pzxthfnew
241 UINT64_C(1891639296), // A4_pzxtht
242 UINT64_C(1891640320), // A4_pzxthtnew
243 UINT64_C(4081057792), // A4_rcmpeq
244 UINT64_C(1933582336), // A4_rcmpeqi
245 UINT64_C(4083154944), // A4_rcmpneq
246 UINT64_C(1935679488), // A4_rcmpneqi
247 UINT64_C(2363490432), // A4_round_ri
248 UINT64_C(2363490496), // A4_round_ri_sat
249 UINT64_C(3334471808), // A4_round_rr
250 UINT64_C(3334471872), // A4_round_rr_sat
251 UINT64_C(3269459968), // A4_subp_c
252 UINT64_C(1744830464), // A4_tfrcpp
253 UINT64_C(1663041536), // A4_tfrpcp
254 UINT64_C(3523223648), // A4_tlbmatch
255 UINT64_C(3523223552), // A4_vcmpbeq_any
256 UINT64_C(3690987520), // A4_vcmpbeqi
257 UINT64_C(3523223616), // A4_vcmpbgt
258 UINT64_C(3693084672), // A4_vcmpbgti
259 UINT64_C(3695181824), // A4_vcmpbgtui
260 UINT64_C(3690987528), // A4_vcmpheqi
261 UINT64_C(3693084680), // A4_vcmphgti
262 UINT64_C(3695181832), // A4_vcmphgtui
263 UINT64_C(3690987536), // A4_vcmpweqi
264 UINT64_C(3693084688), // A4_vcmpwgti
265 UINT64_C(3695181840), // A4_vcmpwgtui
266 UINT64_C(3407872032), // A4_vrmaxh
267 UINT64_C(3407880224), // A4_vrmaxuh
268 UINT64_C(3407880256), // A4_vrmaxuw
269 UINT64_C(3407872064), // A4_vrmaxw
270 UINT64_C(3407872160), // A4_vrminh
271 UINT64_C(3407880352), // A4_vrminuh
272 UINT64_C(3407880384), // A4_vrminuw
273 UINT64_C(3407872192), // A4_vrminw
274 UINT64_C(3936354304), // A5_ACS
275 UINT64_C(3242197024), // A5_vaddhubs
276 UINT64_C(3523223584), // A6_vcmpbeq_notany
277 UINT64_C(3940548608), // A6_vminub_RdP
278 UINT64_C(2294284448), // A7_clip
279 UINT64_C(2363490368), // A7_croundd_ri
280 UINT64_C(3334471744), // A7_croundd_rr
281 UINT64_C(2294284480), // A7_vclip
282 UINT64_C(2415927328), // AM_addw_aq
283 UINT64_C(2415927360), // AM_addw_rl
284 UINT64_C(2415927456), // AM_andw_aq
285 UINT64_C(2415927488), // AM_andw_rl
286 UINT64_C(2428502048), // AM_orw_aq
287 UINT64_C(2428502080), // AM_orw_rl
288 UINT64_C(2428510368), // AM_swapd_aq
289 UINT64_C(2428510400), // AM_swapd_rl
290 UINT64_C(2428510240), // AM_swapw_aq
291 UINT64_C(2428510272), // AM_swapw_rl
292 UINT64_C(2428502176), // AM_xorw_aq
293 UINT64_C(2428502208), // AM_xorw_rl
294 UINT64_C(1805647872), // C2_all8
295 UINT64_C(1795162112), // C2_and
296 UINT64_C(1801453568), // C2_andn
297 UINT64_C(1803550720), // C2_any8
298 UINT64_C(3347054592), // C2_bitsclr
299 UINT64_C(2239758336), // C2_bitsclri
300 UINT64_C(3342860288), // C2_bitsset
301 UINT64_C(4244635776), // C2_ccombinewf
302 UINT64_C(4244643968), // C2_ccombinewnewf
303 UINT64_C(4244643840), // C2_ccombinewnewt
304 UINT64_C(4244635648), // C2_ccombinewt
305 UINT64_C(2122317824), // C2_cmoveif
306 UINT64_C(2113929216), // C2_cmoveit
307 UINT64_C(2122326016), // C2_cmovenewif
308 UINT64_C(2113937408), // C2_cmovenewit
309 UINT64_C(4060086272), // C2_cmpeq
310 UINT64_C(1962934272), // C2_cmpeqi
311 UINT64_C(3531603968), // C2_cmpeqp
312 UINT64_C(4064280576), // C2_cmpgt
313 UINT64_C(1967128576), // C2_cmpgti
314 UINT64_C(3531604032), // C2_cmpgtp
315 UINT64_C(4066377728), // C2_cmpgtu
316 UINT64_C(1971322880), // C2_cmpgtui
317 UINT64_C(3531604096), // C2_cmpgtup
318 UINT64_C(2248146944), // C2_mask
319 UINT64_C(4093640704), // C2_mux
320 UINT64_C(2046820352), // C2_muxii
321 UINT64_C(1929379840), // C2_muxir
322 UINT64_C(1937768448), // C2_muxri
323 UINT64_C(1807745024), // C2_not
324 UINT64_C(1797259264), // C2_or
325 UINT64_C(1809842176), // C2_orn
326 UINT64_C(2302672896), // C2_tfrpr
327 UINT64_C(2235564032), // C2_tfrrp
328 UINT64_C(2298478592), // C2_vitpack
329 UINT64_C(3506438144), // C2_vmux
330 UINT64_C(1799356416), // C2_xor
331 UINT64_C(1783169024), // C4_addipc
332 UINT64_C(1796210688), // C4_and_and
333 UINT64_C(1804599296), // C4_and_andn
334 UINT64_C(1798307840), // C4_and_or
335 UINT64_C(1806696448), // C4_and_orn
336 UINT64_C(4064280592), // C4_cmplte
337 UINT64_C(1967128592), // C4_cmpltei
338 UINT64_C(4066377744), // C4_cmplteu
339 UINT64_C(1971322896), // C4_cmplteui
340 UINT64_C(4060086288), // C4_cmpneq
341 UINT64_C(1962934288), // C4_cmpneqi
342 UINT64_C(1795170448), // C4_fastcorner9
343 UINT64_C(1796219024), // C4_fastcorner9_not
344 UINT64_C(3349151744), // C4_nbitsclr
345 UINT64_C(2241855488), // C4_nbitsclri
346 UINT64_C(3344957440), // C4_nbitsset
347 UINT64_C(1800404992), // C4_or_and
348 UINT64_C(1808793600), // C4_or_andn
349 UINT64_C(1802502144), // C4_or_or
350 UINT64_C(1810890752), // C4_or_orn
351 UINT64_C(1509949440), // CALLProfile
352 UINT64_C(0), // CONST32
353 UINT64_C(0), // CONST64
354 UINT64_C(0), // DuplexIClass0
355 UINT64_C(8192), // DuplexIClass1
356 UINT64_C(536870912), // DuplexIClass2
357 UINT64_C(536879104), // DuplexIClass3
358 UINT64_C(1073741824), // DuplexIClass4
359 UINT64_C(1073750016), // DuplexIClass5
360 UINT64_C(1610612736), // DuplexIClass6
361 UINT64_C(1610620928), // DuplexIClass7
362 UINT64_C(2147483648), // DuplexIClass8
363 UINT64_C(2147491840), // DuplexIClass9
364 UINT64_C(2684354560), // DuplexIClassA
365 UINT64_C(2684362752), // DuplexIClassB
366 UINT64_C(3221225472), // DuplexIClassC
367 UINT64_C(3221233664), // DuplexIClassD
368 UINT64_C(3758096384), // DuplexIClassE
369 UINT64_C(3758104576), // DuplexIClassF
370 UINT64_C(1384120320), // EH_RETURN_JMPR
371 UINT64_C(2162163808), // F2_conv_d2df
372 UINT64_C(2285895712), // F2_conv_d2sf
373 UINT64_C(2162163712), // F2_conv_df2d
374 UINT64_C(2162163904), // F2_conv_df2d_chop
375 UINT64_C(2281701408), // F2_conv_df2sf
376 UINT64_C(2162163744), // F2_conv_df2ud
377 UINT64_C(2162163936), // F2_conv_df2ud_chop
378 UINT64_C(2287992864), // F2_conv_df2uw
379 UINT64_C(2292187168), // F2_conv_df2uw_chop
380 UINT64_C(2290090016), // F2_conv_df2w
381 UINT64_C(2296381472), // F2_conv_df2w_chop
382 UINT64_C(2222981248), // F2_conv_sf2d
383 UINT64_C(2222981312), // F2_conv_sf2d_chop
384 UINT64_C(2222981120), // F2_conv_sf2df
385 UINT64_C(2222981216), // F2_conv_sf2ud
386 UINT64_C(2222981280), // F2_conv_sf2ud_chop
387 UINT64_C(2338324480), // F2_conv_sf2uw
388 UINT64_C(2338324512), // F2_conv_sf2uw_chop
389 UINT64_C(2340421632), // F2_conv_sf2w
390 UINT64_C(2340421664), // F2_conv_sf2w_chop
391 UINT64_C(2162163776), // F2_conv_ud2df
392 UINT64_C(2283798560), // F2_conv_ud2sf
393 UINT64_C(2222981152), // F2_conv_uw2df
394 UINT64_C(2334130176), // F2_conv_uw2sf
395 UINT64_C(2222981184), // F2_conv_w2df
396 UINT64_C(2336227328), // F2_conv_w2sf
397 UINT64_C(3892314208), // F2_dfadd
398 UINT64_C(3699376144), // F2_dfclass
399 UINT64_C(3537895424), // F2_dfcmpeq
400 UINT64_C(3537895488), // F2_dfcmpge
401 UINT64_C(3537895456), // F2_dfcmpgt
402 UINT64_C(3537895520), // F2_dfcmpuo
403 UINT64_C(3644850176), // F2_dfimm_n
404 UINT64_C(3640655872), // F2_dfimm_p
405 UINT64_C(3894411360), // F2_dfmax
406 UINT64_C(3904897120), // F2_dfmin
407 UINT64_C(3896508512), // F2_dfmpyfix
408 UINT64_C(3934257248), // F2_dfmpyhh
409 UINT64_C(3925868640), // F2_dfmpylh
410 UINT64_C(3902799968), // F2_dfmpyll
411 UINT64_C(3900702816), // F2_dfsub
412 UINT64_C(3942645760), // F2_sfadd
413 UINT64_C(2246049792), // F2_sfclass
414 UINT64_C(3353346144), // F2_sfcmpeq
415 UINT64_C(3353346048), // F2_sfcmpge
416 UINT64_C(3353346176), // F2_sfcmpgt
417 UINT64_C(3353346080), // F2_sfcmpuo
418 UINT64_C(3955228704), // F2_sffixupd
419 UINT64_C(3955228672), // F2_sffixupn
420 UINT64_C(2342518784), // F2_sffixupr
421 UINT64_C(4009754752), // F2_sffma
422 UINT64_C(4009754816), // F2_sffma_lib
423 UINT64_C(4016046208), // F2_sffma_sc
424 UINT64_C(4009754784), // F2_sffms
425 UINT64_C(4009754848), // F2_sffms_lib
426 UINT64_C(3594518528), // F2_sfimm_n
427 UINT64_C(3590324224), // F2_sfimm_p
428 UINT64_C(2346713088), // F2_sfinvsqrta
429 UINT64_C(3951034368), // F2_sfmax
430 UINT64_C(3951034400), // F2_sfmin
431 UINT64_C(3946840064), // F2_sfmpy
432 UINT64_C(3957325952), // F2_sfrecipa
433 UINT64_C(3942645792), // F2_sfsub
434 UINT64_C(3942645824), // F7_vsfadd
435 UINT64_C(3946840128), // F7_vsffma
436 UINT64_C(3946840160), // F7_vsffms
437 UINT64_C(3946840096), // F7_vsfmpy
438 UINT64_C(3942645856), // F7_vsfsub
439 UINT64_C(1746927616), // G4_tfrgcpp
440 UINT64_C(1780482048), // G4_tfrgcrr
441 UINT64_C(1660944384), // G4_tfrgpcp
442 UINT64_C(1644167168), // G4_tfrgrcr
443 UINT64_C(35651584), // HI
444 UINT64_C(1509949440), // J2_call
445 UINT64_C(1562378240), // J2_callf
446 UINT64_C(1352663040), // J2_callr
447 UINT64_C(1344274432), // J2_callr_rb
448 UINT64_C(1361051648), // J2_callrf
449 UINT64_C(1369440256), // J2_callrf_rb
450 UINT64_C(1354760192), // J2_callrh
451 UINT64_C(1346371584), // J2_callrh_rb
452 UINT64_C(1358954496), // J2_callrt
453 UINT64_C(1367343104), // J2_callrt_rb
454 UINT64_C(1560281088), // J2_callt
455 UINT64_C(1476395008), // J2_jump
456 UINT64_C(1545601024), // J2_jumpf
457 UINT64_C(1545603072), // J2_jumpfnew
458 UINT64_C(1545607168), // J2_jumpfnewpt
459 UINT64_C(1545605120), // J2_jumpfpt
460 UINT64_C(1384120320), // J2_jumpr
461 UINT64_C(1375731712), // J2_jumpr_rb
462 UINT64_C(1398800384), // J2_jumprf
463 UINT64_C(1407188992), // J2_jumprf_rb
464 UINT64_C(1398802432), // J2_jumprfnew
465 UINT64_C(1407191040), // J2_jumprfnew_rb
466 UINT64_C(1398806528), // J2_jumprfnewpt
467 UINT64_C(1407195136), // J2_jumprfnewpt_rb
468 UINT64_C(1398804480), // J2_jumprfpt
469 UINT64_C(1407193088), // J2_jumprfpt_rb
470 UINT64_C(1631584256), // J2_jumprgtez
471 UINT64_C(1631588352), // J2_jumprgtezpt
472 UINT64_C(1388314624), // J2_jumprh
473 UINT64_C(1379926016), // J2_jumprh_rb
474 UINT64_C(1639972864), // J2_jumprltez
475 UINT64_C(1639976960), // J2_jumprltezpt
476 UINT64_C(1635778560), // J2_jumprnz
477 UINT64_C(1635782656), // J2_jumprnzpt
478 UINT64_C(1396703232), // J2_jumprt
479 UINT64_C(1405091840), // J2_jumprt_rb
480 UINT64_C(1396705280), // J2_jumprtnew
481 UINT64_C(1405093888), // J2_jumprtnew_rb
482 UINT64_C(1396709376), // J2_jumprtnewpt
483 UINT64_C(1405097984), // J2_jumprtnewpt_rb
484 UINT64_C(1396707328), // J2_jumprtpt
485 UINT64_C(1405095936), // J2_jumprtpt_rb
486 UINT64_C(1627389952), // J2_jumprz
487 UINT64_C(1627394048), // J2_jumprzpt
488 UINT64_C(1543503872), // J2_jumpt
489 UINT64_C(1543505920), // J2_jumptnew
490 UINT64_C(1543510016), // J2_jumptnewpt
491 UINT64_C(1543507968), // J2_jumptpt
492 UINT64_C(1761607680), // J2_loop0i
493 UINT64_C(1761607680), // J2_loop0iext
494 UINT64_C(1610612736), // J2_loop0r
495 UINT64_C(1610612736), // J2_loop0rext
496 UINT64_C(1763704832), // J2_loop1i
497 UINT64_C(1763704832), // J2_loop1iext
498 UINT64_C(1612709888), // J2_loop1r
499 UINT64_C(1612709888), // J2_loop1rext
500 UINT64_C(1413480448), // J2_pause
501 UINT64_C(1772093440), // J2_ploop1si
502 UINT64_C(1621098496), // J2_ploop1sr
503 UINT64_C(1774190592), // J2_ploop2si
504 UINT64_C(1623195648), // J2_ploop2sr
505 UINT64_C(1776287744), // J2_ploop3si
506 UINT64_C(1625292800), // J2_ploop3sr
507 UINT64_C(1474297856), // J2_rte
508 UINT64_C(1409286144), // J2_trap0
509 UINT64_C(1417674752), // J2_trap1
510 UINT64_C(1421869056), // J2_trap2
511 UINT64_C(1474301952), // J2_unpause
512 UINT64_C(541065216), // J4_cmpeq_f_jumpnv_nt
513 UINT64_C(541073408), // J4_cmpeq_f_jumpnv_t
514 UINT64_C(339738624), // J4_cmpeq_fp0_jump_nt
515 UINT64_C(339746816), // J4_cmpeq_fp0_jump_t
516 UINT64_C(339742720), // J4_cmpeq_fp1_jump_nt
517 UINT64_C(339750912), // J4_cmpeq_fp1_jump_t
518 UINT64_C(536870912), // J4_cmpeq_t_jumpnv_nt
519 UINT64_C(536879104), // J4_cmpeq_t_jumpnv_t
520 UINT64_C(335544320), // J4_cmpeq_tp0_jump_nt
521 UINT64_C(335552512), // J4_cmpeq_tp0_jump_t
522 UINT64_C(335548416), // J4_cmpeq_tp1_jump_nt
523 UINT64_C(335556608), // J4_cmpeq_tp1_jump_t
524 UINT64_C(608174080), // J4_cmpeqi_f_jumpnv_nt
525 UINT64_C(608182272), // J4_cmpeqi_f_jumpnv_t
526 UINT64_C(272629760), // J4_cmpeqi_fp0_jump_nt
527 UINT64_C(272637952), // J4_cmpeqi_fp0_jump_t
528 UINT64_C(306184192), // J4_cmpeqi_fp1_jump_nt
529 UINT64_C(306192384), // J4_cmpeqi_fp1_jump_t
530 UINT64_C(603979776), // J4_cmpeqi_t_jumpnv_nt
531 UINT64_C(603987968), // J4_cmpeqi_t_jumpnv_t
532 UINT64_C(268435456), // J4_cmpeqi_tp0_jump_nt
533 UINT64_C(268443648), // J4_cmpeqi_tp0_jump_t
534 UINT64_C(301989888), // J4_cmpeqi_tp1_jump_nt
535 UINT64_C(301998080), // J4_cmpeqi_tp1_jump_t
536 UINT64_C(641728512), // J4_cmpeqn1_f_jumpnv_nt
537 UINT64_C(641736704), // J4_cmpeqn1_f_jumpnv_t
538 UINT64_C(297795584), // J4_cmpeqn1_fp0_jump_nt
539 UINT64_C(297803776), // J4_cmpeqn1_fp0_jump_t
540 UINT64_C(331350016), // J4_cmpeqn1_fp1_jump_nt
541 UINT64_C(331358208), // J4_cmpeqn1_fp1_jump_t
542 UINT64_C(637534208), // J4_cmpeqn1_t_jumpnv_nt
543 UINT64_C(637542400), // J4_cmpeqn1_t_jumpnv_t
544 UINT64_C(293601280), // J4_cmpeqn1_tp0_jump_nt
545 UINT64_C(293609472), // J4_cmpeqn1_tp0_jump_t
546 UINT64_C(327155712), // J4_cmpeqn1_tp1_jump_nt
547 UINT64_C(327163904), // J4_cmpeqn1_tp1_jump_t
548 UINT64_C(549453824), // J4_cmpgt_f_jumpnv_nt
549 UINT64_C(549462016), // J4_cmpgt_f_jumpnv_t
550 UINT64_C(348127232), // J4_cmpgt_fp0_jump_nt
551 UINT64_C(348135424), // J4_cmpgt_fp0_jump_t
552 UINT64_C(348131328), // J4_cmpgt_fp1_jump_nt
553 UINT64_C(348139520), // J4_cmpgt_fp1_jump_t
554 UINT64_C(545259520), // J4_cmpgt_t_jumpnv_nt
555 UINT64_C(545267712), // J4_cmpgt_t_jumpnv_t
556 UINT64_C(343932928), // J4_cmpgt_tp0_jump_nt
557 UINT64_C(343941120), // J4_cmpgt_tp0_jump_t
558 UINT64_C(343937024), // J4_cmpgt_tp1_jump_nt
559 UINT64_C(343945216), // J4_cmpgt_tp1_jump_t
560 UINT64_C(616562688), // J4_cmpgti_f_jumpnv_nt
561 UINT64_C(616570880), // J4_cmpgti_f_jumpnv_t
562 UINT64_C(281018368), // J4_cmpgti_fp0_jump_nt
563 UINT64_C(281026560), // J4_cmpgti_fp0_jump_t
564 UINT64_C(314572800), // J4_cmpgti_fp1_jump_nt
565 UINT64_C(314580992), // J4_cmpgti_fp1_jump_t
566 UINT64_C(612368384), // J4_cmpgti_t_jumpnv_nt
567 UINT64_C(612376576), // J4_cmpgti_t_jumpnv_t
568 UINT64_C(276824064), // J4_cmpgti_tp0_jump_nt
569 UINT64_C(276832256), // J4_cmpgti_tp0_jump_t
570 UINT64_C(310378496), // J4_cmpgti_tp1_jump_nt
571 UINT64_C(310386688), // J4_cmpgti_tp1_jump_t
572 UINT64_C(650117120), // J4_cmpgtn1_f_jumpnv_nt
573 UINT64_C(650125312), // J4_cmpgtn1_f_jumpnv_t
574 UINT64_C(297795840), // J4_cmpgtn1_fp0_jump_nt
575 UINT64_C(297804032), // J4_cmpgtn1_fp0_jump_t
576 UINT64_C(331350272), // J4_cmpgtn1_fp1_jump_nt
577 UINT64_C(331358464), // J4_cmpgtn1_fp1_jump_t
578 UINT64_C(645922816), // J4_cmpgtn1_t_jumpnv_nt
579 UINT64_C(645931008), // J4_cmpgtn1_t_jumpnv_t
580 UINT64_C(293601536), // J4_cmpgtn1_tp0_jump_nt
581 UINT64_C(293609728), // J4_cmpgtn1_tp0_jump_t
582 UINT64_C(327155968), // J4_cmpgtn1_tp1_jump_nt
583 UINT64_C(327164160), // J4_cmpgtn1_tp1_jump_t
584 UINT64_C(557842432), // J4_cmpgtu_f_jumpnv_nt
585 UINT64_C(557850624), // J4_cmpgtu_f_jumpnv_t
586 UINT64_C(356515840), // J4_cmpgtu_fp0_jump_nt
587 UINT64_C(356524032), // J4_cmpgtu_fp0_jump_t
588 UINT64_C(356519936), // J4_cmpgtu_fp1_jump_nt
589 UINT64_C(356528128), // J4_cmpgtu_fp1_jump_t
590 UINT64_C(553648128), // J4_cmpgtu_t_jumpnv_nt
591 UINT64_C(553656320), // J4_cmpgtu_t_jumpnv_t
592 UINT64_C(352321536), // J4_cmpgtu_tp0_jump_nt
593 UINT64_C(352329728), // J4_cmpgtu_tp0_jump_t
594 UINT64_C(352325632), // J4_cmpgtu_tp1_jump_nt
595 UINT64_C(352333824), // J4_cmpgtu_tp1_jump_t
596 UINT64_C(624951296), // J4_cmpgtui_f_jumpnv_nt
597 UINT64_C(624959488), // J4_cmpgtui_f_jumpnv_t
598 UINT64_C(289406976), // J4_cmpgtui_fp0_jump_nt
599 UINT64_C(289415168), // J4_cmpgtui_fp0_jump_t
600 UINT64_C(322961408), // J4_cmpgtui_fp1_jump_nt
601 UINT64_C(322969600), // J4_cmpgtui_fp1_jump_t
602 UINT64_C(620756992), // J4_cmpgtui_t_jumpnv_nt
603 UINT64_C(620765184), // J4_cmpgtui_t_jumpnv_t
604 UINT64_C(285212672), // J4_cmpgtui_tp0_jump_nt
605 UINT64_C(285220864), // J4_cmpgtui_tp0_jump_t
606 UINT64_C(318767104), // J4_cmpgtui_tp1_jump_nt
607 UINT64_C(318775296), // J4_cmpgtui_tp1_jump_t
608 UINT64_C(566231040), // J4_cmplt_f_jumpnv_nt
609 UINT64_C(566239232), // J4_cmplt_f_jumpnv_t
610 UINT64_C(562036736), // J4_cmplt_t_jumpnv_nt
611 UINT64_C(562044928), // J4_cmplt_t_jumpnv_t
612 UINT64_C(574619648), // J4_cmpltu_f_jumpnv_nt
613 UINT64_C(574627840), // J4_cmpltu_f_jumpnv_t
614 UINT64_C(570425344), // J4_cmpltu_t_jumpnv_nt
615 UINT64_C(570433536), // J4_cmpltu_t_jumpnv_t
616 UINT64_C(1386217472), // J4_hintjumpr
617 UINT64_C(369098752), // J4_jumpseti
618 UINT64_C(385875968), // J4_jumpsetr
619 UINT64_C(633339904), // J4_tstbit0_f_jumpnv_nt
620 UINT64_C(633348096), // J4_tstbit0_f_jumpnv_t
621 UINT64_C(297796352), // J4_tstbit0_fp0_jump_nt
622 UINT64_C(297804544), // J4_tstbit0_fp0_jump_t
623 UINT64_C(331350784), // J4_tstbit0_fp1_jump_nt
624 UINT64_C(331358976), // J4_tstbit0_fp1_jump_t
625 UINT64_C(629145600), // J4_tstbit0_t_jumpnv_nt
626 UINT64_C(629153792), // J4_tstbit0_t_jumpnv_t
627 UINT64_C(293602048), // J4_tstbit0_tp0_jump_nt
628 UINT64_C(293610240), // J4_tstbit0_tp0_jump_t
629 UINT64_C(327156480), // J4_tstbit0_tp1_jump_nt
630 UINT64_C(327164672), // J4_tstbit0_tp1_jump_t
631 UINT64_C(2415919104), // L2_deallocframe
632 UINT64_C(2424307712), // L2_loadalignb_io
633 UINT64_C(2659188736), // L2_loadalignb_pbr
634 UINT64_C(2558525440), // L2_loadalignb_pci
635 UINT64_C(2558525952), // L2_loadalignb_pcr
636 UINT64_C(2592079872), // L2_loadalignb_pi
637 UINT64_C(2625634304), // L2_loadalignb_pr
638 UINT64_C(2420113408), // L2_loadalignh_io
639 UINT64_C(2654994432), // L2_loadalignh_pbr
640 UINT64_C(2554331136), // L2_loadalignh_pci
641 UINT64_C(2554331648), // L2_loadalignh_pcr
642 UINT64_C(2587885568), // L2_loadalignh_pi
643 UINT64_C(2621440000), // L2_loadalignh_pr
644 UINT64_C(2418016256), // L2_loadbsw2_io
645 UINT64_C(2652897280), // L2_loadbsw2_pbr
646 UINT64_C(2552233984), // L2_loadbsw2_pci
647 UINT64_C(2552234496), // L2_loadbsw2_pcr
648 UINT64_C(2585788416), // L2_loadbsw2_pi
649 UINT64_C(2619342848), // L2_loadbsw2_pr
650 UINT64_C(2430599168), // L2_loadbsw4_io
651 UINT64_C(2665480192), // L2_loadbsw4_pbr
652 UINT64_C(2564816896), // L2_loadbsw4_pci
653 UINT64_C(2564817408), // L2_loadbsw4_pcr
654 UINT64_C(2598371328), // L2_loadbsw4_pi
655 UINT64_C(2631925760), // L2_loadbsw4_pr
656 UINT64_C(2422210560), // L2_loadbzw2_io
657 UINT64_C(2657091584), // L2_loadbzw2_pbr
658 UINT64_C(2556428288), // L2_loadbzw2_pci
659 UINT64_C(2556428800), // L2_loadbzw2_pcr
660 UINT64_C(2589982720), // L2_loadbzw2_pi
661 UINT64_C(2623537152), // L2_loadbzw2_pr
662 UINT64_C(2426404864), // L2_loadbzw4_io
663 UINT64_C(2661285888), // L2_loadbzw4_pbr
664 UINT64_C(2560622592), // L2_loadbzw4_pci
665 UINT64_C(2560623104), // L2_loadbzw4_pcr
666 UINT64_C(2594177024), // L2_loadbzw4_pi
667 UINT64_C(2627731456), // L2_loadbzw4_pr
668 UINT64_C(2432696320), // L2_loadrb_io
669 UINT64_C(2667577344), // L2_loadrb_pbr
670 UINT64_C(2566914048), // L2_loadrb_pci
671 UINT64_C(2566914560), // L2_loadrb_pcr
672 UINT64_C(2600468480), // L2_loadrb_pi
673 UINT64_C(2634022912), // L2_loadrb_pr
674 UINT64_C(1224736768), // L2_loadrbgp
675 UINT64_C(2445279232), // L2_loadrd_io
676 UINT64_C(2680160256), // L2_loadrd_pbr
677 UINT64_C(2579496960), // L2_loadrd_pci
678 UINT64_C(2579497472), // L2_loadrd_pcr
679 UINT64_C(2613051392), // L2_loadrd_pi
680 UINT64_C(2646605824), // L2_loadrd_pr
681 UINT64_C(1237319680), // L2_loadrdgp
682 UINT64_C(2436890624), // L2_loadrh_io
683 UINT64_C(2671771648), // L2_loadrh_pbr
684 UINT64_C(2571108352), // L2_loadrh_pci
685 UINT64_C(2571108864), // L2_loadrh_pcr
686 UINT64_C(2604662784), // L2_loadrh_pi
687 UINT64_C(2638217216), // L2_loadrh_pr
688 UINT64_C(1228931072), // L2_loadrhgp
689 UINT64_C(2441084928), // L2_loadri_io
690 UINT64_C(2675965952), // L2_loadri_pbr
691 UINT64_C(2575302656), // L2_loadri_pci
692 UINT64_C(2575303168), // L2_loadri_pcr
693 UINT64_C(2608857088), // L2_loadri_pi
694 UINT64_C(2642411520), // L2_loadri_pr
695 UINT64_C(1233125376), // L2_loadrigp
696 UINT64_C(2434793472), // L2_loadrub_io
697 UINT64_C(2669674496), // L2_loadrub_pbr
698 UINT64_C(2569011200), // L2_loadrub_pci
699 UINT64_C(2569011712), // L2_loadrub_pcr
700 UINT64_C(2602565632), // L2_loadrub_pi
701 UINT64_C(2636120064), // L2_loadrub_pr
702 UINT64_C(1226833920), // L2_loadrubgp
703 UINT64_C(2438987776), // L2_loadruh_io
704 UINT64_C(2673868800), // L2_loadruh_pbr
705 UINT64_C(2573205504), // L2_loadruh_pci
706 UINT64_C(2573206016), // L2_loadruh_pcr
707 UINT64_C(2606759936), // L2_loadruh_pi
708 UINT64_C(2640314368), // L2_loadruh_pr
709 UINT64_C(1231028224), // L2_loadruhgp
710 UINT64_C(2449475584), // L2_loadw_aq
711 UINT64_C(2449473536), // L2_loadw_locked
712 UINT64_C(1157627904), // L2_ploadrbf_io
713 UINT64_C(2600478720), // L2_ploadrbf_pi
714 UINT64_C(1191182336), // L2_ploadrbfnew_io
715 UINT64_C(2600482816), // L2_ploadrbfnew_pi
716 UINT64_C(1090519040), // L2_ploadrbt_io
717 UINT64_C(2600476672), // L2_ploadrbt_pi
718 UINT64_C(1124073472), // L2_ploadrbtnew_io
719 UINT64_C(2600480768), // L2_ploadrbtnew_pi
720 UINT64_C(1170210816), // L2_ploadrdf_io
721 UINT64_C(2613061632), // L2_ploadrdf_pi
722 UINT64_C(1203765248), // L2_ploadrdfnew_io
723 UINT64_C(2613065728), // L2_ploadrdfnew_pi
724 UINT64_C(1103101952), // L2_ploadrdt_io
725 UINT64_C(2613059584), // L2_ploadrdt_pi
726 UINT64_C(1136656384), // L2_ploadrdtnew_io
727 UINT64_C(2613063680), // L2_ploadrdtnew_pi
728 UINT64_C(1161822208), // L2_ploadrhf_io
729 UINT64_C(2604673024), // L2_ploadrhf_pi
730 UINT64_C(1195376640), // L2_ploadrhfnew_io
731 UINT64_C(2604677120), // L2_ploadrhfnew_pi
732 UINT64_C(1094713344), // L2_ploadrht_io
733 UINT64_C(2604670976), // L2_ploadrht_pi
734 UINT64_C(1128267776), // L2_ploadrhtnew_io
735 UINT64_C(2604675072), // L2_ploadrhtnew_pi
736 UINT64_C(1166016512), // L2_ploadrif_io
737 UINT64_C(2608867328), // L2_ploadrif_pi
738 UINT64_C(1199570944), // L2_ploadrifnew_io
739 UINT64_C(2608871424), // L2_ploadrifnew_pi
740 UINT64_C(1098907648), // L2_ploadrit_io
741 UINT64_C(2608865280), // L2_ploadrit_pi
742 UINT64_C(1132462080), // L2_ploadritnew_io
743 UINT64_C(2608869376), // L2_ploadritnew_pi
744 UINT64_C(1159725056), // L2_ploadrubf_io
745 UINT64_C(2602575872), // L2_ploadrubf_pi
746 UINT64_C(1193279488), // L2_ploadrubfnew_io
747 UINT64_C(2602579968), // L2_ploadrubfnew_pi
748 UINT64_C(1092616192), // L2_ploadrubt_io
749 UINT64_C(2602573824), // L2_ploadrubt_pi
750 UINT64_C(1126170624), // L2_ploadrubtnew_io
751 UINT64_C(2602577920), // L2_ploadrubtnew_pi
752 UINT64_C(1163919360), // L2_ploadruhf_io
753 UINT64_C(2606770176), // L2_ploadruhf_pi
754 UINT64_C(1197473792), // L2_ploadruhfnew_io
755 UINT64_C(2606774272), // L2_ploadruhfnew_pi
756 UINT64_C(1096810496), // L2_ploadruht_io
757 UINT64_C(2606768128), // L2_ploadruht_pi
758 UINT64_C(1130364928), // L2_ploadruhtnew_io
759 UINT64_C(2606772224), // L2_ploadruhtnew_pi
760 UINT64_C(1040187392), // L4_add_memopb_io
761 UINT64_C(1042284544), // L4_add_memoph_io
762 UINT64_C(1044381696), // L4_add_memopw_io
763 UINT64_C(1040187456), // L4_and_memopb_io
764 UINT64_C(1042284608), // L4_and_memoph_io
765 UINT64_C(1044381760), // L4_and_memopw_io
766 UINT64_C(1056964608), // L4_iadd_memopb_io
767 UINT64_C(1059061760), // L4_iadd_memoph_io
768 UINT64_C(1061158912), // L4_iadd_memopw_io
769 UINT64_C(1056964672), // L4_iand_memopb_io
770 UINT64_C(1059061824), // L4_iand_memoph_io
771 UINT64_C(1061158976), // L4_iand_memopw_io
772 UINT64_C(1056964704), // L4_ior_memopb_io
773 UINT64_C(1059061856), // L4_ior_memoph_io
774 UINT64_C(1061159008), // L4_ior_memopw_io
775 UINT64_C(1056964640), // L4_isub_memopb_io
776 UINT64_C(1059061792), // L4_isub_memoph_io
777 UINT64_C(1061158944), // L4_isub_memopw_io
778 UINT64_C(2592083968), // L4_loadalignb_ap
779 UINT64_C(2625638400), // L4_loadalignb_ur
780 UINT64_C(2587889664), // L4_loadalignh_ap
781 UINT64_C(2621444096), // L4_loadalignh_ur
782 UINT64_C(2585792512), // L4_loadbsw2_ap
783 UINT64_C(2619346944), // L4_loadbsw2_ur
784 UINT64_C(2598375424), // L4_loadbsw4_ap
785 UINT64_C(2631929856), // L4_loadbsw4_ur
786 UINT64_C(2589986816), // L4_loadbzw2_ap
787 UINT64_C(2623541248), // L4_loadbzw2_ur
788 UINT64_C(2594181120), // L4_loadbzw4_ap
789 UINT64_C(2627735552), // L4_loadbzw4_ur
790 UINT64_C(2449479680), // L4_loadd_aq
791 UINT64_C(2449477632), // L4_loadd_locked
792 UINT64_C(2600472576), // L4_loadrb_ap
793 UINT64_C(973078528), // L4_loadrb_rr
794 UINT64_C(2634027008), // L4_loadrb_ur
795 UINT64_C(2613055488), // L4_loadrd_ap
796 UINT64_C(985661440), // L4_loadrd_rr
797 UINT64_C(2646609920), // L4_loadrd_ur
798 UINT64_C(2604666880), // L4_loadrh_ap
799 UINT64_C(977272832), // L4_loadrh_rr
800 UINT64_C(2638221312), // L4_loadrh_ur
801 UINT64_C(2608861184), // L4_loadri_ap
802 UINT64_C(981467136), // L4_loadri_rr
803 UINT64_C(2642415616), // L4_loadri_ur
804 UINT64_C(2602569728), // L4_loadrub_ap
805 UINT64_C(975175680), // L4_loadrub_rr
806 UINT64_C(2636124160), // L4_loadrub_ur
807 UINT64_C(2606764032), // L4_loadruh_ap
808 UINT64_C(979369984), // L4_loadruh_rr
809 UINT64_C(2640318464), // L4_loadruh_ur
810 UINT64_C(2449481728), // L4_loadw_phys
811 UINT64_C(1040187488), // L4_or_memopb_io
812 UINT64_C(1042284640), // L4_or_memoph_io
813 UINT64_C(1044381792), // L4_or_memopw_io
814 UINT64_C(2667587712), // L4_ploadrbf_abs
815 UINT64_C(822083584), // L4_ploadrbf_rr
816 UINT64_C(2667591808), // L4_ploadrbfnew_abs
817 UINT64_C(855638016), // L4_ploadrbfnew_rr
818 UINT64_C(2667585664), // L4_ploadrbt_abs
819 UINT64_C(805306368), // L4_ploadrbt_rr
820 UINT64_C(2667589760), // L4_ploadrbtnew_abs
821 UINT64_C(838860800), // L4_ploadrbtnew_rr
822 UINT64_C(2680170624), // L4_ploadrdf_abs
823 UINT64_C(834666496), // L4_ploadrdf_rr
824 UINT64_C(2680174720), // L4_ploadrdfnew_abs
825 UINT64_C(868220928), // L4_ploadrdfnew_rr
826 UINT64_C(2680168576), // L4_ploadrdt_abs
827 UINT64_C(817889280), // L4_ploadrdt_rr
828 UINT64_C(2680172672), // L4_ploadrdtnew_abs
829 UINT64_C(851443712), // L4_ploadrdtnew_rr
830 UINT64_C(2671782016), // L4_ploadrhf_abs
831 UINT64_C(826277888), // L4_ploadrhf_rr
832 UINT64_C(2671786112), // L4_ploadrhfnew_abs
833 UINT64_C(859832320), // L4_ploadrhfnew_rr
834 UINT64_C(2671779968), // L4_ploadrht_abs
835 UINT64_C(809500672), // L4_ploadrht_rr
836 UINT64_C(2671784064), // L4_ploadrhtnew_abs
837 UINT64_C(843055104), // L4_ploadrhtnew_rr
838 UINT64_C(2675976320), // L4_ploadrif_abs
839 UINT64_C(830472192), // L4_ploadrif_rr
840 UINT64_C(2675980416), // L4_ploadrifnew_abs
841 UINT64_C(864026624), // L4_ploadrifnew_rr
842 UINT64_C(2675974272), // L4_ploadrit_abs
843 UINT64_C(813694976), // L4_ploadrit_rr
844 UINT64_C(2675978368), // L4_ploadritnew_abs
845 UINT64_C(847249408), // L4_ploadritnew_rr
846 UINT64_C(2669684864), // L4_ploadrubf_abs
847 UINT64_C(824180736), // L4_ploadrubf_rr
848 UINT64_C(2669688960), // L4_ploadrubfnew_abs
849 UINT64_C(857735168), // L4_ploadrubfnew_rr
850 UINT64_C(2669682816), // L4_ploadrubt_abs
851 UINT64_C(807403520), // L4_ploadrubt_rr
852 UINT64_C(2669686912), // L4_ploadrubtnew_abs
853 UINT64_C(840957952), // L4_ploadrubtnew_rr
854 UINT64_C(2673879168), // L4_ploadruhf_abs
855 UINT64_C(828375040), // L4_ploadruhf_rr
856 UINT64_C(2673883264), // L4_ploadruhfnew_abs
857 UINT64_C(861929472), // L4_ploadruhfnew_rr
858 UINT64_C(2673877120), // L4_ploadruht_abs
859 UINT64_C(811597824), // L4_ploadruht_rr
860 UINT64_C(2673881216), // L4_ploadruhtnew_abs
861 UINT64_C(845152256), // L4_ploadruhtnew_rr
862 UINT64_C(2516582400), // L4_return
863 UINT64_C(2516594688), // L4_return_f
864 UINT64_C(2516592640), // L4_return_fnew_pnt
865 UINT64_C(2516596736), // L4_return_fnew_pt
866 UINT64_C(2516586496), // L4_return_t
867 UINT64_C(2516584448), // L4_return_tnew_pnt
868 UINT64_C(2516588544), // L4_return_tnew_pt
869 UINT64_C(1040187424), // L4_sub_memopb_io
870 UINT64_C(1042284576), // L4_sub_memoph_io
871 UINT64_C(1044381728), // L4_sub_memopw_io
872 UINT64_C(2449473600), // L6_memcpy
873 UINT64_C(18874368), // LO
874 UINT64_C(2550140992), // LX_L16b_p_tmp
875 UINT64_C(2550140928), // LX_L16b_tmp
876 UINT64_C(2759852032), // LX_S16b_new
877 UINT64_C(2759852096), // LX_S16b_p_new
878 UINT64_C(3842058272), // LX_abs_uh
879 UINT64_C(3842058273), // LX_abs_uh_sat
880 UINT64_C(4009766944), // LX_abs_uhp
881 UINT64_C(4009766945), // LX_abs_uhp_sat
882 UINT64_C(4009766912), // LX_abs_uw
883 UINT64_C(4009766913), // LX_abs_uw_sat
884 UINT64_C(3976209408), // LX_absdiff_h
885 UINT64_C(3976209440), // LX_absdiff_uh
886 UINT64_C(3976209441), // LX_absdiff_uw
887 UINT64_C(3976209409), // LX_absdiff_w
888 UINT64_C(3841993728), // LX_add_h
889 UINT64_C(3841993729), // LX_add_h_sat
890 UINT64_C(4009764864), // LX_add_hp
891 UINT64_C(4009764865), // LX_add_hp_sat
892 UINT64_C(3841993760), // LX_add_uh_sat
893 UINT64_C(3841993761), // LX_add_uhh_sat
894 UINT64_C(4009764897), // LX_add_uhp_h_sat
895 UINT64_C(4009764896), // LX_add_uhp_sat
896 UINT64_C(4009762848), // LX_add_uw_sat
897 UINT64_C(4009762849), // LX_add_uw_w_sat
898 UINT64_C(4009762816), // LX_add_w
899 UINT64_C(4009762817), // LX_add_w_sat
900 UINT64_C(3844089856), // LX_add_wuh
901 UINT64_C(3841997856), // LX_add_wwh
902 UINT64_C(3841997857), // LX_add_wwuh
903 UINT64_C(3841995776), // LX_and
904 UINT64_C(4011859968), // LX_and_w
905 UINT64_C(3841995777), // LX_andn
906 UINT64_C(4011860992), // LX_andn_w
907 UINT64_C(3841996832), // LX_assign
908 UINT64_C(3844088864), // LX_assign_r
909 UINT64_C(3844088865), // LX_assign_rw
910 UINT64_C(3844089889), // LX_assign_s
911 UINT64_C(3844089888), // LX_assign_u
912 UINT64_C(3841996833), // LX_assign_w
913 UINT64_C(3976210432), // LX_avg_h
914 UINT64_C(3976211456), // LX_avg_h_rnd
915 UINT64_C(3976210464), // LX_avg_uh
916 UINT64_C(3976211488), // LX_avg_uh_rnd
917 UINT64_C(3976210465), // LX_avg_uw
918 UINT64_C(3976211489), // LX_avg_uw_rnd
919 UINT64_C(3976210433), // LX_avg_w
920 UINT64_C(3976211457), // LX_avg_w_rnd
921 UINT64_C(3841990657), // LX_cmp_gt_h
922 UINT64_C(4009767968), // LX_cmp_gt_hp
923 UINT64_C(3841990688), // LX_cmp_gt_uh
924 UINT64_C(4009767969), // LX_cmp_gt_uhp
925 UINT64_C(4009767936), // LX_cmp_gt_uw
926 UINT64_C(4009767937), // LX_cmp_gt_w
927 UINT64_C(4011860001), // LX_combine_w
928 UINT64_C(3976213505), // LX_conv_b_h_hi
929 UINT64_C(3976213504), // LX_conv_b_h_lo
930 UINT64_C(3976213537), // LX_conv_h_b_hi
931 UINT64_C(3976213536), // LX_conv_h_b_lo
932 UINT64_C(3842058240), // LX_conv_uw_uh
933 UINT64_C(3842058241), // LX_conv_w_h
934 UINT64_C(3976208384), // LX_lut4
935 UINT64_C(3976208417), // LX_lut4_mask
936 UINT64_C(3976208385), // LX_lut4_sh
937 UINT64_C(3976208416), // LX_lut4_sh_neg
938 UINT64_C(3841991680), // LX_max_h
939 UINT64_C(4009768992), // LX_max_hp
940 UINT64_C(3841991712), // LX_max_uh
941 UINT64_C(4009768993), // LX_max_uhp
942 UINT64_C(4009770017), // LX_max_uw
943 UINT64_C(4009770016), // LX_max_w
944 UINT64_C(3841991681), // LX_min_h
945 UINT64_C(4009768960), // LX_min_hp
946 UINT64_C(3841991713), // LX_min_uh
947 UINT64_C(4009768961), // LX_min_uhp
948 UINT64_C(4009769985), // LX_min_uw
949 UINT64_C(4009769984), // LX_min_w
950 UINT64_C(3890230273), // LX_mpa_uwuhuw_si
951 UINT64_C(3875547169), // LX_mpa_wh
952 UINT64_C(3875549217), // LX_mpa_wh_hi
953 UINT64_C(3875547137), // LX_mpa_whuh
954 UINT64_C(3875548193), // LX_mpa_whuh_lo
955 UINT64_C(3875546144), // LX_mpa_wuh
956 UINT64_C(3875549185), // LX_mpa_wuh_hi
957 UINT64_C(3875548161), // LX_mpa_wuh_lo
958 UINT64_C(3890230305), // LX_mpa_wuhw_si
959 UINT64_C(3890230272), // LX_mpar_uwuhuw_si
960 UINT64_C(3875547168), // LX_mpar_wh
961 UINT64_C(3875549216), // LX_mpar_wh_hi
962 UINT64_C(3875547136), // LX_mpar_whuh
963 UINT64_C(3875548192), // LX_mpar_whuh_lo
964 UINT64_C(3875546145), // LX_mpar_wuh
965 UINT64_C(3875549184), // LX_mpar_wuh_hi
966 UINT64_C(3875548160), // LX_mpar_wuh_lo
967 UINT64_C(3890230304), // LX_mpar_wuhw_si
968 UINT64_C(3875545089), // LX_mpy_uw_uh
969 UINT64_C(3875546112), // LX_mpy_w_h
970 UINT64_C(3875545121), // LX_mpy_w_huh
971 UINT64_C(3875545088), // LX_mpyr_uw_uh
972 UINT64_C(3875546113), // LX_mpyr_w_h
973 UINT64_C(3875545120), // LX_mpyr_w_huh
974 UINT64_C(3841990656), // LX_mux_h
975 UINT64_C(3976212480), // LX_navg_h
976 UINT64_C(3976212512), // LX_navg_uh
977 UINT64_C(3976212513), // LX_navg_uw
978 UINT64_C(3976212481), // LX_navg_w
979 UINT64_C(3841995808), // LX_not
980 UINT64_C(4011860993), // LX_not_w
981 UINT64_C(3841996800), // LX_or
982 UINT64_C(4011859969), // LX_or_w
983 UINT64_C(3841996801), // LX_orn
984 UINT64_C(4011861024), // LX_orn_w
985 UINT64_C(3978307584), // LX_shr_h
986 UINT64_C(3978310656), // LX_shr_h_w_rnd_sat
987 UINT64_C(3978309664), // LX_shr_h_w_sat
988 UINT64_C(3978309632), // LX_shr_h_w_uh
989 UINT64_C(3978307616), // LX_shr_uh_uh
990 UINT64_C(3978311712), // LX_shr_uh_uw_rnd_sat
991 UINT64_C(3978312704), // LX_shr_uh_uw_sat
992 UINT64_C(3978311680), // LX_shr_uh_w_rnd_sat
993 UINT64_C(3978310688), // LX_shr_uh_w_sat
994 UINT64_C(3978308608), // LX_shr_uw_uw
995 UINT64_C(3978308640), // LX_shr_w_w
996 UINT64_C(3976214560), // LX_shra_h_h
997 UINT64_C(3976214528), // LX_shra_h_uh
998 UINT64_C(3976215552), // LX_shra_w_uw
999 UINT64_C(3976215584), // LX_shra_w_w
1000 UINT64_C(3976214561), // LX_shrar_h_h
1001 UINT64_C(3976214529), // LX_shrar_h_uh
1002 UINT64_C(3976215553), // LX_shrar_w_uw
1003 UINT64_C(3976215585), // LX_shrar_w_w
1004 UINT64_C(3978307585), // LX_shrr_h
1005 UINT64_C(3978310657), // LX_shrr_h_w_rnd_sat
1006 UINT64_C(3978309665), // LX_shrr_h_w_sat
1007 UINT64_C(3978309633), // LX_shrr_h_w_uh
1008 UINT64_C(3978307617), // LX_shrr_uh_uh
1009 UINT64_C(3978311713), // LX_shrr_uh_uw_rnd_sat
1010 UINT64_C(3978312705), // LX_shrr_uh_uw_sat
1011 UINT64_C(3978311681), // LX_shrr_uh_w_rnd_sat
1012 UINT64_C(3978310689), // LX_shrr_uh_w_sat
1013 UINT64_C(3978308609), // LX_shrr_uw_uw
1014 UINT64_C(3978308641), // LX_shrr_w_w
1015 UINT64_C(3841994752), // LX_sub_h
1016 UINT64_C(3841994753), // LX_sub_h_sat
1017 UINT64_C(4009765888), // LX_sub_hp
1018 UINT64_C(4009765889), // LX_sub_hp_sat
1019 UINT64_C(3978306560), // LX_sub_ilog2_h
1020 UINT64_C(3978306561), // LX_sub_ilog2_uh
1021 UINT64_C(3978306593), // LX_sub_ilog2_uw
1022 UINT64_C(3978306592), // LX_sub_ilog2_w
1023 UINT64_C(3841997824), // LX_sub_uh_sat
1024 UINT64_C(3841997825), // LX_sub_uhh_sat
1025 UINT64_C(4009765921), // LX_sub_uhp_h_sat
1026 UINT64_C(4009765920), // LX_sub_uhp_sat
1027 UINT64_C(4009763872), // LX_sub_uw_sat
1028 UINT64_C(4009763873), // LX_sub_uw_w_sat
1029 UINT64_C(4009763840), // LX_sub_w
1030 UINT64_C(4009763841), // LX_sub_w_sat
1031 UINT64_C(3844089857), // LX_sub_wuh
1032 UINT64_C(3844087808), // LX_sub_wwh
1033 UINT64_C(3844087809), // LX_sub_wwuh
1034 UINT64_C(3841995809), // LX_xor
1035 UINT64_C(4011860000), // LX_xor_w
1036 UINT64_C(4009754656), // M2_acci
1037 UINT64_C(3791650816), // M2_accii
1038 UINT64_C(3875536928), // M2_cmaci_s0
1039 UINT64_C(3875536960), // M2_cmacr_s0
1040 UINT64_C(3875537088), // M2_cmacs_s0
1041 UINT64_C(3883925696), // M2_cmacs_s1
1042 UINT64_C(3879731392), // M2_cmacsc_s0
1043 UINT64_C(3888120000), // M2_cmacsc_s1
1044 UINT64_C(3841982496), // M2_cmpyi_s0
1045 UINT64_C(3841982528), // M2_cmpyr_s0
1046 UINT64_C(3978297536), // M2_cmpyrs_s0
1047 UINT64_C(3986686144), // M2_cmpyrs_s1
1048 UINT64_C(3982491840), // M2_cmpyrsc_s0
1049 UINT64_C(3990880448), // M2_cmpyrsc_s1
1050 UINT64_C(3841982656), // M2_cmpys_s0
1051 UINT64_C(3850371264), // M2_cmpys_s1
1052 UINT64_C(3846176960), // M2_cmpysc_s0
1053 UINT64_C(3854565568), // M2_cmpysc_s1
1054 UINT64_C(3875537120), // M2_cnacs_s0
1055 UINT64_C(3883925728), // M2_cnacs_s1
1056 UINT64_C(3879731424), // M2_cnacsc_s0
1057 UINT64_C(3888120032), // M2_cnacsc_s1
1058 UINT64_C(3875536896), // M2_dpmpyss_acc_s0
1059 UINT64_C(3877634048), // M2_dpmpyss_nac_s0
1060 UINT64_C(3978297376), // M2_dpmpyss_rnd_s0
1061 UINT64_C(3841982464), // M2_dpmpyss_s0
1062 UINT64_C(3879731200), // M2_dpmpyuu_acc_s0
1063 UINT64_C(3881828352), // M2_dpmpyuu_nac_s0
1064 UINT64_C(3846176768), // M2_dpmpyuu_s0
1065 UINT64_C(3986686080), // M2_hmmpyh_rs1
1066 UINT64_C(3986685952), // M2_hmmpyh_s1
1067 UINT64_C(3990880384), // M2_hmmpyl_rs1
1068 UINT64_C(3986685984), // M2_hmmpyl_s1
1069 UINT64_C(4009754624), // M2_maci
1070 UINT64_C(3783262208), // M2_macsin
1071 UINT64_C(3774873600), // M2_macsip
1072 UINT64_C(3927965920), // M2_mmachs_rs0
1073 UINT64_C(3936354528), // M2_mmachs_rs1
1074 UINT64_C(3925868768), // M2_mmachs_s0
1075 UINT64_C(3934257376), // M2_mmachs_s1
1076 UINT64_C(3927965856), // M2_mmacls_rs0
1077 UINT64_C(3936354464), // M2_mmacls_rs1
1078 UINT64_C(3925868704), // M2_mmacls_s0
1079 UINT64_C(3934257312), // M2_mmacls_s1
1080 UINT64_C(3932160224), // M2_mmacuhs_rs0
1081 UINT64_C(3940548832), // M2_mmacuhs_rs1
1082 UINT64_C(3930063072), // M2_mmacuhs_s0
1083 UINT64_C(3938451680), // M2_mmacuhs_s1
1084 UINT64_C(3932160160), // M2_mmaculs_rs0
1085 UINT64_C(3940548768), // M2_mmaculs_rs1
1086 UINT64_C(3930063008), // M2_mmaculs_s0
1087 UINT64_C(3938451616), // M2_mmaculs_s1
1088 UINT64_C(3894411488), // M2_mmpyh_rs0
1089 UINT64_C(3902800096), // M2_mmpyh_rs1
1090 UINT64_C(3892314336), // M2_mmpyh_s0
1091 UINT64_C(3900702944), // M2_mmpyh_s1
1092 UINT64_C(3894411424), // M2_mmpyl_rs0
1093 UINT64_C(3902800032), // M2_mmpyl_rs1
1094 UINT64_C(3892314272), // M2_mmpyl_s0
1095 UINT64_C(3900702880), // M2_mmpyl_s1
1096 UINT64_C(3898605792), // M2_mmpyuh_rs0
1097 UINT64_C(3906994400), // M2_mmpyuh_rs1
1098 UINT64_C(3896508640), // M2_mmpyuh_s0
1099 UINT64_C(3904897248), // M2_mmpyuh_s1
1100 UINT64_C(3898605728), // M2_mmpyul_rs0
1101 UINT64_C(3906994336), // M2_mmpyul_rs1
1102 UINT64_C(3896508576), // M2_mmpyul_s0
1103 UINT64_C(3904897184), // M2_mmpyul_s1
1104 UINT64_C(4018143232), // M2_mnaci
1105 UINT64_C(3992977504), // M2_mpy_acc_hh_s0
1106 UINT64_C(4001366112), // M2_mpy_acc_hh_s1
1107 UINT64_C(3992977472), // M2_mpy_acc_hl_s0
1108 UINT64_C(4001366080), // M2_mpy_acc_hl_s1
1109 UINT64_C(3992977440), // M2_mpy_acc_lh_s0
1110 UINT64_C(4001366048), // M2_mpy_acc_lh_s1
1111 UINT64_C(3992977408), // M2_mpy_acc_ll_s0
1112 UINT64_C(4001366016), // M2_mpy_acc_ll_s1
1113 UINT64_C(3992977632), // M2_mpy_acc_sat_hh_s0
1114 UINT64_C(4001366240), // M2_mpy_acc_sat_hh_s1
1115 UINT64_C(3992977600), // M2_mpy_acc_sat_hl_s0
1116 UINT64_C(4001366208), // M2_mpy_acc_sat_hl_s1
1117 UINT64_C(3992977568), // M2_mpy_acc_sat_lh_s0
1118 UINT64_C(4001366176), // M2_mpy_acc_sat_lh_s1
1119 UINT64_C(3992977536), // M2_mpy_acc_sat_ll_s0
1120 UINT64_C(4001366144), // M2_mpy_acc_sat_ll_s1
1121 UINT64_C(3959423072), // M2_mpy_hh_s0
1122 UINT64_C(3967811680), // M2_mpy_hh_s1
1123 UINT64_C(3959423040), // M2_mpy_hl_s0
1124 UINT64_C(3967811648), // M2_mpy_hl_s1
1125 UINT64_C(3959423008), // M2_mpy_lh_s0
1126 UINT64_C(3967811616), // M2_mpy_lh_s1
1127 UINT64_C(3959422976), // M2_mpy_ll_s0
1128 UINT64_C(3967811584), // M2_mpy_ll_s1
1129 UINT64_C(3995074656), // M2_mpy_nac_hh_s0
1130 UINT64_C(4003463264), // M2_mpy_nac_hh_s1
1131 UINT64_C(3995074624), // M2_mpy_nac_hl_s0
1132 UINT64_C(4003463232), // M2_mpy_nac_hl_s1
1133 UINT64_C(3995074592), // M2_mpy_nac_lh_s0
1134 UINT64_C(4003463200), // M2_mpy_nac_lh_s1
1135 UINT64_C(3995074560), // M2_mpy_nac_ll_s0
1136 UINT64_C(4003463168), // M2_mpy_nac_ll_s1
1137 UINT64_C(3995074784), // M2_mpy_nac_sat_hh_s0
1138 UINT64_C(4003463392), // M2_mpy_nac_sat_hh_s1
1139 UINT64_C(3995074752), // M2_mpy_nac_sat_hl_s0
1140 UINT64_C(4003463360), // M2_mpy_nac_sat_hl_s1
1141 UINT64_C(3995074720), // M2_mpy_nac_sat_lh_s0
1142 UINT64_C(4003463328), // M2_mpy_nac_sat_lh_s1
1143 UINT64_C(3995074688), // M2_mpy_nac_sat_ll_s0
1144 UINT64_C(4003463296), // M2_mpy_nac_sat_ll_s1
1145 UINT64_C(3961520224), // M2_mpy_rnd_hh_s0
1146 UINT64_C(3969908832), // M2_mpy_rnd_hh_s1
1147 UINT64_C(3961520192), // M2_mpy_rnd_hl_s0
1148 UINT64_C(3969908800), // M2_mpy_rnd_hl_s1
1149 UINT64_C(3961520160), // M2_mpy_rnd_lh_s0
1150 UINT64_C(3969908768), // M2_mpy_rnd_lh_s1
1151 UINT64_C(3961520128), // M2_mpy_rnd_ll_s0
1152 UINT64_C(3969908736), // M2_mpy_rnd_ll_s1
1153 UINT64_C(3959423200), // M2_mpy_sat_hh_s0
1154 UINT64_C(3967811808), // M2_mpy_sat_hh_s1
1155 UINT64_C(3959423168), // M2_mpy_sat_hl_s0
1156 UINT64_C(3967811776), // M2_mpy_sat_hl_s1
1157 UINT64_C(3959423136), // M2_mpy_sat_lh_s0
1158 UINT64_C(3967811744), // M2_mpy_sat_lh_s1
1159 UINT64_C(3959423104), // M2_mpy_sat_ll_s0
1160 UINT64_C(3967811712), // M2_mpy_sat_ll_s1
1161 UINT64_C(3961520352), // M2_mpy_sat_rnd_hh_s0
1162 UINT64_C(3969908960), // M2_mpy_sat_rnd_hh_s1
1163 UINT64_C(3961520320), // M2_mpy_sat_rnd_hl_s0
1164 UINT64_C(3969908928), // M2_mpy_sat_rnd_hl_s1
1165 UINT64_C(3961520288), // M2_mpy_sat_rnd_lh_s0
1166 UINT64_C(3969908896), // M2_mpy_sat_rnd_lh_s1
1167 UINT64_C(3961520256), // M2_mpy_sat_rnd_ll_s0
1168 UINT64_C(3969908864), // M2_mpy_sat_rnd_ll_s1
1169 UINT64_C(3976200224), // M2_mpy_up
1170 UINT64_C(3986686016), // M2_mpy_up_s1
1171 UINT64_C(3990880256), // M2_mpy_up_s1_sat
1172 UINT64_C(3858759776), // M2_mpyd_acc_hh_s0
1173 UINT64_C(3867148384), // M2_mpyd_acc_hh_s1
1174 UINT64_C(3858759744), // M2_mpyd_acc_hl_s0
1175 UINT64_C(3867148352), // M2_mpyd_acc_hl_s1
1176 UINT64_C(3858759712), // M2_mpyd_acc_lh_s0
1177 UINT64_C(3867148320), // M2_mpyd_acc_lh_s1
1178 UINT64_C(3858759680), // M2_mpyd_acc_ll_s0
1179 UINT64_C(3867148288), // M2_mpyd_acc_ll_s1
1180 UINT64_C(3825205344), // M2_mpyd_hh_s0
1181 UINT64_C(3833593952), // M2_mpyd_hh_s1
1182 UINT64_C(3825205312), // M2_mpyd_hl_s0
1183 UINT64_C(3833593920), // M2_mpyd_hl_s1
1184 UINT64_C(3825205280), // M2_mpyd_lh_s0
1185 UINT64_C(3833593888), // M2_mpyd_lh_s1
1186 UINT64_C(3825205248), // M2_mpyd_ll_s0
1187 UINT64_C(3833593856), // M2_mpyd_ll_s1
1188 UINT64_C(3860856928), // M2_mpyd_nac_hh_s0
1189 UINT64_C(3869245536), // M2_mpyd_nac_hh_s1
1190 UINT64_C(3860856896), // M2_mpyd_nac_hl_s0
1191 UINT64_C(3869245504), // M2_mpyd_nac_hl_s1
1192 UINT64_C(3860856864), // M2_mpyd_nac_lh_s0
1193 UINT64_C(3869245472), // M2_mpyd_nac_lh_s1
1194 UINT64_C(3860856832), // M2_mpyd_nac_ll_s0
1195 UINT64_C(3869245440), // M2_mpyd_nac_ll_s1
1196 UINT64_C(3827302496), // M2_mpyd_rnd_hh_s0
1197 UINT64_C(3835691104), // M2_mpyd_rnd_hh_s1
1198 UINT64_C(3827302464), // M2_mpyd_rnd_hl_s0
1199 UINT64_C(3835691072), // M2_mpyd_rnd_hl_s1
1200 UINT64_C(3827302432), // M2_mpyd_rnd_lh_s0
1201 UINT64_C(3835691040), // M2_mpyd_rnd_lh_s1
1202 UINT64_C(3827302400), // M2_mpyd_rnd_ll_s0
1203 UINT64_C(3835691008), // M2_mpyd_rnd_ll_s1
1204 UINT64_C(3976200192), // M2_mpyi
1205 UINT64_C(3766484992), // M2_mpysin
1206 UINT64_C(3758096384), // M2_mpysip
1207 UINT64_C(3982491680), // M2_mpysu_up
1208 UINT64_C(3997171808), // M2_mpyu_acc_hh_s0
1209 UINT64_C(4005560416), // M2_mpyu_acc_hh_s1
1210 UINT64_C(3997171776), // M2_mpyu_acc_hl_s0
1211 UINT64_C(4005560384), // M2_mpyu_acc_hl_s1
1212 UINT64_C(3997171744), // M2_mpyu_acc_lh_s0
1213 UINT64_C(4005560352), // M2_mpyu_acc_lh_s1
1214 UINT64_C(3997171712), // M2_mpyu_acc_ll_s0
1215 UINT64_C(4005560320), // M2_mpyu_acc_ll_s1
1216 UINT64_C(3963617376), // M2_mpyu_hh_s0
1217 UINT64_C(3972005984), // M2_mpyu_hh_s1
1218 UINT64_C(3963617344), // M2_mpyu_hl_s0
1219 UINT64_C(3972005952), // M2_mpyu_hl_s1
1220 UINT64_C(3963617312), // M2_mpyu_lh_s0
1221 UINT64_C(3972005920), // M2_mpyu_lh_s1
1222 UINT64_C(3963617280), // M2_mpyu_ll_s0
1223 UINT64_C(3972005888), // M2_mpyu_ll_s1
1224 UINT64_C(3999268960), // M2_mpyu_nac_hh_s0
1225 UINT64_C(4007657568), // M2_mpyu_nac_hh_s1
1226 UINT64_C(3999268928), // M2_mpyu_nac_hl_s0
1227 UINT64_C(4007657536), // M2_mpyu_nac_hl_s1
1228 UINT64_C(3999268896), // M2_mpyu_nac_lh_s0
1229 UINT64_C(4007657504), // M2_mpyu_nac_lh_s1
1230 UINT64_C(3999268864), // M2_mpyu_nac_ll_s0
1231 UINT64_C(4007657472), // M2_mpyu_nac_ll_s1
1232 UINT64_C(3980394528), // M2_mpyu_up
1233 UINT64_C(3862954080), // M2_mpyud_acc_hh_s0
1234 UINT64_C(3871342688), // M2_mpyud_acc_hh_s1
1235 UINT64_C(3862954048), // M2_mpyud_acc_hl_s0
1236 UINT64_C(3871342656), // M2_mpyud_acc_hl_s1
1237 UINT64_C(3862954016), // M2_mpyud_acc_lh_s0
1238 UINT64_C(3871342624), // M2_mpyud_acc_lh_s1
1239 UINT64_C(3862953984), // M2_mpyud_acc_ll_s0
1240 UINT64_C(3871342592), // M2_mpyud_acc_ll_s1
1241 UINT64_C(3829399648), // M2_mpyud_hh_s0
1242 UINT64_C(3837788256), // M2_mpyud_hh_s1
1243 UINT64_C(3829399616), // M2_mpyud_hl_s0
1244 UINT64_C(3837788224), // M2_mpyud_hl_s1
1245 UINT64_C(3829399584), // M2_mpyud_lh_s0
1246 UINT64_C(3837788192), // M2_mpyud_lh_s1
1247 UINT64_C(3829399552), // M2_mpyud_ll_s0
1248 UINT64_C(3837788160), // M2_mpyud_ll_s1
1249 UINT64_C(3865051232), // M2_mpyud_nac_hh_s0
1250 UINT64_C(3873439840), // M2_mpyud_nac_hh_s1
1251 UINT64_C(3865051200), // M2_mpyud_nac_hl_s0
1252 UINT64_C(3873439808), // M2_mpyud_nac_hl_s1
1253 UINT64_C(3865051168), // M2_mpyud_nac_lh_s0
1254 UINT64_C(3873439776), // M2_mpyud_nac_lh_s1
1255 UINT64_C(3865051136), // M2_mpyud_nac_ll_s0
1256 UINT64_C(3873439744), // M2_mpyud_nac_ll_s1
1257 UINT64_C(4018143264), // M2_nacci
1258 UINT64_C(3800039424), // M2_naccii
1259 UINT64_C(4009754720), // M2_subacc
1260 UINT64_C(3898605568), // M2_vabsdiffh
1261 UINT64_C(3894411264), // M2_vabsdiffw
1262 UINT64_C(3930062976), // M2_vcmac_s0_sat_i
1263 UINT64_C(3927965824), // M2_vcmac_s0_sat_r
1264 UINT64_C(3896508608), // M2_vcmpy_s0_sat_i
1265 UINT64_C(3894411456), // M2_vcmpy_s0_sat_r
1266 UINT64_C(3904897216), // M2_vcmpy_s1_sat_i
1267 UINT64_C(3902800064), // M2_vcmpy_s1_sat_r
1268 UINT64_C(3925868672), // M2_vdmacs_s0
1269 UINT64_C(3934257280), // M2_vdmacs_s1
1270 UINT64_C(3909091328), // M2_vdmpyrs_s0
1271 UINT64_C(3917479936), // M2_vdmpyrs_s1
1272 UINT64_C(3892314240), // M2_vdmpys_s0
1273 UINT64_C(3900702848), // M2_vdmpys_s1
1274 UINT64_C(3877634080), // M2_vmac2
1275 UINT64_C(3927965760), // M2_vmac2es
1276 UINT64_C(3925868736), // M2_vmac2es_s0
1277 UINT64_C(3934257344), // M2_vmac2es_s1
1278 UINT64_C(3875537056), // M2_vmac2s_s0
1279 UINT64_C(3883925664), // M2_vmac2s_s1
1280 UINT64_C(3881828512), // M2_vmac2su_s0
1281 UINT64_C(3890217120), // M2_vmac2su_s1
1282 UINT64_C(3892314304), // M2_vmpy2es_s0
1283 UINT64_C(3900702912), // M2_vmpy2es_s1
1284 UINT64_C(3841982624), // M2_vmpy2s_s0
1285 UINT64_C(3978297568), // M2_vmpy2s_s0pack
1286 UINT64_C(3850371232), // M2_vmpy2s_s1
1287 UINT64_C(3986686176), // M2_vmpy2s_s1pack
1288 UINT64_C(3841982688), // M2_vmpy2su_s0
1289 UINT64_C(3850371296), // M2_vmpy2su_s1
1290 UINT64_C(3911188704), // M2_vraddh
1291 UINT64_C(3909091360), // M2_vradduh
1292 UINT64_C(3925868544), // M2_vrcmaci_s0
1293 UINT64_C(3930062848), // M2_vrcmaci_s0c
1294 UINT64_C(3925868576), // M2_vrcmacr_s0
1295 UINT64_C(3932160032), // M2_vrcmacr_s0c
1296 UINT64_C(3892314112), // M2_vrcmpyi_s0
1297 UINT64_C(3896508416), // M2_vrcmpyi_s0c
1298 UINT64_C(3892314144), // M2_vrcmpyr_s0
1299 UINT64_C(3898605600), // M2_vrcmpyr_s0c
1300 UINT64_C(3936354432), // M2_vrcmpys_acc_s1_h
1301 UINT64_C(3940548736), // M2_vrcmpys_acc_s1_l
1302 UINT64_C(3902800000), // M2_vrcmpys_s1_h
1303 UINT64_C(3906994304), // M2_vrcmpys_s1_l
1304 UINT64_C(3919577280), // M2_vrcmpys_s1rp_h
1305 UINT64_C(3919577312), // M2_vrcmpys_s1rp_l
1306 UINT64_C(3925868608), // M2_vrmac_s0
1307 UINT64_C(3892314176), // M2_vrmpy_s0
1308 UINT64_C(4018143328), // M2_xor_xacc
1309 UINT64_C(4013948928), // M4_and_and
1310 UINT64_C(4011851808), // M4_and_andn
1311 UINT64_C(4013948960), // M4_and_or
1312 UINT64_C(4013948992), // M4_and_xor
1313 UINT64_C(3305111680), // M4_cmpyi_wh
1314 UINT64_C(3305111712), // M4_cmpyi_whc
1315 UINT64_C(3305111744), // M4_cmpyr_wh
1316 UINT64_C(3305111776), // M4_cmpyr_whc
1317 UINT64_C(4016046080), // M4_mac_up_s1_sat
1318 UINT64_C(3623878656), // M4_mpyri_addi
1319 UINT64_C(3749707776), // M4_mpyri_addr
1320 UINT64_C(3741319168), // M4_mpyri_addr_u2
1321 UINT64_C(3607101440), // M4_mpyrr_addi
1322 UINT64_C(3808428032), // M4_mpyrr_addr
1323 UINT64_C(4016046112), // M4_nac_up_s1_sat
1324 UINT64_C(4013949024), // M4_or_and
1325 UINT64_C(4011851776), // M4_or_andn
1326 UINT64_C(4022337536), // M4_or_or
1327 UINT64_C(4022337568), // M4_or_xor
1328 UINT64_C(3846176992), // M4_pmpyw
1329 UINT64_C(3877634272), // M4_pmpyw_acc
1330 UINT64_C(3854565600), // M4_vpmpyh
1331 UINT64_C(3886022880), // M4_vpmpyh_acc
1332 UINT64_C(3927965888), // M4_vrmpyeh_acc_s0
1333 UINT64_C(3936354496), // M4_vrmpyeh_acc_s1
1334 UINT64_C(3896508544), // M4_vrmpyeh_s0
1335 UINT64_C(3904897152), // M4_vrmpyeh_s1
1336 UINT64_C(3932160192), // M4_vrmpyoh_acc_s0
1337 UINT64_C(3940548800), // M4_vrmpyoh_acc_s1
1338 UINT64_C(3894411328), // M4_vrmpyoh_s0
1339 UINT64_C(3902799936), // M4_vrmpyoh_s1
1340 UINT64_C(4022337600), // M4_xor_and
1341 UINT64_C(4011851840), // M4_xor_andn
1342 UINT64_C(4022337632), // M4_xor_or
1343 UINT64_C(3397386240), // M4_xor_xacc
1344 UINT64_C(3927965728), // M5_vdmacbsu
1345 UINT64_C(3902799904), // M5_vdmpybsu
1346 UINT64_C(3888119840), // M5_vmacbsu
1347 UINT64_C(3883925536), // M5_vmacbuu
1348 UINT64_C(3846176800), // M5_vmpybsu
1349 UINT64_C(3850371104), // M5_vmpybuu
1350 UINT64_C(3938451488), // M5_vrmacbsu
1351 UINT64_C(3934257184), // M5_vrmacbuu
1352 UINT64_C(3904897056), // M5_vrmpybsu
1353 UINT64_C(3900702752), // M5_vrmpybuu
1354 UINT64_C(3906994176), // M6_vabsdiffb
1355 UINT64_C(3902799872), // M6_vabsdiffub
1356 UINT64_C(3898605632), // M7_dcmpyiw
1357 UINT64_C(3932160064), // M7_dcmpyiw_acc
1358 UINT64_C(3906994240), // M7_dcmpyiwc
1359 UINT64_C(3930063040), // M7_dcmpyiwc_acc
1360 UINT64_C(3900702784), // M7_dcmpyrw
1361 UINT64_C(3934257216), // M7_dcmpyrw_acc
1362 UINT64_C(3904897088), // M7_dcmpyrwc
1363 UINT64_C(3938451520), // M7_dcmpyrwc_acc
1364 UINT64_C(3911188480), // M7_wcmpyiw
1365 UINT64_C(3919577088), // M7_wcmpyiw_rnd
1366 UINT64_C(3909091456), // M7_wcmpyiwc
1367 UINT64_C(3917480064), // M7_wcmpyiwc_rnd
1368 UINT64_C(3913285632), // M7_wcmpyrw
1369 UINT64_C(3921674240), // M7_wcmpyrw_rnd
1370 UINT64_C(3915382784), // M7_wcmpyrwc
1371 UINT64_C(3923771392), // M7_wcmpyrwc_rnd
1372 UINT64_C(2799704592), // M8_cvt_rs_hf
1373 UINT64_C(2799697939), // M8_mxclracc_hf
1374 UINT64_C(2799697944), // M8_mxmem
1375 UINT64_C(2449474558), // M8_mxmem2_bias
1376 UINT64_C(2799697942), // M8_mxmem2_st_bias
1377 UINT64_C(2449473764), // M8_mxmem_blk_sm_act_hf
1378 UINT64_C(2449473762), // M8_mxmem_sm_act_hf
1379 UINT64_C(2449481967), // M8_mxmem_wei_hf
1380 UINT64_C(2449481972), // M8_mxmemdp_wei_hf
1381 UINT64_C(2449473784), // M8_mxmems_blk_sm_act_hf
1382 UINT64_C(1509949440), // PS_call_stk
1383 UINT64_C(1352663040), // PS_callr_nr
1384 UINT64_C(1384120320), // PS_jmpret
1385 UINT64_C(1398800384), // PS_jmpretf
1386 UINT64_C(1398802432), // PS_jmpretfnew
1387 UINT64_C(1398806528), // PS_jmpretfnewpt
1388 UINT64_C(1396703232), // PS_jmprett
1389 UINT64_C(1396705280), // PS_jmprettnew
1390 UINT64_C(1396709376), // PS_jmprettnewpt
1391 UINT64_C(1224736768), // PS_loadrbabs
1392 UINT64_C(1237319680), // PS_loadrdabs
1393 UINT64_C(1228931072), // PS_loadrhabs
1394 UINT64_C(1233125376), // PS_loadriabs
1395 UINT64_C(1226833920), // PS_loadrubabs
1396 UINT64_C(1231028224), // PS_loadruhabs
1397 UINT64_C(1207959552), // PS_storerbabs
1398 UINT64_C(1218445312), // PS_storerbnewabs
1399 UINT64_C(1220542464), // PS_storerdabs
1400 UINT64_C(1214251008), // PS_storerfabs
1401 UINT64_C(1212153856), // PS_storerhabs
1402 UINT64_C(1218447360), // PS_storerhnewabs
1403 UINT64_C(1216348160), // PS_storeriabs
1404 UINT64_C(1218449408), // PS_storerinewabs
1405 UINT64_C(1417674752), // PS_trap1
1406 UINT64_C(2699034636), // R6_release_at_vi
1407 UINT64_C(2699034668), // R6_release_st_vi
1408 UINT64_C(1509949440), // RESTORE_DEALLOC_BEFORE_TAILCALL_V4
1409 UINT64_C(1509949440), // RESTORE_DEALLOC_BEFORE_TAILCALL_V4_EXT
1410 UINT64_C(1509949440), // RESTORE_DEALLOC_BEFORE_TAILCALL_V4_EXT_PIC
1411 UINT64_C(1509949440), // RESTORE_DEALLOC_BEFORE_TAILCALL_V4_PIC
1412 UINT64_C(1476395008), // RESTORE_DEALLOC_RET_JMP_V4
1413 UINT64_C(1476395008), // RESTORE_DEALLOC_RET_JMP_V4_EXT
1414 UINT64_C(1476395008), // RESTORE_DEALLOC_RET_JMP_V4_EXT_PIC
1415 UINT64_C(1476395008), // RESTORE_DEALLOC_RET_JMP_V4_PIC
1416 UINT64_C(3288334336), // S2_addasl_rrri
1417 UINT64_C(2692743168), // S2_allocframe
1418 UINT64_C(2692751360), // S2_allocframe_rb
1419 UINT64_C(2147483712), // S2_asl_i_p
1420 UINT64_C(2181038272), // S2_asl_i_p_acc
1421 UINT64_C(2185232448), // S2_asl_i_p_and
1422 UINT64_C(2181038144), // S2_asl_i_p_nac
1423 UINT64_C(2185232576), // S2_asl_i_p_or
1424 UINT64_C(2189426752), // S2_asl_i_p_xacc
1425 UINT64_C(2348810304), // S2_asl_i_r
1426 UINT64_C(2382364864), // S2_asl_i_r_acc
1427 UINT64_C(2386559040), // S2_asl_i_r_and
1428 UINT64_C(2382364736), // S2_asl_i_r_nac
1429 UINT64_C(2386559168), // S2_asl_i_r_or
1430 UINT64_C(2353004608), // S2_asl_i_r_sat
1431 UINT64_C(2390753344), // S2_asl_i_r_xacc
1432 UINT64_C(2155872320), // S2_asl_i_vh
1433 UINT64_C(2151678016), // S2_asl_i_vw
1434 UINT64_C(3279945856), // S2_asl_r_p
1435 UINT64_C(3418357888), // S2_asl_r_p_acc
1436 UINT64_C(3409969280), // S2_asl_r_p_and
1437 UINT64_C(3414163584), // S2_asl_r_p_nac
1438 UINT64_C(3405774976), // S2_asl_r_p_or
1439 UINT64_C(3412066432), // S2_asl_r_p_xor
1440 UINT64_C(3326083200), // S2_asl_r_r
1441 UINT64_C(3435135104), // S2_asl_r_r_acc
1442 UINT64_C(3426746496), // S2_asl_r_r_and
1443 UINT64_C(3430940800), // S2_asl_r_r_nac
1444 UINT64_C(3422552192), // S2_asl_r_r_or
1445 UINT64_C(3321888896), // S2_asl_r_r_sat
1446 UINT64_C(3275751552), // S2_asl_r_vh
1447 UINT64_C(3271557248), // S2_asl_r_vw
1448 UINT64_C(2147483648), // S2_asr_i_p
1449 UINT64_C(2181038208), // S2_asr_i_p_acc
1450 UINT64_C(2185232384), // S2_asr_i_p_and
1451 UINT64_C(2181038080), // S2_asr_i_p_nac
1452 UINT64_C(2185232512), // S2_asr_i_p_or
1453 UINT64_C(2160066784), // S2_asr_i_p_rnd
1454 UINT64_C(2348810240), // S2_asr_i_r
1455 UINT64_C(2382364800), // S2_asr_i_r_acc
1456 UINT64_C(2386558976), // S2_asr_i_r_and
1457 UINT64_C(2382364672), // S2_asr_i_r_nac
1458 UINT64_C(2386559104), // S2_asr_i_r_or
1459 UINT64_C(2353004544), // S2_asr_i_r_rnd
1460 UINT64_C(2294284352), // S2_asr_i_svw_trun
1461 UINT64_C(2155872256), // S2_asr_i_vh
1462 UINT64_C(2151677952), // S2_asr_i_vw
1463 UINT64_C(3279945728), // S2_asr_r_p
1464 UINT64_C(3418357760), // S2_asr_r_p_acc
1465 UINT64_C(3409969152), // S2_asr_r_p_and
1466 UINT64_C(3414163456), // S2_asr_r_p_nac
1467 UINT64_C(3405774848), // S2_asr_r_p_or
1468 UINT64_C(3412066304), // S2_asr_r_p_xor
1469 UINT64_C(3326083072), // S2_asr_r_r
1470 UINT64_C(3435134976), // S2_asr_r_r_acc
1471 UINT64_C(3426746368), // S2_asr_r_r_and
1472 UINT64_C(3430940672), // S2_asr_r_r_nac
1473 UINT64_C(3422552064), // S2_asr_r_r_or
1474 UINT64_C(3321888768), // S2_asr_r_r_sat
1475 UINT64_C(3305111616), // S2_asr_r_svw_trun
1476 UINT64_C(3275751424), // S2_asr_r_vh
1477 UINT64_C(3271557120), // S2_asr_r_vw
1478 UINT64_C(2353004736), // S2_brev
1479 UINT64_C(2160066752), // S2_brevp
1480 UINT64_C(3250585792), // S2_cabacdecbin
1481 UINT64_C(2348810400), // S2_cl0
1482 UINT64_C(2285895744), // S2_cl0p
1483 UINT64_C(2348810432), // S2_cl1
1484 UINT64_C(2285895808), // S2_cl1p
1485 UINT64_C(2348810368), // S2_clb
1486 UINT64_C(2348810464), // S2_clbnorm
1487 UINT64_C(2285895680), // S2_clbp
1488 UINT64_C(2361393184), // S2_clrbit_i
1489 UINT64_C(3330277440), // S2_clrbit_r
1490 UINT64_C(2353004672), // S2_ct0
1491 UINT64_C(2296381504), // S2_ct0p
1492 UINT64_C(2353004704), // S2_ct1
1493 UINT64_C(2296381568), // S2_ct1p
1494 UINT64_C(2160066688), // S2_deinterleave
1495 UINT64_C(2365587456), // S2_extractu
1496 UINT64_C(3372220416), // S2_extractu_rp
1497 UINT64_C(2164260864), // S2_extractup
1498 UINT64_C(3238002688), // S2_extractup_rp
1499 UINT64_C(2399141888), // S2_insert
1500 UINT64_C(3355443200), // S2_insert_rp
1501 UINT64_C(2197815296), // S2_insertp
1502 UINT64_C(3388997632), // S2_insertp_rp
1503 UINT64_C(2160066720), // S2_interleave
1504 UINT64_C(3246391488), // S2_lfsp
1505 UINT64_C(3279945920), // S2_lsl_r_p
1506 UINT64_C(3418357952), // S2_lsl_r_p_acc
1507 UINT64_C(3409969344), // S2_lsl_r_p_and
1508 UINT64_C(3414163648), // S2_lsl_r_p_nac
1509 UINT64_C(3405775040), // S2_lsl_r_p_or
1510 UINT64_C(3412066496), // S2_lsl_r_p_xor
1511 UINT64_C(3326083264), // S2_lsl_r_r
1512 UINT64_C(3435135168), // S2_lsl_r_r_acc
1513 UINT64_C(3426746560), // S2_lsl_r_r_and
1514 UINT64_C(3430940864), // S2_lsl_r_r_nac
1515 UINT64_C(3422552256), // S2_lsl_r_r_or
1516 UINT64_C(3275751616), // S2_lsl_r_vh
1517 UINT64_C(3271557312), // S2_lsl_r_vw
1518 UINT64_C(2147483680), // S2_lsr_i_p
1519 UINT64_C(2181038240), // S2_lsr_i_p_acc
1520 UINT64_C(2185232416), // S2_lsr_i_p_and
1521 UINT64_C(2181038112), // S2_lsr_i_p_nac
1522 UINT64_C(2185232544), // S2_lsr_i_p_or
1523 UINT64_C(2189426720), // S2_lsr_i_p_xacc
1524 UINT64_C(2348810272), // S2_lsr_i_r
1525 UINT64_C(2382364832), // S2_lsr_i_r_acc
1526 UINT64_C(2386559008), // S2_lsr_i_r_and
1527 UINT64_C(2382364704), // S2_lsr_i_r_nac
1528 UINT64_C(2386559136), // S2_lsr_i_r_or
1529 UINT64_C(2390753312), // S2_lsr_i_r_xacc
1530 UINT64_C(2155872288), // S2_lsr_i_vh
1531 UINT64_C(2151677984), // S2_lsr_i_vw
1532 UINT64_C(3279945792), // S2_lsr_r_p
1533 UINT64_C(3418357824), // S2_lsr_r_p_acc
1534 UINT64_C(3409969216), // S2_lsr_r_p_and
1535 UINT64_C(3414163520), // S2_lsr_r_p_nac
1536 UINT64_C(3405774912), // S2_lsr_r_p_or
1537 UINT64_C(3412066368), // S2_lsr_r_p_xor
1538 UINT64_C(3326083136), // S2_lsr_r_r
1539 UINT64_C(3435135040), // S2_lsr_r_r_acc
1540 UINT64_C(3426746432), // S2_lsr_r_r_and
1541 UINT64_C(3430940736), // S2_lsr_r_r_nac
1542 UINT64_C(3422552128), // S2_lsr_r_r_or
1543 UINT64_C(3275751488), // S2_lsr_r_vh
1544 UINT64_C(3271557184), // S2_lsr_r_vw
1545 UINT64_C(2365595648), // S2_mask
1546 UINT64_C(4118806528), // S2_packhl
1547 UINT64_C(3489660928), // S2_parityp
1548 UINT64_C(1140850688), // S2_pstorerbf_io
1549 UINT64_C(2868912132), // S2_pstorerbf_pi
1550 UINT64_C(2852134916), // S2_pstorerbf_pi_nt
1551 UINT64_C(2868912260), // S2_pstorerbfnew_pi
1552 UINT64_C(1151336448), // S2_pstorerbnewf_io
1553 UINT64_C(2879397892), // S2_pstorerbnewf_pi
1554 UINT64_C(2879398020), // S2_pstorerbnewfnew_pi
1555 UINT64_C(1084227584), // S2_pstorerbnewt_io
1556 UINT64_C(2879397888), // S2_pstorerbnewt_pi
1557 UINT64_C(2879398016), // S2_pstorerbnewtnew_pi
1558 UINT64_C(1073741824), // S2_pstorerbt_io
1559 UINT64_C(2868912128), // S2_pstorerbt_pi
1560 UINT64_C(2852134912), // S2_pstorerbt_pi_nt
1561 UINT64_C(2868912256), // S2_pstorerbtnew_pi
1562 UINT64_C(1153433600), // S2_pstorerdf_io
1563 UINT64_C(2881495044), // S2_pstorerdf_pi
1564 UINT64_C(2864717828), // S2_pstorerdf_pi_nt
1565 UINT64_C(2881495172), // S2_pstorerdfnew_pi
1566 UINT64_C(1086324736), // S2_pstorerdt_io
1567 UINT64_C(2881495040), // S2_pstorerdt_pi
1568 UINT64_C(2864717824), // S2_pstorerdt_pi_nt
1569 UINT64_C(2881495168), // S2_pstorerdtnew_pi
1570 UINT64_C(1147142144), // S2_pstorerff_io
1571 UINT64_C(2875203588), // S2_pstorerff_pi
1572 UINT64_C(2875203716), // S2_pstorerffnew_pi
1573 UINT64_C(1080033280), // S2_pstorerft_io
1574 UINT64_C(2875203584), // S2_pstorerft_pi
1575 UINT64_C(2875203712), // S2_pstorerftnew_pi
1576 UINT64_C(1145044992), // S2_pstorerhf_io
1577 UINT64_C(2873106436), // S2_pstorerhf_pi
1578 UINT64_C(2856329220), // S2_pstorerhf_pi_nt
1579 UINT64_C(2873106564), // S2_pstorerhfnew_pi
1580 UINT64_C(1151338496), // S2_pstorerhnewf_io
1581 UINT64_C(2879399940), // S2_pstorerhnewf_pi
1582 UINT64_C(2879400068), // S2_pstorerhnewfnew_pi
1583 UINT64_C(1084229632), // S2_pstorerhnewt_io
1584 UINT64_C(2879399936), // S2_pstorerhnewt_pi
1585 UINT64_C(2879400064), // S2_pstorerhnewtnew_pi
1586 UINT64_C(1077936128), // S2_pstorerht_io
1587 UINT64_C(2873106432), // S2_pstorerht_pi
1588 UINT64_C(2856329216), // S2_pstorerht_pi_nt
1589 UINT64_C(2873106560), // S2_pstorerhtnew_pi
1590 UINT64_C(1149239296), // S2_pstorerif_io
1591 UINT64_C(2877300740), // S2_pstorerif_pi
1592 UINT64_C(2860523524), // S2_pstorerif_pi_nt
1593 UINT64_C(2877300868), // S2_pstorerifnew_pi
1594 UINT64_C(1151340544), // S2_pstorerinewf_io
1595 UINT64_C(2879401988), // S2_pstorerinewf_pi
1596 UINT64_C(2879402116), // S2_pstorerinewfnew_pi
1597 UINT64_C(1084231680), // S2_pstorerinewt_io
1598 UINT64_C(2879401984), // S2_pstorerinewt_pi
1599 UINT64_C(2879402112), // S2_pstorerinewtnew_pi
1600 UINT64_C(1082130432), // S2_pstorerit_io
1601 UINT64_C(2877300736), // S2_pstorerit_pi
1602 UINT64_C(2860523520), // S2_pstorerit_pi_nt
1603 UINT64_C(2877300864), // S2_pstoreritnew_pi
1604 UINT64_C(2361393152), // S2_setbit_i
1605 UINT64_C(3330277376), // S2_setbit_r
1606 UINT64_C(3238002752), // S2_shuffeb
1607 UINT64_C(3238002880), // S2_shuffeh
1608 UINT64_C(3238002816), // S2_shuffob
1609 UINT64_C(3246391296), // S2_shuffoh
1610 UINT64_C(2701131776), // S2_storerb_io
1611 UINT64_C(2936012800), // S2_storerb_pbr
1612 UINT64_C(2835349504), // S2_storerb_pci
1613 UINT64_C(2835349506), // S2_storerb_pcr
1614 UINT64_C(2868903936), // S2_storerb_pi
1615 UINT64_C(2852126720), // S2_storerb_pi_nt
1616 UINT64_C(2902458368), // S2_storerb_pr
1617 UINT64_C(1207959552), // S2_storerbgp
1618 UINT64_C(2711617536), // S2_storerbnew_io
1619 UINT64_C(2946498560), // S2_storerbnew_pbr
1620 UINT64_C(2845835264), // S2_storerbnew_pci
1621 UINT64_C(2845835266), // S2_storerbnew_pcr
1622 UINT64_C(2879389696), // S2_storerbnew_pi
1623 UINT64_C(2912944128), // S2_storerbnew_pr
1624 UINT64_C(1218445312), // S2_storerbnewgp
1625 UINT64_C(2713714688), // S2_storerd_io
1626 UINT64_C(2948595712), // S2_storerd_pbr
1627 UINT64_C(2847932416), // S2_storerd_pci
1628 UINT64_C(2847932418), // S2_storerd_pcr
1629 UINT64_C(2881486848), // S2_storerd_pi
1630 UINT64_C(2864709632), // S2_storerd_pi_nt
1631 UINT64_C(2915041280), // S2_storerd_pr
1632 UINT64_C(1220542464), // S2_storerdgp
1633 UINT64_C(2707423232), // S2_storerf_io
1634 UINT64_C(2942304256), // S2_storerf_pbr
1635 UINT64_C(2841640960), // S2_storerf_pci
1636 UINT64_C(2841640962), // S2_storerf_pcr
1637 UINT64_C(2875195392), // S2_storerf_pi
1638 UINT64_C(2908749824), // S2_storerf_pr
1639 UINT64_C(1214251008), // S2_storerfgp
1640 UINT64_C(2705326080), // S2_storerh_io
1641 UINT64_C(2940207104), // S2_storerh_pbr
1642 UINT64_C(2839543808), // S2_storerh_pci
1643 UINT64_C(2839543810), // S2_storerh_pcr
1644 UINT64_C(2873098240), // S2_storerh_pi
1645 UINT64_C(2856321024), // S2_storerh_pi_nt
1646 UINT64_C(2906652672), // S2_storerh_pr
1647 UINT64_C(1212153856), // S2_storerhgp
1648 UINT64_C(2711619584), // S2_storerhnew_io
1649 UINT64_C(2946500608), // S2_storerhnew_pbr
1650 UINT64_C(2845837312), // S2_storerhnew_pci
1651 UINT64_C(2845837314), // S2_storerhnew_pcr
1652 UINT64_C(2879391744), // S2_storerhnew_pi
1653 UINT64_C(2912946176), // S2_storerhnew_pr
1654 UINT64_C(1218447360), // S2_storerhnewgp
1655 UINT64_C(2709520384), // S2_storeri_io
1656 UINT64_C(2944401408), // S2_storeri_pbr
1657 UINT64_C(2843738112), // S2_storeri_pci
1658 UINT64_C(2843738114), // S2_storeri_pcr
1659 UINT64_C(2877292544), // S2_storeri_pi
1660 UINT64_C(2860515328), // S2_storeri_pi_nt
1661 UINT64_C(2910846976), // S2_storeri_pr
1662 UINT64_C(1216348160), // S2_storerigp
1663 UINT64_C(2711621632), // S2_storerinew_io
1664 UINT64_C(2946502656), // S2_storerinew_pbr
1665 UINT64_C(2845839360), // S2_storerinew_pci
1666 UINT64_C(2845839362), // S2_storerinew_pcr
1667 UINT64_C(2879393792), // S2_storerinew_pi
1668 UINT64_C(2912948224), // S2_storerinew_pr
1669 UINT64_C(1218449408), // S2_storerinewgp
1670 UINT64_C(2694840320), // S2_storew_locked
1671 UINT64_C(2694840328), // S2_storew_rl_at_vi
1672 UINT64_C(2694840360), // S2_storew_rl_st_vi
1673 UINT64_C(2357198848), // S2_svsathb
1674 UINT64_C(2357198912), // S2_svsathub
1675 UINT64_C(2264924160), // S2_tableidxb
1676 UINT64_C(2277507072), // S2_tableidxd
1677 UINT64_C(2269118464), // S2_tableidxh
1678 UINT64_C(2273312768), // S2_tableidxw
1679 UINT64_C(2361393216), // S2_togglebit_i
1680 UINT64_C(3330277504), // S2_togglebit_r
1681 UINT64_C(2231369728), // S2_tstbit_i
1682 UINT64_C(3338665984), // S2_tstbit_r
1683 UINT64_C(3221225472), // S2_valignib
1684 UINT64_C(3254779904), // S2_valignrb
1685 UINT64_C(3284140096), // S2_vcnegh
1686 UINT64_C(3284140032), // S2_vcrotate
1687 UINT64_C(3407880416), // S2_vrcnegh
1688 UINT64_C(2290090112), // S2_vrndpackwh
1689 UINT64_C(2290090176), // S2_vrndpackwhs
1690 UINT64_C(2281701568), // S2_vsathb
1691 UINT64_C(2147483872), // S2_vsathb_nopack
1692 UINT64_C(2281701376), // S2_vsathub
1693 UINT64_C(2147483776), // S2_vsathub_nopack
1694 UINT64_C(2281701440), // S2_vsatwh
1695 UINT64_C(2147483840), // S2_vsatwh_nopack
1696 UINT64_C(2281701504), // S2_vsatwuh
1697 UINT64_C(2147483808), // S2_vsatwuh_nopack
1698 UINT64_C(2353004768), // S2_vsplatrb
1699 UINT64_C(2218786880), // S2_vsplatrh
1700 UINT64_C(3229614080), // S2_vspliceib
1701 UINT64_C(3263168512), // S2_vsplicerb
1702 UINT64_C(2214592512), // S2_vsxtbh
1703 UINT64_C(2214592640), // S2_vsxthw
1704 UINT64_C(2290090048), // S2_vtrunehb
1705 UINT64_C(3246391360), // S2_vtrunewh
1706 UINT64_C(2290089984), // S2_vtrunohb
1707 UINT64_C(3246391424), // S2_vtrunowh
1708 UINT64_C(2214592576), // S2_vzxtbh
1709 UINT64_C(2214592704), // S2_vzxthw
1710 UINT64_C(3674210304), // S4_addaddi
1711 UINT64_C(3724541956), // S4_addi_asl_ri
1712 UINT64_C(3724541972), // S4_addi_lsr_ri
1713 UINT64_C(3724541952), // S4_andi_asl_ri
1714 UINT64_C(3724541968), // S4_andi_lsr_ri
1715 UINT64_C(2350907392), // S4_clbaddi
1716 UINT64_C(2287992896), // S4_clbpaddi
1717 UINT64_C(2287992832), // S4_clbpnorm
1718 UINT64_C(2373976064), // S4_extract
1719 UINT64_C(3372220480), // S4_extract_rp
1720 UINT64_C(2315255808), // S4_extractp
1721 UINT64_C(3250585728), // S4_extractp_rp
1722 UINT64_C(3330277568), // S4_lsli
1723 UINT64_C(2233466880), // S4_ntstbit_i
1724 UINT64_C(3340763136), // S4_ntstbit_r
1725 UINT64_C(3657433088), // S4_or_andi
1726 UINT64_C(3661627392), // S4_or_andix
1727 UINT64_C(3665821696), // S4_or_ori
1728 UINT64_C(3724541954), // S4_ori_asl_ri
1729 UINT64_C(3724541970), // S4_ori_lsr_ri
1730 UINT64_C(3588227072), // S4_parity
1731 UINT64_C(2936012932), // S4_pstorerbf_abs
1732 UINT64_C(889192448), // S4_pstorerbf_rr
1733 UINT64_C(2936021124), // S4_pstorerbfnew_abs
1734 UINT64_C(1174405120), // S4_pstorerbfnew_io
1735 UINT64_C(922746880), // S4_pstorerbfnew_rr
1736 UINT64_C(2946498692), // S4_pstorerbnewf_abs
1737 UINT64_C(899678208), // S4_pstorerbnewf_rr
1738 UINT64_C(2946506884), // S4_pstorerbnewfnew_abs
1739 UINT64_C(1184890880), // S4_pstorerbnewfnew_io
1740 UINT64_C(933232640), // S4_pstorerbnewfnew_rr
1741 UINT64_C(2946498688), // S4_pstorerbnewt_abs
1742 UINT64_C(882900992), // S4_pstorerbnewt_rr
1743 UINT64_C(2946506880), // S4_pstorerbnewtnew_abs
1744 UINT64_C(1117782016), // S4_pstorerbnewtnew_io
1745 UINT64_C(916455424), // S4_pstorerbnewtnew_rr
1746 UINT64_C(2936012928), // S4_pstorerbt_abs
1747 UINT64_C(872415232), // S4_pstorerbt_rr
1748 UINT64_C(2936021120), // S4_pstorerbtnew_abs
1749 UINT64_C(1107296256), // S4_pstorerbtnew_io
1750 UINT64_C(905969664), // S4_pstorerbtnew_rr
1751 UINT64_C(2948595844), // S4_pstorerdf_abs
1752 UINT64_C(901775360), // S4_pstorerdf_rr
1753 UINT64_C(2948604036), // S4_pstorerdfnew_abs
1754 UINT64_C(1186988032), // S4_pstorerdfnew_io
1755 UINT64_C(935329792), // S4_pstorerdfnew_rr
1756 UINT64_C(2948595840), // S4_pstorerdt_abs
1757 UINT64_C(884998144), // S4_pstorerdt_rr
1758 UINT64_C(2948604032), // S4_pstorerdtnew_abs
1759 UINT64_C(1119879168), // S4_pstorerdtnew_io
1760 UINT64_C(918552576), // S4_pstorerdtnew_rr
1761 UINT64_C(2942304388), // S4_pstorerff_abs
1762 UINT64_C(895483904), // S4_pstorerff_rr
1763 UINT64_C(2942312580), // S4_pstorerffnew_abs
1764 UINT64_C(1180696576), // S4_pstorerffnew_io
1765 UINT64_C(929038336), // S4_pstorerffnew_rr
1766 UINT64_C(2942304384), // S4_pstorerft_abs
1767 UINT64_C(878706688), // S4_pstorerft_rr
1768 UINT64_C(2942312576), // S4_pstorerftnew_abs
1769 UINT64_C(1113587712), // S4_pstorerftnew_io
1770 UINT64_C(912261120), // S4_pstorerftnew_rr
1771 UINT64_C(2940207236), // S4_pstorerhf_abs
1772 UINT64_C(893386752), // S4_pstorerhf_rr
1773 UINT64_C(2940215428), // S4_pstorerhfnew_abs
1774 UINT64_C(1178599424), // S4_pstorerhfnew_io
1775 UINT64_C(926941184), // S4_pstorerhfnew_rr
1776 UINT64_C(2946500740), // S4_pstorerhnewf_abs
1777 UINT64_C(899678216), // S4_pstorerhnewf_rr
1778 UINT64_C(2946508932), // S4_pstorerhnewfnew_abs
1779 UINT64_C(1184892928), // S4_pstorerhnewfnew_io
1780 UINT64_C(933232648), // S4_pstorerhnewfnew_rr
1781 UINT64_C(2946500736), // S4_pstorerhnewt_abs
1782 UINT64_C(882901000), // S4_pstorerhnewt_rr
1783 UINT64_C(2946508928), // S4_pstorerhnewtnew_abs
1784 UINT64_C(1117784064), // S4_pstorerhnewtnew_io
1785 UINT64_C(916455432), // S4_pstorerhnewtnew_rr
1786 UINT64_C(2940207232), // S4_pstorerht_abs
1787 UINT64_C(876609536), // S4_pstorerht_rr
1788 UINT64_C(2940215424), // S4_pstorerhtnew_abs
1789 UINT64_C(1111490560), // S4_pstorerhtnew_io
1790 UINT64_C(910163968), // S4_pstorerhtnew_rr
1791 UINT64_C(2944401540), // S4_pstorerif_abs
1792 UINT64_C(897581056), // S4_pstorerif_rr
1793 UINT64_C(2944409732), // S4_pstorerifnew_abs
1794 UINT64_C(1182793728), // S4_pstorerifnew_io
1795 UINT64_C(931135488), // S4_pstorerifnew_rr
1796 UINT64_C(2946502788), // S4_pstorerinewf_abs
1797 UINT64_C(899678224), // S4_pstorerinewf_rr
1798 UINT64_C(2946510980), // S4_pstorerinewfnew_abs
1799 UINT64_C(1184894976), // S4_pstorerinewfnew_io
1800 UINT64_C(933232656), // S4_pstorerinewfnew_rr
1801 UINT64_C(2946502784), // S4_pstorerinewt_abs
1802 UINT64_C(882901008), // S4_pstorerinewt_rr
1803 UINT64_C(2946510976), // S4_pstorerinewtnew_abs
1804 UINT64_C(1117786112), // S4_pstorerinewtnew_io
1805 UINT64_C(916455440), // S4_pstorerinewtnew_rr
1806 UINT64_C(2944401536), // S4_pstorerit_abs
1807 UINT64_C(880803840), // S4_pstorerit_rr
1808 UINT64_C(2944409728), // S4_pstoreritnew_abs
1809 UINT64_C(1115684864), // S4_pstoreritnew_io
1810 UINT64_C(914358272), // S4_pstoreritnew_rr
1811 UINT64_C(2699034624), // S4_stored_locked
1812 UINT64_C(2699034632), // S4_stored_rl_at_vi
1813 UINT64_C(2699034664), // S4_stored_rl_st_vi
1814 UINT64_C(1006632960), // S4_storeirb_io
1815 UINT64_C(947912704), // S4_storeirbf_io
1816 UINT64_C(964689920), // S4_storeirbfnew_io
1817 UINT64_C(939524096), // S4_storeirbt_io
1818 UINT64_C(956301312), // S4_storeirbtnew_io
1819 UINT64_C(1008730112), // S4_storeirh_io
1820 UINT64_C(950009856), // S4_storeirhf_io
1821 UINT64_C(966787072), // S4_storeirhfnew_io
1822 UINT64_C(941621248), // S4_storeirht_io
1823 UINT64_C(958398464), // S4_storeirhtnew_io
1824 UINT64_C(1010827264), // S4_storeiri_io
1825 UINT64_C(952107008), // S4_storeirif_io
1826 UINT64_C(968884224), // S4_storeirifnew_io
1827 UINT64_C(943718400), // S4_storeirit_io
1828 UINT64_C(960495616), // S4_storeiritnew_io
1829 UINT64_C(2868904064), // S4_storerb_ap
1830 UINT64_C(989855744), // S4_storerb_rr
1831 UINT64_C(2902458496), // S4_storerb_ur
1832 UINT64_C(2879389824), // S4_storerbnew_ap
1833 UINT64_C(1000341504), // S4_storerbnew_rr
1834 UINT64_C(2912944256), // S4_storerbnew_ur
1835 UINT64_C(2881486976), // S4_storerd_ap
1836 UINT64_C(1002438656), // S4_storerd_rr
1837 UINT64_C(2915041408), // S4_storerd_ur
1838 UINT64_C(2875195520), // S4_storerf_ap
1839 UINT64_C(996147200), // S4_storerf_rr
1840 UINT64_C(2908749952), // S4_storerf_ur
1841 UINT64_C(2873098368), // S4_storerh_ap
1842 UINT64_C(994050048), // S4_storerh_rr
1843 UINT64_C(2906652800), // S4_storerh_ur
1844 UINT64_C(2879391872), // S4_storerhnew_ap
1845 UINT64_C(1000341512), // S4_storerhnew_rr
1846 UINT64_C(2912946304), // S4_storerhnew_ur
1847 UINT64_C(2877292672), // S4_storeri_ap
1848 UINT64_C(998244352), // S4_storeri_rr
1849 UINT64_C(2910847104), // S4_storeri_ur
1850 UINT64_C(2879393920), // S4_storerinew_ap
1851 UINT64_C(1000341520), // S4_storerinew_rr
1852 UINT64_C(2912948352), // S4_storerinew_ur
1853 UINT64_C(3682598912), // S4_subaddi
1854 UINT64_C(3724541958), // S4_subi_asl_ri
1855 UINT64_C(3724541974), // S4_subi_lsr_ri
1856 UINT64_C(3284140224), // S4_vrcrotate
1857 UINT64_C(3416260608), // S4_vrcrotate_acc
1858 UINT64_C(3242197120), // S4_vxaddsubh
1859 UINT64_C(3250585600), // S4_vxaddsubhr
1860 UINT64_C(3242196992), // S4_vxaddsubw
1861 UINT64_C(3242197184), // S4_vxsubaddh
1862 UINT64_C(3250585664), // S4_vxsubaddhr
1863 UINT64_C(3242197056), // S4_vxsubaddw
1864 UINT64_C(2287992960), // S5_asrhub_rnd_sat
1865 UINT64_C(2287992992), // S5_asrhub_sat
1866 UINT64_C(2287992928), // S5_popcountp
1867 UINT64_C(2149580800), // S5_vasrhrnd
1868 UINT64_C(2147483744), // S6_rol_i_p
1869 UINT64_C(2181038304), // S6_rol_i_p_acc
1870 UINT64_C(2185232480), // S6_rol_i_p_and
1871 UINT64_C(2181038176), // S6_rol_i_p_nac
1872 UINT64_C(2185232608), // S6_rol_i_p_or
1873 UINT64_C(2189426784), // S6_rol_i_p_xacc
1874 UINT64_C(2348810336), // S6_rol_i_r
1875 UINT64_C(2382364896), // S6_rol_i_r_acc
1876 UINT64_C(2386559072), // S6_rol_i_r_and
1877 UINT64_C(2382364768), // S6_rol_i_r_nac
1878 UINT64_C(2386559200), // S6_rol_i_r_or
1879 UINT64_C(2390753376), // S6_rol_i_r_xacc
1880 UINT64_C(2218786944), // S6_vsplatrbp
1881 UINT64_C(3246391392), // S6_vtrunehb_ppp
1882 UINT64_C(3246391456), // S6_vtrunohb_ppp
1883 UINT64_C(0), // SA1_addi
1884 UINT64_C(6144), // SA1_addrx
1885 UINT64_C(3072), // SA1_addsp
1886 UINT64_C(4608), // SA1_and1
1887 UINT64_C(6768), // SA1_clrf
1888 UINT64_C(6736), // SA1_clrfnew
1889 UINT64_C(6752), // SA1_clrt
1890 UINT64_C(6720), // SA1_clrtnew
1891 UINT64_C(6400), // SA1_cmpeqi
1892 UINT64_C(7168), // SA1_combine0i
1893 UINT64_C(7176), // SA1_combine1i
1894 UINT64_C(7184), // SA1_combine2i
1895 UINT64_C(7192), // SA1_combine3i
1896 UINT64_C(7432), // SA1_combinerz
1897 UINT64_C(7424), // SA1_combinezr
1898 UINT64_C(4864), // SA1_dec
1899 UINT64_C(4352), // SA1_inc
1900 UINT64_C(2048), // SA1_seti
1901 UINT64_C(6656), // SA1_setin1
1902 UINT64_C(5376), // SA1_sxtb
1903 UINT64_C(5120), // SA1_sxth
1904 UINT64_C(4096), // SA1_tfr
1905 UINT64_C(5888), // SA1_zxtb
1906 UINT64_C(5632), // SA1_zxth
1907 UINT64_C(1509949440), // SAVE_REGISTERS_CALL_V4
1908 UINT64_C(1509949440), // SAVE_REGISTERS_CALL_V4STK
1909 UINT64_C(1509949440), // SAVE_REGISTERS_CALL_V4STK_EXT
1910 UINT64_C(1509949440), // SAVE_REGISTERS_CALL_V4STK_EXT_PIC
1911 UINT64_C(1509949440), // SAVE_REGISTERS_CALL_V4STK_PIC
1912 UINT64_C(1509949440), // SAVE_REGISTERS_CALL_V4_EXT
1913 UINT64_C(1509949440), // SAVE_REGISTERS_CALL_V4_EXT_PIC
1914 UINT64_C(1509949440), // SAVE_REGISTERS_CALL_V4_PIC
1915 UINT64_C(0), // SL1_loadri_io
1916 UINT64_C(4096), // SL1_loadrub_io
1917 UINT64_C(7936), // SL2_deallocframe
1918 UINT64_C(8128), // SL2_jumpr31
1919 UINT64_C(8133), // SL2_jumpr31_f
1920 UINT64_C(8135), // SL2_jumpr31_fnew
1921 UINT64_C(8132), // SL2_jumpr31_t
1922 UINT64_C(8134), // SL2_jumpr31_tnew
1923 UINT64_C(4096), // SL2_loadrb_io
1924 UINT64_C(7680), // SL2_loadrd_sp
1925 UINT64_C(0), // SL2_loadrh_io
1926 UINT64_C(7168), // SL2_loadri_sp
1927 UINT64_C(2048), // SL2_loadruh_io
1928 UINT64_C(8000), // SL2_return
1929 UINT64_C(8005), // SL2_return_f
1930 UINT64_C(8007), // SL2_return_fnew
1931 UINT64_C(8004), // SL2_return_t
1932 UINT64_C(8006), // SL2_return_tnew
1933 UINT64_C(4096), // SS1_storeb_io
1934 UINT64_C(0), // SS1_storew_io
1935 UINT64_C(7168), // SS2_allocframe
1936 UINT64_C(7680), // SS2_allocframe_rb
1937 UINT64_C(4608), // SS2_storebi0
1938 UINT64_C(4864), // SS2_storebi1
1939 UINT64_C(2560), // SS2_stored_sp
1940 UINT64_C(0), // SS2_storeh_io
1941 UINT64_C(2048), // SS2_storew_sp
1942 UINT64_C(4096), // SS2_storewi0
1943 UINT64_C(4352), // SS2_storewi1
1944 UINT64_C(0), // TFRI64_V2_ext
1945 UINT64_C(0), // TFRI64_V4
1946 UINT64_C(1619003392), // V2_vallocframe_imm
1947 UINT64_C(1619005440), // V2_vallocframe_reg
1948 UINT64_C(1786775552), // V2_vdeallocframe_imm
1949 UINT64_C(1765806080), // V2_vdeallocframe_reg
1950 UINT64_C(2449473568), // V6_extractw
1951 UINT64_C(432013536), // V6_get_qfext
1952 UINT64_C(432013504), // V6_get_qfext_oracc
1953 UINT64_C(432013376), // V6_lvsplatb
1954 UINT64_C(432013344), // V6_lvsplath
1955 UINT64_C(429916192), // V6_lvsplatw
1956 UINT64_C(503513088), // V6_pred_and
1957 UINT64_C(503513108), // V6_pred_and_n
1958 UINT64_C(503513096), // V6_pred_not
1959 UINT64_C(503513092), // V6_pred_or
1960 UINT64_C(503513104), // V6_pred_or_n
1961 UINT64_C(429916228), // V6_pred_scalar2
1962 UINT64_C(429916236), // V6_pred_scalar2v2
1963 UINT64_C(503513100), // V6_pred_xor
1964 UINT64_C(432013408), // V6_set_qfext
1965 UINT64_C(503513112), // V6_shuffeqh
1966 UINT64_C(503513116), // V6_shuffeqw
1967 UINT64_C(524296320), // V6_v6mpyhubs10
1968 UINT64_C(522199168), // V6_v6mpyhubs10_vxx
1969 UINT64_C(524296192), // V6_v6mpyvubs10
1970 UINT64_C(522199040), // V6_v6mpyvubs10_vxx
1971 UINT64_C(671088864), // V6_vL32Ub_ai
1972 UINT64_C(687866080), // V6_vL32Ub_pi
1973 UINT64_C(721420512), // V6_vL32Ub_ppu
1974 UINT64_C(671088640), // V6_vL32b_ai
1975 UINT64_C(671088672), // V6_vL32b_cur_ai
1976 UINT64_C(679477408), // V6_vL32b_cur_npred_ai
1977 UINT64_C(696254624), // V6_vL32b_cur_npred_pi
1978 UINT64_C(729809056), // V6_vL32b_cur_npred_ppu
1979 UINT64_C(687865888), // V6_vL32b_cur_pi
1980 UINT64_C(721420320), // V6_vL32b_cur_ppu
1981 UINT64_C(679477376), // V6_vL32b_cur_pred_ai
1982 UINT64_C(696254592), // V6_vL32b_cur_pred_pi
1983 UINT64_C(729809024), // V6_vL32b_cur_pred_ppu
1984 UINT64_C(679477344), // V6_vL32b_npred_ai
1985 UINT64_C(696254560), // V6_vL32b_npred_pi
1986 UINT64_C(729808992), // V6_vL32b_npred_ppu
1987 UINT64_C(675282944), // V6_vL32b_nt_ai
1988 UINT64_C(675282976), // V6_vL32b_nt_cur_ai
1989 UINT64_C(683671712), // V6_vL32b_nt_cur_npred_ai
1990 UINT64_C(700448928), // V6_vL32b_nt_cur_npred_pi
1991 UINT64_C(734003360), // V6_vL32b_nt_cur_npred_ppu
1992 UINT64_C(692060192), // V6_vL32b_nt_cur_pi
1993 UINT64_C(725614624), // V6_vL32b_nt_cur_ppu
1994 UINT64_C(683671680), // V6_vL32b_nt_cur_pred_ai
1995 UINT64_C(700448896), // V6_vL32b_nt_cur_pred_pi
1996 UINT64_C(734003328), // V6_vL32b_nt_cur_pred_ppu
1997 UINT64_C(683671648), // V6_vL32b_nt_npred_ai
1998 UINT64_C(700448864), // V6_vL32b_nt_npred_pi
1999 UINT64_C(734003296), // V6_vL32b_nt_npred_ppu
2000 UINT64_C(692060160), // V6_vL32b_nt_pi
2001 UINT64_C(725614592), // V6_vL32b_nt_ppu
2002 UINT64_C(683671616), // V6_vL32b_nt_pred_ai
2003 UINT64_C(700448832), // V6_vL32b_nt_pred_pi
2004 UINT64_C(734003264), // V6_vL32b_nt_pred_ppu
2005 UINT64_C(675283008), // V6_vL32b_nt_tmp_ai
2006 UINT64_C(683671776), // V6_vL32b_nt_tmp_npred_ai
2007 UINT64_C(700448992), // V6_vL32b_nt_tmp_npred_pi
2008 UINT64_C(734003424), // V6_vL32b_nt_tmp_npred_ppu
2009 UINT64_C(692060224), // V6_vL32b_nt_tmp_pi
2010 UINT64_C(725614656), // V6_vL32b_nt_tmp_ppu
2011 UINT64_C(683671744), // V6_vL32b_nt_tmp_pred_ai
2012 UINT64_C(700448960), // V6_vL32b_nt_tmp_pred_pi
2013 UINT64_C(734003392), // V6_vL32b_nt_tmp_pred_ppu
2014 UINT64_C(687865856), // V6_vL32b_pi
2015 UINT64_C(721420288), // V6_vL32b_ppu
2016 UINT64_C(679477312), // V6_vL32b_pred_ai
2017 UINT64_C(696254528), // V6_vL32b_pred_pi
2018 UINT64_C(729808960), // V6_vL32b_pred_ppu
2019 UINT64_C(671088704), // V6_vL32b_tmp_ai
2020 UINT64_C(679477472), // V6_vL32b_tmp_npred_ai
2021 UINT64_C(696254688), // V6_vL32b_tmp_npred_pi
2022 UINT64_C(729809120), // V6_vL32b_tmp_npred_ppu
2023 UINT64_C(687865920), // V6_vL32b_tmp_pi
2024 UINT64_C(721420352), // V6_vL32b_tmp_ppu
2025 UINT64_C(679477440), // V6_vL32b_tmp_pred_ai
2026 UINT64_C(696254656), // V6_vL32b_tmp_pred_pi
2027 UINT64_C(729809088), // V6_vL32b_tmp_pred_ppu
2028 UINT64_C(673186016), // V6_vS32Ub_ai
2029 UINT64_C(681574624), // V6_vS32Ub_npred_ai
2030 UINT64_C(698351840), // V6_vS32Ub_npred_pi
2031 UINT64_C(731906272), // V6_vS32Ub_npred_ppu
2032 UINT64_C(689963232), // V6_vS32Ub_pi
2033 UINT64_C(723517664), // V6_vS32Ub_ppu
2034 UINT64_C(681574592), // V6_vS32Ub_pred_ai
2035 UINT64_C(698351808), // V6_vS32Ub_pred_pi
2036 UINT64_C(731906240), // V6_vS32Ub_pred_ppu
2037 UINT64_C(673185792), // V6_vS32b_ai
2038 UINT64_C(673185824), // V6_vS32b_new_ai
2039 UINT64_C(681574504), // V6_vS32b_new_npred_ai
2040 UINT64_C(698351720), // V6_vS32b_new_npred_pi
2041 UINT64_C(731906152), // V6_vS32b_new_npred_ppu
2042 UINT64_C(689963040), // V6_vS32b_new_pi
2043 UINT64_C(723517472), // V6_vS32b_new_ppu
2044 UINT64_C(681574464), // V6_vS32b_new_pred_ai
2045 UINT64_C(698351680), // V6_vS32b_new_pred_pi
2046 UINT64_C(731906112), // V6_vS32b_new_pred_ppu
2047 UINT64_C(681574432), // V6_vS32b_npred_ai
2048 UINT64_C(698351648), // V6_vS32b_npred_pi
2049 UINT64_C(731906080), // V6_vS32b_npred_ppu
2050 UINT64_C(679477280), // V6_vS32b_nqpred_ai
2051 UINT64_C(696254496), // V6_vS32b_nqpred_pi
2052 UINT64_C(729808928), // V6_vS32b_nqpred_ppu
2053 UINT64_C(677380096), // V6_vS32b_nt_ai
2054 UINT64_C(677380128), // V6_vS32b_nt_new_ai
2055 UINT64_C(685768824), // V6_vS32b_nt_new_npred_ai
2056 UINT64_C(702546040), // V6_vS32b_nt_new_npred_pi
2057 UINT64_C(736100472), // V6_vS32b_nt_new_npred_ppu
2058 UINT64_C(694157344), // V6_vS32b_nt_new_pi
2059 UINT64_C(727711776), // V6_vS32b_nt_new_ppu
2060 UINT64_C(685768784), // V6_vS32b_nt_new_pred_ai
2061 UINT64_C(702546000), // V6_vS32b_nt_new_pred_pi
2062 UINT64_C(736100432), // V6_vS32b_nt_new_pred_ppu
2063 UINT64_C(685768736), // V6_vS32b_nt_npred_ai
2064 UINT64_C(702545952), // V6_vS32b_nt_npred_pi
2065 UINT64_C(736100384), // V6_vS32b_nt_npred_ppu
2066 UINT64_C(683671584), // V6_vS32b_nt_nqpred_ai
2067 UINT64_C(700448800), // V6_vS32b_nt_nqpred_pi
2068 UINT64_C(734003232), // V6_vS32b_nt_nqpred_ppu
2069 UINT64_C(694157312), // V6_vS32b_nt_pi
2070 UINT64_C(727711744), // V6_vS32b_nt_ppu
2071 UINT64_C(685768704), // V6_vS32b_nt_pred_ai
2072 UINT64_C(702545920), // V6_vS32b_nt_pred_pi
2073 UINT64_C(736100352), // V6_vS32b_nt_pred_ppu
2074 UINT64_C(683671552), // V6_vS32b_nt_qpred_ai
2075 UINT64_C(700448768), // V6_vS32b_nt_qpred_pi
2076 UINT64_C(734003200), // V6_vS32b_nt_qpred_ppu
2077 UINT64_C(689963008), // V6_vS32b_pi
2078 UINT64_C(723517440), // V6_vS32b_ppu
2079 UINT64_C(681574400), // V6_vS32b_pred_ai
2080 UINT64_C(698351616), // V6_vS32b_pred_pi
2081 UINT64_C(731906048), // V6_vS32b_pred_ppu
2082 UINT64_C(679477248), // V6_vS32b_qpred_ai
2083 UINT64_C(696254464), // V6_vS32b_qpred_pi
2084 UINT64_C(729808896), // V6_vS32b_qpred_ppu
2085 UINT64_C(673185832), // V6_vS32b_srls_ai
2086 UINT64_C(689963048), // V6_vS32b_srls_pi
2087 UINT64_C(723517480), // V6_vS32b_srls_ppu
2088 UINT64_C(476455104), // V6_vabs_f8
2089 UINT64_C(503718016), // V6_vabs_hf
2090 UINT64_C(504242368), // V6_vabs_qf16_hf
2091 UINT64_C(504242400), // V6_vabs_qf16_qf16
2092 UINT64_C(504242336), // V6_vabs_qf32_qf32
2093 UINT64_C(504242304), // V6_vabs_qf32_sf
2094 UINT64_C(503718048), // V6_vabs_sf
2095 UINT64_C(503382144), // V6_vabsb
2096 UINT64_C(503382176), // V6_vabsb_sat
2097 UINT64_C(482344992), // V6_vabsdiffh
2098 UINT64_C(482344960), // V6_vabsdiffub
2099 UINT64_C(482345024), // V6_vabsdiffuh
2100 UINT64_C(446701632), // V6_vabsdiffuw
2101 UINT64_C(482345056), // V6_vabsdiffw
2102 UINT64_C(503316480), // V6_vabsh
2103 UINT64_C(503316512), // V6_vabsh_sat
2104 UINT64_C(503316544), // V6_vabsw
2105 UINT64_C(503316576), // V6_vabsw_sat
2106 UINT64_C(526393440), // V6_vadd_hf
2107 UINT64_C(528482432), // V6_vadd_hf_f8
2108 UINT64_C(530587872), // V6_vadd_hf_hf
2109 UINT64_C(526393408), // V6_vadd_qf16
2110 UINT64_C(526393472), // V6_vadd_qf16_mix
2111 UINT64_C(530587648), // V6_vadd_qf32
2112 UINT64_C(530587712), // V6_vadd_qf32_mix
2113 UINT64_C(530587680), // V6_vadd_sf
2114 UINT64_C(490741952), // V6_vadd_sf_bf
2115 UINT64_C(528490624), // V6_vadd_sf_hf
2116 UINT64_C(528490688), // V6_vadd_sf_sf
2117 UINT64_C(530579648), // V6_vaddb
2118 UINT64_C(476053632), // V6_vaddb_dv
2119 UINT64_C(503390304), // V6_vaddbnq
2120 UINT64_C(503390208), // V6_vaddbq
2121 UINT64_C(520093696), // V6_vaddbsat
2122 UINT64_C(513802240), // V6_vaddbsat_dv
2123 UINT64_C(480256000), // V6_vaddcarry
2124 UINT64_C(497033216), // V6_vaddcarryo
2125 UINT64_C(494936064), // V6_vaddcarrysat
2126 UINT64_C(520101888), // V6_vaddclbh
2127 UINT64_C(520101920), // V6_vaddclbw
2128 UINT64_C(530579680), // V6_vaddh
2129 UINT64_C(476053664), // V6_vaddh_dv
2130 UINT64_C(503390336), // V6_vaddhnq
2131 UINT64_C(503390240), // V6_vaddhq
2132 UINT64_C(473956448), // V6_vaddhsat
2133 UINT64_C(478150688), // V6_vaddhsat_dv
2134 UINT64_C(480247936), // V6_vaddhw
2135 UINT64_C(471867456), // V6_vaddhw_acc
2136 UINT64_C(480247872), // V6_vaddubh
2137 UINT64_C(473964704), // V6_vaddubh_acc
2138 UINT64_C(473956384), // V6_vaddubsat
2139 UINT64_C(476053728), // V6_vaddubsat_dv
2140 UINT64_C(513802368), // V6_vaddububb_sat
2141 UINT64_C(444604608), // V6_vadduhhsat
2142 UINT64_C(473956416), // V6_vadduhsat
2143 UINT64_C(478150656), // V6_vadduhsat_dv
2144 UINT64_C(480247904), // V6_vadduhw
2145 UINT64_C(473964672), // V6_vadduhw_acc
2146 UINT64_C(526385184), // V6_vadduwsat
2147 UINT64_C(513802304), // V6_vadduwsat_dv
2148 UINT64_C(436216000), // V6_vadduwwsat_dv
2149 UINT64_C(473956352), // V6_vaddw
2150 UINT64_C(476053696), // V6_vaddw_dv
2151 UINT64_C(503390368), // V6_vaddwnq
2152 UINT64_C(503390272), // V6_vaddwq
2153 UINT64_C(473956480), // V6_vaddwsat
2154 UINT64_C(478150720), // V6_vaddwsat_dv
2155 UINT64_C(402653344), // V6_valign4
2156 UINT64_C(452984832), // V6_valignb
2157 UINT64_C(505421824), // V6_valignbi
2158 UINT64_C(471859360), // V6_vand
2159 UINT64_C(429917344), // V6_vandnqrt
2160 UINT64_C(425731168), // V6_vandnqrt_acc
2161 UINT64_C(429916320), // V6_vandqrt
2162 UINT64_C(425730144), // V6_vandqrt_acc
2163 UINT64_C(503521312), // V6_vandvnqv
2164 UINT64_C(503521280), // V6_vandvqv
2165 UINT64_C(429916232), // V6_vandvrt
2166 UINT64_C(425730176), // V6_vandvrt_acc
2167 UINT64_C(427819008), // V6_vaslh
2168 UINT64_C(429924512), // V6_vaslh_acc
2169 UINT64_C(530579616), // V6_vaslhv
2170 UINT64_C(425722080), // V6_vaslw
2171 UINT64_C(425730112), // V6_vaslw_acc
2172 UINT64_C(530579584), // V6_vaslwv
2173 UINT64_C(446701792), // V6_vasr_into
2174 UINT64_C(425722048), // V6_vasrh
2175 UINT64_C(427827424), // V6_vasrh_acc
2176 UINT64_C(452993024), // V6_vasrhbrndsat
2177 UINT64_C(402653184), // V6_vasrhbsat
2178 UINT64_C(452985056), // V6_vasrhubrndsat
2179 UINT64_C(452985024), // V6_vasrhubsat
2180 UINT64_C(530579552), // V6_vasrhv
2181 UINT64_C(402653408), // V6_vasruhubrndsat
2182 UINT64_C(402661536), // V6_vasruhubsat
2183 UINT64_C(402653216), // V6_vasruwuhrndsat
2184 UINT64_C(402661504), // V6_vasruwuhsat
2185 UINT64_C(486539360), // V6_vasrvuhubrndsat
2186 UINT64_C(486539328), // V6_vasrvuhubsat
2187 UINT64_C(486539296), // V6_vasrvwuhrndsat
2188 UINT64_C(486539264), // V6_vasrvwuhsat
2189 UINT64_C(425722016), // V6_vasrw
2190 UINT64_C(425730208), // V6_vasrw_acc
2191 UINT64_C(452984896), // V6_vasrwh
2192 UINT64_C(452984960), // V6_vasrwhrndsat
2193 UINT64_C(452984928), // V6_vasrwhsat
2194 UINT64_C(402653248), // V6_vasrwuhrndsat
2195 UINT64_C(452984992), // V6_vasrwuhsat
2196 UINT64_C(530579456), // V6_vasrwv
2197 UINT64_C(503521504), // V6_vassign
2198 UINT64_C(503717920), // V6_vassign_fp
2199 UINT64_C(503382208), // V6_vassign_tmp
2200 UINT64_C(520102016), // V6_vavgb
2201 UINT64_C(520102048), // V6_vavgbrnd
2202 UINT64_C(482345152), // V6_vavgh
2203 UINT64_C(484442272), // V6_vavghrnd
2204 UINT64_C(482345088), // V6_vavgub
2205 UINT64_C(484442208), // V6_vavgubrnd
2206 UINT64_C(482345120), // V6_vavguh
2207 UINT64_C(484442240), // V6_vavguhrnd
2208 UINT64_C(520101952), // V6_vavguw
2209 UINT64_C(520101984), // V6_vavguwrnd
2210 UINT64_C(482345184), // V6_vavgw
2211 UINT64_C(484442304), // V6_vavgwrnd
2212 UINT64_C(442499072), // V6_vccombine
2213 UINT64_C(503447776), // V6_vcl0h
2214 UINT64_C(503447712), // V6_vcl0w
2215 UINT64_C(436207616), // V6_vcmov
2216 UINT64_C(524288224), // V6_vcombine
2217 UINT64_C(513802464), // V6_vcombine_tmp
2218 UINT64_C(503718112), // V6_vconv_bf_qf32
2219 UINT64_C(504111328), // V6_vconv_f8_qf16
2220 UINT64_C(503652416), // V6_vconv_h_hf
2221 UINT64_C(503718080), // V6_vconv_h_hf_rnd
2222 UINT64_C(503652480), // V6_vconv_hf_h
2223 UINT64_C(503586912), // V6_vconv_hf_qf16
2224 UINT64_C(503587008), // V6_vconv_hf_qf32
2225 UINT64_C(504111264), // V6_vconv_qf16_f8
2226 UINT64_C(504111232), // V6_vconv_qf16_hf
2227 UINT64_C(504111296), // V6_vconv_qf16_qf16
2228 UINT64_C(504176864), // V6_vconv_qf32_qf32
2229 UINT64_C(504176832), // V6_vconv_qf32_sf
2230 UINT64_C(503586816), // V6_vconv_sf_qf32
2231 UINT64_C(503652448), // V6_vconv_sf_w
2232 UINT64_C(503652384), // V6_vconv_w_sf
2233 UINT64_C(448798912), // V6_vcvt2_b_hf
2234 UINT64_C(517284032), // V6_vcvt2_hf_b
2235 UINT64_C(517284064), // V6_vcvt2_hf_ub
2236 UINT64_C(448798944), // V6_vcvt2_ub_hf
2237 UINT64_C(532684992), // V6_vcvt_b_hf
2238 UINT64_C(490741856), // V6_vcvt_bf_sf
2239 UINT64_C(534782016), // V6_vcvt_f8_hf
2240 UINT64_C(503717888), // V6_vcvt_h_hf
2241 UINT64_C(503586880), // V6_vcvt_hf_b
2242 UINT64_C(503652512), // V6_vcvt_hf_f8
2243 UINT64_C(503587040), // V6_vcvt_hf_h
2244 UINT64_C(526393376), // V6_vcvt_hf_sf
2245 UINT64_C(503586848), // V6_vcvt_hf_ub
2246 UINT64_C(503586976), // V6_vcvt_hf_uh
2247 UINT64_C(503586944), // V6_vcvt_sf_hf
2248 UINT64_C(532684960), // V6_vcvt_ub_hf
2249 UINT64_C(503652352), // V6_vcvt_uh_hf
2250 UINT64_C(434118720), // V6_vdeal
2251 UINT64_C(503316704), // V6_vdealb
2252 UINT64_C(522191072), // V6_vdealb4w
2253 UINT64_C(503316672), // V6_vdealh
2254 UINT64_C(452993152), // V6_vdealvdd
2255 UINT64_C(522190880), // V6_vdelta
2256 UINT64_C(530587840), // V6_vdmpy_sf_hf
2257 UINT64_C(473964640), // V6_vdmpy_sf_hf_acc
2258 UINT64_C(419430592), // V6_vdmpybus
2259 UINT64_C(419438784), // V6_vdmpybus_acc
2260 UINT64_C(419430624), // V6_vdmpybus_dv
2261 UINT64_C(419438816), // V6_vdmpybus_dv_acc
2262 UINT64_C(419430464), // V6_vdmpyhb
2263 UINT64_C(419438688), // V6_vdmpyhb_acc
2264 UINT64_C(421527680), // V6_vdmpyhb_dv
2265 UINT64_C(421535872), // V6_vdmpyhb_dv_acc
2266 UINT64_C(421527648), // V6_vdmpyhisat
2267 UINT64_C(421535808), // V6_vdmpyhisat_acc
2268 UINT64_C(421527616), // V6_vdmpyhsat
2269 UINT64_C(421535840), // V6_vdmpyhsat_acc
2270 UINT64_C(421527584), // V6_vdmpyhsuisat
2271 UINT64_C(421535776), // V6_vdmpyhsuisat_acc
2272 UINT64_C(421527552), // V6_vdmpyhsusat
2273 UINT64_C(421535744), // V6_vdmpyhsusat_acc
2274 UINT64_C(469762144), // V6_vdmpyhvsat
2275 UINT64_C(469770336), // V6_vdmpyhvsat_acc
2276 UINT64_C(419430560), // V6_vdsaduh
2277 UINT64_C(425730048), // V6_vdsaduh_acc
2278 UINT64_C(528482304), // V6_veqb
2279 UINT64_C(478158848), // V6_veqb_and
2280 UINT64_C(478158912), // V6_veqb_or
2281 UINT64_C(478158976), // V6_veqb_xor
2282 UINT64_C(528482308), // V6_veqh
2283 UINT64_C(478158852), // V6_veqh_and
2284 UINT64_C(478158916), // V6_veqh_or
2285 UINT64_C(478158980), // V6_veqh_xor
2286 UINT64_C(528482332), // V6_veqhf
2287 UINT64_C(478158876), // V6_veqhf_and
2288 UINT64_C(478158940), // V6_veqhf_or
2289 UINT64_C(478159004), // V6_veqhf_xor
2290 UINT64_C(528482316), // V6_veqsf
2291 UINT64_C(478158860), // V6_veqsf_and
2292 UINT64_C(478158924), // V6_veqsf_or
2293 UINT64_C(478158988), // V6_veqsf_xor
2294 UINT64_C(528482312), // V6_veqw
2295 UINT64_C(478158856), // V6_veqw_and
2296 UINT64_C(478158920), // V6_veqw_or
2297 UINT64_C(478158984), // V6_veqw_xor
2298 UINT64_C(476061856), // V6_vfmax_f8
2299 UINT64_C(476061760), // V6_vfmax_hf
2300 UINT64_C(476061792), // V6_vfmax_sf
2301 UINT64_C(476061824), // V6_vfmin_f8
2302 UINT64_C(476061696), // V6_vfmin_hf
2303 UINT64_C(476061728), // V6_vfmin_sf
2304 UINT64_C(476455136), // V6_vfneg_f8
2305 UINT64_C(503717952), // V6_vfneg_hf
2306 UINT64_C(503717984), // V6_vfneg_sf
2307 UINT64_C(788529408), // V6_vgathermh
2308 UINT64_C(788530432), // V6_vgathermhq
2309 UINT64_C(788529664), // V6_vgathermhw
2310 UINT64_C(788530688), // V6_vgathermhwq
2311 UINT64_C(788529152), // V6_vgathermw
2312 UINT64_C(788530176), // V6_vgathermwq
2313 UINT64_C(528482320), // V6_vgtb
2314 UINT64_C(478158864), // V6_vgtb_and
2315 UINT64_C(478158928), // V6_vgtb_or
2316 UINT64_C(478158992), // V6_vgtb_xor
2317 UINT64_C(478158968), // V6_vgtbf
2318 UINT64_C(478159056), // V6_vgtbf_and
2319 UINT64_C(478158904), // V6_vgtbf_or
2320 UINT64_C(478159088), // V6_vgtbf_xor
2321 UINT64_C(528482324), // V6_vgth
2322 UINT64_C(478158868), // V6_vgth_and
2323 UINT64_C(478158932), // V6_vgth_or
2324 UINT64_C(478158996), // V6_vgth_xor
2325 UINT64_C(478158964), // V6_vgthf
2326 UINT64_C(478159052), // V6_vgthf_and
2327 UINT64_C(478158900), // V6_vgthf_or
2328 UINT64_C(478159084), // V6_vgthf_xor
2329 UINT64_C(478158960), // V6_vgtsf
2330 UINT64_C(478159048), // V6_vgtsf_and
2331 UINT64_C(478158896), // V6_vgtsf_or
2332 UINT64_C(478159080), // V6_vgtsf_xor
2333 UINT64_C(528482336), // V6_vgtub
2334 UINT64_C(478158880), // V6_vgtub_and
2335 UINT64_C(478158944), // V6_vgtub_or
2336 UINT64_C(478159008), // V6_vgtub_xor
2337 UINT64_C(528482340), // V6_vgtuh
2338 UINT64_C(478158884), // V6_vgtuh_and
2339 UINT64_C(478158948), // V6_vgtuh_or
2340 UINT64_C(478159012), // V6_vgtuh_xor
2341 UINT64_C(528482344), // V6_vgtuw
2342 UINT64_C(478158888), // V6_vgtuw_and
2343 UINT64_C(478158952), // V6_vgtuw_or
2344 UINT64_C(478159016), // V6_vgtuw_xor
2345 UINT64_C(528482328), // V6_vgtw
2346 UINT64_C(478158872), // V6_vgtw_and
2347 UINT64_C(478158936), // V6_vgtw_or
2348 UINT64_C(478159000), // V6_vgtw_xor
2349 UINT64_C(503324800), // V6_vhist
2350 UINT64_C(503455872), // V6_vhistq
2351 UINT64_C(504111200), // V6_vilog2_hf
2352 UINT64_C(504111136), // V6_vilog2_qf16
2353 UINT64_C(504111104), // V6_vilog2_qf32
2354 UINT64_C(504111168), // V6_vilog2_sf
2355 UINT64_C(429924384), // V6_vinsertwr
2356 UINT64_C(452984864), // V6_vlalignb
2357 UINT64_C(509616128), // V6_vlalignbi
2358 UINT64_C(427819104), // V6_vlsrb
2359 UINT64_C(427819072), // V6_vlsrh
2360 UINT64_C(530579520), // V6_vlsrhv
2361 UINT64_C(427819040), // V6_vlsrw
2362 UINT64_C(530579488), // V6_vlsrwv
2363 UINT64_C(425721984), // V6_vlut4
2364 UINT64_C(452993056), // V6_vlutvvb
2365 UINT64_C(402653280), // V6_vlutvvb_nm
2366 UINT64_C(452993184), // V6_vlutvvb_oracc
2367 UINT64_C(482353152), // V6_vlutvvb_oracci
2368 UINT64_C(505413632), // V6_vlutvvbi
2369 UINT64_C(452993216), // V6_vlutvwh
2370 UINT64_C(402653312), // V6_vlutvwh_nm
2371 UINT64_C(452993248), // V6_vlutvwh_oracc
2372 UINT64_C(484450304), // V6_vlutvwh_oracci
2373 UINT64_C(509607936), // V6_vlutvwhi
2374 UINT64_C(490741984), // V6_vmax_bf
2375 UINT64_C(532684896), // V6_vmax_hf
2376 UINT64_C(532684832), // V6_vmax_sf
2377 UINT64_C(522191008), // V6_vmaxb
2378 UINT64_C(520093920), // V6_vmaxh
2379 UINT64_C(520093856), // V6_vmaxub
2380 UINT64_C(520093888), // V6_vmaxuh
2381 UINT64_C(446701568), // V6_vmaxuw
2382 UINT64_C(522190848), // V6_vmaxw
2383 UINT64_C(520102112), // V6_vmerge_qf
2384 UINT64_C(490741760), // V6_vmin_bf
2385 UINT64_C(532684928), // V6_vmin_hf
2386 UINT64_C(532684864), // V6_vmin_sf
2387 UINT64_C(522190976), // V6_vminb
2388 UINT64_C(520093792), // V6_vminh
2389 UINT64_C(520093728), // V6_vminub
2390 UINT64_C(520093760), // V6_vminuh
2391 UINT64_C(446701600), // V6_vminuw
2392 UINT64_C(520093824), // V6_vminw
2393 UINT64_C(421527744), // V6_vmpabus
2394 UINT64_C(421535936), // V6_vmpabus_acc
2395 UINT64_C(471859296), // V6_vmpabusv
2396 UINT64_C(425721952), // V6_vmpabuu
2397 UINT64_C(429924480), // V6_vmpabuu_acc
2398 UINT64_C(484442336), // V6_vmpabuuv
2399 UINT64_C(421527776), // V6_vmpahb
2400 UINT64_C(421535968), // V6_vmpahb_acc
2401 UINT64_C(427827328), // V6_vmpahhsat
2402 UINT64_C(446701728), // V6_vmpar_uwuhuw_si
2403 UINT64_C(446701760), // V6_vmpar_wuhw_si
2404 UINT64_C(427819168), // V6_vmpauhb
2405 UINT64_C(427827264), // V6_vmpauhb_acc
2406 UINT64_C(434118752), // V6_vmpauhuh
2407 UINT64_C(427827360), // V6_vmpauhuhsat
2408 UINT64_C(434118656), // V6_vmpauhuhuh
2409 UINT64_C(434118784), // V6_vmpsuhuh
2410 UINT64_C(427827392), // V6_vmpsuhuhsat
2411 UINT64_C(528482496), // V6_vmpy_hf_f8
2412 UINT64_C(528482528), // V6_vmpy_hf_f8_acc
2413 UINT64_C(528490592), // V6_vmpy_hf_hf
2414 UINT64_C(473964608), // V6_vmpy_hf_hf_acc
2415 UINT64_C(534782048), // V6_vmpy_qf16
2416 UINT64_C(534782080), // V6_vmpy_qf16_hf
2417 UINT64_C(534782112), // V6_vmpy_qf16_mix_hf
2418 UINT64_C(534781952), // V6_vmpy_qf32
2419 UINT64_C(534782176), // V6_vmpy_qf32_hf
2420 UINT64_C(528490496), // V6_vmpy_qf32_mix_hf
2421 UINT64_C(534782144), // V6_vmpy_qf32_qf16
2422 UINT64_C(534781984), // V6_vmpy_qf32_sf
2423 UINT64_C(436215904), // V6_vmpy_rt_hf
2424 UINT64_C(436215872), // V6_vmpy_rt_qf16
2425 UINT64_C(436215840), // V6_vmpy_rt_sf
2426 UINT64_C(490741888), // V6_vmpy_sf_bf
2427 UINT64_C(486547456), // V6_vmpy_sf_bf_acc
2428 UINT64_C(528490560), // V6_vmpy_sf_hf
2429 UINT64_C(473964576), // V6_vmpy_sf_hf_acc
2430 UINT64_C(528490528), // V6_vmpy_sf_sf
2431 UINT64_C(421527712), // V6_vmpybus
2432 UINT64_C(421535904), // V6_vmpybus_acc
2433 UINT64_C(469762240), // V6_vmpybusv
2434 UINT64_C(469770432), // V6_vmpybusv_acc
2435 UINT64_C(469762176), // V6_vmpybv
2436 UINT64_C(469770368), // V6_vmpybv_acc
2437 UINT64_C(534773920), // V6_vmpyewuh
2438 UINT64_C(513802432), // V6_vmpyewuh_64
2439 UINT64_C(427819136), // V6_vmpyewuh_rnd
2440 UINT64_C(423624704), // V6_vmpyh
2441 UINT64_C(429924544), // V6_vmpyh_acc
2442 UINT64_C(423632896), // V6_vmpyhsat_acc
2443 UINT64_C(423624768), // V6_vmpyhsrs
2444 UINT64_C(423624736), // V6_vmpyhss
2445 UINT64_C(444604416), // V6_vmpyhuh
2446 UINT64_C(444604480), // V6_vmpyhuh_rnd
2447 UINT64_C(471859264), // V6_vmpyhus
2448 UINT64_C(471867424), // V6_vmpyhus_acc
2449 UINT64_C(469762272), // V6_vmpyhv
2450 UINT64_C(469770464), // V6_vmpyhv_acc
2451 UINT64_C(471859232), // V6_vmpyhvsrs
2452 UINT64_C(526385152), // V6_vmpyieoh
2453 UINT64_C(473964544), // V6_vmpyiewh_acc
2454 UINT64_C(532676608), // V6_vmpyiewuh
2455 UINT64_C(471867552), // V6_vmpyiewuh_acc
2456 UINT64_C(471859328), // V6_vmpyih
2457 UINT64_C(471867520), // V6_vmpyih_acc
2458 UINT64_C(425721856), // V6_vmpyihb
2459 UINT64_C(425730080), // V6_vmpyihb_acc
2460 UINT64_C(532676640), // V6_vmpyiowh
2461 UINT64_C(429916160), // V6_vmpyiwb
2462 UINT64_C(423632960), // V6_vmpyiwb_acc
2463 UINT64_C(427819232), // V6_vmpyiwh
2464 UINT64_C(423632992), // V6_vmpyiwh_acc
2465 UINT64_C(427819200), // V6_vmpyiwub
2466 UINT64_C(427827232), // V6_vmpyiwub_acc
2467 UINT64_C(534773984), // V6_vmpyowh
2468 UINT64_C(471867488), // V6_vmpyowh_64_acc
2469 UINT64_C(524288000), // V6_vmpyowh_rnd
2470 UINT64_C(471867616), // V6_vmpyowh_rnd_sacc
2471 UINT64_C(471867584), // V6_vmpyowh_sacc
2472 UINT64_C(473964736), // V6_vmpyowuh
2473 UINT64_C(473964768), // V6_vmpyowuh_acc
2474 UINT64_C(486539392), // V6_vmpyowuh_rnd
2475 UINT64_C(486539424), // V6_vmpyowuh_rnd_acc
2476 UINT64_C(444604448), // V6_vmpyrhuh
2477 UINT64_C(444604512), // V6_vmpyrhuh_rnd
2478 UINT64_C(444604544), // V6_vmpyrhus
2479 UINT64_C(444604576), // V6_vmpyrhus_acc
2480 UINT64_C(434118816), // V6_vmpyruhuh
2481 UINT64_C(434118880), // V6_vmpyruhuh_rnd
2482 UINT64_C(432013312), // V6_vmpyub
2483 UINT64_C(427827200), // V6_vmpyub_acc
2484 UINT64_C(469762208), // V6_vmpyubv
2485 UINT64_C(469770400), // V6_vmpyubv_acc
2486 UINT64_C(423624800), // V6_vmpyuh
2487 UINT64_C(423632928), // V6_vmpyuh_acc
2488 UINT64_C(425721920), // V6_vmpyuhe
2489 UINT64_C(427827296), // V6_vmpyuhe_acc
2490 UINT64_C(434118848), // V6_vmpyuhuh_rnd
2491 UINT64_C(471859200), // V6_vmpyuhv
2492 UINT64_C(471867392), // V6_vmpyuhv_acc
2493 UINT64_C(532685024), // V6_vmpyuhvs
2494 UINT64_C(518004736), // V6_vmux
2495 UINT64_C(520102080), // V6_vnavgb
2496 UINT64_C(484442144), // V6_vnavgh
2497 UINT64_C(484442112), // V6_vnavgub
2498 UINT64_C(446701664), // V6_vnavguh
2499 UINT64_C(446701696), // V6_vnavguw
2500 UINT64_C(484442176), // V6_vnavgw
2501 UINT64_C(440401920), // V6_vnccombine
2502 UINT64_C(438304768), // V6_vncmov
2503 UINT64_C(504242240), // V6_vneg_qf16_hf
2504 UINT64_C(504242272), // V6_vneg_qf16_qf16
2505 UINT64_C(504242208), // V6_vneg_qf32_qf32
2506 UINT64_C(504242176), // V6_vneg_qf32_sf
2507 UINT64_C(503513248), // V6_vnormamth
2508 UINT64_C(503513216), // V6_vnormamtw
2509 UINT64_C(503316608), // V6_vnot
2510 UINT64_C(471859392), // V6_vor
2511 UINT64_C(532676672), // V6_vpackeb
2512 UINT64_C(532676704), // V6_vpackeh
2513 UINT64_C(532676800), // V6_vpackhb_sat
2514 UINT64_C(532676768), // V6_vpackhub_sat
2515 UINT64_C(534773792), // V6_vpackob
2516 UINT64_C(534773824), // V6_vpackoh
2517 UINT64_C(534773760), // V6_vpackwh_sat
2518 UINT64_C(532676832), // V6_vpackwuh_sat
2519 UINT64_C(503447744), // V6_vpopcounth
2520 UINT64_C(503521344), // V6_vprefixqb
2521 UINT64_C(503521600), // V6_vprefixqh
2522 UINT64_C(503521856), // V6_vprefixqw
2523 UINT64_C(522190944), // V6_vrdelta
2524 UINT64_C(432013472), // V6_vrmpybub_rtt
2525 UINT64_C(429924352), // V6_vrmpybub_rtt_acc
2526 UINT64_C(419430528), // V6_vrmpybus
2527 UINT64_C(419438752), // V6_vrmpybus_acc
2528 UINT64_C(423624832), // V6_vrmpybusi
2529 UINT64_C(423633024), // V6_vrmpybusi_acc
2530 UINT64_C(469762112), // V6_vrmpybusv
2531 UINT64_C(469770304), // V6_vrmpybusv_acc
2532 UINT64_C(469762080), // V6_vrmpybv
2533 UINT64_C(469770272), // V6_vrmpybv_acc
2534 UINT64_C(419430496), // V6_vrmpyub
2535 UINT64_C(419438720), // V6_vrmpyub_acc
2536 UINT64_C(432013440), // V6_vrmpyub_rtt
2537 UINT64_C(429924576), // V6_vrmpyub_rtt_acc
2538 UINT64_C(429916352), // V6_vrmpyubi
2539 UINT64_C(425730240), // V6_vrmpyubi_acc
2540 UINT64_C(469762048), // V6_vrmpyubv
2541 UINT64_C(469770240), // V6_vrmpyubv_acc
2542 UINT64_C(434634752), // V6_vrmpyzbb_rt
2543 UINT64_C(432021568), // V6_vrmpyzbb_rt_acc
2544 UINT64_C(434110464), // V6_vrmpyzbb_rx
2545 UINT64_C(432545856), // V6_vrmpyzbb_rx_acc
2546 UINT64_C(435683392), // V6_vrmpyzbub_rt
2547 UINT64_C(433070112), // V6_vrmpyzbub_rt_acc
2548 UINT64_C(435159104), // V6_vrmpyzbub_rx
2549 UINT64_C(433594400), // V6_vrmpyzbub_rx_acc
2550 UINT64_C(434634784), // V6_vrmpyzcb_rt
2551 UINT64_C(432021600), // V6_vrmpyzcb_rt_acc
2552 UINT64_C(434110496), // V6_vrmpyzcb_rx
2553 UINT64_C(432545888), // V6_vrmpyzcb_rx_acc
2554 UINT64_C(434634816), // V6_vrmpyzcbs_rt
2555 UINT64_C(432021536), // V6_vrmpyzcbs_rt_acc
2556 UINT64_C(434110528), // V6_vrmpyzcbs_rx
2557 UINT64_C(432545824), // V6_vrmpyzcbs_rx_acc
2558 UINT64_C(435683328), // V6_vrmpyznb_rt
2559 UINT64_C(433070144), // V6_vrmpyznb_rt_acc
2560 UINT64_C(435159040), // V6_vrmpyznb_rx
2561 UINT64_C(433594432), // V6_vrmpyznb_rx_acc
2562 UINT64_C(425721888), // V6_vror
2563 UINT64_C(444604640), // V6_vrotr
2564 UINT64_C(526385344), // V6_vroundhb
2565 UINT64_C(526385376), // V6_vroundhub
2566 UINT64_C(534773856), // V6_vrounduhub
2567 UINT64_C(534773888), // V6_vrounduwuh
2568 UINT64_C(526385280), // V6_vroundwh
2569 UINT64_C(526385312), // V6_vroundwuh
2570 UINT64_C(423624896), // V6_vrsadubi
2571 UINT64_C(423633088), // V6_vrsadubi_acc
2572 UINT64_C(494936288), // V6_vsatdw
2573 UINT64_C(526385216), // V6_vsathub
2574 UINT64_C(522191040), // V6_vsatuwuh
2575 UINT64_C(526385248), // V6_vsatwh
2576 UINT64_C(503447648), // V6_vsb
2577 UINT64_C(790626336), // V6_vscattermh
2578 UINT64_C(790626464), // V6_vscattermh_add
2579 UINT64_C(796917888), // V6_vscattermhq
2580 UINT64_C(790626368), // V6_vscattermhw
2581 UINT64_C(790626496), // V6_vscattermhw_add
2582 UINT64_C(799014912), // V6_vscattermhwq
2583 UINT64_C(790626304), // V6_vscattermw
2584 UINT64_C(790626432), // V6_vscattermw_add
2585 UINT64_C(796917760), // V6_vscattermwq
2586 UINT64_C(503447680), // V6_vsh
2587 UINT64_C(524288096), // V6_vshufeh
2588 UINT64_C(434118688), // V6_vshuff
2589 UINT64_C(503447552), // V6_vshuffb
2590 UINT64_C(524288032), // V6_vshuffeb
2591 UINT64_C(503382240), // V6_vshuffh
2592 UINT64_C(524288064), // V6_vshuffob
2593 UINT64_C(452993120), // V6_vshuffvdd
2594 UINT64_C(524288192), // V6_vshufoeb
2595 UINT64_C(524288160), // V6_vshufoeh
2596 UINT64_C(524288128), // V6_vshufoh
2597 UINT64_C(526393536), // V6_vsub_hf
2598 UINT64_C(528482464), // V6_vsub_hf_f8
2599 UINT64_C(526393344), // V6_vsub_hf_hf
2600 UINT64_C(436215936), // V6_vsub_hf_mix
2601 UINT64_C(526393504), // V6_vsub_qf16
2602 UINT64_C(526393568), // V6_vsub_qf16_mix
2603 UINT64_C(530587744), // V6_vsub_qf32
2604 UINT64_C(530587808), // V6_vsub_qf32_mix
2605 UINT64_C(530587776), // V6_vsub_sf
2606 UINT64_C(490741920), // V6_vsub_sf_bf
2607 UINT64_C(528490656), // V6_vsub_sf_hf
2608 UINT64_C(436215808), // V6_vsub_sf_mix
2609 UINT64_C(528490720), // V6_vsub_sf_sf
2610 UINT64_C(473956512), // V6_vsubb
2611 UINT64_C(478150752), // V6_vsubb_dv
2612 UINT64_C(503455776), // V6_vsubbnq
2613 UINT64_C(503390400), // V6_vsubbq
2614 UINT64_C(522190912), // V6_vsubbsat
2615 UINT64_C(513802272), // V6_vsubbsat_dv
2616 UINT64_C(480256128), // V6_vsubcarry
2617 UINT64_C(497033344), // V6_vsubcarryo
2618 UINT64_C(473956544), // V6_vsubh
2619 UINT64_C(478150784), // V6_vsubh_dv
2620 UINT64_C(503455808), // V6_vsubhnq
2621 UINT64_C(503390432), // V6_vsubhq
2622 UINT64_C(476053568), // V6_vsubhsat
2623 UINT64_C(480247808), // V6_vsubhsat_dv
2624 UINT64_C(480248032), // V6_vsubhw
2625 UINT64_C(480247968), // V6_vsububh
2626 UINT64_C(476053504), // V6_vsububsat
2627 UINT64_C(478150848), // V6_vsububsat_dv
2628 UINT64_C(513802400), // V6_vsubububb_sat
2629 UINT64_C(436215968), // V6_vsubuhhsat
2630 UINT64_C(476053536), // V6_vsubuhsat
2631 UINT64_C(478150880), // V6_vsubuhsat_dv
2632 UINT64_C(480248000), // V6_vsubuhw
2633 UINT64_C(532676736), // V6_vsubuwsat
2634 UINT64_C(513802336), // V6_vsubuwsat_dv
2635 UINT64_C(436216032), // V6_vsubuwwsat_dv
2636 UINT64_C(473956576), // V6_vsubw
2637 UINT64_C(478150816), // V6_vsubw_dv
2638 UINT64_C(503455840), // V6_vsubwnq
2639 UINT64_C(503455744), // V6_vsubwq
2640 UINT64_C(476053600), // V6_vsubwsat
2641 UINT64_C(480247840), // V6_vsubwsat_dv
2642 UINT64_C(513810432), // V6_vswap
2643 UINT64_C(419430400), // V6_vtmpyb
2644 UINT64_C(419438592), // V6_vtmpyb_acc
2645 UINT64_C(419430432), // V6_vtmpybus
2646 UINT64_C(419438624), // V6_vtmpybus_acc
2647 UINT64_C(429916288), // V6_vtmpyhb
2648 UINT64_C(419438656), // V6_vtmpyhb_acc
2649 UINT64_C(503382080), // V6_vunpackb
2650 UINT64_C(503382112), // V6_vunpackh
2651 UINT64_C(503324672), // V6_vunpackob
2652 UINT64_C(503324704), // V6_vunpackoh
2653 UINT64_C(503382016), // V6_vunpackub
2654 UINT64_C(503382048), // V6_vunpackuh
2655 UINT64_C(503325824), // V6_vwhist128
2656 UINT64_C(503326336), // V6_vwhist128m
2657 UINT64_C(503456896), // V6_vwhist128q
2658 UINT64_C(503457408), // V6_vwhist128qm
2659 UINT64_C(503325312), // V6_vwhist256
2660 UINT64_C(503325568), // V6_vwhist256_sat
2661 UINT64_C(503456384), // V6_vwhist256q
2662 UINT64_C(503456640), // V6_vwhist256q_sat
2663 UINT64_C(471859424), // V6_vxor
2664 UINT64_C(503447584), // V6_vzb
2665 UINT64_C(503447616), // V6_vzh
2666 UINT64_C(738197504), // V6_zLd_ai
2667 UINT64_C(754974720), // V6_zLd_pi
2668 UINT64_C(754974721), // V6_zLd_ppu
2669 UINT64_C(746586112), // V6_zLd_pred_ai
2670 UINT64_C(763363328), // V6_zLd_pred_pi
2671 UINT64_C(763363329), // V6_zLd_pred_ppu
2672 UINT64_C(429916448), // V6_zextract
2673 UINT64_C(2818572288), // Y2_barrier
2674 UINT64_C(1814036480), // Y2_break
2675 UINT64_C(1677721696), // Y2_ciad
2676 UINT64_C(1694498816), // Y2_crswap0
2677 UINT64_C(1677721632), // Y2_cswi
2678 UINT64_C(2684354560), // Y2_dccleana
2679 UINT64_C(2720006144), // Y2_dccleanidx
2680 UINT64_C(2688548864), // Y2_dccleaninva
2681 UINT64_C(2724200448), // Y2_dccleaninvidx
2682 UINT64_C(2483027968), // Y2_dcfetchbo
2683 UINT64_C(2483036160), // Y2_dcfetchbo_nt
2684 UINT64_C(2686451712), // Y2_dcinva
2685 UINT64_C(2722103296), // Y2_dcinvidx
2686 UINT64_C(2717908992), // Y2_dckill
2687 UINT64_C(2753560576), // Y2_dctagr
2688 UINT64_C(2751463424), // Y2_dctagw
2689 UINT64_C(2696937472), // Y2_dczeroa
2690 UINT64_C(2696945664), // Y2_dczeroa_nt
2691 UINT64_C(1711276032), // Y2_getimask
2692 UINT64_C(1717567488), // Y2_iassignr
2693 UINT64_C(1677721664), // Y2_iassignw
2694 UINT64_C(1436549120), // Y2_icdatar
2695 UINT64_C(1438654464), // Y2_icdataw
2696 UINT64_C(1455423488), // Y2_icinva
2697 UINT64_C(1455425536), // Y2_icinvidx
2698 UINT64_C(1455427584), // Y2_ickill
2699 UINT64_C(1440743424), // Y2_ictagr
2700 UINT64_C(1438646272), // Y2_ictagw
2701 UINT64_C(1472200706), // Y2_isync
2702 UINT64_C(1814036576), // Y2_k0lock
2703 UINT64_C(1814036608), // Y2_k0unlock
2704 UINT64_C(2824863744), // Y2_l2cleaninvidx
2705 UINT64_C(2820669440), // Y2_l2kill
2706 UINT64_C(1681915936), // Y2_resume
2707 UINT64_C(1686110208), // Y2_setimask
2708 UINT64_C(1686110240), // Y2_setprio
2709 UINT64_C(1684013088), // Y2_start
2710 UINT64_C(1684013056), // Y2_stop
2711 UINT64_C(1677721600), // Y2_swi
2712 UINT64_C(2822766592), // Y2_syncht
2713 UINT64_C(1853882368), // Y2_tfrscrr
2714 UINT64_C(1728053248), // Y2_tfrsrcr
2715 UINT64_C(1814036512), // Y2_tlblock
2716 UINT64_C(1820327936), // Y2_tlbp
2717 UINT64_C(1818230784), // Y2_tlbpp
2718 UINT64_C(1816133632), // Y2_tlbr
2719 UINT64_C(1814036544), // Y2_tlbunlock
2720 UINT64_C(1811939328), // Y2_tlbw
2721 UINT64_C(1681915904), // Y2_wait
2722 UINT64_C(1696595968), // Y4_crswap1
2723 UINT64_C(1837105152), // Y4_crswap10
2724 UINT64_C(2483030016), // Y4_dcfetch_multi
2725 UINT64_C(2785017856), // Y4_l2fetch
2726 UINT64_C(2757754880), // Y4_l2tagr
2727 UINT64_C(2755657728), // Y4_l2tagw
2728 UINT64_C(1684013120), // Y4_nmi
2729 UINT64_C(1686110304), // Y4_siad
2730 UINT64_C(1862270976), // Y4_tfrscpp
2731 UINT64_C(1828716544), // Y4_tfrspcp
2732 UINT64_C(1648361472), // Y4_trace
2733 UINT64_C(1824522240), // Y5_ctlbw
2734 UINT64_C(2787115008), // Y5_l2cleanidx
2735 UINT64_C(2793406464), // Y5_l2fetch
2736 UINT64_C(2820673536), // Y5_l2gclean
2737 UINT64_C(2820675584), // Y5_l2gcleaninv
2738 UINT64_C(2820671488), // Y5_l2gunlock
2739 UINT64_C(2789212160), // Y5_l2invidx
2740 UINT64_C(2699042816), // Y5_l2locka
2741 UINT64_C(2791309312), // Y5_l2unlocka
2742 UINT64_C(1822425088), // Y5_tlbasidi
2743 UINT64_C(1826619392), // Y5_tlboc
2744 UINT64_C(1648361504), // Y6_diag
2745 UINT64_C(1648361536), // Y6_diag0
2746 UINT64_C(1648361568), // Y6_diag1
2747 UINT64_C(2785017920), // Y6_dmlink
2748 UINT64_C(2818572384), // Y6_dmpause
2749 UINT64_C(2818572352), // Y6_dmpoll
2750 UINT64_C(2785017984), // Y6_dmresume
2751 UINT64_C(2785017888), // Y6_dmstart
2752 UINT64_C(2818572320), // Y6_dmwait
2753 UINT64_C(2797600768), // Y6_l2gcleaninvpa
2754 UINT64_C(2795503616), // Y6_l2gcleanpa
2755 UINT64_C(3581935616), // dep_A2_addsat
2756 UINT64_C(3581935744), // dep_A2_subsat
2757 UINT64_C(3556769792), // dep_S2_packhl
2758 UINT64_C(0), // invalid_decode
2759 };
2760 constexpr unsigned FirstSupportedOpcode = 962;
2761
2762 const unsigned opcode = MI.getOpcode();
2763 if (opcode < FirstSupportedOpcode)
2764 reportUnsupportedInst(Inst: MI);
2765 unsigned TableIndex = opcode - FirstSupportedOpcode;
2766 uint64_t Value = InstBits[TableIndex];
2767 uint64_t op = 0;
2768 (void)op; // suppress warning
2769 switch (opcode) {
2770 case Hexagon::A2_nop:
2771 case Hexagon::A2_nop_rb:
2772 case Hexagon::CONST32:
2773 case Hexagon::CONST64:
2774 case Hexagon::DuplexIClass0:
2775 case Hexagon::DuplexIClass1:
2776 case Hexagon::DuplexIClass2:
2777 case Hexagon::DuplexIClass3:
2778 case Hexagon::DuplexIClass4:
2779 case Hexagon::DuplexIClass5:
2780 case Hexagon::DuplexIClass6:
2781 case Hexagon::DuplexIClass7:
2782 case Hexagon::DuplexIClass8:
2783 case Hexagon::DuplexIClass9:
2784 case Hexagon::DuplexIClassA:
2785 case Hexagon::DuplexIClassB:
2786 case Hexagon::DuplexIClassC:
2787 case Hexagon::DuplexIClassD:
2788 case Hexagon::DuplexIClassE:
2789 case Hexagon::DuplexIClassF:
2790 case Hexagon::J2_rte:
2791 case Hexagon::J2_unpause:
2792 case Hexagon::M8_mxclracc_hf:
2793 case Hexagon::SL2_deallocframe:
2794 case Hexagon::SL2_jumpr31:
2795 case Hexagon::SL2_jumpr31_f:
2796 case Hexagon::SL2_jumpr31_fnew:
2797 case Hexagon::SL2_jumpr31_t:
2798 case Hexagon::SL2_jumpr31_tnew:
2799 case Hexagon::SL2_return:
2800 case Hexagon::SL2_return_f:
2801 case Hexagon::SL2_return_fnew:
2802 case Hexagon::SL2_return_t:
2803 case Hexagon::SL2_return_tnew:
2804 case Hexagon::TFRI64_V2_ext:
2805 case Hexagon::TFRI64_V4:
2806 case Hexagon::V6_vhist:
2807 case Hexagon::V6_vwhist128:
2808 case Hexagon::V6_vwhist256:
2809 case Hexagon::V6_vwhist256_sat:
2810 case Hexagon::Y2_barrier:
2811 case Hexagon::Y2_break:
2812 case Hexagon::Y2_dckill:
2813 case Hexagon::Y2_ickill:
2814 case Hexagon::Y2_isync:
2815 case Hexagon::Y2_k0lock:
2816 case Hexagon::Y2_k0unlock:
2817 case Hexagon::Y2_l2kill:
2818 case Hexagon::Y2_syncht:
2819 case Hexagon::Y2_tlblock:
2820 case Hexagon::Y2_tlbunlock:
2821 case Hexagon::Y5_l2gclean:
2822 case Hexagon::Y5_l2gcleaninv:
2823 case Hexagon::Y5_l2gunlock:
2824 case Hexagon::invalid_decode: {
2825 break;
2826 }
2827 case Hexagon::A2_tfrcrr: {
2828 // op: Cs32
2829 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
2830 Value |= (op & 0x1f) << 16;
2831 // op: Rd32
2832 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
2833 Value |= (op & 0x1f);
2834 break;
2835 }
2836 case Hexagon::A4_tfrcpp: {
2837 // op: Css32
2838 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
2839 Value |= (op & 0x1f) << 16;
2840 // op: Rdd32
2841 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
2842 Value |= (op & 0x1f);
2843 break;
2844 }
2845 case Hexagon::G4_tfrgcrr: {
2846 // op: Gs32
2847 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
2848 Value |= (op & 0x1f) << 16;
2849 // op: Rd32
2850 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
2851 Value |= (op & 0x1f);
2852 break;
2853 }
2854 case Hexagon::G4_tfrgcpp: {
2855 // op: Gss32
2856 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
2857 Value |= (op & 0x1f) << 16;
2858 // op: Rdd32
2859 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
2860 Value |= (op & 0x1f);
2861 break;
2862 }
2863 case Hexagon::J4_cmpeqi_f_jumpnv_nt:
2864 case Hexagon::J4_cmpeqi_f_jumpnv_t:
2865 case Hexagon::J4_cmpeqi_t_jumpnv_nt:
2866 case Hexagon::J4_cmpeqi_t_jumpnv_t:
2867 case Hexagon::J4_cmpgti_f_jumpnv_nt:
2868 case Hexagon::J4_cmpgti_f_jumpnv_t:
2869 case Hexagon::J4_cmpgti_t_jumpnv_nt:
2870 case Hexagon::J4_cmpgti_t_jumpnv_t:
2871 case Hexagon::J4_cmpgtui_f_jumpnv_nt:
2872 case Hexagon::J4_cmpgtui_f_jumpnv_t:
2873 case Hexagon::J4_cmpgtui_t_jumpnv_nt:
2874 case Hexagon::J4_cmpgtui_t_jumpnv_t: {
2875 // op: II
2876 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
2877 Value |= (op & 0x1f) << 8;
2878 // op: Ii
2879 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
2880 Value |= (op & 0x600) << 11;
2881 Value |= (op & 0x1fc) >> 1;
2882 // op: Ns8
2883 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
2884 Value |= (op & 0x7) << 16;
2885 break;
2886 }
2887 case Hexagon::J4_cmpeqi_fp0_jump_nt:
2888 case Hexagon::J4_cmpeqi_fp0_jump_t:
2889 case Hexagon::J4_cmpeqi_fp1_jump_nt:
2890 case Hexagon::J4_cmpeqi_fp1_jump_t:
2891 case Hexagon::J4_cmpeqi_tp0_jump_nt:
2892 case Hexagon::J4_cmpeqi_tp0_jump_t:
2893 case Hexagon::J4_cmpeqi_tp1_jump_nt:
2894 case Hexagon::J4_cmpeqi_tp1_jump_t:
2895 case Hexagon::J4_cmpgti_fp0_jump_nt:
2896 case Hexagon::J4_cmpgti_fp0_jump_t:
2897 case Hexagon::J4_cmpgti_fp1_jump_nt:
2898 case Hexagon::J4_cmpgti_fp1_jump_t:
2899 case Hexagon::J4_cmpgti_tp0_jump_nt:
2900 case Hexagon::J4_cmpgti_tp0_jump_t:
2901 case Hexagon::J4_cmpgti_tp1_jump_nt:
2902 case Hexagon::J4_cmpgti_tp1_jump_t:
2903 case Hexagon::J4_cmpgtui_fp0_jump_nt:
2904 case Hexagon::J4_cmpgtui_fp0_jump_t:
2905 case Hexagon::J4_cmpgtui_fp1_jump_nt:
2906 case Hexagon::J4_cmpgtui_fp1_jump_t:
2907 case Hexagon::J4_cmpgtui_tp0_jump_nt:
2908 case Hexagon::J4_cmpgtui_tp0_jump_t:
2909 case Hexagon::J4_cmpgtui_tp1_jump_nt:
2910 case Hexagon::J4_cmpgtui_tp1_jump_t: {
2911 // op: II
2912 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
2913 Value |= (op & 0x1f) << 8;
2914 // op: Ii
2915 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
2916 Value |= (op & 0x600) << 11;
2917 Value |= (op & 0x1fc) >> 1;
2918 // op: Rs16
2919 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
2920 Value |= (op & 0xf) << 16;
2921 break;
2922 }
2923 case Hexagon::J4_jumpseti: {
2924 // op: II
2925 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
2926 Value |= (op & 0x3f) << 8;
2927 // op: Ii
2928 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
2929 Value |= (op & 0x600) << 11;
2930 Value |= (op & 0x1fc) >> 1;
2931 // op: Rd16
2932 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
2933 Value |= (op & 0xf) << 16;
2934 break;
2935 }
2936 case Hexagon::S4_storerbnew_ap:
2937 case Hexagon::S4_storerhnew_ap:
2938 case Hexagon::S4_storerinew_ap: {
2939 // op: II
2940 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
2941 Value |= (op & 0x3f);
2942 // op: Nt8
2943 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
2944 Value |= (op & 0x7) << 8;
2945 // op: Re32
2946 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
2947 Value |= (op & 0x1f) << 16;
2948 break;
2949 }
2950 case Hexagon::S4_storerb_ap:
2951 case Hexagon::S4_storerf_ap:
2952 case Hexagon::S4_storerh_ap:
2953 case Hexagon::S4_storeri_ap: {
2954 // op: II
2955 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
2956 Value |= (op & 0x3f);
2957 // op: Rt32
2958 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
2959 Value |= (op & 0x1f) << 8;
2960 // op: Re32
2961 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
2962 Value |= (op & 0x1f) << 16;
2963 break;
2964 }
2965 case Hexagon::S4_storerd_ap: {
2966 // op: II
2967 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
2968 Value |= (op & 0x3f);
2969 // op: Rtt32
2970 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
2971 Value |= (op & 0x1f) << 8;
2972 // op: Re32
2973 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
2974 Value |= (op & 0x1f) << 16;
2975 break;
2976 }
2977 case Hexagon::L4_loadbsw2_ap:
2978 case Hexagon::L4_loadbzw2_ap:
2979 case Hexagon::L4_loadrb_ap:
2980 case Hexagon::L4_loadrh_ap:
2981 case Hexagon::L4_loadri_ap:
2982 case Hexagon::L4_loadrub_ap:
2983 case Hexagon::L4_loadruh_ap: {
2984 // op: II
2985 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
2986 Value |= (op & 0x3c) << 6;
2987 Value |= (op & 0x3) << 5;
2988 // op: Rd32
2989 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
2990 Value |= (op & 0x1f);
2991 // op: Re32
2992 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
2993 Value |= (op & 0x1f) << 16;
2994 break;
2995 }
2996 case Hexagon::L4_loadbsw4_ap:
2997 case Hexagon::L4_loadbzw4_ap:
2998 case Hexagon::L4_loadrd_ap: {
2999 // op: II
3000 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
3001 Value |= (op & 0x3c) << 6;
3002 Value |= (op & 0x3) << 5;
3003 // op: Rdd32
3004 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3005 Value |= (op & 0x1f);
3006 // op: Re32
3007 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3008 Value |= (op & 0x1f) << 16;
3009 break;
3010 }
3011 case Hexagon::L4_loadalignb_ap:
3012 case Hexagon::L4_loadalignh_ap: {
3013 // op: II
3014 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
3015 Value |= (op & 0x3c) << 6;
3016 Value |= (op & 0x3) << 5;
3017 // op: Ryy32
3018 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3019 Value |= (op & 0x1f);
3020 // op: Re32
3021 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3022 Value |= (op & 0x1f) << 16;
3023 break;
3024 }
3025 case Hexagon::V6_vwhist128m: {
3026 // op: Ii
3027 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3028 Value |= (op & 0x1) << 8;
3029 break;
3030 }
3031 case Hexagon::PS_storerhnewabs:
3032 case Hexagon::S2_storerhnewgp: {
3033 // op: Ii
3034 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3035 Value |= (op & 0x18000) << 10;
3036 Value |= (op & 0x7c00) << 6;
3037 Value |= (op & 0x200) << 4;
3038 Value |= (op & 0x1fe) >> 1;
3039 // op: Nt8
3040 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3041 Value |= (op & 0x7) << 8;
3042 break;
3043 }
3044 case Hexagon::PS_storerfabs:
3045 case Hexagon::PS_storerhabs:
3046 case Hexagon::S2_storerfgp:
3047 case Hexagon::S2_storerhgp: {
3048 // op: Ii
3049 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3050 Value |= (op & 0x18000) << 10;
3051 Value |= (op & 0x7c00) << 6;
3052 Value |= (op & 0x200) << 4;
3053 Value |= (op & 0x1fe) >> 1;
3054 // op: Rt32
3055 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3056 Value |= (op & 0x1f) << 8;
3057 break;
3058 }
3059 case Hexagon::J2_loop0i:
3060 case Hexagon::J2_loop1i:
3061 case Hexagon::J2_ploop1si:
3062 case Hexagon::J2_ploop2si:
3063 case Hexagon::J2_ploop3si: {
3064 // op: Ii
3065 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3066 Value |= (op & 0x1f0) << 4;
3067 Value |= (op & 0xc) << 1;
3068 // op: II
3069 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3070 Value |= (op & 0x3e0) << 11;
3071 Value |= (op & 0x1c) << 3;
3072 Value |= (op & 0x3);
3073 break;
3074 }
3075 case Hexagon::J2_loop0r:
3076 case Hexagon::J2_loop1r:
3077 case Hexagon::J2_ploop1sr:
3078 case Hexagon::J2_ploop2sr:
3079 case Hexagon::J2_ploop3sr: {
3080 // op: Ii
3081 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3082 Value |= (op & 0x1f0) << 4;
3083 Value |= (op & 0xc) << 1;
3084 // op: Rs32
3085 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3086 Value |= (op & 0x1f) << 16;
3087 break;
3088 }
3089 case Hexagon::SS2_stored_sp: {
3090 // op: Ii
3091 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3092 Value |= (op & 0x1f8);
3093 // op: Rtt8
3094 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3095 Value |= (op & 0x7);
3096 break;
3097 }
3098 case Hexagon::J2_pause: {
3099 // op: Ii
3100 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3101 Value |= (op & 0x300) << 8;
3102 Value |= (op & 0xf8) << 5;
3103 Value |= (op & 0x7) << 2;
3104 break;
3105 }
3106 case Hexagon::PS_storerinewabs:
3107 case Hexagon::S2_storerinewgp: {
3108 // op: Ii
3109 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3110 Value |= (op & 0x30000) << 9;
3111 Value |= (op & 0xf800) << 5;
3112 Value |= (op & 0x400) << 3;
3113 Value |= (op & 0x3fc) >> 2;
3114 // op: Nt8
3115 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3116 Value |= (op & 0x7) << 8;
3117 break;
3118 }
3119 case Hexagon::PS_storeriabs:
3120 case Hexagon::S2_storerigp: {
3121 // op: Ii
3122 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3123 Value |= (op & 0x30000) << 9;
3124 Value |= (op & 0xf800) << 5;
3125 Value |= (op & 0x400) << 3;
3126 Value |= (op & 0x3fc) >> 2;
3127 // op: Rt32
3128 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3129 Value |= (op & 0x1f) << 8;
3130 break;
3131 }
3132 case Hexagon::PS_storerdabs:
3133 case Hexagon::S2_storerdgp: {
3134 // op: Ii
3135 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3136 Value |= (op & 0x60000) << 8;
3137 Value |= (op & 0x1f000) << 4;
3138 Value |= (op & 0x800) << 2;
3139 Value |= (op & 0x7f8) >> 3;
3140 // op: Rtt32
3141 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3142 Value |= (op & 0x1f) << 8;
3143 break;
3144 }
3145 case Hexagon::SS2_storew_sp: {
3146 // op: Ii
3147 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3148 Value |= (op & 0x7c) << 2;
3149 // op: Rt16
3150 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3151 Value |= (op & 0xf);
3152 break;
3153 }
3154 case Hexagon::V2_vallocframe_imm:
3155 case Hexagon::V2_vdeallocframe_imm: {
3156 // op: Ii
3157 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3158 Value |= (op & 0x7f);
3159 break;
3160 }
3161 case Hexagon::PS_storerbnewabs:
3162 case Hexagon::S2_storerbnewgp: {
3163 // op: Ii
3164 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3165 Value |= (op & 0xc000) << 11;
3166 Value |= (op & 0x3e00) << 7;
3167 Value |= (op & 0x100) << 5;
3168 Value |= (op & 0xff);
3169 // op: Nt8
3170 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3171 Value |= (op & 0x7) << 8;
3172 break;
3173 }
3174 case Hexagon::PS_storerbabs:
3175 case Hexagon::S2_storerbgp: {
3176 // op: Ii
3177 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3178 Value |= (op & 0xc000) << 11;
3179 Value |= (op & 0x3e00) << 7;
3180 Value |= (op & 0x100) << 5;
3181 Value |= (op & 0xff);
3182 // op: Rt32
3183 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3184 Value |= (op & 0x1f) << 8;
3185 break;
3186 }
3187 case Hexagon::SS2_allocframe:
3188 case Hexagon::SS2_allocframe_rb: {
3189 // op: Ii
3190 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3191 Value |= (op & 0xf8) << 1;
3192 break;
3193 }
3194 case Hexagon::J2_trap0:
3195 case Hexagon::J2_trap2:
3196 case Hexagon::PS_trap1: {
3197 // op: Ii
3198 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3199 Value |= (op & 0xf8) << 5;
3200 Value |= (op & 0x7) << 2;
3201 break;
3202 }
3203 case Hexagon::J2_call:
3204 case Hexagon::J2_jump: {
3205 // op: Ii
3206 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3207 Value |= (op & 0xff8000) << 1;
3208 Value |= (op & 0x7ffc) >> 1;
3209 break;
3210 }
3211 case Hexagon::A4_ext: {
3212 // op: Ii
3213 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3214 Value |= (op & 0xfff00000) >> 4;
3215 Value |= (op & 0xfffc0) >> 6;
3216 break;
3217 }
3218 case Hexagon::V6_vwhist128qm: {
3219 // op: Ii
3220 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3221 Value |= (op & 0x1) << 8;
3222 // op: Qv4
3223 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3224 Value |= (op & 0x3) << 22;
3225 break;
3226 }
3227 case Hexagon::S2_storerinew_io: {
3228 // op: Ii
3229 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3230 Value |= (op & 0x1800) << 14;
3231 Value |= (op & 0x400) << 3;
3232 Value |= (op & 0x3fc) >> 2;
3233 // op: Rs32
3234 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3235 Value |= (op & 0x1f) << 16;
3236 // op: Nt8
3237 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
3238 Value |= (op & 0x7) << 8;
3239 break;
3240 }
3241 case Hexagon::S2_storeri_io: {
3242 // op: Ii
3243 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3244 Value |= (op & 0x1800) << 14;
3245 Value |= (op & 0x400) << 3;
3246 Value |= (op & 0x3fc) >> 2;
3247 // op: Rs32
3248 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3249 Value |= (op & 0x1f) << 16;
3250 // op: Rt32
3251 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
3252 Value |= (op & 0x1f) << 8;
3253 break;
3254 }
3255 case Hexagon::L2_loadrhgp:
3256 case Hexagon::L2_loadruhgp:
3257 case Hexagon::PS_loadrhabs:
3258 case Hexagon::PS_loadruhabs: {
3259 // op: Ii
3260 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3261 Value |= (op & 0x18000) << 10;
3262 Value |= (op & 0x7c00) << 6;
3263 Value |= (op & 0x3fe) << 4;
3264 // op: Rd32
3265 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3266 Value |= (op & 0x1f);
3267 break;
3268 }
3269 case Hexagon::J2_callf:
3270 case Hexagon::J2_callt:
3271 case Hexagon::J2_jumpf:
3272 case Hexagon::J2_jumpfnew:
3273 case Hexagon::J2_jumpfnewpt:
3274 case Hexagon::J2_jumpfpt:
3275 case Hexagon::J2_jumpt:
3276 case Hexagon::J2_jumptnew:
3277 case Hexagon::J2_jumptnewpt:
3278 case Hexagon::J2_jumptpt: {
3279 // op: Ii
3280 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3281 Value |= (op & 0x18000) << 7;
3282 Value |= (op & 0x7c00) << 6;
3283 Value |= (op & 0x200) << 4;
3284 Value |= (op & 0x1fc) >> 1;
3285 // op: Pu4
3286 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3287 Value |= (op & 0x3) << 8;
3288 break;
3289 }
3290 case Hexagon::LX_assign_s:
3291 case Hexagon::LX_assign_u: {
3292 // op: Ii
3293 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3294 Value |= (op & 0x1f) << 16;
3295 // op: Ld16
3296 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3297 Value |= (op & 0xf) << 1;
3298 break;
3299 }
3300 case Hexagon::S2_mask: {
3301 // op: Ii
3302 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3303 Value |= (op & 0x1f) << 8;
3304 // op: II
3305 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
3306 Value |= (op & 0x18) << 18;
3307 Value |= (op & 0x7) << 5;
3308 // op: Rd32
3309 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3310 Value |= (op & 0x1f);
3311 break;
3312 }
3313 case Hexagon::S4_storerbnew_ur:
3314 case Hexagon::S4_storerhnew_ur:
3315 case Hexagon::S4_storerinew_ur: {
3316 // op: Ii
3317 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3318 Value |= (op & 0x2) << 12;
3319 Value |= (op & 0x1) << 6;
3320 // op: II
3321 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
3322 Value |= (op & 0x3f);
3323 // op: Ru32
3324 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3325 Value |= (op & 0x1f) << 16;
3326 // op: Nt8
3327 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
3328 Value |= (op & 0x7) << 8;
3329 break;
3330 }
3331 case Hexagon::S4_storerb_ur:
3332 case Hexagon::S4_storerf_ur:
3333 case Hexagon::S4_storerh_ur:
3334 case Hexagon::S4_storeri_ur: {
3335 // op: Ii
3336 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3337 Value |= (op & 0x2) << 12;
3338 Value |= (op & 0x1) << 6;
3339 // op: II
3340 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
3341 Value |= (op & 0x3f);
3342 // op: Ru32
3343 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3344 Value |= (op & 0x1f) << 16;
3345 // op: Rt32
3346 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
3347 Value |= (op & 0x1f) << 8;
3348 break;
3349 }
3350 case Hexagon::S4_storerd_ur: {
3351 // op: Ii
3352 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3353 Value |= (op & 0x2) << 12;
3354 Value |= (op & 0x1) << 6;
3355 // op: II
3356 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
3357 Value |= (op & 0x3f);
3358 // op: Ru32
3359 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3360 Value |= (op & 0x1f) << 16;
3361 // op: Rtt32
3362 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
3363 Value |= (op & 0x1f) << 8;
3364 break;
3365 }
3366 case Hexagon::F2_sfimm_n:
3367 case Hexagon::F2_sfimm_p: {
3368 // op: Ii
3369 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3370 Value |= (op & 0x200) << 12;
3371 Value |= (op & 0x1ff) << 5;
3372 // op: Rd32
3373 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3374 Value |= (op & 0x1f);
3375 break;
3376 }
3377 case Hexagon::F2_dfimm_n:
3378 case Hexagon::F2_dfimm_p: {
3379 // op: Ii
3380 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3381 Value |= (op & 0x200) << 12;
3382 Value |= (op & 0x1ff) << 5;
3383 // op: Rdd32
3384 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3385 Value |= (op & 0x1f);
3386 break;
3387 }
3388 case Hexagon::A2_subri: {
3389 // op: Ii
3390 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3391 Value |= (op & 0x200) << 12;
3392 Value |= (op & 0x1ff) << 5;
3393 // op: Rs32
3394 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
3395 Value |= (op & 0x1f) << 16;
3396 // op: Rd32
3397 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3398 Value |= (op & 0x1f);
3399 break;
3400 }
3401 case Hexagon::SA1_combine0i:
3402 case Hexagon::SA1_combine1i:
3403 case Hexagon::SA1_combine2i:
3404 case Hexagon::SA1_combine3i: {
3405 // op: Ii
3406 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3407 Value |= (op & 0x3) << 5;
3408 // op: Rdd8
3409 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3410 Value |= (op & 0x7);
3411 break;
3412 }
3413 case Hexagon::SA1_cmpeqi: {
3414 // op: Ii
3415 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3416 Value |= (op & 0x3);
3417 // op: Rs16
3418 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3419 Value |= (op & 0xf) << 4;
3420 break;
3421 }
3422 case Hexagon::S4_pstorerbnewf_abs:
3423 case Hexagon::S4_pstorerbnewfnew_abs:
3424 case Hexagon::S4_pstorerbnewt_abs:
3425 case Hexagon::S4_pstorerbnewtnew_abs:
3426 case Hexagon::S4_pstorerhnewf_abs:
3427 case Hexagon::S4_pstorerhnewfnew_abs:
3428 case Hexagon::S4_pstorerhnewt_abs:
3429 case Hexagon::S4_pstorerhnewtnew_abs:
3430 case Hexagon::S4_pstorerinewf_abs:
3431 case Hexagon::S4_pstorerinewfnew_abs:
3432 case Hexagon::S4_pstorerinewt_abs:
3433 case Hexagon::S4_pstorerinewtnew_abs: {
3434 // op: Ii
3435 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3436 Value |= (op & 0x30) << 12;
3437 Value |= (op & 0xf) << 3;
3438 // op: Pv4
3439 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3440 Value |= (op & 0x3);
3441 // op: Nt8
3442 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
3443 Value |= (op & 0x7) << 8;
3444 break;
3445 }
3446 case Hexagon::S4_pstorerbf_abs:
3447 case Hexagon::S4_pstorerbfnew_abs:
3448 case Hexagon::S4_pstorerbt_abs:
3449 case Hexagon::S4_pstorerbtnew_abs:
3450 case Hexagon::S4_pstorerff_abs:
3451 case Hexagon::S4_pstorerffnew_abs:
3452 case Hexagon::S4_pstorerft_abs:
3453 case Hexagon::S4_pstorerftnew_abs:
3454 case Hexagon::S4_pstorerhf_abs:
3455 case Hexagon::S4_pstorerhfnew_abs:
3456 case Hexagon::S4_pstorerht_abs:
3457 case Hexagon::S4_pstorerhtnew_abs:
3458 case Hexagon::S4_pstorerif_abs:
3459 case Hexagon::S4_pstorerifnew_abs:
3460 case Hexagon::S4_pstorerit_abs:
3461 case Hexagon::S4_pstoreritnew_abs: {
3462 // op: Ii
3463 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3464 Value |= (op & 0x30) << 12;
3465 Value |= (op & 0xf) << 3;
3466 // op: Pv4
3467 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3468 Value |= (op & 0x3);
3469 // op: Rt32
3470 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
3471 Value |= (op & 0x1f) << 8;
3472 break;
3473 }
3474 case Hexagon::S4_pstorerdf_abs:
3475 case Hexagon::S4_pstorerdfnew_abs:
3476 case Hexagon::S4_pstorerdt_abs:
3477 case Hexagon::S4_pstorerdtnew_abs: {
3478 // op: Ii
3479 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3480 Value |= (op & 0x30) << 12;
3481 Value |= (op & 0xf) << 3;
3482 // op: Pv4
3483 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3484 Value |= (op & 0x3);
3485 // op: Rtt32
3486 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
3487 Value |= (op & 0x1f) << 8;
3488 break;
3489 }
3490 case Hexagon::M4_mpyri_addi: {
3491 // op: Ii
3492 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3493 Value |= (op & 0x30) << 17;
3494 Value |= (op & 0x8) << 10;
3495 Value |= (op & 0x7) << 5;
3496 // op: II
3497 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
3498 Value |= (op & 0x20) << 18;
3499 Value |= (op & 0x1f);
3500 // op: Rs32
3501 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
3502 Value |= (op & 0x1f) << 16;
3503 // op: Rd32
3504 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3505 Value |= (op & 0x1f) << 8;
3506 break;
3507 }
3508 case Hexagon::M4_mpyrr_addi: {
3509 // op: Ii
3510 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3511 Value |= (op & 0x30) << 17;
3512 Value |= (op & 0x8) << 10;
3513 Value |= (op & 0x7) << 5;
3514 // op: Rs32
3515 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
3516 Value |= (op & 0x1f) << 16;
3517 // op: Rt32
3518 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
3519 Value |= (op & 0x1f) << 8;
3520 // op: Rd32
3521 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3522 Value |= (op & 0x1f);
3523 break;
3524 }
3525 case Hexagon::S2_storerd_io: {
3526 // op: Ii
3527 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3528 Value |= (op & 0x3000) << 13;
3529 Value |= (op & 0x800) << 2;
3530 Value |= (op & 0x7f8) >> 3;
3531 // op: Rs32
3532 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3533 Value |= (op & 0x1f) << 16;
3534 // op: Rtt32
3535 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
3536 Value |= (op & 0x1f) << 8;
3537 break;
3538 }
3539 case Hexagon::L2_loadrigp:
3540 case Hexagon::PS_loadriabs: {
3541 // op: Ii
3542 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3543 Value |= (op & 0x30000) << 9;
3544 Value |= (op & 0xf800) << 5;
3545 Value |= (op & 0x7fc) << 3;
3546 // op: Rd32
3547 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3548 Value |= (op & 0x1f);
3549 break;
3550 }
3551 case Hexagon::SS1_storew_io: {
3552 // op: Ii
3553 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3554 Value |= (op & 0x3c) << 6;
3555 // op: Rs16
3556 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3557 Value |= (op & 0xf) << 4;
3558 // op: Rt16
3559 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
3560 Value |= (op & 0xf);
3561 break;
3562 }
3563 case Hexagon::SS2_storewi0:
3564 case Hexagon::SS2_storewi1: {
3565 // op: Ii
3566 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3567 Value |= (op & 0x3c) >> 2;
3568 // op: Rs16
3569 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3570 Value |= (op & 0xf) << 4;
3571 break;
3572 }
3573 case Hexagon::S4_lsli: {
3574 // op: Ii
3575 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3576 Value |= (op & 0x3e) << 15;
3577 Value |= (op & 0x1) << 5;
3578 // op: Rt32
3579 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
3580 Value |= (op & 0x1f) << 8;
3581 // op: Rd32
3582 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3583 Value |= (op & 0x1f);
3584 break;
3585 }
3586 case Hexagon::SA1_seti: {
3587 // op: Ii
3588 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3589 Value |= (op & 0x3f) << 4;
3590 // op: Rd16
3591 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3592 Value |= (op & 0xf);
3593 break;
3594 }
3595 case Hexagon::L4_iadd_memopb_io:
3596 case Hexagon::L4_iand_memopb_io:
3597 case Hexagon::L4_ior_memopb_io:
3598 case Hexagon::L4_isub_memopb_io: {
3599 // op: Ii
3600 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3601 Value |= (op & 0x3f) << 7;
3602 // op: II
3603 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
3604 Value |= (op & 0x1f);
3605 // op: Rs32
3606 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3607 Value |= (op & 0x1f) << 16;
3608 break;
3609 }
3610 case Hexagon::S4_storeirb_io: {
3611 // op: Ii
3612 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3613 Value |= (op & 0x3f) << 7;
3614 // op: II
3615 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
3616 Value |= (op & 0x80) << 6;
3617 Value |= (op & 0x7f);
3618 // op: Rs32
3619 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3620 Value |= (op & 0x1f) << 16;
3621 break;
3622 }
3623 case Hexagon::C4_addipc: {
3624 // op: Ii
3625 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3626 Value |= (op & 0x3f) << 7;
3627 // op: Rd32
3628 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3629 Value |= (op & 0x1f);
3630 break;
3631 }
3632 case Hexagon::L4_add_memopb_io:
3633 case Hexagon::L4_and_memopb_io:
3634 case Hexagon::L4_or_memopb_io:
3635 case Hexagon::L4_sub_memopb_io: {
3636 // op: Ii
3637 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3638 Value |= (op & 0x3f) << 7;
3639 // op: Rs32
3640 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3641 Value |= (op & 0x1f) << 16;
3642 // op: Rt32
3643 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
3644 Value |= (op & 0x1f);
3645 break;
3646 }
3647 case Hexagon::Y2_dcfetchbo:
3648 case Hexagon::Y2_dcfetchbo_nt: {
3649 // op: Ii
3650 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3651 Value |= (op & 0x3ff8) >> 3;
3652 // op: Rs32
3653 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3654 Value |= (op & 0x1f) << 16;
3655 break;
3656 }
3657 case Hexagon::J2_jumprgtez:
3658 case Hexagon::J2_jumprgtezpt:
3659 case Hexagon::J2_jumprltez:
3660 case Hexagon::J2_jumprltezpt:
3661 case Hexagon::J2_jumprnz:
3662 case Hexagon::J2_jumprnzpt:
3663 case Hexagon::J2_jumprz:
3664 case Hexagon::J2_jumprzpt: {
3665 // op: Ii
3666 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3667 Value |= (op & 0x4000) << 7;
3668 Value |= (op & 0x2000);
3669 Value |= (op & 0x1ffc) >> 1;
3670 // op: Rs32
3671 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3672 Value |= (op & 0x1f) << 16;
3673 break;
3674 }
3675 case Hexagon::J4_tstbit0_f_jumpnv_nt:
3676 case Hexagon::J4_tstbit0_f_jumpnv_t:
3677 case Hexagon::J4_tstbit0_t_jumpnv_nt:
3678 case Hexagon::J4_tstbit0_t_jumpnv_t: {
3679 // op: Ii
3680 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3681 Value |= (op & 0x600) << 11;
3682 Value |= (op & 0x1fc) >> 1;
3683 // op: Ns8
3684 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3685 Value |= (op & 0x7) << 16;
3686 break;
3687 }
3688 case Hexagon::J4_tstbit0_fp0_jump_nt:
3689 case Hexagon::J4_tstbit0_fp0_jump_t:
3690 case Hexagon::J4_tstbit0_fp1_jump_nt:
3691 case Hexagon::J4_tstbit0_fp1_jump_t:
3692 case Hexagon::J4_tstbit0_tp0_jump_nt:
3693 case Hexagon::J4_tstbit0_tp0_jump_t:
3694 case Hexagon::J4_tstbit0_tp1_jump_nt:
3695 case Hexagon::J4_tstbit0_tp1_jump_t: {
3696 // op: Ii
3697 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3698 Value |= (op & 0x600) << 11;
3699 Value |= (op & 0x1fc) >> 1;
3700 // op: Rs16
3701 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3702 Value |= (op & 0xf) << 16;
3703 break;
3704 }
3705 case Hexagon::S2_storerbnew_io: {
3706 // op: Ii
3707 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3708 Value |= (op & 0x600) << 16;
3709 Value |= (op & 0x100) << 5;
3710 Value |= (op & 0xff);
3711 // op: Rs32
3712 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3713 Value |= (op & 0x1f) << 16;
3714 // op: Nt8
3715 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
3716 Value |= (op & 0x7) << 8;
3717 break;
3718 }
3719 case Hexagon::S2_storerb_io: {
3720 // op: Ii
3721 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3722 Value |= (op & 0x600) << 16;
3723 Value |= (op & 0x100) << 5;
3724 Value |= (op & 0xff);
3725 // op: Rs32
3726 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3727 Value |= (op & 0x1f) << 16;
3728 // op: Rt32
3729 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
3730 Value |= (op & 0x1f) << 8;
3731 break;
3732 }
3733 case Hexagon::L2_loadrdgp:
3734 case Hexagon::PS_loadrdabs: {
3735 // op: Ii
3736 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3737 Value |= (op & 0x60000) << 8;
3738 Value |= (op & 0x1f000) << 4;
3739 Value |= (op & 0xff8) << 2;
3740 // op: Rdd32
3741 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3742 Value |= (op & 0x1f);
3743 break;
3744 }
3745 case Hexagon::SL2_loadri_sp: {
3746 // op: Ii
3747 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3748 Value |= (op & 0x7c) << 2;
3749 // op: Rd16
3750 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3751 Value |= (op & 0xf);
3752 break;
3753 }
3754 case Hexagon::L4_iadd_memoph_io:
3755 case Hexagon::L4_iand_memoph_io:
3756 case Hexagon::L4_ior_memoph_io:
3757 case Hexagon::L4_isub_memoph_io: {
3758 // op: Ii
3759 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3760 Value |= (op & 0x7e) << 6;
3761 // op: II
3762 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
3763 Value |= (op & 0x1f);
3764 // op: Rs32
3765 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3766 Value |= (op & 0x1f) << 16;
3767 break;
3768 }
3769 case Hexagon::S4_storeirh_io: {
3770 // op: Ii
3771 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3772 Value |= (op & 0x7e) << 6;
3773 // op: II
3774 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
3775 Value |= (op & 0x80) << 6;
3776 Value |= (op & 0x7f);
3777 // op: Rs32
3778 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3779 Value |= (op & 0x1f) << 16;
3780 break;
3781 }
3782 case Hexagon::L4_add_memoph_io:
3783 case Hexagon::L4_and_memoph_io:
3784 case Hexagon::L4_or_memoph_io:
3785 case Hexagon::L4_sub_memoph_io: {
3786 // op: Ii
3787 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3788 Value |= (op & 0x7e) << 6;
3789 // op: Rs32
3790 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3791 Value |= (op & 0x1f) << 16;
3792 // op: Rt32
3793 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
3794 Value |= (op & 0x1f);
3795 break;
3796 }
3797 case Hexagon::V6_vS32b_srls_ai:
3798 case Hexagon::V6_zLd_ai: {
3799 // op: Ii
3800 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3801 Value |= (op & 0x8) << 10;
3802 Value |= (op & 0x7) << 8;
3803 // op: Rt32
3804 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3805 Value |= (op & 0x1f) << 16;
3806 break;
3807 }
3808 case Hexagon::V6_vS32b_new_ai:
3809 case Hexagon::V6_vS32b_nt_new_ai: {
3810 // op: Ii
3811 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3812 Value |= (op & 0x8) << 10;
3813 Value |= (op & 0x7) << 8;
3814 // op: Rt32
3815 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3816 Value |= (op & 0x1f) << 16;
3817 // op: Os8
3818 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
3819 Value |= (op & 0x7);
3820 break;
3821 }
3822 case Hexagon::V6_vS32Ub_ai:
3823 case Hexagon::V6_vS32b_ai:
3824 case Hexagon::V6_vS32b_nt_ai: {
3825 // op: Ii
3826 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3827 Value |= (op & 0x8) << 10;
3828 Value |= (op & 0x7) << 8;
3829 // op: Rt32
3830 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3831 Value |= (op & 0x1f) << 16;
3832 // op: Vs32
3833 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
3834 Value |= (op & 0x1f);
3835 break;
3836 }
3837 case Hexagon::S2_storerhnew_io: {
3838 // op: Ii
3839 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3840 Value |= (op & 0xc00) << 15;
3841 Value |= (op & 0x200) << 4;
3842 Value |= (op & 0x1fe) >> 1;
3843 // op: Rs32
3844 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3845 Value |= (op & 0x1f) << 16;
3846 // op: Nt8
3847 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
3848 Value |= (op & 0x7) << 8;
3849 break;
3850 }
3851 case Hexagon::S2_storerf_io:
3852 case Hexagon::S2_storerh_io: {
3853 // op: Ii
3854 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3855 Value |= (op & 0xc00) << 15;
3856 Value |= (op & 0x200) << 4;
3857 Value |= (op & 0x1fe) >> 1;
3858 // op: Rs32
3859 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3860 Value |= (op & 0x1f) << 16;
3861 // op: Rt32
3862 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
3863 Value |= (op & 0x1f) << 8;
3864 break;
3865 }
3866 case Hexagon::L2_loadrbgp:
3867 case Hexagon::L2_loadrubgp:
3868 case Hexagon::PS_loadrbabs:
3869 case Hexagon::PS_loadrubabs: {
3870 // op: Ii
3871 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3872 Value |= (op & 0xc000) << 11;
3873 Value |= (op & 0x3e00) << 7;
3874 Value |= (op & 0x1ff) << 5;
3875 // op: Rd32
3876 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3877 Value |= (op & 0x1f);
3878 break;
3879 }
3880 case Hexagon::A2_tfrsi: {
3881 // op: Ii
3882 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3883 Value |= (op & 0xc000) << 8;
3884 Value |= (op & 0x3e00) << 7;
3885 Value |= (op & 0x1ff) << 5;
3886 // op: Rd32
3887 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3888 Value |= (op & 0x1f);
3889 break;
3890 }
3891 case Hexagon::SS2_storeh_io: {
3892 // op: Ii
3893 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3894 Value |= (op & 0xe) << 7;
3895 // op: Rs16
3896 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3897 Value |= (op & 0xf) << 4;
3898 // op: Rt16
3899 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
3900 Value |= (op & 0xf);
3901 break;
3902 }
3903 case Hexagon::S4_addi_asl_ri:
3904 case Hexagon::S4_addi_lsr_ri:
3905 case Hexagon::S4_andi_asl_ri:
3906 case Hexagon::S4_andi_lsr_ri:
3907 case Hexagon::S4_ori_asl_ri:
3908 case Hexagon::S4_ori_lsr_ri:
3909 case Hexagon::S4_subi_asl_ri:
3910 case Hexagon::S4_subi_lsr_ri: {
3911 // op: Ii
3912 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3913 Value |= (op & 0xe0) << 16;
3914 Value |= (op & 0x10) << 9;
3915 Value |= (op & 0xe) << 4;
3916 Value |= (op & 0x1) << 3;
3917 // op: II
3918 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
3919 Value |= (op & 0x1f) << 8;
3920 // op: Rx32
3921 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3922 Value |= (op & 0x1f) << 16;
3923 break;
3924 }
3925 case Hexagon::SS1_storeb_io: {
3926 // op: Ii
3927 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3928 Value |= (op & 0xf) << 8;
3929 // op: Rs16
3930 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3931 Value |= (op & 0xf) << 4;
3932 // op: Rt16
3933 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
3934 Value |= (op & 0xf);
3935 break;
3936 }
3937 case Hexagon::SS2_storebi0:
3938 case Hexagon::SS2_storebi1: {
3939 // op: Ii
3940 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3941 Value |= (op & 0xf);
3942 // op: Rs16
3943 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3944 Value |= (op & 0xf) << 4;
3945 break;
3946 }
3947 case Hexagon::SL2_loadrd_sp: {
3948 // op: Ii
3949 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3950 Value |= (op & 0xf8);
3951 // op: Rdd8
3952 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3953 Value |= (op & 0x7);
3954 break;
3955 }
3956 case Hexagon::SA1_addsp: {
3957 // op: Ii
3958 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3959 Value |= (op & 0xfc) << 2;
3960 // op: Rd16
3961 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3962 Value |= (op & 0xf);
3963 break;
3964 }
3965 case Hexagon::L4_iadd_memopw_io:
3966 case Hexagon::L4_iand_memopw_io:
3967 case Hexagon::L4_ior_memopw_io:
3968 case Hexagon::L4_isub_memopw_io: {
3969 // op: Ii
3970 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3971 Value |= (op & 0xfc) << 5;
3972 // op: II
3973 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
3974 Value |= (op & 0x1f);
3975 // op: Rs32
3976 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3977 Value |= (op & 0x1f) << 16;
3978 break;
3979 }
3980 case Hexagon::S4_storeiri_io: {
3981 // op: Ii
3982 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3983 Value |= (op & 0xfc) << 5;
3984 // op: II
3985 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
3986 Value |= (op & 0x80) << 6;
3987 Value |= (op & 0x7f);
3988 // op: Rs32
3989 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
3990 Value |= (op & 0x1f) << 16;
3991 break;
3992 }
3993 case Hexagon::L4_add_memopw_io:
3994 case Hexagon::L4_and_memopw_io:
3995 case Hexagon::L4_or_memopw_io:
3996 case Hexagon::L4_sub_memopw_io: {
3997 // op: Ii
3998 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
3999 Value |= (op & 0xfc) << 5;
4000 // op: Rs32
4001 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
4002 Value |= (op & 0x1f) << 16;
4003 // op: Rt32
4004 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
4005 Value |= (op & 0x1f);
4006 break;
4007 }
4008 case Hexagon::A4_combineii: {
4009 // op: Ii
4010 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
4011 Value |= (op & 0xff) << 5;
4012 // op: II
4013 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
4014 Value |= (op & 0x3e) << 15;
4015 Value |= (op & 0x1) << 13;
4016 // op: Rdd32
4017 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
4018 Value |= (op & 0x1f);
4019 break;
4020 }
4021 case Hexagon::A2_combineii: {
4022 // op: Ii
4023 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
4024 Value |= (op & 0xff) << 5;
4025 // op: II
4026 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
4027 Value |= (op & 0xfe) << 15;
4028 Value |= (op & 0x1) << 13;
4029 // op: Rdd32
4030 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
4031 Value |= (op & 0x1f);
4032 break;
4033 }
4034 case Hexagon::A4_combineir: {
4035 // op: Ii
4036 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
4037 Value |= (op & 0xff) << 5;
4038 // op: Rs32
4039 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
4040 Value |= (op & 0x1f) << 16;
4041 // op: Rdd32
4042 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
4043 Value |= (op & 0x1f);
4044 break;
4045 }
4046 case Hexagon::S2_pstorerdf_io:
4047 case Hexagon::S2_pstorerdt_io:
4048 case Hexagon::S4_pstorerdfnew_io:
4049 case Hexagon::S4_pstorerdtnew_io: {
4050 // op: Ii
4051 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
4052 Value |= (op & 0x100) << 5;
4053 Value |= (op & 0xf8);
4054 // op: Pv4
4055 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
4056 Value |= (op & 0x3);
4057 // op: Rs32
4058 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
4059 Value |= (op & 0x1f) << 16;
4060 // op: Rtt32
4061 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
4062 Value |= (op & 0x1f) << 8;
4063 break;
4064 }
4065 case Hexagon::L2_loadri_io: {
4066 // op: Ii
4067 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
4068 Value |= (op & 0x1800) << 14;
4069 Value |= (op & 0x7fc) << 3;
4070 // op: Rs32
4071 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
4072 Value |= (op & 0x1f) << 16;
4073 // op: Rd32
4074 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
4075 Value |= (op & 0x1f);
4076 break;
4077 }
4078 case Hexagon::L2_loadbsw4_io:
4079 case Hexagon::L2_loadbzw4_io: {
4080 // op: Ii
4081 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
4082 Value |= (op & 0x1800) << 14;
4083 Value |= (op & 0x7fc) << 3;
4084 // op: Rs32
4085 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
4086 Value |= (op & 0x1f) << 16;
4087 // op: Rdd32
4088 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
4089 Value |= (op & 0x1f);
4090 break;
4091 }
4092 case Hexagon::S2_storerhnew_pci: {
4093 // op: Ii
4094 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
4095 Value |= (op & 0x1e) << 2;
4096 // op: Mu2
4097 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
4098 Value |= (op & 0x1) << 13;
4099 // op: Nt8
4100 op = getMachineOpValue(MI, MO: MI.getOperand(i: 4), Fixups, STI);
4101 Value |= (op & 0x7) << 8;
4102 // op: Rx32
4103 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
4104 Value |= (op & 0x1f) << 16;
4105 break;
4106 }
4107 case Hexagon::S2_storerf_pci:
4108 case Hexagon::S2_storerh_pci: {
4109 // op: Ii
4110 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
4111 Value |= (op & 0x1e) << 2;
4112 // op: Mu2
4113 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
4114 Value |= (op & 0x1) << 13;
4115 // op: Rt32
4116 op = getMachineOpValue(MI, MO: MI.getOperand(i: 4), Fixups, STI);
4117 Value |= (op & 0x1f) << 8;
4118 // op: Rx32
4119 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
4120 Value |= (op & 0x1f) << 16;
4121 break;
4122 }
4123 case Hexagon::S2_storerhnew_pi: {
4124 // op: Ii
4125 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
4126 Value |= (op & 0x1e) << 2;
4127 // op: Nt8
4128 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
4129 Value |= (op & 0x7) << 8;
4130 // op: Rx32
4131 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
4132 Value |= (op & 0x1f) << 16;
4133 break;
4134 }
4135 case Hexagon::S2_storerf_pi:
4136 case Hexagon::S2_storerh_pi:
4137 case Hexagon::S2_storerh_pi_nt: {
4138 // op: Ii
4139 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
4140 Value |= (op & 0x1e) << 2;
4141 // op: Rt32
4142 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
4143 Value |= (op & 0x1f) << 8;
4144 // op: Rx32
4145 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
4146 Value |= (op & 0x1f) << 16;
4147 break;
4148 }
4149 case Hexagon::LX_sub_ilog2_uw:
4150 case Hexagon::LX_sub_ilog2_w: {
4151 // op: Ii
4152 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
4153 Value |= (op & 0x1f) << 16;
4154 // op: Luu16
4155 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
4156 Value |= (op & 0xf) << 6;
4157 // op: Ld16
4158 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
4159 Value |= (op & 0xf) << 1;
4160 break;
4161 }
4162 case Hexagon::F2_dfclass: {
4163 // op: Ii
4164 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
4165 Value |= (op & 0x1f) << 5;
4166 // op: Rss32
4167 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
4168 Value |= (op & 0x1f) << 16;
4169 // op: Pd4
4170 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
4171 Value |= (op & 0x3);
4172 break;
4173 }
4174 case Hexagon::S2_extractu:
4175 case Hexagon::S4_extract: {
4176 // op: Ii
4177 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
4178 Value |= (op & 0x1f) << 8;
4179 // op: II
4180 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
4181 Value |= (op & 0x18) << 18;
4182 Value |= (op & 0x7) << 5;
4183 // op: Rs32
4184 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
4185 Value |= (op & 0x1f) << 16;
4186 // op: Rd32
4187 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
4188 Value |= (op & 0x1f);
4189 break;
4190 }
4191 case Hexagon::F2_sfclass:
4192 case Hexagon::S2_tstbit_i:
4193 case Hexagon::S4_ntstbit_i: {
4194 // op: Ii
4195 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
4196 Value |= (op & 0x1f) << 8;
4197 // op: Rs32
4198 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
4199 Value |= (op & 0x1f) << 16;
4200 // op: Pd4
4201 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
4202 Value |= (op & 0x3);
4203 break;
4204 }
4205 case Hexagon::A4_cround_ri:
4206 case Hexagon::A4_round_ri:
4207 case Hexagon::A4_round_ri_sat:
4208 case Hexagon::A7_clip:
4209 case Hexagon::S2_asl_i_r:
4210 case Hexagon::S2_asl_i_r_sat:
4211 case Hexagon::S2_asr_i_r:
4212 case Hexagon::S2_asr_i_r_rnd:
4213 case Hexagon::S2_clrbit_i:
4214 case Hexagon::S2_lsr_i_r:
4215 case Hexagon::S2_setbit_i:
4216 case Hexagon::S2_togglebit_i:
4217 case Hexagon::S6_rol_i_r: {
4218 // op: Ii
4219 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
4220 Value |= (op & 0x1f) << 8;
4221 // op: Rs32
4222 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
4223 Value |= (op & 0x1f) << 16;
4224 // op: Rd32
4225 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
4226 Value |= (op & 0x1f);
4227 break;
4228 }
4229 case Hexagon::A4_bitspliti: {
4230 // op: Ii
4231 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
4232 Value |= (op & 0x1f) << 8;
4233 // op: Rs32
4234 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
4235 Value |= (op & 0x1f) << 16;
4236 // op: Rdd32
4237 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
4238 Value |= (op & 0x1f);
4239 break;
4240 }
4241 case Hexagon::S2_asr_i_svw_trun: {
4242 // op: Ii
4243 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
4244 Value |= (op & 0x1f) << 8;
4245 // op: Rss32
4246 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
4247 Value |= (op & 0x1f) << 16;
4248 // op: Rd32
4249 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
4250 Value |= (op & 0x1f);
4251 break;
4252 }
4253 case Hexagon::A7_vclip:
4254 case Hexagon::S2_asl_i_vw:
4255 case Hexagon::S2_asr_i_vw:
4256 case Hexagon::S2_lsr_i_vw: {
4257 // op: Ii
4258 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
4259 Value |= (op & 0x1f) << 8;
4260 // op: Rss32
4261 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
4262 Value |= (op & 0x1f) << 16;
4263 // op: Rdd32
4264 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
4265 Value |= (op & 0x1f);
4266 break;
4267 }
4268 case Hexagon::C2_cmpgtui:
4269 case Hexagon::C4_cmplteui: {
4270 // op: Ii
4271 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
4272 Value |= (op & 0x1ff) << 5;
4273 // op: Rs32
4274 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
4275 Value |= (op & 0x1f) << 16;
4276 // op: Pd4
4277 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
4278 Value |= (op & 0x3);
4279 break;
4280 }
4281 case Hexagon::L4_loadbsw2_ur:
4282 case Hexagon::L4_loadbzw2_ur:
4283 case Hexagon::L4_loadrb_ur:
4284 case Hexagon::L4_loadrh_ur:
4285 case Hexagon::L4_loadri_ur:
4286 case Hexagon::L4_loadrub_ur:
4287 case Hexagon::L4_loadruh_ur: {
4288 // op: Ii
4289 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
4290 Value |= (op & 0x2) << 12;
4291 Value |= (op & 0x1) << 7;
4292 // op: II
4293 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
4294 Value |= (op & 0x3c) << 6;
4295 Value |= (op & 0x3) << 5;
4296 // op: Rt32
4297 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
4298 Value |= (op & 0x1f) << 16;
4299 // op: Rd32
4300 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
4301 Value |= (op & 0x1f);
4302 break;
4303 }
4304 case Hexagon::L4_loadbsw4_ur:
4305 case Hexagon::L4_loadbzw4_ur:
4306 case Hexagon::L4_loadrd_ur: {
4307 // op: Ii
4308 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
4309 Value |= (op & 0x2) << 12;
4310 Value |= (op & 0x1) << 7;
4311 // op: II
4312 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
4313 Value |= (op & 0x3c) << 6;
4314 Value |= (op & 0x3) << 5;
4315 // op: Rt32
4316 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
4317 Value |= (op & 0x1f) << 16;
4318 // op: Rdd32
4319 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
4320 Value |= (op & 0x1f);
4321 break;
4322 }
4323 case Hexagon::S4_storerbnew_rr:
4324 case Hexagon::S4_storerhnew_rr:
4325 case Hexagon::S4_storerinew_rr: {
4326 // op: Ii
4327 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
4328 Value |= (op & 0x2) << 12;
4329 Value |= (op & 0x1) << 7;
4330 // op: Rs32
4331 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
4332 Value |= (op & 0x1f) << 16;
4333 // op: Ru32
4334 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
4335 Value |= (op & 0x1f) << 8;
4336 // op: Nt8
4337 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
4338 Value |= (op & 0x7);
4339 break;
4340 }
4341 case Hexagon::S4_storerb_rr:
4342 case Hexagon::S4_storerf_rr:
4343 case Hexagon::S4_storerh_rr:
4344 case Hexagon::S4_storeri_rr: {
4345 // op: Ii
4346 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
4347 Value |= (op & 0x2) << 12;
4348 Value |= (op & 0x1) << 7;
4349 // op: Rs32
4350 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
4351 Value |= (op & 0x1f) << 16;
4352 // op: Ru32
4353 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
4354 Value |= (op & 0x1f) << 8;
4355 // op: Rt32
4356 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
4357 Value |= (op & 0x1f);
4358 break;
4359 }
4360 case Hexagon::S4_storerd_rr: {
4361 // op: Ii
4362 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
4363 Value |= (op & 0x2) << 12;
4364 Value |= (op & 0x1) << 7;
4365 // op: Rs32
4366 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
4367 Value |= (op & 0x1f) << 16;
4368 // op: Ru32
4369 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
4370 Value |= (op & 0x1f) << 8;
4371 // op: Rtt32
4372 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
4373 Value |= (op & 0x1f);
4374 break;
4375 }
4376 case Hexagon::S2_pstorerbnewf_io:
4377 case Hexagon::S2_pstorerbnewt_io:
4378 case Hexagon::S4_pstorerbnewfnew_io:
4379 case Hexagon::S4_pstorerbnewtnew_io: {
4380 // op: Ii
4381 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
4382 Value |= (op & 0x20) << 8;
4383 Value |= (op & 0x1f) << 3;
4384 // op: Pv4
4385 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
4386 Value |= (op & 0x3);
4387 // op: Rs32
4388 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
4389 Value |= (op & 0x1f) << 16;
4390 // op: Nt8
4391 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
4392 Value |= (op & 0x7) << 8;
4393 break;
4394 }
4395 case Hexagon::S2_pstorerbf_io:
4396 case Hexagon::S2_pstorerbt_io:
4397 case Hexagon::S4_pstorerbfnew_io:
4398 case Hexagon::S4_pstorerbtnew_io: {
4399 // op: Ii
4400 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
4401 Value |= (op & 0x20) << 8;
4402 Value |= (op & 0x1f) << 3;
4403 // op: Pv4
4404 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
4405 Value |= (op & 0x3);
4406 // op: Rs32
4407 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
4408 Value |= (op & 0x1f) << 16;
4409 // op: Rt32
4410 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
4411 Value |= (op & 0x1f) << 8;
4412 break;
4413 }
4414 case Hexagon::C2_cmpeqi:
4415 case Hexagon::C2_cmpgti:
4416 case Hexagon::C4_cmpltei:
4417 case Hexagon::C4_cmpneqi: {
4418 // op: Ii
4419 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
4420 Value |= (op & 0x200) << 12;
4421 Value |= (op & 0x1ff) << 5;
4422 // op: Rs32
4423 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
4424 Value |= (op & 0x1f) << 16;
4425 // op: Pd4
4426 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
4427 Value |= (op & 0x3);
4428 break;
4429 }
4430 case Hexagon::A2_andir:
4431 case Hexagon::A2_orir: {
4432 // op: Ii
4433 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
4434 Value |= (op & 0x200) << 12;
4435 Value |= (op & 0x1ff) << 5;
4436 // op: Rs32
4437 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
4438 Value |= (op & 0x1f) << 16;
4439 // op: Rd32
4440 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
4441 Value |= (op & 0x1f);
4442 break;
4443 }
4444 case Hexagon::S4_subaddi: {
4445 // op: Ii
4446 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
4447 Value |= (op & 0x30) << 17;
4448 Value |= (op & 0x8) << 10;
4449 Value |= (op & 0x7) << 5;
4450 // op: Rs32
4451 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
4452 Value |= (op & 0x1f) << 16;
4453 // op: Ru32
4454 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
4455 Value |= (op & 0x1f);
4456 // op: Rd32
4457 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
4458 Value |= (op & 0x1f) << 8;
4459 break;
4460 }
4461 case Hexagon::L2_loadrd_io: {
4462 // op: Ii
4463 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
4464 Value |= (op & 0x3000) << 13;
4465 Value |= (op & 0xff8) << 2;
4466 // op: Rs32
4467 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
4468 Value |= (op & 0x1f) << 16;
4469 // op: Rdd32
4470 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
4471 Value |= (op & 0x1f);
4472 break;
4473 }
4474 case Hexagon::S2_storerinew_pci: {
4475 // op: Ii
4476 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
4477 Value |= (op & 0x3c) << 1;
4478 // op: Mu2
4479 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
4480 Value |= (op & 0x1) << 13;
4481 // op: Nt8
4482 op = getMachineOpValue(MI, MO: MI.getOperand(i: 4), Fixups, STI);
4483 Value |= (op & 0x7) << 8;
4484 // op: Rx32
4485 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
4486 Value |= (op & 0x1f) << 16;
4487 break;
4488 }
4489 case Hexagon::S2_storeri_pci: {
4490 // op: Ii
4491 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
4492 Value |= (op & 0x3c) << 1;
4493 // op: Mu2
4494 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
4495 Value |= (op & 0x1) << 13;
4496 // op: Rt32
4497 op = getMachineOpValue(MI, MO: MI.getOperand(i: 4), Fixups, STI);
4498 Value |= (op & 0x1f) << 8;
4499 // op: Rx32
4500 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
4501 Value |= (op & 0x1f) << 16;
4502 break;
4503 }
4504 case Hexagon::S2_storerinew_pi: {
4505 // op: Ii
4506 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
4507 Value |= (op & 0x3c) << 1;
4508 // op: Nt8
4509 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
4510 Value |= (op & 0x7) << 8;
4511 // op: Rx32
4512 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
4513 Value |= (op & 0x1f) << 16;
4514 break;
4515 }
4516 case Hexagon::S2_storeri_pi:
4517 case Hexagon::S2_storeri_pi_nt: {
4518 // op: Ii
4519 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
4520 Value |= (op & 0x3c) << 1;
4521 // op: Rt32
4522 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
4523 Value |= (op & 0x1f) << 8;
4524 // op: Rx32
4525 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
4526 Value |= (op & 0x1f) << 16;
4527 break;
4528 }
4529 case Hexagon::SL1_loadri_io: {
4530 // op: Ii
4531 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
4532 Value |= (op & 0x3c) << 6;
4533 // op: Rs16
4534 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
4535 Value |= (op & 0xf) << 4;
4536 // op: Rd16
4537 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
4538 Value |= (op & 0xf);
4539 break;
4540 }
4541 case Hexagon::L4_ploadrbf_abs:
4542 case Hexagon::L4_ploadrbfnew_abs:
4543 case Hexagon::L4_ploadrbt_abs:
4544 case Hexagon::L4_ploadrbtnew_abs:
4545 case Hexagon::L4_ploadrhf_abs:
4546 case Hexagon::L4_ploadrhfnew_abs:
4547 case Hexagon::L4_ploadrht_abs:
4548 case Hexagon::L4_ploadrhtnew_abs:
4549 case Hexagon::L4_ploadrif_abs:
4550 case Hexagon::L4_ploadrifnew_abs:
4551 case Hexagon::L4_ploadrit_abs:
4552 case Hexagon::L4_ploadritnew_abs:
4553 case Hexagon::L4_ploadrubf_abs:
4554 case Hexagon::L4_ploadrubfnew_abs:
4555 case Hexagon::L4_ploadrubt_abs:
4556 case Hexagon::L4_ploadrubtnew_abs:
4557 case Hexagon::L4_ploadruhf_abs:
4558 case Hexagon::L4_ploadruhfnew_abs:
4559 case Hexagon::L4_ploadruht_abs:
4560 case Hexagon::L4_ploadruhtnew_abs: {
4561 // op: Ii
4562 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
4563 Value |= (op & 0x3e) << 15;
4564 Value |= (op & 0x1) << 8;
4565 // op: Pt4
4566 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
4567 Value |= (op & 0x3) << 9;
4568 // op: Rd32
4569 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
4570 Value |= (op & 0x1f);
4571 break;
4572 }
4573 case Hexagon::L4_ploadrdf_abs:
4574 case Hexagon::L4_ploadrdfnew_abs:
4575 case Hexagon::L4_ploadrdt_abs:
4576 case Hexagon::L4_ploadrdtnew_abs: {
4577 // op: Ii
4578 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
4579 Value |= (op & 0x3e) << 15;
4580 Value |= (op & 0x1) << 8;
4581 // op: Pt4
4582 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
4583 Value |= (op & 0x3) << 9;
4584 // op: Rdd32
4585 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
4586 Value |= (op & 0x1f);
4587 break;
4588 }
4589 case Hexagon::S4_storeirbf_io:
4590 case Hexagon::S4_storeirbfnew_io:
4591 case Hexagon::S4_storeirbt_io:
4592 case Hexagon::S4_storeirbtnew_io: {
4593 // op: Ii
4594 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
4595 Value |= (op & 0x3f) << 7;
4596 // op: II
4597 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
4598 Value |= (op & 0x20) << 8;
4599 Value |= (op & 0x1f);
4600 // op: Pv4
4601 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
4602 Value |= (op & 0x3) << 5;
4603 // op: Rs32
4604 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
4605 Value |= (op & 0x1f) << 16;
4606 break;
4607 }
4608 case Hexagon::S2_extractup:
4609 case Hexagon::S4_extractp: {
4610 // op: Ii
4611 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
4612 Value |= (op & 0x3f) << 8;
4613 // op: II
4614 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
4615 Value |= (op & 0x38) << 18;
4616 Value |= (op & 0x7) << 5;
4617 // op: Rss32
4618 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
4619 Value |= (op & 0x1f) << 16;
4620 // op: Rdd32
4621 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
4622 Value |= (op & 0x1f);
4623 break;
4624 }
4625 case Hexagon::C2_bitsclri:
4626 case Hexagon::C4_nbitsclri: {
4627 // op: Ii
4628 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
4629 Value |= (op & 0x3f) << 8;
4630 // op: Rs32
4631 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
4632 Value |= (op & 0x1f) << 16;
4633 // op: Pd4
4634 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
4635 Value |= (op & 0x3);
4636 break;
4637 }
4638 case Hexagon::S4_clbaddi: {
4639 // op: Ii
4640 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
4641 Value |= (op & 0x3f) << 8;
4642 // op: Rs32
4643 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
4644 Value |= (op & 0x1f) << 16;
4645 // op: Rd32
4646 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
4647 Value |= (op & 0x1f);
4648 break;
4649 }
4650 case Hexagon::S4_clbpaddi: {
4651 // op: Ii
4652 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
4653 Value |= (op & 0x3f) << 8;
4654 // op: Rss32
4655 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
4656 Value |= (op & 0x1f) << 16;
4657 // op: Rd32
4658 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
4659 Value |= (op & 0x1f);
4660 break;
4661 }
4662 case Hexagon::A7_croundd_ri:
4663 case Hexagon::S2_asl_i_p:
4664 case Hexagon::S2_asr_i_p:
4665 case Hexagon::S2_asr_i_p_rnd:
4666 case Hexagon::S2_lsr_i_p:
4667 case Hexagon::S6_rol_i_p: {
4668 // op: Ii
4669 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
4670 Value |= (op & 0x3f) << 8;
4671 // op: Rss32
4672 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
4673 Value |= (op & 0x1f) << 16;
4674 // op: Rdd32
4675 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
4676 Value |= (op & 0x1f);
4677 break;
4678 }
4679 case Hexagon::S2_allocframe:
4680 case Hexagon::S2_allocframe_rb: {
4681 // op: Ii
4682 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
4683 Value |= (op & 0x3ff8) >> 3;
4684 // op: Rx32
4685 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
4686 Value |= (op & 0x1f) << 16;
4687 break;
4688 }
4689 case Hexagon::S2_pstorerhnewf_io:
4690 case Hexagon::S2_pstorerhnewt_io:
4691 case Hexagon::S4_pstorerhnewfnew_io:
4692 case Hexagon::S4_pstorerhnewtnew_io: {
4693 // op: Ii
4694 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
4695 Value |= (op & 0x40) << 7;
4696 Value |= (op & 0x3e) << 2;
4697 // op: Pv4
4698 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
4699 Value |= (op & 0x3);
4700 // op: Rs32
4701 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
4702 Value |= (op & 0x1f) << 16;
4703 // op: Nt8
4704 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
4705 Value |= (op & 0x7) << 8;
4706 break;
4707 }
4708 case Hexagon::S2_pstorerff_io:
4709 case Hexagon::S2_pstorerft_io:
4710 case Hexagon::S2_pstorerhf_io:
4711 case Hexagon::S2_pstorerht_io:
4712 case Hexagon::S4_pstorerffnew_io:
4713 case Hexagon::S4_pstorerftnew_io:
4714 case Hexagon::S4_pstorerhfnew_io:
4715 case Hexagon::S4_pstorerhtnew_io: {
4716 // op: Ii
4717 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
4718 Value |= (op & 0x40) << 7;
4719 Value |= (op & 0x3e) << 2;
4720 // op: Pv4
4721 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
4722 Value |= (op & 0x3);
4723 // op: Rs32
4724 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
4725 Value |= (op & 0x1f) << 16;
4726 // op: Rt32
4727 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
4728 Value |= (op & 0x1f) << 8;
4729 break;
4730 }
4731 case Hexagon::J4_cmpeqn1_f_jumpnv_nt:
4732 case Hexagon::J4_cmpeqn1_f_jumpnv_t:
4733 case Hexagon::J4_cmpeqn1_t_jumpnv_nt:
4734 case Hexagon::J4_cmpeqn1_t_jumpnv_t:
4735 case Hexagon::J4_cmpgtn1_f_jumpnv_nt:
4736 case Hexagon::J4_cmpgtn1_f_jumpnv_t:
4737 case Hexagon::J4_cmpgtn1_t_jumpnv_nt:
4738 case Hexagon::J4_cmpgtn1_t_jumpnv_t: {
4739 // op: Ii
4740 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
4741 Value |= (op & 0x600) << 11;
4742 Value |= (op & 0x1fc) >> 1;
4743 // op: Ns8
4744 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
4745 Value |= (op & 0x7) << 16;
4746 break;
4747 }
4748 case Hexagon::J4_cmpeq_f_jumpnv_nt:
4749 case Hexagon::J4_cmpeq_f_jumpnv_t:
4750 case Hexagon::J4_cmpeq_t_jumpnv_nt:
4751 case Hexagon::J4_cmpeq_t_jumpnv_t:
4752 case Hexagon::J4_cmpgt_f_jumpnv_nt:
4753 case Hexagon::J4_cmpgt_f_jumpnv_t:
4754 case Hexagon::J4_cmpgt_t_jumpnv_nt:
4755 case Hexagon::J4_cmpgt_t_jumpnv_t:
4756 case Hexagon::J4_cmpgtu_f_jumpnv_nt:
4757 case Hexagon::J4_cmpgtu_f_jumpnv_t:
4758 case Hexagon::J4_cmpgtu_t_jumpnv_nt:
4759 case Hexagon::J4_cmpgtu_t_jumpnv_t: {
4760 // op: Ii
4761 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
4762 Value |= (op & 0x600) << 11;
4763 Value |= (op & 0x1fc) >> 1;
4764 // op: Ns8
4765 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
4766 Value |= (op & 0x7) << 16;
4767 // op: Rt32
4768 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
4769 Value |= (op & 0x1f) << 8;
4770 break;
4771 }
4772 case Hexagon::J4_cmpeqn1_fp0_jump_nt:
4773 case Hexagon::J4_cmpeqn1_fp0_jump_t:
4774 case Hexagon::J4_cmpeqn1_fp1_jump_nt:
4775 case Hexagon::J4_cmpeqn1_fp1_jump_t:
4776 case Hexagon::J4_cmpeqn1_tp0_jump_nt:
4777 case Hexagon::J4_cmpeqn1_tp0_jump_t:
4778 case Hexagon::J4_cmpeqn1_tp1_jump_nt:
4779 case Hexagon::J4_cmpeqn1_tp1_jump_t:
4780 case Hexagon::J4_cmpgtn1_fp0_jump_nt:
4781 case Hexagon::J4_cmpgtn1_fp0_jump_t:
4782 case Hexagon::J4_cmpgtn1_fp1_jump_nt:
4783 case Hexagon::J4_cmpgtn1_fp1_jump_t:
4784 case Hexagon::J4_cmpgtn1_tp0_jump_nt:
4785 case Hexagon::J4_cmpgtn1_tp0_jump_t:
4786 case Hexagon::J4_cmpgtn1_tp1_jump_nt:
4787 case Hexagon::J4_cmpgtn1_tp1_jump_t: {
4788 // op: Ii
4789 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
4790 Value |= (op & 0x600) << 11;
4791 Value |= (op & 0x1fc) >> 1;
4792 // op: Rs16
4793 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
4794 Value |= (op & 0xf) << 16;
4795 break;
4796 }
4797 case Hexagon::J4_cmpeq_fp0_jump_nt:
4798 case Hexagon::J4_cmpeq_fp0_jump_t:
4799 case Hexagon::J4_cmpeq_fp1_jump_nt:
4800 case Hexagon::J4_cmpeq_fp1_jump_t:
4801 case Hexagon::J4_cmpeq_tp0_jump_nt:
4802 case Hexagon::J4_cmpeq_tp0_jump_t:
4803 case Hexagon::J4_cmpeq_tp1_jump_nt:
4804 case Hexagon::J4_cmpeq_tp1_jump_t:
4805 case Hexagon::J4_cmpgt_fp0_jump_nt:
4806 case Hexagon::J4_cmpgt_fp0_jump_t:
4807 case Hexagon::J4_cmpgt_fp1_jump_nt:
4808 case Hexagon::J4_cmpgt_fp1_jump_t:
4809 case Hexagon::J4_cmpgt_tp0_jump_nt:
4810 case Hexagon::J4_cmpgt_tp0_jump_t:
4811 case Hexagon::J4_cmpgt_tp1_jump_nt:
4812 case Hexagon::J4_cmpgt_tp1_jump_t:
4813 case Hexagon::J4_cmpgtu_fp0_jump_nt:
4814 case Hexagon::J4_cmpgtu_fp0_jump_t:
4815 case Hexagon::J4_cmpgtu_fp1_jump_nt:
4816 case Hexagon::J4_cmpgtu_fp1_jump_t:
4817 case Hexagon::J4_cmpgtu_tp0_jump_nt:
4818 case Hexagon::J4_cmpgtu_tp0_jump_t:
4819 case Hexagon::J4_cmpgtu_tp1_jump_nt:
4820 case Hexagon::J4_cmpgtu_tp1_jump_t: {
4821 // op: Ii
4822 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
4823 Value |= (op & 0x600) << 11;
4824 Value |= (op & 0x1fc) >> 1;
4825 // op: Rs16
4826 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
4827 Value |= (op & 0xf) << 16;
4828 // op: Rt16
4829 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
4830 Value |= (op & 0xf) << 8;
4831 break;
4832 }
4833 case Hexagon::J4_jumpsetr: {
4834 // op: Ii
4835 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
4836 Value |= (op & 0x600) << 11;
4837 Value |= (op & 0x1fc) >> 1;
4838 // op: Rs16
4839 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
4840 Value |= (op & 0xf) << 16;
4841 // op: Rd16
4842 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
4843 Value |= (op & 0xf) << 8;
4844 break;
4845 }
4846 case Hexagon::J4_cmplt_f_jumpnv_nt:
4847 case Hexagon::J4_cmplt_f_jumpnv_t:
4848 case Hexagon::J4_cmplt_t_jumpnv_nt:
4849 case Hexagon::J4_cmplt_t_jumpnv_t:
4850 case Hexagon::J4_cmpltu_f_jumpnv_nt:
4851 case Hexagon::J4_cmpltu_f_jumpnv_t:
4852 case Hexagon::J4_cmpltu_t_jumpnv_nt:
4853 case Hexagon::J4_cmpltu_t_jumpnv_t: {
4854 // op: Ii
4855 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
4856 Value |= (op & 0x600) << 11;
4857 Value |= (op & 0x1fc) >> 1;
4858 // op: Rt32
4859 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
4860 Value |= (op & 0x1f) << 8;
4861 // op: Ns8
4862 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
4863 Value |= (op & 0x7) << 16;
4864 break;
4865 }
4866 case Hexagon::L2_loadrb_io:
4867 case Hexagon::L2_loadrub_io: {
4868 // op: Ii
4869 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
4870 Value |= (op & 0x600) << 16;
4871 Value |= (op & 0x1ff) << 5;
4872 // op: Rs32
4873 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
4874 Value |= (op & 0x1f) << 16;
4875 // op: Rd32
4876 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
4877 Value |= (op & 0x1f);
4878 break;
4879 }
4880 case Hexagon::V6_vS32b_new_pi:
4881 case Hexagon::V6_vS32b_nt_new_pi: {
4882 // op: Ii
4883 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
4884 Value |= (op & 0x7) << 8;
4885 // op: Os8
4886 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
4887 Value |= (op & 0x7);
4888 // op: Rx32
4889 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
4890 Value |= (op & 0x1f) << 16;
4891 break;
4892 }
4893 case Hexagon::SL2_loadrb_io: {
4894 // op: Ii
4895 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
4896 Value |= (op & 0x7) << 8;
4897 // op: Rs16
4898 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
4899 Value |= (op & 0xf) << 4;
4900 // op: Rd16
4901 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
4902 Value |= (op & 0xf);
4903 break;
4904 }
4905 case Hexagon::V6_vS32b_srls_pi:
4906 case Hexagon::V6_zLd_pi: {
4907 // op: Ii
4908 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
4909 Value |= (op & 0x7) << 8;
4910 // op: Rx32
4911 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
4912 Value |= (op & 0x1f) << 16;
4913 break;
4914 }
4915 case Hexagon::V6_vS32Ub_pi:
4916 case Hexagon::V6_vS32b_nt_pi:
4917 case Hexagon::V6_vS32b_pi: {
4918 // op: Ii
4919 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
4920 Value |= (op & 0x7) << 8;
4921 // op: Vs32
4922 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
4923 Value |= (op & 0x1f);
4924 // op: Rx32
4925 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
4926 Value |= (op & 0x1f) << 16;
4927 break;
4928 }
4929 case Hexagon::S2_storerd_pci: {
4930 // op: Ii
4931 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
4932 Value |= (op & 0x78);
4933 // op: Mu2
4934 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
4935 Value |= (op & 0x1) << 13;
4936 // op: Rtt32
4937 op = getMachineOpValue(MI, MO: MI.getOperand(i: 4), Fixups, STI);
4938 Value |= (op & 0x1f) << 8;
4939 // op: Rx32
4940 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
4941 Value |= (op & 0x1f) << 16;
4942 break;
4943 }
4944 case Hexagon::S2_storerd_pi:
4945 case Hexagon::S2_storerd_pi_nt: {
4946 // op: Ii
4947 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
4948 Value |= (op & 0x78);
4949 // op: Rtt32
4950 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
4951 Value |= (op & 0x1f) << 8;
4952 // op: Rx32
4953 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
4954 Value |= (op & 0x1f) << 16;
4955 break;
4956 }
4957 case Hexagon::S4_storeirhf_io:
4958 case Hexagon::S4_storeirhfnew_io:
4959 case Hexagon::S4_storeirht_io:
4960 case Hexagon::S4_storeirhtnew_io: {
4961 // op: Ii
4962 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
4963 Value |= (op & 0x7e) << 6;
4964 // op: II
4965 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
4966 Value |= (op & 0x20) << 8;
4967 Value |= (op & 0x1f);
4968 // op: Pv4
4969 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
4970 Value |= (op & 0x3) << 5;
4971 // op: Rs32
4972 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
4973 Value |= (op & 0x1f) << 16;
4974 break;
4975 }
4976 case Hexagon::SA1_addi: {
4977 // op: Ii
4978 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
4979 Value |= (op & 0x7f) << 4;
4980 // op: Rx16
4981 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
4982 Value |= (op & 0xf);
4983 break;
4984 }
4985 case Hexagon::A4_cmpbgtui:
4986 case Hexagon::A4_cmphgtui: {
4987 // op: Ii
4988 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
4989 Value |= (op & 0x7f) << 5;
4990 // op: Rs32
4991 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
4992 Value |= (op & 0x1f) << 16;
4993 // op: Pd4
4994 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
4995 Value |= (op & 0x3);
4996 break;
4997 }
4998 case Hexagon::A4_vcmpbgtui:
4999 case Hexagon::A4_vcmphgtui:
5000 case Hexagon::A4_vcmpwgtui: {
5001 // op: Ii
5002 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
5003 Value |= (op & 0x7f) << 5;
5004 // op: Rss32
5005 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
5006 Value |= (op & 0x1f) << 16;
5007 // op: Pd4
5008 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
5009 Value |= (op & 0x3);
5010 break;
5011 }
5012 case Hexagon::V6_zLd_pred_ai: {
5013 // op: Ii
5014 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
5015 Value |= (op & 0x8) << 10;
5016 Value |= (op & 0x7) << 8;
5017 // op: Pv4
5018 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
5019 Value |= (op & 0x3) << 11;
5020 // op: Rt32
5021 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
5022 Value |= (op & 0x1f) << 16;
5023 break;
5024 }
5025 case Hexagon::V6_vS32b_new_npred_ai:
5026 case Hexagon::V6_vS32b_new_pred_ai:
5027 case Hexagon::V6_vS32b_nt_new_npred_ai:
5028 case Hexagon::V6_vS32b_nt_new_pred_ai: {
5029 // op: Ii
5030 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
5031 Value |= (op & 0x8) << 10;
5032 Value |= (op & 0x7) << 8;
5033 // op: Pv4
5034 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
5035 Value |= (op & 0x3) << 11;
5036 // op: Rt32
5037 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
5038 Value |= (op & 0x1f) << 16;
5039 // op: Os8
5040 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
5041 Value |= (op & 0x7);
5042 break;
5043 }
5044 case Hexagon::V6_vS32Ub_npred_ai:
5045 case Hexagon::V6_vS32Ub_pred_ai:
5046 case Hexagon::V6_vS32b_npred_ai:
5047 case Hexagon::V6_vS32b_nt_npred_ai:
5048 case Hexagon::V6_vS32b_nt_pred_ai:
5049 case Hexagon::V6_vS32b_pred_ai: {
5050 // op: Ii
5051 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
5052 Value |= (op & 0x8) << 10;
5053 Value |= (op & 0x7) << 8;
5054 // op: Pv4
5055 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
5056 Value |= (op & 0x3) << 11;
5057 // op: Rt32
5058 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
5059 Value |= (op & 0x1f) << 16;
5060 // op: Vs32
5061 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
5062 Value |= (op & 0x1f);
5063 break;
5064 }
5065 case Hexagon::V6_vS32b_nqpred_ai:
5066 case Hexagon::V6_vS32b_nt_nqpred_ai:
5067 case Hexagon::V6_vS32b_nt_qpred_ai:
5068 case Hexagon::V6_vS32b_qpred_ai: {
5069 // op: Ii
5070 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
5071 Value |= (op & 0x8) << 10;
5072 Value |= (op & 0x7) << 8;
5073 // op: Qv4
5074 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
5075 Value |= (op & 0x3) << 11;
5076 // op: Rt32
5077 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
5078 Value |= (op & 0x1f) << 16;
5079 // op: Vs32
5080 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
5081 Value |= (op & 0x1f);
5082 break;
5083 }
5084 case Hexagon::V6_vL32Ub_ai:
5085 case Hexagon::V6_vL32b_ai:
5086 case Hexagon::V6_vL32b_cur_ai:
5087 case Hexagon::V6_vL32b_nt_ai:
5088 case Hexagon::V6_vL32b_nt_cur_ai:
5089 case Hexagon::V6_vL32b_nt_tmp_ai:
5090 case Hexagon::V6_vL32b_tmp_ai: {
5091 // op: Ii
5092 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
5093 Value |= (op & 0x8) << 10;
5094 Value |= (op & 0x7) << 8;
5095 // op: Rt32
5096 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
5097 Value |= (op & 0x1f) << 16;
5098 // op: Vd32
5099 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
5100 Value |= (op & 0x1f);
5101 break;
5102 }
5103 case Hexagon::S2_pstorerinewf_io:
5104 case Hexagon::S2_pstorerinewt_io:
5105 case Hexagon::S4_pstorerinewfnew_io:
5106 case Hexagon::S4_pstorerinewtnew_io: {
5107 // op: Ii
5108 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
5109 Value |= (op & 0x80) << 6;
5110 Value |= (op & 0x7c) << 1;
5111 // op: Pv4
5112 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
5113 Value |= (op & 0x3);
5114 // op: Rs32
5115 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
5116 Value |= (op & 0x1f) << 16;
5117 // op: Nt8
5118 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
5119 Value |= (op & 0x7) << 8;
5120 break;
5121 }
5122 case Hexagon::S2_pstorerif_io:
5123 case Hexagon::S2_pstorerit_io:
5124 case Hexagon::S4_pstorerifnew_io:
5125 case Hexagon::S4_pstoreritnew_io: {
5126 // op: Ii
5127 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
5128 Value |= (op & 0x80) << 6;
5129 Value |= (op & 0x7c) << 1;
5130 // op: Pv4
5131 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
5132 Value |= (op & 0x3);
5133 // op: Rs32
5134 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
5135 Value |= (op & 0x1f) << 16;
5136 // op: Rt32
5137 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
5138 Value |= (op & 0x1f) << 8;
5139 break;
5140 }
5141 case Hexagon::M4_mpyri_addr_u2: {
5142 // op: Ii
5143 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
5144 Value |= (op & 0xc0) << 15;
5145 Value |= (op & 0x20) << 8;
5146 Value |= (op & 0x1c) << 3;
5147 // op: Ru32
5148 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
5149 Value |= (op & 0x1f);
5150 // op: Rs32
5151 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
5152 Value |= (op & 0x1f) << 16;
5153 // op: Rd32
5154 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
5155 Value |= (op & 0x1f) << 8;
5156 break;
5157 }
5158 case Hexagon::L2_loadbsw2_io:
5159 case Hexagon::L2_loadbzw2_io:
5160 case Hexagon::L2_loadrh_io:
5161 case Hexagon::L2_loadruh_io: {
5162 // op: Ii
5163 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
5164 Value |= (op & 0xc00) << 15;
5165 Value |= (op & 0x3fe) << 4;
5166 // op: Rs32
5167 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
5168 Value |= (op & 0x1f) << 16;
5169 // op: Rd32
5170 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
5171 Value |= (op & 0x1f);
5172 break;
5173 }
5174 case Hexagon::A2_tfrih:
5175 case Hexagon::A2_tfril: {
5176 // op: Ii
5177 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
5178 Value |= (op & 0xc000) << 8;
5179 Value |= (op & 0x3fff);
5180 // op: Rx32
5181 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
5182 Value |= (op & 0x1f) << 16;
5183 break;
5184 }
5185 case Hexagon::SL2_loadrh_io:
5186 case Hexagon::SL2_loadruh_io: {
5187 // op: Ii
5188 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
5189 Value |= (op & 0xe) << 7;
5190 // op: Rs16
5191 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
5192 Value |= (op & 0xf) << 4;
5193 // op: Rd16
5194 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
5195 Value |= (op & 0xf);
5196 break;
5197 }
5198 case Hexagon::LX_sub_ilog2_h:
5199 case Hexagon::LX_sub_ilog2_uh: {
5200 // op: Ii
5201 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
5202 Value |= (op & 0xf) << 17;
5203 // op: Lu16
5204 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
5205 Value |= (op & 0xf) << 6;
5206 // op: Ld16
5207 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
5208 Value |= (op & 0xf) << 1;
5209 break;
5210 }
5211 case Hexagon::S2_storerbnew_pci: {
5212 // op: Ii
5213 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
5214 Value |= (op & 0xf) << 3;
5215 // op: Mu2
5216 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
5217 Value |= (op & 0x1) << 13;
5218 // op: Nt8
5219 op = getMachineOpValue(MI, MO: MI.getOperand(i: 4), Fixups, STI);
5220 Value |= (op & 0x7) << 8;
5221 // op: Rx32
5222 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
5223 Value |= (op & 0x1f) << 16;
5224 break;
5225 }
5226 case Hexagon::S2_storerb_pci: {
5227 // op: Ii
5228 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
5229 Value |= (op & 0xf) << 3;
5230 // op: Mu2
5231 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
5232 Value |= (op & 0x1) << 13;
5233 // op: Rt32
5234 op = getMachineOpValue(MI, MO: MI.getOperand(i: 4), Fixups, STI);
5235 Value |= (op & 0x1f) << 8;
5236 // op: Rx32
5237 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
5238 Value |= (op & 0x1f) << 16;
5239 break;
5240 }
5241 case Hexagon::S2_storerbnew_pi: {
5242 // op: Ii
5243 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
5244 Value |= (op & 0xf) << 3;
5245 // op: Nt8
5246 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
5247 Value |= (op & 0x7) << 8;
5248 // op: Rx32
5249 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
5250 Value |= (op & 0x1f) << 16;
5251 break;
5252 }
5253 case Hexagon::S2_storerb_pi:
5254 case Hexagon::S2_storerb_pi_nt: {
5255 // op: Ii
5256 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
5257 Value |= (op & 0xf) << 3;
5258 // op: Rt32
5259 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
5260 Value |= (op & 0x1f) << 8;
5261 // op: Rx32
5262 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
5263 Value |= (op & 0x1f) << 16;
5264 break;
5265 }
5266 case Hexagon::SL1_loadrub_io: {
5267 // op: Ii
5268 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
5269 Value |= (op & 0xf) << 8;
5270 // op: Rs16
5271 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
5272 Value |= (op & 0xf) << 4;
5273 // op: Rd16
5274 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
5275 Value |= (op & 0xf);
5276 break;
5277 }
5278 case Hexagon::S5_asrhub_rnd_sat:
5279 case Hexagon::S5_asrhub_sat: {
5280 // op: Ii
5281 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
5282 Value |= (op & 0xf) << 8;
5283 // op: Rss32
5284 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
5285 Value |= (op & 0x1f) << 16;
5286 // op: Rd32
5287 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
5288 Value |= (op & 0x1f);
5289 break;
5290 }
5291 case Hexagon::S2_asl_i_vh:
5292 case Hexagon::S2_asr_i_vh:
5293 case Hexagon::S2_lsr_i_vh:
5294 case Hexagon::S5_vasrhrnd: {
5295 // op: Ii
5296 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
5297 Value |= (op & 0xf) << 8;
5298 // op: Rss32
5299 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
5300 Value |= (op & 0x1f) << 16;
5301 // op: Rdd32
5302 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
5303 Value |= (op & 0x1f);
5304 break;
5305 }
5306 case Hexagon::C2_cmoveif:
5307 case Hexagon::C2_cmoveit:
5308 case Hexagon::C2_cmovenewif:
5309 case Hexagon::C2_cmovenewit: {
5310 // op: Ii
5311 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
5312 Value |= (op & 0xf00) << 8;
5313 Value |= (op & 0xff) << 5;
5314 // op: Pu4
5315 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
5316 Value |= (op & 0x3) << 21;
5317 // op: Rd32
5318 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
5319 Value |= (op & 0x1f);
5320 break;
5321 }
5322 case Hexagon::J2_trap1: {
5323 // op: Ii
5324 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
5325 Value |= (op & 0xf8) << 5;
5326 Value |= (op & 0x7) << 2;
5327 // op: Rx32
5328 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
5329 Value |= (op & 0x1f) << 16;
5330 break;
5331 }
5332 case Hexagon::S4_storeirif_io:
5333 case Hexagon::S4_storeirifnew_io:
5334 case Hexagon::S4_storeirit_io:
5335 case Hexagon::S4_storeiritnew_io: {
5336 // op: Ii
5337 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
5338 Value |= (op & 0xfc) << 5;
5339 // op: II
5340 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
5341 Value |= (op & 0x20) << 8;
5342 Value |= (op & 0x1f);
5343 // op: Pv4
5344 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
5345 Value |= (op & 0x3) << 5;
5346 // op: Rs32
5347 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
5348 Value |= (op & 0x1f) << 16;
5349 break;
5350 }
5351 case Hexagon::A2_addi: {
5352 // op: Ii
5353 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
5354 Value |= (op & 0xfe00) << 12;
5355 Value |= (op & 0x1ff) << 5;
5356 // op: Rs32
5357 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
5358 Value |= (op & 0x1f) << 16;
5359 // op: Rd32
5360 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
5361 Value |= (op & 0x1f);
5362 break;
5363 }
5364 case Hexagon::C2_muxii: {
5365 // op: Ii
5366 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
5367 Value |= (op & 0xff) << 5;
5368 // op: II
5369 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
5370 Value |= (op & 0xfe) << 15;
5371 Value |= (op & 0x1) << 13;
5372 // op: Pu4
5373 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
5374 Value |= (op & 0x3) << 23;
5375 // op: Rd32
5376 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
5377 Value |= (op & 0x1f);
5378 break;
5379 }
5380 case Hexagon::C2_muxri: {
5381 // op: Ii
5382 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
5383 Value |= (op & 0xff) << 5;
5384 // op: Pu4
5385 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
5386 Value |= (op & 0x3) << 21;
5387 // op: Rs32
5388 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
5389 Value |= (op & 0x1f) << 16;
5390 // op: Rd32
5391 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
5392 Value |= (op & 0x1f);
5393 break;
5394 }
5395 case Hexagon::A4_cmpbeqi:
5396 case Hexagon::A4_cmpbgti:
5397 case Hexagon::A4_cmpheqi:
5398 case Hexagon::A4_cmphgti: {
5399 // op: Ii
5400 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
5401 Value |= (op & 0xff) << 5;
5402 // op: Rs32
5403 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
5404 Value |= (op & 0x1f) << 16;
5405 // op: Pd4
5406 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
5407 Value |= (op & 0x3);
5408 break;
5409 }
5410 case Hexagon::A4_rcmpeqi:
5411 case Hexagon::A4_rcmpneqi:
5412 case Hexagon::M2_mpysin:
5413 case Hexagon::M2_mpysip: {
5414 // op: Ii
5415 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
5416 Value |= (op & 0xff) << 5;
5417 // op: Rs32
5418 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
5419 Value |= (op & 0x1f) << 16;
5420 // op: Rd32
5421 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
5422 Value |= (op & 0x1f);
5423 break;
5424 }
5425 case Hexagon::A4_combineri: {
5426 // op: Ii
5427 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
5428 Value |= (op & 0xff) << 5;
5429 // op: Rs32
5430 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
5431 Value |= (op & 0x1f) << 16;
5432 // op: Rdd32
5433 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
5434 Value |= (op & 0x1f);
5435 break;
5436 }
5437 case Hexagon::A4_vcmpbeqi:
5438 case Hexagon::A4_vcmpbgti:
5439 case Hexagon::A4_vcmpheqi:
5440 case Hexagon::A4_vcmphgti:
5441 case Hexagon::A4_vcmpweqi:
5442 case Hexagon::A4_vcmpwgti: {
5443 // op: Ii
5444 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
5445 Value |= (op & 0xff) << 5;
5446 // op: Rss32
5447 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
5448 Value |= (op & 0x1f) << 16;
5449 // op: Pd4
5450 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
5451 Value |= (op & 0x3);
5452 break;
5453 }
5454 case Hexagon::V6_vrmpybusi:
5455 case Hexagon::V6_vrmpyubi:
5456 case Hexagon::V6_vrsadubi: {
5457 // op: Ii
5458 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
5459 Value |= (op & 0x1) << 5;
5460 // op: Vuu32
5461 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
5462 Value |= (op & 0x1f) << 8;
5463 // op: Rt32
5464 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
5465 Value |= (op & 0x1f) << 16;
5466 // op: Vdd32
5467 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
5468 Value |= (op & 0x1f);
5469 break;
5470 }
5471 case Hexagon::S2_pstorerhnewf_pi:
5472 case Hexagon::S2_pstorerhnewfnew_pi:
5473 case Hexagon::S2_pstorerhnewt_pi:
5474 case Hexagon::S2_pstorerhnewtnew_pi: {
5475 // op: Ii
5476 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
5477 Value |= (op & 0x1e) << 2;
5478 // op: Pv4
5479 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
5480 Value |= (op & 0x3);
5481 // op: Nt8
5482 op = getMachineOpValue(MI, MO: MI.getOperand(i: 4), Fixups, STI);
5483 Value |= (op & 0x7) << 8;
5484 // op: Rx32
5485 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
5486 Value |= (op & 0x1f) << 16;
5487 break;
5488 }
5489 case Hexagon::S2_pstorerff_pi:
5490 case Hexagon::S2_pstorerffnew_pi:
5491 case Hexagon::S2_pstorerft_pi:
5492 case Hexagon::S2_pstorerftnew_pi:
5493 case Hexagon::S2_pstorerhf_pi:
5494 case Hexagon::S2_pstorerhf_pi_nt:
5495 case Hexagon::S2_pstorerhfnew_pi:
5496 case Hexagon::S2_pstorerht_pi:
5497 case Hexagon::S2_pstorerht_pi_nt:
5498 case Hexagon::S2_pstorerhtnew_pi: {
5499 // op: Ii
5500 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
5501 Value |= (op & 0x1e) << 2;
5502 // op: Pv4
5503 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
5504 Value |= (op & 0x3);
5505 // op: Rt32
5506 op = getMachineOpValue(MI, MO: MI.getOperand(i: 4), Fixups, STI);
5507 Value |= (op & 0x1f) << 8;
5508 // op: Rx32
5509 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
5510 Value |= (op & 0x1f) << 16;
5511 break;
5512 }
5513 case Hexagon::L2_loadbsw2_pci:
5514 case Hexagon::L2_loadbzw2_pci:
5515 case Hexagon::L2_loadrh_pci:
5516 case Hexagon::L2_loadruh_pci: {
5517 // op: Ii
5518 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
5519 Value |= (op & 0x1e) << 4;
5520 // op: Mu2
5521 op = getMachineOpValue(MI, MO: MI.getOperand(i: 4), Fixups, STI);
5522 Value |= (op & 0x1) << 13;
5523 // op: Rd32
5524 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
5525 Value |= (op & 0x1f);
5526 // op: Rx32
5527 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
5528 Value |= (op & 0x1f) << 16;
5529 break;
5530 }
5531 case Hexagon::L2_loadbsw2_pi:
5532 case Hexagon::L2_loadbzw2_pi:
5533 case Hexagon::L2_loadrh_pi:
5534 case Hexagon::L2_loadruh_pi: {
5535 // op: Ii
5536 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
5537 Value |= (op & 0x1e) << 4;
5538 // op: Rd32
5539 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
5540 Value |= (op & 0x1f);
5541 // op: Rx32
5542 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
5543 Value |= (op & 0x1f) << 16;
5544 break;
5545 }
5546 case Hexagon::S2_insert: {
5547 // op: Ii
5548 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
5549 Value |= (op & 0x1f) << 8;
5550 // op: II
5551 op = getMachineOpValue(MI, MO: MI.getOperand(i: 4), Fixups, STI);
5552 Value |= (op & 0x18) << 18;
5553 Value |= (op & 0x7) << 5;
5554 // op: Rs32
5555 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
5556 Value |= (op & 0x1f) << 16;
5557 // op: Rx32
5558 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
5559 Value |= (op & 0x1f);
5560 break;
5561 }
5562 case Hexagon::S2_asl_i_r_acc:
5563 case Hexagon::S2_asl_i_r_and:
5564 case Hexagon::S2_asl_i_r_nac:
5565 case Hexagon::S2_asl_i_r_or:
5566 case Hexagon::S2_asl_i_r_xacc:
5567 case Hexagon::S2_asr_i_r_acc:
5568 case Hexagon::S2_asr_i_r_and:
5569 case Hexagon::S2_asr_i_r_nac:
5570 case Hexagon::S2_asr_i_r_or:
5571 case Hexagon::S2_lsr_i_r_acc:
5572 case Hexagon::S2_lsr_i_r_and:
5573 case Hexagon::S2_lsr_i_r_nac:
5574 case Hexagon::S2_lsr_i_r_or:
5575 case Hexagon::S2_lsr_i_r_xacc:
5576 case Hexagon::S6_rol_i_r_acc:
5577 case Hexagon::S6_rol_i_r_and:
5578 case Hexagon::S6_rol_i_r_nac:
5579 case Hexagon::S6_rol_i_r_or:
5580 case Hexagon::S6_rol_i_r_xacc: {
5581 // op: Ii
5582 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
5583 Value |= (op & 0x1f) << 8;
5584 // op: Rs32
5585 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
5586 Value |= (op & 0x1f) << 16;
5587 // op: Rx32
5588 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
5589 Value |= (op & 0x1f);
5590 break;
5591 }
5592 case Hexagon::L2_ploadrdf_io:
5593 case Hexagon::L2_ploadrdfnew_io:
5594 case Hexagon::L2_ploadrdt_io:
5595 case Hexagon::L2_ploadrdtnew_io: {
5596 // op: Ii
5597 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
5598 Value |= (op & 0x1f8) << 2;
5599 // op: Pt4
5600 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
5601 Value |= (op & 0x3) << 11;
5602 // op: Rs32
5603 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
5604 Value |= (op & 0x1f) << 16;
5605 // op: Rdd32
5606 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
5607 Value |= (op & 0x1f);
5608 break;
5609 }
5610 case Hexagon::S4_vrcrotate: {
5611 // op: Ii
5612 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
5613 Value |= (op & 0x2) << 12;
5614 Value |= (op & 0x1) << 5;
5615 // op: Rss32
5616 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
5617 Value |= (op & 0x1f) << 16;
5618 // op: Rt32
5619 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
5620 Value |= (op & 0x1f) << 8;
5621 // op: Rdd32
5622 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
5623 Value |= (op & 0x1f);
5624 break;
5625 }
5626 case Hexagon::L4_loadalignb_ur:
5627 case Hexagon::L4_loadalignh_ur: {
5628 // op: Ii
5629 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
5630 Value |= (op & 0x2) << 12;
5631 Value |= (op & 0x1) << 7;
5632 // op: II
5633 op = getMachineOpValue(MI, MO: MI.getOperand(i: 4), Fixups, STI);
5634 Value |= (op & 0x3c) << 6;
5635 Value |= (op & 0x3) << 5;
5636 // op: Rt32
5637 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
5638 Value |= (op & 0x1f) << 16;
5639 // op: Ryy32
5640 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
5641 Value |= (op & 0x1f);
5642 break;
5643 }
5644 case Hexagon::S4_pstorerbnewf_rr:
5645 case Hexagon::S4_pstorerbnewfnew_rr:
5646 case Hexagon::S4_pstorerbnewt_rr:
5647 case Hexagon::S4_pstorerbnewtnew_rr:
5648 case Hexagon::S4_pstorerhnewf_rr:
5649 case Hexagon::S4_pstorerhnewfnew_rr:
5650 case Hexagon::S4_pstorerhnewt_rr:
5651 case Hexagon::S4_pstorerhnewtnew_rr:
5652 case Hexagon::S4_pstorerinewf_rr:
5653 case Hexagon::S4_pstorerinewfnew_rr:
5654 case Hexagon::S4_pstorerinewt_rr:
5655 case Hexagon::S4_pstorerinewtnew_rr: {
5656 // op: Ii
5657 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
5658 Value |= (op & 0x2) << 12;
5659 Value |= (op & 0x1) << 7;
5660 // op: Pv4
5661 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
5662 Value |= (op & 0x3) << 5;
5663 // op: Rs32
5664 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
5665 Value |= (op & 0x1f) << 16;
5666 // op: Ru32
5667 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
5668 Value |= (op & 0x1f) << 8;
5669 // op: Nt8
5670 op = getMachineOpValue(MI, MO: MI.getOperand(i: 4), Fixups, STI);
5671 Value |= (op & 0x7);
5672 break;
5673 }
5674 case Hexagon::S4_pstorerbf_rr:
5675 case Hexagon::S4_pstorerbfnew_rr:
5676 case Hexagon::S4_pstorerbt_rr:
5677 case Hexagon::S4_pstorerbtnew_rr:
5678 case Hexagon::S4_pstorerff_rr:
5679 case Hexagon::S4_pstorerffnew_rr:
5680 case Hexagon::S4_pstorerft_rr:
5681 case Hexagon::S4_pstorerftnew_rr:
5682 case Hexagon::S4_pstorerhf_rr:
5683 case Hexagon::S4_pstorerhfnew_rr:
5684 case Hexagon::S4_pstorerht_rr:
5685 case Hexagon::S4_pstorerhtnew_rr:
5686 case Hexagon::S4_pstorerif_rr:
5687 case Hexagon::S4_pstorerifnew_rr:
5688 case Hexagon::S4_pstorerit_rr:
5689 case Hexagon::S4_pstoreritnew_rr: {
5690 // op: Ii
5691 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
5692 Value |= (op & 0x2) << 12;
5693 Value |= (op & 0x1) << 7;
5694 // op: Pv4
5695 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
5696 Value |= (op & 0x3) << 5;
5697 // op: Rs32
5698 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
5699 Value |= (op & 0x1f) << 16;
5700 // op: Ru32
5701 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
5702 Value |= (op & 0x1f) << 8;
5703 // op: Rt32
5704 op = getMachineOpValue(MI, MO: MI.getOperand(i: 4), Fixups, STI);
5705 Value |= (op & 0x1f);
5706 break;
5707 }
5708 case Hexagon::S4_pstorerdf_rr:
5709 case Hexagon::S4_pstorerdfnew_rr:
5710 case Hexagon::S4_pstorerdt_rr:
5711 case Hexagon::S4_pstorerdtnew_rr: {
5712 // op: Ii
5713 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
5714 Value |= (op & 0x2) << 12;
5715 Value |= (op & 0x1) << 7;
5716 // op: Pv4
5717 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
5718 Value |= (op & 0x3) << 5;
5719 // op: Rs32
5720 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
5721 Value |= (op & 0x1f) << 16;
5722 // op: Ru32
5723 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
5724 Value |= (op & 0x1f) << 8;
5725 // op: Rtt32
5726 op = getMachineOpValue(MI, MO: MI.getOperand(i: 4), Fixups, STI);
5727 Value |= (op & 0x1f);
5728 break;
5729 }
5730 case Hexagon::L4_loadrb_rr:
5731 case Hexagon::L4_loadrh_rr:
5732 case Hexagon::L4_loadri_rr:
5733 case Hexagon::L4_loadrub_rr:
5734 case Hexagon::L4_loadruh_rr: {
5735 // op: Ii
5736 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
5737 Value |= (op & 0x2) << 12;
5738 Value |= (op & 0x1) << 7;
5739 // op: Rs32
5740 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
5741 Value |= (op & 0x1f) << 16;
5742 // op: Rt32
5743 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
5744 Value |= (op & 0x1f) << 8;
5745 // op: Rd32
5746 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
5747 Value |= (op & 0x1f);
5748 break;
5749 }
5750 case Hexagon::L4_loadrd_rr: {
5751 // op: Ii
5752 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
5753 Value |= (op & 0x2) << 12;
5754 Value |= (op & 0x1) << 7;
5755 // op: Rs32
5756 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
5757 Value |= (op & 0x1f) << 16;
5758 // op: Rt32
5759 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
5760 Value |= (op & 0x1f) << 8;
5761 // op: Rdd32
5762 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
5763 Value |= (op & 0x1f);
5764 break;
5765 }
5766 case Hexagon::S4_or_andi:
5767 case Hexagon::S4_or_ori: {
5768 // op: Ii
5769 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
5770 Value |= (op & 0x200) << 12;
5771 Value |= (op & 0x1ff) << 5;
5772 // op: Rs32
5773 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
5774 Value |= (op & 0x1f) << 16;
5775 // op: Rx32
5776 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
5777 Value |= (op & 0x1f);
5778 break;
5779 }
5780 case Hexagon::S4_or_andix: {
5781 // op: Ii
5782 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
5783 Value |= (op & 0x200) << 12;
5784 Value |= (op & 0x1ff) << 5;
5785 // op: Ru32
5786 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
5787 Value |= (op & 0x1f);
5788 // op: Rx32
5789 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
5790 Value |= (op & 0x1f) << 16;
5791 break;
5792 }
5793 case Hexagon::V6_v6mpyhubs10:
5794 case Hexagon::V6_v6mpyvubs10: {
5795 // op: Ii
5796 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
5797 Value |= (op & 0x3) << 5;
5798 // op: Vuu32
5799 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
5800 Value |= (op & 0x1f) << 8;
5801 // op: Vvv32
5802 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
5803 Value |= (op & 0x1f) << 16;
5804 // op: Vdd32
5805 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
5806 Value |= (op & 0x1f);
5807 break;
5808 }
5809 case Hexagon::S4_addaddi: {
5810 // op: Ii
5811 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
5812 Value |= (op & 0x30) << 17;
5813 Value |= (op & 0x8) << 10;
5814 Value |= (op & 0x7) << 5;
5815 // op: Rs32
5816 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
5817 Value |= (op & 0x1f) << 16;
5818 // op: Ru32
5819 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
5820 Value |= (op & 0x1f);
5821 // op: Rd32
5822 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
5823 Value |= (op & 0x1f) << 8;
5824 break;
5825 }
5826 case Hexagon::M4_mpyri_addr: {
5827 // op: Ii
5828 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
5829 Value |= (op & 0x30) << 17;
5830 Value |= (op & 0x8) << 10;
5831 Value |= (op & 0x7) << 5;
5832 // op: Ru32
5833 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
5834 Value |= (op & 0x1f);
5835 // op: Rs32
5836 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
5837 Value |= (op & 0x1f) << 16;
5838 // op: Rd32
5839 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
5840 Value |= (op & 0x1f) << 8;
5841 break;
5842 }
5843 case Hexagon::S2_pstorerinewf_pi:
5844 case Hexagon::S2_pstorerinewfnew_pi:
5845 case Hexagon::S2_pstorerinewt_pi:
5846 case Hexagon::S2_pstorerinewtnew_pi: {
5847 // op: Ii
5848 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
5849 Value |= (op & 0x3c) << 1;
5850 // op: Pv4
5851 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
5852 Value |= (op & 0x3);
5853 // op: Nt8
5854 op = getMachineOpValue(MI, MO: MI.getOperand(i: 4), Fixups, STI);
5855 Value |= (op & 0x7) << 8;
5856 // op: Rx32
5857 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
5858 Value |= (op & 0x1f) << 16;
5859 break;
5860 }
5861 case Hexagon::S2_pstorerif_pi:
5862 case Hexagon::S2_pstorerif_pi_nt:
5863 case Hexagon::S2_pstorerifnew_pi:
5864 case Hexagon::S2_pstorerit_pi:
5865 case Hexagon::S2_pstorerit_pi_nt:
5866 case Hexagon::S2_pstoreritnew_pi: {
5867 // op: Ii
5868 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
5869 Value |= (op & 0x3c) << 1;
5870 // op: Pv4
5871 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
5872 Value |= (op & 0x3);
5873 // op: Rt32
5874 op = getMachineOpValue(MI, MO: MI.getOperand(i: 4), Fixups, STI);
5875 Value |= (op & 0x1f) << 8;
5876 // op: Rx32
5877 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
5878 Value |= (op & 0x1f) << 16;
5879 break;
5880 }
5881 case Hexagon::L2_loadri_pci: {
5882 // op: Ii
5883 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
5884 Value |= (op & 0x3c) << 3;
5885 // op: Mu2
5886 op = getMachineOpValue(MI, MO: MI.getOperand(i: 4), Fixups, STI);
5887 Value |= (op & 0x1) << 13;
5888 // op: Rd32
5889 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
5890 Value |= (op & 0x1f);
5891 // op: Rx32
5892 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
5893 Value |= (op & 0x1f) << 16;
5894 break;
5895 }
5896 case Hexagon::L2_loadbsw4_pci:
5897 case Hexagon::L2_loadbzw4_pci: {
5898 // op: Ii
5899 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
5900 Value |= (op & 0x3c) << 3;
5901 // op: Mu2
5902 op = getMachineOpValue(MI, MO: MI.getOperand(i: 4), Fixups, STI);
5903 Value |= (op & 0x1) << 13;
5904 // op: Rdd32
5905 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
5906 Value |= (op & 0x1f);
5907 // op: Rx32
5908 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
5909 Value |= (op & 0x1f) << 16;
5910 break;
5911 }
5912 case Hexagon::L2_loadri_pi: {
5913 // op: Ii
5914 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
5915 Value |= (op & 0x3c) << 3;
5916 // op: Rd32
5917 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
5918 Value |= (op & 0x1f);
5919 // op: Rx32
5920 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
5921 Value |= (op & 0x1f) << 16;
5922 break;
5923 }
5924 case Hexagon::L2_loadbsw4_pi:
5925 case Hexagon::L2_loadbzw4_pi: {
5926 // op: Ii
5927 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
5928 Value |= (op & 0x3c) << 3;
5929 // op: Rdd32
5930 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
5931 Value |= (op & 0x1f);
5932 // op: Rx32
5933 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
5934 Value |= (op & 0x1f) << 16;
5935 break;
5936 }
5937 case Hexagon::L2_ploadrbf_io:
5938 case Hexagon::L2_ploadrbfnew_io:
5939 case Hexagon::L2_ploadrbt_io:
5940 case Hexagon::L2_ploadrbtnew_io:
5941 case Hexagon::L2_ploadrubf_io:
5942 case Hexagon::L2_ploadrubfnew_io:
5943 case Hexagon::L2_ploadrubt_io:
5944 case Hexagon::L2_ploadrubtnew_io: {
5945 // op: Ii
5946 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
5947 Value |= (op & 0x3f) << 5;
5948 // op: Pt4
5949 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
5950 Value |= (op & 0x3) << 11;
5951 // op: Rs32
5952 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
5953 Value |= (op & 0x1f) << 16;
5954 // op: Rd32
5955 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
5956 Value |= (op & 0x1f);
5957 break;
5958 }
5959 case Hexagon::S2_insertp: {
5960 // op: Ii
5961 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
5962 Value |= (op & 0x3f) << 8;
5963 // op: II
5964 op = getMachineOpValue(MI, MO: MI.getOperand(i: 4), Fixups, STI);
5965 Value |= (op & 0x38) << 18;
5966 Value |= (op & 0x7) << 5;
5967 // op: Rss32
5968 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
5969 Value |= (op & 0x1f) << 16;
5970 // op: Rxx32
5971 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
5972 Value |= (op & 0x1f);
5973 break;
5974 }
5975 case Hexagon::S2_asl_i_p_acc:
5976 case Hexagon::S2_asl_i_p_and:
5977 case Hexagon::S2_asl_i_p_nac:
5978 case Hexagon::S2_asl_i_p_or:
5979 case Hexagon::S2_asl_i_p_xacc:
5980 case Hexagon::S2_asr_i_p_acc:
5981 case Hexagon::S2_asr_i_p_and:
5982 case Hexagon::S2_asr_i_p_nac:
5983 case Hexagon::S2_asr_i_p_or:
5984 case Hexagon::S2_lsr_i_p_acc:
5985 case Hexagon::S2_lsr_i_p_and:
5986 case Hexagon::S2_lsr_i_p_nac:
5987 case Hexagon::S2_lsr_i_p_or:
5988 case Hexagon::S2_lsr_i_p_xacc:
5989 case Hexagon::S6_rol_i_p_acc:
5990 case Hexagon::S6_rol_i_p_and:
5991 case Hexagon::S6_rol_i_p_nac:
5992 case Hexagon::S6_rol_i_p_or:
5993 case Hexagon::S6_rol_i_p_xacc: {
5994 // op: Ii
5995 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
5996 Value |= (op & 0x3f) << 8;
5997 // op: Rss32
5998 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
5999 Value |= (op & 0x1f) << 16;
6000 // op: Rxx32
6001 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
6002 Value |= (op & 0x1f);
6003 break;
6004 }
6005 case Hexagon::L2_loadalignb_io: {
6006 // op: Ii
6007 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
6008 Value |= (op & 0x600) << 16;
6009 Value |= (op & 0x1ff) << 5;
6010 // op: Rs32
6011 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
6012 Value |= (op & 0x1f) << 16;
6013 // op: Ryy32
6014 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
6015 Value |= (op & 0x1f);
6016 break;
6017 }
6018 case Hexagon::S2_vspliceib: {
6019 // op: Ii
6020 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
6021 Value |= (op & 0x7) << 5;
6022 // op: Rss32
6023 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
6024 Value |= (op & 0x1f) << 16;
6025 // op: Rtt32
6026 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
6027 Value |= (op & 0x1f) << 8;
6028 // op: Rdd32
6029 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
6030 Value |= (op & 0x1f);
6031 break;
6032 }
6033 case Hexagon::S2_addasl_rrri: {
6034 // op: Ii
6035 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
6036 Value |= (op & 0x7) << 5;
6037 // op: Rt32
6038 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
6039 Value |= (op & 0x1f) << 8;
6040 // op: Rs32
6041 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
6042 Value |= (op & 0x1f) << 16;
6043 // op: Rd32
6044 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
6045 Value |= (op & 0x1f);
6046 break;
6047 }
6048 case Hexagon::S2_valignib: {
6049 // op: Ii
6050 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
6051 Value |= (op & 0x7) << 5;
6052 // op: Rtt32
6053 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
6054 Value |= (op & 0x1f) << 8;
6055 // op: Rss32
6056 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
6057 Value |= (op & 0x1f) << 16;
6058 // op: Rdd32
6059 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
6060 Value |= (op & 0x1f);
6061 break;
6062 }
6063 case Hexagon::V6_valignbi:
6064 case Hexagon::V6_vlalignbi:
6065 case Hexagon::V6_vlutvvbi: {
6066 // op: Ii
6067 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
6068 Value |= (op & 0x7) << 5;
6069 // op: Vu32
6070 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
6071 Value |= (op & 0x1f) << 8;
6072 // op: Vv32
6073 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
6074 Value |= (op & 0x1f) << 16;
6075 // op: Vd32
6076 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
6077 Value |= (op & 0x1f);
6078 break;
6079 }
6080 case Hexagon::V6_vlutvwhi: {
6081 // op: Ii
6082 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
6083 Value |= (op & 0x7) << 5;
6084 // op: Vu32
6085 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
6086 Value |= (op & 0x1f) << 8;
6087 // op: Vv32
6088 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
6089 Value |= (op & 0x1f) << 16;
6090 // op: Vdd32
6091 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
6092 Value |= (op & 0x1f);
6093 break;
6094 }
6095 case Hexagon::V6_vS32b_new_npred_pi:
6096 case Hexagon::V6_vS32b_new_pred_pi:
6097 case Hexagon::V6_vS32b_nt_new_npred_pi:
6098 case Hexagon::V6_vS32b_nt_new_pred_pi: {
6099 // op: Ii
6100 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
6101 Value |= (op & 0x7) << 8;
6102 // op: Pv4
6103 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
6104 Value |= (op & 0x3) << 11;
6105 // op: Os8
6106 op = getMachineOpValue(MI, MO: MI.getOperand(i: 4), Fixups, STI);
6107 Value |= (op & 0x7);
6108 // op: Rx32
6109 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
6110 Value |= (op & 0x1f) << 16;
6111 break;
6112 }
6113 case Hexagon::V6_zLd_pred_pi: {
6114 // op: Ii
6115 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
6116 Value |= (op & 0x7) << 8;
6117 // op: Pv4
6118 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
6119 Value |= (op & 0x3) << 11;
6120 // op: Rx32
6121 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
6122 Value |= (op & 0x1f) << 16;
6123 break;
6124 }
6125 case Hexagon::V6_vS32Ub_npred_pi:
6126 case Hexagon::V6_vS32Ub_pred_pi:
6127 case Hexagon::V6_vS32b_npred_pi:
6128 case Hexagon::V6_vS32b_nt_npred_pi:
6129 case Hexagon::V6_vS32b_nt_pred_pi:
6130 case Hexagon::V6_vS32b_pred_pi: {
6131 // op: Ii
6132 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
6133 Value |= (op & 0x7) << 8;
6134 // op: Pv4
6135 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
6136 Value |= (op & 0x3) << 11;
6137 // op: Vs32
6138 op = getMachineOpValue(MI, MO: MI.getOperand(i: 4), Fixups, STI);
6139 Value |= (op & 0x1f);
6140 // op: Rx32
6141 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
6142 Value |= (op & 0x1f) << 16;
6143 break;
6144 }
6145 case Hexagon::V6_vS32b_nqpred_pi:
6146 case Hexagon::V6_vS32b_nt_nqpred_pi:
6147 case Hexagon::V6_vS32b_nt_qpred_pi:
6148 case Hexagon::V6_vS32b_qpred_pi: {
6149 // op: Ii
6150 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
6151 Value |= (op & 0x7) << 8;
6152 // op: Qv4
6153 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
6154 Value |= (op & 0x3) << 11;
6155 // op: Vs32
6156 op = getMachineOpValue(MI, MO: MI.getOperand(i: 4), Fixups, STI);
6157 Value |= (op & 0x1f);
6158 // op: Rx32
6159 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
6160 Value |= (op & 0x1f) << 16;
6161 break;
6162 }
6163 case Hexagon::V6_vL32Ub_pi:
6164 case Hexagon::V6_vL32b_cur_pi:
6165 case Hexagon::V6_vL32b_nt_cur_pi:
6166 case Hexagon::V6_vL32b_nt_pi:
6167 case Hexagon::V6_vL32b_nt_tmp_pi:
6168 case Hexagon::V6_vL32b_pi:
6169 case Hexagon::V6_vL32b_tmp_pi: {
6170 // op: Ii
6171 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
6172 Value |= (op & 0x7) << 8;
6173 // op: Vd32
6174 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
6175 Value |= (op & 0x1f);
6176 // op: Rx32
6177 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
6178 Value |= (op & 0x1f) << 16;
6179 break;
6180 }
6181 case Hexagon::L2_loadrd_pci: {
6182 // op: Ii
6183 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
6184 Value |= (op & 0x78) << 2;
6185 // op: Mu2
6186 op = getMachineOpValue(MI, MO: MI.getOperand(i: 4), Fixups, STI);
6187 Value |= (op & 0x1) << 13;
6188 // op: Rdd32
6189 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
6190 Value |= (op & 0x1f);
6191 // op: Rx32
6192 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
6193 Value |= (op & 0x1f) << 16;
6194 break;
6195 }
6196 case Hexagon::L2_loadrd_pi: {
6197 // op: Ii
6198 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
6199 Value |= (op & 0x78) << 2;
6200 // op: Rdd32
6201 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
6202 Value |= (op & 0x1f);
6203 // op: Rx32
6204 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
6205 Value |= (op & 0x1f) << 16;
6206 break;
6207 }
6208 case Hexagon::S2_pstorerdf_pi:
6209 case Hexagon::S2_pstorerdf_pi_nt:
6210 case Hexagon::S2_pstorerdfnew_pi:
6211 case Hexagon::S2_pstorerdt_pi:
6212 case Hexagon::S2_pstorerdt_pi_nt:
6213 case Hexagon::S2_pstorerdtnew_pi: {
6214 // op: Ii
6215 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
6216 Value |= (op & 0x78);
6217 // op: Pv4
6218 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
6219 Value |= (op & 0x3);
6220 // op: Rtt32
6221 op = getMachineOpValue(MI, MO: MI.getOperand(i: 4), Fixups, STI);
6222 Value |= (op & 0x1f) << 8;
6223 // op: Rx32
6224 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
6225 Value |= (op & 0x1f) << 16;
6226 break;
6227 }
6228 case Hexagon::L2_ploadrhf_io:
6229 case Hexagon::L2_ploadrhfnew_io:
6230 case Hexagon::L2_ploadrht_io:
6231 case Hexagon::L2_ploadrhtnew_io:
6232 case Hexagon::L2_ploadruhf_io:
6233 case Hexagon::L2_ploadruhfnew_io:
6234 case Hexagon::L2_ploadruht_io:
6235 case Hexagon::L2_ploadruhtnew_io: {
6236 // op: Ii
6237 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
6238 Value |= (op & 0x7e) << 4;
6239 // op: Pt4
6240 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
6241 Value |= (op & 0x3) << 11;
6242 // op: Rs32
6243 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
6244 Value |= (op & 0x1f) << 16;
6245 // op: Rd32
6246 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
6247 Value |= (op & 0x1f);
6248 break;
6249 }
6250 case Hexagon::V6_vL32b_cur_npred_ai:
6251 case Hexagon::V6_vL32b_cur_pred_ai:
6252 case Hexagon::V6_vL32b_npred_ai:
6253 case Hexagon::V6_vL32b_nt_cur_npred_ai:
6254 case Hexagon::V6_vL32b_nt_cur_pred_ai:
6255 case Hexagon::V6_vL32b_nt_npred_ai:
6256 case Hexagon::V6_vL32b_nt_pred_ai:
6257 case Hexagon::V6_vL32b_nt_tmp_npred_ai:
6258 case Hexagon::V6_vL32b_nt_tmp_pred_ai:
6259 case Hexagon::V6_vL32b_pred_ai:
6260 case Hexagon::V6_vL32b_tmp_npred_ai:
6261 case Hexagon::V6_vL32b_tmp_pred_ai: {
6262 // op: Ii
6263 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
6264 Value |= (op & 0x8) << 10;
6265 Value |= (op & 0x7) << 8;
6266 // op: Pv4
6267 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
6268 Value |= (op & 0x3) << 11;
6269 // op: Rt32
6270 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
6271 Value |= (op & 0x1f) << 16;
6272 // op: Vd32
6273 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
6274 Value |= (op & 0x1f);
6275 break;
6276 }
6277 case Hexagon::S2_tableidxb:
6278 case Hexagon::S2_tableidxd:
6279 case Hexagon::S2_tableidxh:
6280 case Hexagon::S2_tableidxw: {
6281 // op: Ii
6282 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
6283 Value |= (op & 0x8) << 18;
6284 Value |= (op & 0x7) << 5;
6285 // op: II
6286 op = getMachineOpValue(MI, MO: MI.getOperand(i: 4), Fixups, STI);
6287 Value |= (op & 0x3f) << 8;
6288 // op: Rs32
6289 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
6290 Value |= (op & 0x1f) << 16;
6291 // op: Rx32
6292 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
6293 Value |= (op & 0x1f);
6294 break;
6295 }
6296 case Hexagon::L2_loadalignh_io: {
6297 // op: Ii
6298 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
6299 Value |= (op & 0xc00) << 15;
6300 Value |= (op & 0x3fe) << 4;
6301 // op: Rs32
6302 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
6303 Value |= (op & 0x1f) << 16;
6304 // op: Ryy32
6305 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
6306 Value |= (op & 0x1f);
6307 break;
6308 }
6309 case Hexagon::S2_pstorerbnewf_pi:
6310 case Hexagon::S2_pstorerbnewfnew_pi:
6311 case Hexagon::S2_pstorerbnewt_pi:
6312 case Hexagon::S2_pstorerbnewtnew_pi: {
6313 // op: Ii
6314 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
6315 Value |= (op & 0xf) << 3;
6316 // op: Pv4
6317 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
6318 Value |= (op & 0x3);
6319 // op: Nt8
6320 op = getMachineOpValue(MI, MO: MI.getOperand(i: 4), Fixups, STI);
6321 Value |= (op & 0x7) << 8;
6322 // op: Rx32
6323 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
6324 Value |= (op & 0x1f) << 16;
6325 break;
6326 }
6327 case Hexagon::S2_pstorerbf_pi:
6328 case Hexagon::S2_pstorerbf_pi_nt:
6329 case Hexagon::S2_pstorerbfnew_pi:
6330 case Hexagon::S2_pstorerbt_pi:
6331 case Hexagon::S2_pstorerbt_pi_nt:
6332 case Hexagon::S2_pstorerbtnew_pi: {
6333 // op: Ii
6334 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
6335 Value |= (op & 0xf) << 3;
6336 // op: Pv4
6337 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
6338 Value |= (op & 0x3);
6339 // op: Rt32
6340 op = getMachineOpValue(MI, MO: MI.getOperand(i: 4), Fixups, STI);
6341 Value |= (op & 0x1f) << 8;
6342 // op: Rx32
6343 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
6344 Value |= (op & 0x1f) << 16;
6345 break;
6346 }
6347 case Hexagon::L2_loadrb_pci:
6348 case Hexagon::L2_loadrub_pci: {
6349 // op: Ii
6350 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
6351 Value |= (op & 0xf) << 5;
6352 // op: Mu2
6353 op = getMachineOpValue(MI, MO: MI.getOperand(i: 4), Fixups, STI);
6354 Value |= (op & 0x1) << 13;
6355 // op: Rd32
6356 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
6357 Value |= (op & 0x1f);
6358 // op: Rx32
6359 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
6360 Value |= (op & 0x1f) << 16;
6361 break;
6362 }
6363 case Hexagon::L2_loadrb_pi:
6364 case Hexagon::L2_loadrub_pi: {
6365 // op: Ii
6366 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
6367 Value |= (op & 0xf) << 5;
6368 // op: Rd32
6369 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
6370 Value |= (op & 0x1f);
6371 // op: Rx32
6372 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
6373 Value |= (op & 0x1f) << 16;
6374 break;
6375 }
6376 case Hexagon::L2_ploadrif_io:
6377 case Hexagon::L2_ploadrifnew_io:
6378 case Hexagon::L2_ploadrit_io:
6379 case Hexagon::L2_ploadritnew_io: {
6380 // op: Ii
6381 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
6382 Value |= (op & 0xfc) << 3;
6383 // op: Pt4
6384 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
6385 Value |= (op & 0x3) << 11;
6386 // op: Rs32
6387 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
6388 Value |= (op & 0x1f) << 16;
6389 // op: Rd32
6390 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
6391 Value |= (op & 0x1f);
6392 break;
6393 }
6394 case Hexagon::A2_paddif:
6395 case Hexagon::A2_paddifnew:
6396 case Hexagon::A2_paddit:
6397 case Hexagon::A2_padditnew:
6398 case Hexagon::C2_muxir: {
6399 // op: Ii
6400 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
6401 Value |= (op & 0xff) << 5;
6402 // op: Pu4
6403 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
6404 Value |= (op & 0x3) << 21;
6405 // op: Rs32
6406 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
6407 Value |= (op & 0x1f) << 16;
6408 // op: Rd32
6409 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
6410 Value |= (op & 0x1f);
6411 break;
6412 }
6413 case Hexagon::M2_accii:
6414 case Hexagon::M2_macsin:
6415 case Hexagon::M2_macsip:
6416 case Hexagon::M2_naccii: {
6417 // op: Ii
6418 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
6419 Value |= (op & 0xff) << 5;
6420 // op: Rs32
6421 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
6422 Value |= (op & 0x1f) << 16;
6423 // op: Rx32
6424 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
6425 Value |= (op & 0x1f);
6426 break;
6427 }
6428 case Hexagon::V6_vrmpybusi_acc:
6429 case Hexagon::V6_vrmpyubi_acc:
6430 case Hexagon::V6_vrsadubi_acc: {
6431 // op: Ii
6432 op = getMachineOpValue(MI, MO: MI.getOperand(i: 4), Fixups, STI);
6433 Value |= (op & 0x1) << 5;
6434 // op: Vuu32
6435 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
6436 Value |= (op & 0x1f) << 8;
6437 // op: Rt32
6438 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
6439 Value |= (op & 0x1f) << 16;
6440 // op: Vxx32
6441 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
6442 Value |= (op & 0x1f);
6443 break;
6444 }
6445 case Hexagon::L2_loadalignh_pci: {
6446 // op: Ii
6447 op = getMachineOpValue(MI, MO: MI.getOperand(i: 4), Fixups, STI);
6448 Value |= (op & 0x1e) << 4;
6449 // op: Mu2
6450 op = getMachineOpValue(MI, MO: MI.getOperand(i: 5), Fixups, STI);
6451 Value |= (op & 0x1) << 13;
6452 // op: Ryy32
6453 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
6454 Value |= (op & 0x1f);
6455 // op: Rx32
6456 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
6457 Value |= (op & 0x1f) << 16;
6458 break;
6459 }
6460 case Hexagon::L2_ploadrhf_pi:
6461 case Hexagon::L2_ploadrhfnew_pi:
6462 case Hexagon::L2_ploadrht_pi:
6463 case Hexagon::L2_ploadrhtnew_pi:
6464 case Hexagon::L2_ploadruhf_pi:
6465 case Hexagon::L2_ploadruhfnew_pi:
6466 case Hexagon::L2_ploadruht_pi:
6467 case Hexagon::L2_ploadruhtnew_pi: {
6468 // op: Ii
6469 op = getMachineOpValue(MI, MO: MI.getOperand(i: 4), Fixups, STI);
6470 Value |= (op & 0x1e) << 4;
6471 // op: Pt4
6472 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
6473 Value |= (op & 0x3) << 9;
6474 // op: Rd32
6475 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
6476 Value |= (op & 0x1f);
6477 // op: Rx32
6478 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
6479 Value |= (op & 0x1f) << 16;
6480 break;
6481 }
6482 case Hexagon::L2_loadalignh_pi: {
6483 // op: Ii
6484 op = getMachineOpValue(MI, MO: MI.getOperand(i: 4), Fixups, STI);
6485 Value |= (op & 0x1e) << 4;
6486 // op: Ryy32
6487 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
6488 Value |= (op & 0x1f);
6489 // op: Rx32
6490 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
6491 Value |= (op & 0x1f) << 16;
6492 break;
6493 }
6494 case Hexagon::S4_vrcrotate_acc: {
6495 // op: Ii
6496 op = getMachineOpValue(MI, MO: MI.getOperand(i: 4), Fixups, STI);
6497 Value |= (op & 0x2) << 12;
6498 Value |= (op & 0x1) << 5;
6499 // op: Rss32
6500 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
6501 Value |= (op & 0x1f) << 16;
6502 // op: Rt32
6503 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
6504 Value |= (op & 0x1f) << 8;
6505 // op: Rxx32
6506 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
6507 Value |= (op & 0x1f);
6508 break;
6509 }
6510 case Hexagon::L4_ploadrbf_rr:
6511 case Hexagon::L4_ploadrbfnew_rr:
6512 case Hexagon::L4_ploadrbt_rr:
6513 case Hexagon::L4_ploadrbtnew_rr:
6514 case Hexagon::L4_ploadrhf_rr:
6515 case Hexagon::L4_ploadrhfnew_rr:
6516 case Hexagon::L4_ploadrht_rr:
6517 case Hexagon::L4_ploadrhtnew_rr:
6518 case Hexagon::L4_ploadrif_rr:
6519 case Hexagon::L4_ploadrifnew_rr:
6520 case Hexagon::L4_ploadrit_rr:
6521 case Hexagon::L4_ploadritnew_rr:
6522 case Hexagon::L4_ploadrubf_rr:
6523 case Hexagon::L4_ploadrubfnew_rr:
6524 case Hexagon::L4_ploadrubt_rr:
6525 case Hexagon::L4_ploadrubtnew_rr:
6526 case Hexagon::L4_ploadruhf_rr:
6527 case Hexagon::L4_ploadruhfnew_rr:
6528 case Hexagon::L4_ploadruht_rr:
6529 case Hexagon::L4_ploadruhtnew_rr: {
6530 // op: Ii
6531 op = getMachineOpValue(MI, MO: MI.getOperand(i: 4), Fixups, STI);
6532 Value |= (op & 0x2) << 12;
6533 Value |= (op & 0x1) << 7;
6534 // op: Pv4
6535 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
6536 Value |= (op & 0x3) << 5;
6537 // op: Rs32
6538 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
6539 Value |= (op & 0x1f) << 16;
6540 // op: Rt32
6541 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
6542 Value |= (op & 0x1f) << 8;
6543 // op: Rd32
6544 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
6545 Value |= (op & 0x1f);
6546 break;
6547 }
6548 case Hexagon::L4_ploadrdf_rr:
6549 case Hexagon::L4_ploadrdfnew_rr:
6550 case Hexagon::L4_ploadrdt_rr:
6551 case Hexagon::L4_ploadrdtnew_rr: {
6552 // op: Ii
6553 op = getMachineOpValue(MI, MO: MI.getOperand(i: 4), Fixups, STI);
6554 Value |= (op & 0x2) << 12;
6555 Value |= (op & 0x1) << 7;
6556 // op: Pv4
6557 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
6558 Value |= (op & 0x3) << 5;
6559 // op: Rs32
6560 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
6561 Value |= (op & 0x1f) << 16;
6562 // op: Rt32
6563 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
6564 Value |= (op & 0x1f) << 8;
6565 // op: Rdd32
6566 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
6567 Value |= (op & 0x1f);
6568 break;
6569 }
6570 case Hexagon::V6_v6mpyhubs10_vxx:
6571 case Hexagon::V6_v6mpyvubs10_vxx: {
6572 // op: Ii
6573 op = getMachineOpValue(MI, MO: MI.getOperand(i: 4), Fixups, STI);
6574 Value |= (op & 0x3) << 5;
6575 // op: Vuu32
6576 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
6577 Value |= (op & 0x1f) << 8;
6578 // op: Vvv32
6579 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
6580 Value |= (op & 0x1f) << 16;
6581 // op: Vxx32
6582 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
6583 Value |= (op & 0x1f);
6584 break;
6585 }
6586 case Hexagon::L2_ploadrif_pi:
6587 case Hexagon::L2_ploadrifnew_pi:
6588 case Hexagon::L2_ploadrit_pi:
6589 case Hexagon::L2_ploadritnew_pi: {
6590 // op: Ii
6591 op = getMachineOpValue(MI, MO: MI.getOperand(i: 4), Fixups, STI);
6592 Value |= (op & 0x3c) << 3;
6593 // op: Pt4
6594 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
6595 Value |= (op & 0x3) << 9;
6596 // op: Rd32
6597 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
6598 Value |= (op & 0x1f);
6599 // op: Rx32
6600 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
6601 Value |= (op & 0x1f) << 16;
6602 break;
6603 }
6604 case Hexagon::V6_vlutvvb_oracci: {
6605 // op: Ii
6606 op = getMachineOpValue(MI, MO: MI.getOperand(i: 4), Fixups, STI);
6607 Value |= (op & 0x7) << 5;
6608 // op: Vu32
6609 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
6610 Value |= (op & 0x1f) << 8;
6611 // op: Vv32
6612 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
6613 Value |= (op & 0x1f) << 16;
6614 // op: Vx32
6615 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
6616 Value |= (op & 0x1f);
6617 break;
6618 }
6619 case Hexagon::V6_vlutvwh_oracci: {
6620 // op: Ii
6621 op = getMachineOpValue(MI, MO: MI.getOperand(i: 4), Fixups, STI);
6622 Value |= (op & 0x7) << 5;
6623 // op: Vu32
6624 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
6625 Value |= (op & 0x1f) << 8;
6626 // op: Vv32
6627 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
6628 Value |= (op & 0x1f) << 16;
6629 // op: Vxx32
6630 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
6631 Value |= (op & 0x1f);
6632 break;
6633 }
6634 case Hexagon::V6_vL32b_cur_npred_pi:
6635 case Hexagon::V6_vL32b_cur_pred_pi:
6636 case Hexagon::V6_vL32b_npred_pi:
6637 case Hexagon::V6_vL32b_nt_cur_npred_pi:
6638 case Hexagon::V6_vL32b_nt_cur_pred_pi:
6639 case Hexagon::V6_vL32b_nt_npred_pi:
6640 case Hexagon::V6_vL32b_nt_pred_pi:
6641 case Hexagon::V6_vL32b_nt_tmp_npred_pi:
6642 case Hexagon::V6_vL32b_nt_tmp_pred_pi:
6643 case Hexagon::V6_vL32b_pred_pi:
6644 case Hexagon::V6_vL32b_tmp_npred_pi:
6645 case Hexagon::V6_vL32b_tmp_pred_pi: {
6646 // op: Ii
6647 op = getMachineOpValue(MI, MO: MI.getOperand(i: 4), Fixups, STI);
6648 Value |= (op & 0x7) << 8;
6649 // op: Pv4
6650 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
6651 Value |= (op & 0x3) << 11;
6652 // op: Vd32
6653 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
6654 Value |= (op & 0x1f);
6655 // op: Rx32
6656 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
6657 Value |= (op & 0x1f) << 16;
6658 break;
6659 }
6660 case Hexagon::L2_ploadrdf_pi:
6661 case Hexagon::L2_ploadrdfnew_pi:
6662 case Hexagon::L2_ploadrdt_pi:
6663 case Hexagon::L2_ploadrdtnew_pi: {
6664 // op: Ii
6665 op = getMachineOpValue(MI, MO: MI.getOperand(i: 4), Fixups, STI);
6666 Value |= (op & 0x78) << 2;
6667 // op: Pt4
6668 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
6669 Value |= (op & 0x3) << 9;
6670 // op: Rdd32
6671 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
6672 Value |= (op & 0x1f);
6673 // op: Rx32
6674 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
6675 Value |= (op & 0x1f) << 16;
6676 break;
6677 }
6678 case Hexagon::L2_loadalignb_pci: {
6679 // op: Ii
6680 op = getMachineOpValue(MI, MO: MI.getOperand(i: 4), Fixups, STI);
6681 Value |= (op & 0xf) << 5;
6682 // op: Mu2
6683 op = getMachineOpValue(MI, MO: MI.getOperand(i: 5), Fixups, STI);
6684 Value |= (op & 0x1) << 13;
6685 // op: Ryy32
6686 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
6687 Value |= (op & 0x1f);
6688 // op: Rx32
6689 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
6690 Value |= (op & 0x1f) << 16;
6691 break;
6692 }
6693 case Hexagon::L2_ploadrbf_pi:
6694 case Hexagon::L2_ploadrbfnew_pi:
6695 case Hexagon::L2_ploadrbt_pi:
6696 case Hexagon::L2_ploadrbtnew_pi:
6697 case Hexagon::L2_ploadrubf_pi:
6698 case Hexagon::L2_ploadrubfnew_pi:
6699 case Hexagon::L2_ploadrubt_pi:
6700 case Hexagon::L2_ploadrubtnew_pi: {
6701 // op: Ii
6702 op = getMachineOpValue(MI, MO: MI.getOperand(i: 4), Fixups, STI);
6703 Value |= (op & 0xf) << 5;
6704 // op: Pt4
6705 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
6706 Value |= (op & 0x3) << 9;
6707 // op: Rd32
6708 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
6709 Value |= (op & 0x1f);
6710 // op: Rx32
6711 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
6712 Value |= (op & 0x1f) << 16;
6713 break;
6714 }
6715 case Hexagon::L2_loadalignb_pi: {
6716 // op: Ii
6717 op = getMachineOpValue(MI, MO: MI.getOperand(i: 4), Fixups, STI);
6718 Value |= (op & 0xf) << 5;
6719 // op: Ryy32
6720 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
6721 Value |= (op & 0x1f);
6722 // op: Rx32
6723 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
6724 Value |= (op & 0x1f) << 16;
6725 break;
6726 }
6727 case Hexagon::LX_abs_uh:
6728 case Hexagon::LX_abs_uh_sat:
6729 case Hexagon::LX_assign:
6730 case Hexagon::LX_not: {
6731 // op: Lu16
6732 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
6733 Value |= (op & 0xf) << 6;
6734 // op: Ld16
6735 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
6736 Value |= (op & 0xf) << 1;
6737 break;
6738 }
6739 case Hexagon::LX_conv_h_b_hi:
6740 case Hexagon::LX_conv_h_b_lo:
6741 case Hexagon::LX_conv_uw_uh:
6742 case Hexagon::LX_conv_w_h: {
6743 // op: Lu16
6744 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
6745 Value |= (op & 0xf) << 6;
6746 // op: Ldd16
6747 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
6748 Value |= (op & 0xf) << 1;
6749 break;
6750 }
6751 case Hexagon::LX_absdiff_h:
6752 case Hexagon::LX_absdiff_uh:
6753 case Hexagon::LX_add_h:
6754 case Hexagon::LX_add_h_sat:
6755 case Hexagon::LX_add_uh_sat:
6756 case Hexagon::LX_add_uhh_sat:
6757 case Hexagon::LX_and:
6758 case Hexagon::LX_andn:
6759 case Hexagon::LX_avg_h:
6760 case Hexagon::LX_avg_h_rnd:
6761 case Hexagon::LX_avg_uh:
6762 case Hexagon::LX_avg_uh_rnd:
6763 case Hexagon::LX_cmp_gt_h:
6764 case Hexagon::LX_cmp_gt_uh:
6765 case Hexagon::LX_conv_b_h_hi:
6766 case Hexagon::LX_conv_b_h_lo:
6767 case Hexagon::LX_max_h:
6768 case Hexagon::LX_max_uh:
6769 case Hexagon::LX_min_h:
6770 case Hexagon::LX_min_uh:
6771 case Hexagon::LX_navg_h:
6772 case Hexagon::LX_navg_uh:
6773 case Hexagon::LX_or:
6774 case Hexagon::LX_orn:
6775 case Hexagon::LX_shr_h:
6776 case Hexagon::LX_shr_uh_uh:
6777 case Hexagon::LX_sub_h:
6778 case Hexagon::LX_sub_h_sat:
6779 case Hexagon::LX_sub_uh_sat:
6780 case Hexagon::LX_sub_uhh_sat:
6781 case Hexagon::LX_xor: {
6782 // op: Lu16
6783 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
6784 Value |= (op & 0xf) << 6;
6785 // op: Lv16
6786 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
6787 Value |= (op & 0xf) << 17;
6788 // op: Ld16
6789 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
6790 Value |= (op & 0xf) << 1;
6791 break;
6792 }
6793 case Hexagon::LX_add_wuh:
6794 case Hexagon::LX_combine_w:
6795 case Hexagon::LX_mpy_uw_uh:
6796 case Hexagon::LX_mpy_w_h:
6797 case Hexagon::LX_mpy_w_huh:
6798 case Hexagon::LX_sub_wuh: {
6799 // op: Lu16
6800 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
6801 Value |= (op & 0xf) << 6;
6802 // op: Lv16
6803 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
6804 Value |= (op & 0xf) << 17;
6805 // op: Ldd16
6806 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
6807 Value |= (op & 0xf) << 1;
6808 break;
6809 }
6810 case Hexagon::LX_mpa_wh_hi:
6811 case Hexagon::LX_mpa_whuh_lo:
6812 case Hexagon::LX_mpa_wuh_hi:
6813 case Hexagon::LX_mpa_wuh_lo: {
6814 // op: Lu16
6815 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
6816 Value |= (op & 0xf) << 6;
6817 // op: Lv16
6818 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
6819 Value |= (op & 0xf) << 17;
6820 // op: Lxx16
6821 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
6822 Value |= (op & 0xf) << 1;
6823 break;
6824 }
6825 case Hexagon::LX_mpa_uwuhuw_si:
6826 case Hexagon::LX_mpa_wuhw_si: {
6827 // op: Lu16
6828 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
6829 Value |= (op & 0xf) << 6;
6830 // op: Lvv16
6831 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
6832 Value |= (op & 0xf) << 17;
6833 // op: Lxx16
6834 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
6835 Value |= (op & 0xf) << 1;
6836 break;
6837 }
6838 case Hexagon::LX_shrr_h:
6839 case Hexagon::LX_shrr_uh_uh: {
6840 // op: Lu16
6841 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
6842 Value |= (op & 0xf) << 6;
6843 // op: Rt32
6844 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
6845 Value |= (op & 0x1f) << 16;
6846 // op: Ld16
6847 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
6848 Value |= (op & 0xf) << 1;
6849 break;
6850 }
6851 case Hexagon::LX_mpyr_uw_uh:
6852 case Hexagon::LX_mpyr_w_h:
6853 case Hexagon::LX_mpyr_w_huh: {
6854 // op: Lu16
6855 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
6856 Value |= (op & 0xf) << 6;
6857 // op: Rt32
6858 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
6859 Value |= (op & 0x1f) << 16;
6860 // op: Ldd16
6861 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
6862 Value |= (op & 0xf) << 1;
6863 break;
6864 }
6865 case Hexagon::LX_mpar_wh_hi:
6866 case Hexagon::LX_mpar_whuh_lo:
6867 case Hexagon::LX_mpar_wuh_hi:
6868 case Hexagon::LX_mpar_wuh_lo: {
6869 // op: Lu16
6870 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
6871 Value |= (op & 0xf) << 6;
6872 // op: Rt32
6873 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
6874 Value |= (op & 0x1f) << 16;
6875 // op: Lxx16
6876 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
6877 Value |= (op & 0xf) << 1;
6878 break;
6879 }
6880 case Hexagon::LX_mpar_uwuhuw_si:
6881 case Hexagon::LX_mpar_wuhw_si: {
6882 // op: Lu16
6883 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
6884 Value |= (op & 0xf) << 6;
6885 // op: Rt32
6886 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
6887 Value |= (op & 0x1f) << 16;
6888 // op: Lxx16
6889 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
6890 Value |= (op & 0xf) << 1;
6891 break;
6892 }
6893 case Hexagon::LX_lut4:
6894 case Hexagon::LX_lut4_mask: {
6895 // op: Lu16
6896 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
6897 Value |= (op & 0xf) << 6;
6898 // op: Rtt32
6899 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
6900 Value |= (op & 0x1f) << 16;
6901 // op: Ld16
6902 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
6903 Value |= (op & 0xf) << 1;
6904 break;
6905 }
6906 case Hexagon::LX_lut4_sh:
6907 case Hexagon::LX_lut4_sh_neg: {
6908 // op: Lu16
6909 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
6910 Value |= (op & 0xf) << 6;
6911 // op: Rtt32
6912 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
6913 Value |= (op & 0x1f) << 16;
6914 // op: Ldd16
6915 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
6916 Value |= (op & 0xf) << 1;
6917 break;
6918 }
6919 case Hexagon::LX_mux_h:
6920 case Hexagon::LX_shra_h_h:
6921 case Hexagon::LX_shra_h_uh: {
6922 // op: Lu16
6923 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
6924 Value |= (op & 0xf) << 6;
6925 // op: Lv16
6926 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
6927 Value |= (op & 0xf) << 17;
6928 // op: Lx16
6929 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
6930 Value |= (op & 0xf) << 1;
6931 break;
6932 }
6933 case Hexagon::LX_mpa_wh:
6934 case Hexagon::LX_mpa_whuh:
6935 case Hexagon::LX_mpa_wuh: {
6936 // op: Lu16
6937 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
6938 Value |= (op & 0xf) << 6;
6939 // op: Lv16
6940 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
6941 Value |= (op & 0xf) << 17;
6942 // op: Lxx16
6943 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
6944 Value |= (op & 0xf) << 1;
6945 break;
6946 }
6947 case Hexagon::LX_shrar_h_h:
6948 case Hexagon::LX_shrar_h_uh: {
6949 // op: Lu16
6950 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
6951 Value |= (op & 0xf) << 6;
6952 // op: Rt32
6953 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
6954 Value |= (op & 0x1f) << 16;
6955 // op: Lx16
6956 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
6957 Value |= (op & 0xf) << 1;
6958 break;
6959 }
6960 case Hexagon::LX_mpar_wh:
6961 case Hexagon::LX_mpar_whuh:
6962 case Hexagon::LX_mpar_wuh: {
6963 // op: Lu16
6964 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
6965 Value |= (op & 0xf) << 6;
6966 // op: Rt32
6967 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
6968 Value |= (op & 0x1f) << 16;
6969 // op: Lxx16
6970 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
6971 Value |= (op & 0xf) << 1;
6972 break;
6973 }
6974 case Hexagon::LX_abs_uhp:
6975 case Hexagon::LX_abs_uhp_sat:
6976 case Hexagon::LX_abs_uw:
6977 case Hexagon::LX_abs_uw_sat:
6978 case Hexagon::LX_assign_w:
6979 case Hexagon::LX_not_w: {
6980 // op: Luu16
6981 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
6982 Value |= (op & 0xf) << 6;
6983 // op: Ldd16
6984 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
6985 Value |= (op & 0xf) << 1;
6986 break;
6987 }
6988 case Hexagon::LX_shr_h_w_rnd_sat:
6989 case Hexagon::LX_shr_h_w_sat:
6990 case Hexagon::LX_shr_h_w_uh:
6991 case Hexagon::LX_shr_uh_uw_rnd_sat:
6992 case Hexagon::LX_shr_uh_uw_sat:
6993 case Hexagon::LX_shr_uh_w_rnd_sat:
6994 case Hexagon::LX_shr_uh_w_sat: {
6995 // op: Luu16
6996 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
6997 Value |= (op & 0xf) << 6;
6998 // op: Lv16
6999 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
7000 Value |= (op & 0xf) << 17;
7001 // op: Ld16
7002 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
7003 Value |= (op & 0xf) << 1;
7004 break;
7005 }
7006 case Hexagon::LX_add_wwh:
7007 case Hexagon::LX_add_wwuh:
7008 case Hexagon::LX_shr_uw_uw:
7009 case Hexagon::LX_shr_w_w:
7010 case Hexagon::LX_sub_wwh:
7011 case Hexagon::LX_sub_wwuh: {
7012 // op: Luu16
7013 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
7014 Value |= (op & 0xf) << 6;
7015 // op: Lv16
7016 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
7017 Value |= (op & 0xf) << 17;
7018 // op: Ldd16
7019 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
7020 Value |= (op & 0xf) << 1;
7021 break;
7022 }
7023 case Hexagon::LX_absdiff_uw:
7024 case Hexagon::LX_absdiff_w:
7025 case Hexagon::LX_add_hp:
7026 case Hexagon::LX_add_hp_sat:
7027 case Hexagon::LX_add_uhp_h_sat:
7028 case Hexagon::LX_add_uhp_sat:
7029 case Hexagon::LX_add_uw_sat:
7030 case Hexagon::LX_add_uw_w_sat:
7031 case Hexagon::LX_add_w:
7032 case Hexagon::LX_add_w_sat:
7033 case Hexagon::LX_and_w:
7034 case Hexagon::LX_andn_w:
7035 case Hexagon::LX_avg_uw:
7036 case Hexagon::LX_avg_uw_rnd:
7037 case Hexagon::LX_avg_w:
7038 case Hexagon::LX_avg_w_rnd:
7039 case Hexagon::LX_cmp_gt_hp:
7040 case Hexagon::LX_cmp_gt_uhp:
7041 case Hexagon::LX_cmp_gt_uw:
7042 case Hexagon::LX_cmp_gt_w:
7043 case Hexagon::LX_max_hp:
7044 case Hexagon::LX_max_uhp:
7045 case Hexagon::LX_max_uw:
7046 case Hexagon::LX_max_w:
7047 case Hexagon::LX_min_hp:
7048 case Hexagon::LX_min_uhp:
7049 case Hexagon::LX_min_uw:
7050 case Hexagon::LX_min_w:
7051 case Hexagon::LX_navg_uw:
7052 case Hexagon::LX_navg_w:
7053 case Hexagon::LX_or_w:
7054 case Hexagon::LX_orn_w:
7055 case Hexagon::LX_sub_hp:
7056 case Hexagon::LX_sub_hp_sat:
7057 case Hexagon::LX_sub_uhp_h_sat:
7058 case Hexagon::LX_sub_uhp_sat:
7059 case Hexagon::LX_sub_uw_sat:
7060 case Hexagon::LX_sub_uw_w_sat:
7061 case Hexagon::LX_sub_w:
7062 case Hexagon::LX_sub_w_sat:
7063 case Hexagon::LX_xor_w: {
7064 // op: Luu16
7065 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
7066 Value |= (op & 0xf) << 6;
7067 // op: Lvv16
7068 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
7069 Value |= (op & 0xf) << 17;
7070 // op: Ldd16
7071 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
7072 Value |= (op & 0xf) << 1;
7073 break;
7074 }
7075 case Hexagon::LX_shrr_h_w_rnd_sat:
7076 case Hexagon::LX_shrr_h_w_sat:
7077 case Hexagon::LX_shrr_h_w_uh:
7078 case Hexagon::LX_shrr_uh_uw_rnd_sat:
7079 case Hexagon::LX_shrr_uh_uw_sat:
7080 case Hexagon::LX_shrr_uh_w_rnd_sat:
7081 case Hexagon::LX_shrr_uh_w_sat: {
7082 // op: Luu16
7083 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
7084 Value |= (op & 0xf) << 6;
7085 // op: Rt32
7086 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
7087 Value |= (op & 0x1f) << 16;
7088 // op: Ld16
7089 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
7090 Value |= (op & 0xf) << 1;
7091 break;
7092 }
7093 case Hexagon::LX_shrr_uw_uw:
7094 case Hexagon::LX_shrr_w_w: {
7095 // op: Luu16
7096 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
7097 Value |= (op & 0xf) << 6;
7098 // op: Rt32
7099 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
7100 Value |= (op & 0x1f) << 16;
7101 // op: Ldd16
7102 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
7103 Value |= (op & 0xf) << 1;
7104 break;
7105 }
7106 case Hexagon::LX_shra_w_uw:
7107 case Hexagon::LX_shra_w_w: {
7108 // op: Luu16
7109 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
7110 Value |= (op & 0xf) << 6;
7111 // op: Lv16
7112 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
7113 Value |= (op & 0xf) << 17;
7114 // op: Lxx16
7115 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
7116 Value |= (op & 0xf) << 1;
7117 break;
7118 }
7119 case Hexagon::LX_shrar_w_uw:
7120 case Hexagon::LX_shrar_w_w: {
7121 // op: Luu16
7122 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
7123 Value |= (op & 0xf) << 6;
7124 // op: Rt32
7125 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
7126 Value |= (op & 0x1f) << 16;
7127 // op: Lxx16
7128 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
7129 Value |= (op & 0xf) << 1;
7130 break;
7131 }
7132 case Hexagon::S2_storerbnew_pbr:
7133 case Hexagon::S2_storerbnew_pcr:
7134 case Hexagon::S2_storerbnew_pr:
7135 case Hexagon::S2_storerhnew_pbr:
7136 case Hexagon::S2_storerhnew_pcr:
7137 case Hexagon::S2_storerhnew_pr:
7138 case Hexagon::S2_storerinew_pbr:
7139 case Hexagon::S2_storerinew_pcr:
7140 case Hexagon::S2_storerinew_pr: {
7141 // op: Mu2
7142 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
7143 Value |= (op & 0x1) << 13;
7144 // op: Nt8
7145 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
7146 Value |= (op & 0x7) << 8;
7147 // op: Rx32
7148 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
7149 Value |= (op & 0x1f) << 16;
7150 break;
7151 }
7152 case Hexagon::V6_vS32b_new_ppu:
7153 case Hexagon::V6_vS32b_nt_new_ppu: {
7154 // op: Mu2
7155 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
7156 Value |= (op & 0x1) << 13;
7157 // op: Os8
7158 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
7159 Value |= (op & 0x7);
7160 // op: Rx32
7161 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
7162 Value |= (op & 0x1f) << 16;
7163 break;
7164 }
7165 case Hexagon::S2_storerb_pbr:
7166 case Hexagon::S2_storerb_pcr:
7167 case Hexagon::S2_storerb_pr:
7168 case Hexagon::S2_storerf_pbr:
7169 case Hexagon::S2_storerf_pcr:
7170 case Hexagon::S2_storerf_pr:
7171 case Hexagon::S2_storerh_pbr:
7172 case Hexagon::S2_storerh_pcr:
7173 case Hexagon::S2_storerh_pr:
7174 case Hexagon::S2_storeri_pbr:
7175 case Hexagon::S2_storeri_pcr:
7176 case Hexagon::S2_storeri_pr: {
7177 // op: Mu2
7178 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
7179 Value |= (op & 0x1) << 13;
7180 // op: Rt32
7181 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
7182 Value |= (op & 0x1f) << 8;
7183 // op: Rx32
7184 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
7185 Value |= (op & 0x1f) << 16;
7186 break;
7187 }
7188 case Hexagon::S2_storerd_pbr:
7189 case Hexagon::S2_storerd_pcr:
7190 case Hexagon::S2_storerd_pr: {
7191 // op: Mu2
7192 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
7193 Value |= (op & 0x1) << 13;
7194 // op: Rtt32
7195 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
7196 Value |= (op & 0x1f) << 8;
7197 // op: Rx32
7198 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
7199 Value |= (op & 0x1f) << 16;
7200 break;
7201 }
7202 case Hexagon::V6_vS32b_srls_ppu:
7203 case Hexagon::V6_zLd_ppu: {
7204 // op: Mu2
7205 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
7206 Value |= (op & 0x1) << 13;
7207 // op: Rx32
7208 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
7209 Value |= (op & 0x1f) << 16;
7210 break;
7211 }
7212 case Hexagon::V6_vS32Ub_ppu:
7213 case Hexagon::V6_vS32b_nt_ppu:
7214 case Hexagon::V6_vS32b_ppu: {
7215 // op: Mu2
7216 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
7217 Value |= (op & 0x1) << 13;
7218 // op: Vs32
7219 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
7220 Value |= (op & 0x1f);
7221 // op: Rx32
7222 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
7223 Value |= (op & 0x1f) << 16;
7224 break;
7225 }
7226 case Hexagon::L2_loadbsw2_pbr:
7227 case Hexagon::L2_loadbsw2_pcr:
7228 case Hexagon::L2_loadbsw2_pr:
7229 case Hexagon::L2_loadbzw2_pbr:
7230 case Hexagon::L2_loadbzw2_pcr:
7231 case Hexagon::L2_loadbzw2_pr:
7232 case Hexagon::L2_loadrb_pbr:
7233 case Hexagon::L2_loadrb_pcr:
7234 case Hexagon::L2_loadrb_pr:
7235 case Hexagon::L2_loadrh_pbr:
7236 case Hexagon::L2_loadrh_pcr:
7237 case Hexagon::L2_loadrh_pr:
7238 case Hexagon::L2_loadri_pbr:
7239 case Hexagon::L2_loadri_pcr:
7240 case Hexagon::L2_loadri_pr:
7241 case Hexagon::L2_loadrub_pbr:
7242 case Hexagon::L2_loadrub_pcr:
7243 case Hexagon::L2_loadrub_pr:
7244 case Hexagon::L2_loadruh_pbr:
7245 case Hexagon::L2_loadruh_pcr:
7246 case Hexagon::L2_loadruh_pr: {
7247 // op: Mu2
7248 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
7249 Value |= (op & 0x1) << 13;
7250 // op: Rd32
7251 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
7252 Value |= (op & 0x1f);
7253 // op: Rx32
7254 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
7255 Value |= (op & 0x1f) << 16;
7256 break;
7257 }
7258 case Hexagon::L2_loadbsw4_pbr:
7259 case Hexagon::L2_loadbsw4_pcr:
7260 case Hexagon::L2_loadbsw4_pr:
7261 case Hexagon::L2_loadbzw4_pbr:
7262 case Hexagon::L2_loadbzw4_pcr:
7263 case Hexagon::L2_loadbzw4_pr:
7264 case Hexagon::L2_loadrd_pbr:
7265 case Hexagon::L2_loadrd_pcr:
7266 case Hexagon::L2_loadrd_pr: {
7267 // op: Mu2
7268 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
7269 Value |= (op & 0x1) << 13;
7270 // op: Rdd32
7271 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
7272 Value |= (op & 0x1f);
7273 // op: Rx32
7274 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
7275 Value |= (op & 0x1f) << 16;
7276 break;
7277 }
7278 case Hexagon::V6_vL32Ub_ppu:
7279 case Hexagon::V6_vL32b_cur_ppu:
7280 case Hexagon::V6_vL32b_nt_cur_ppu:
7281 case Hexagon::V6_vL32b_nt_ppu:
7282 case Hexagon::V6_vL32b_nt_tmp_ppu:
7283 case Hexagon::V6_vL32b_ppu:
7284 case Hexagon::V6_vL32b_tmp_ppu: {
7285 // op: Mu2
7286 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
7287 Value |= (op & 0x1) << 13;
7288 // op: Vd32
7289 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
7290 Value |= (op & 0x1f);
7291 // op: Rx32
7292 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
7293 Value |= (op & 0x1f) << 16;
7294 break;
7295 }
7296 case Hexagon::L2_loadalignb_pbr:
7297 case Hexagon::L2_loadalignb_pcr:
7298 case Hexagon::L2_loadalignb_pr:
7299 case Hexagon::L2_loadalignh_pbr:
7300 case Hexagon::L2_loadalignh_pcr:
7301 case Hexagon::L2_loadalignh_pr: {
7302 // op: Mu2
7303 op = getMachineOpValue(MI, MO: MI.getOperand(i: 4), Fixups, STI);
7304 Value |= (op & 0x1) << 13;
7305 // op: Ryy32
7306 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
7307 Value |= (op & 0x1f);
7308 // op: Rx32
7309 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
7310 Value |= (op & 0x1f) << 16;
7311 break;
7312 }
7313 case Hexagon::C2_all8:
7314 case Hexagon::C2_any8:
7315 case Hexagon::C2_not: {
7316 // op: Ps4
7317 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
7318 Value |= (op & 0x3) << 16;
7319 // op: Pd4
7320 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
7321 Value |= (op & 0x3);
7322 break;
7323 }
7324 case Hexagon::C2_xor:
7325 case Hexagon::C4_fastcorner9:
7326 case Hexagon::C4_fastcorner9_not: {
7327 // op: Ps4
7328 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
7329 Value |= (op & 0x3) << 16;
7330 // op: Pt4
7331 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
7332 Value |= (op & 0x3) << 8;
7333 // op: Pd4
7334 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
7335 Value |= (op & 0x3);
7336 break;
7337 }
7338 case Hexagon::C4_and_and:
7339 case Hexagon::C4_and_andn:
7340 case Hexagon::C4_and_or:
7341 case Hexagon::C4_and_orn:
7342 case Hexagon::C4_or_and:
7343 case Hexagon::C4_or_andn:
7344 case Hexagon::C4_or_or:
7345 case Hexagon::C4_or_orn: {
7346 // op: Ps4
7347 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
7348 Value |= (op & 0x3) << 16;
7349 // op: Pt4
7350 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
7351 Value |= (op & 0x3) << 8;
7352 // op: Pu4
7353 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
7354 Value |= (op & 0x3) << 6;
7355 // op: Pd4
7356 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
7357 Value |= (op & 0x3);
7358 break;
7359 }
7360 case Hexagon::C2_vitpack: {
7361 // op: Ps4
7362 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
7363 Value |= (op & 0x3) << 16;
7364 // op: Pt4
7365 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
7366 Value |= (op & 0x3) << 8;
7367 // op: Rd32
7368 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
7369 Value |= (op & 0x1f);
7370 break;
7371 }
7372 case Hexagon::C2_tfrpr: {
7373 // op: Ps4
7374 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
7375 Value |= (op & 0x3) << 16;
7376 // op: Rd32
7377 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
7378 Value |= (op & 0x1f);
7379 break;
7380 }
7381 case Hexagon::V6_vcmov:
7382 case Hexagon::V6_vncmov: {
7383 // op: Ps4
7384 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
7385 Value |= (op & 0x3) << 5;
7386 // op: Vu32
7387 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
7388 Value |= (op & 0x1f) << 8;
7389 // op: Vd32
7390 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
7391 Value |= (op & 0x1f);
7392 break;
7393 }
7394 case Hexagon::V6_vccombine:
7395 case Hexagon::V6_vnccombine: {
7396 // op: Ps4
7397 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
7398 Value |= (op & 0x3) << 5;
7399 // op: Vu32
7400 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
7401 Value |= (op & 0x1f) << 8;
7402 // op: Vv32
7403 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
7404 Value |= (op & 0x1f) << 16;
7405 // op: Vdd32
7406 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
7407 Value |= (op & 0x1f);
7408 break;
7409 }
7410 case Hexagon::Y2_setimask:
7411 case Hexagon::Y2_setprio: {
7412 // op: Pt4
7413 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
7414 Value |= (op & 0x3) << 8;
7415 // op: Rs32
7416 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
7417 Value |= (op & 0x1f) << 16;
7418 break;
7419 }
7420 case Hexagon::C2_and:
7421 case Hexagon::C2_andn:
7422 case Hexagon::C2_or:
7423 case Hexagon::C2_orn: {
7424 // op: Pt4
7425 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
7426 Value |= (op & 0x3) << 8;
7427 // op: Ps4
7428 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
7429 Value |= (op & 0x3) << 16;
7430 // op: Pd4
7431 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
7432 Value |= (op & 0x3);
7433 break;
7434 }
7435 case Hexagon::C2_mask: {
7436 // op: Pt4
7437 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
7438 Value |= (op & 0x3) << 8;
7439 // op: Rdd32
7440 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
7441 Value |= (op & 0x1f);
7442 break;
7443 }
7444 case Hexagon::J2_callrf:
7445 case Hexagon::J2_callrf_rb:
7446 case Hexagon::J2_callrt:
7447 case Hexagon::J2_callrt_rb:
7448 case Hexagon::J2_jumprf:
7449 case Hexagon::J2_jumprf_rb:
7450 case Hexagon::J2_jumprfnew:
7451 case Hexagon::J2_jumprfnew_rb:
7452 case Hexagon::J2_jumprfnewpt:
7453 case Hexagon::J2_jumprfnewpt_rb:
7454 case Hexagon::J2_jumprfpt:
7455 case Hexagon::J2_jumprfpt_rb:
7456 case Hexagon::J2_jumprt:
7457 case Hexagon::J2_jumprt_rb:
7458 case Hexagon::J2_jumprtnew:
7459 case Hexagon::J2_jumprtnew_rb:
7460 case Hexagon::J2_jumprtnewpt:
7461 case Hexagon::J2_jumprtnewpt_rb:
7462 case Hexagon::J2_jumprtpt:
7463 case Hexagon::J2_jumprtpt_rb: {
7464 // op: Pu4
7465 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
7466 Value |= (op & 0x3) << 8;
7467 // op: Rs32
7468 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
7469 Value |= (op & 0x1f) << 16;
7470 break;
7471 }
7472 case Hexagon::A2_paddf:
7473 case Hexagon::A2_paddfnew:
7474 case Hexagon::A2_paddt:
7475 case Hexagon::A2_paddtnew:
7476 case Hexagon::A2_pandf:
7477 case Hexagon::A2_pandfnew:
7478 case Hexagon::A2_pandt:
7479 case Hexagon::A2_pandtnew:
7480 case Hexagon::A2_porf:
7481 case Hexagon::A2_porfnew:
7482 case Hexagon::A2_port:
7483 case Hexagon::A2_portnew:
7484 case Hexagon::A2_pxorf:
7485 case Hexagon::A2_pxorfnew:
7486 case Hexagon::A2_pxort:
7487 case Hexagon::A2_pxortnew:
7488 case Hexagon::C2_mux: {
7489 // op: Pu4
7490 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
7491 Value |= (op & 0x3) << 5;
7492 // op: Rs32
7493 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
7494 Value |= (op & 0x1f) << 16;
7495 // op: Rt32
7496 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
7497 Value |= (op & 0x1f) << 8;
7498 // op: Rd32
7499 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
7500 Value |= (op & 0x1f);
7501 break;
7502 }
7503 case Hexagon::C2_ccombinewf:
7504 case Hexagon::C2_ccombinewnewf:
7505 case Hexagon::C2_ccombinewnewt:
7506 case Hexagon::C2_ccombinewt: {
7507 // op: Pu4
7508 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
7509 Value |= (op & 0x3) << 5;
7510 // op: Rs32
7511 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
7512 Value |= (op & 0x1f) << 16;
7513 // op: Rt32
7514 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
7515 Value |= (op & 0x1f) << 8;
7516 // op: Rdd32
7517 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
7518 Value |= (op & 0x1f);
7519 break;
7520 }
7521 case Hexagon::C2_vmux: {
7522 // op: Pu4
7523 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
7524 Value |= (op & 0x3) << 5;
7525 // op: Rss32
7526 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
7527 Value |= (op & 0x1f) << 16;
7528 // op: Rtt32
7529 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
7530 Value |= (op & 0x1f) << 8;
7531 // op: Rdd32
7532 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
7533 Value |= (op & 0x1f);
7534 break;
7535 }
7536 case Hexagon::A2_psubf:
7537 case Hexagon::A2_psubfnew:
7538 case Hexagon::A2_psubt:
7539 case Hexagon::A2_psubtnew: {
7540 // op: Pu4
7541 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
7542 Value |= (op & 0x3) << 5;
7543 // op: Rt32
7544 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
7545 Value |= (op & 0x1f) << 8;
7546 // op: Rs32
7547 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
7548 Value |= (op & 0x1f) << 16;
7549 // op: Rd32
7550 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
7551 Value |= (op & 0x1f);
7552 break;
7553 }
7554 case Hexagon::A4_paslhf:
7555 case Hexagon::A4_paslhfnew:
7556 case Hexagon::A4_paslht:
7557 case Hexagon::A4_paslhtnew:
7558 case Hexagon::A4_pasrhf:
7559 case Hexagon::A4_pasrhfnew:
7560 case Hexagon::A4_pasrht:
7561 case Hexagon::A4_pasrhtnew:
7562 case Hexagon::A4_psxtbf:
7563 case Hexagon::A4_psxtbfnew:
7564 case Hexagon::A4_psxtbt:
7565 case Hexagon::A4_psxtbtnew:
7566 case Hexagon::A4_psxthf:
7567 case Hexagon::A4_psxthfnew:
7568 case Hexagon::A4_psxtht:
7569 case Hexagon::A4_psxthtnew:
7570 case Hexagon::A4_pzxtbf:
7571 case Hexagon::A4_pzxtbfnew:
7572 case Hexagon::A4_pzxtbt:
7573 case Hexagon::A4_pzxtbtnew:
7574 case Hexagon::A4_pzxthf:
7575 case Hexagon::A4_pzxthfnew:
7576 case Hexagon::A4_pzxtht:
7577 case Hexagon::A4_pzxthtnew: {
7578 // op: Pu4
7579 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
7580 Value |= (op & 0x3) << 8;
7581 // op: Rs32
7582 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
7583 Value |= (op & 0x1f) << 16;
7584 // op: Rd32
7585 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
7586 Value |= (op & 0x1f);
7587 break;
7588 }
7589 case Hexagon::LX_S16b_p_new: {
7590 // op: Pv4
7591 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
7592 Value |= (op & 0x3) << 9;
7593 // op: Rs32
7594 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
7595 Value |= (op & 0x1f) << 16;
7596 // op: Ku16
7597 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
7598 Value |= (op & 0xf);
7599 break;
7600 }
7601 case Hexagon::V6_vS32b_new_npred_ppu:
7602 case Hexagon::V6_vS32b_new_pred_ppu:
7603 case Hexagon::V6_vS32b_nt_new_npred_ppu:
7604 case Hexagon::V6_vS32b_nt_new_pred_ppu: {
7605 // op: Pv4
7606 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
7607 Value |= (op & 0x3) << 11;
7608 // op: Mu2
7609 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
7610 Value |= (op & 0x1) << 13;
7611 // op: Os8
7612 op = getMachineOpValue(MI, MO: MI.getOperand(i: 4), Fixups, STI);
7613 Value |= (op & 0x7);
7614 // op: Rx32
7615 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
7616 Value |= (op & 0x1f) << 16;
7617 break;
7618 }
7619 case Hexagon::V6_zLd_pred_ppu: {
7620 // op: Pv4
7621 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
7622 Value |= (op & 0x3) << 11;
7623 // op: Mu2
7624 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
7625 Value |= (op & 0x1) << 13;
7626 // op: Rx32
7627 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
7628 Value |= (op & 0x1f) << 16;
7629 break;
7630 }
7631 case Hexagon::V6_vS32Ub_npred_ppu:
7632 case Hexagon::V6_vS32Ub_pred_ppu:
7633 case Hexagon::V6_vS32b_npred_ppu:
7634 case Hexagon::V6_vS32b_nt_npred_ppu:
7635 case Hexagon::V6_vS32b_nt_pred_ppu:
7636 case Hexagon::V6_vS32b_pred_ppu: {
7637 // op: Pv4
7638 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
7639 Value |= (op & 0x3) << 11;
7640 // op: Mu2
7641 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
7642 Value |= (op & 0x1) << 13;
7643 // op: Vs32
7644 op = getMachineOpValue(MI, MO: MI.getOperand(i: 4), Fixups, STI);
7645 Value |= (op & 0x1f);
7646 // op: Rx32
7647 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
7648 Value |= (op & 0x1f) << 16;
7649 break;
7650 }
7651 case Hexagon::L4_return_f:
7652 case Hexagon::L4_return_fnew_pnt:
7653 case Hexagon::L4_return_fnew_pt:
7654 case Hexagon::L4_return_t:
7655 case Hexagon::L4_return_tnew_pnt:
7656 case Hexagon::L4_return_tnew_pt: {
7657 // op: Pv4
7658 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
7659 Value |= (op & 0x3) << 8;
7660 // op: Rs32
7661 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
7662 Value |= (op & 0x1f) << 16;
7663 // op: Rdd32
7664 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
7665 Value |= (op & 0x1f);
7666 break;
7667 }
7668 case Hexagon::LX_L16b_p_tmp: {
7669 // op: Pv4
7670 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
7671 Value |= (op & 0x3) << 9;
7672 // op: Rs32
7673 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
7674 Value |= (op & 0x1f) << 16;
7675 // op: Ld16
7676 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
7677 Value |= (op & 0xf);
7678 break;
7679 }
7680 case Hexagon::V6_vL32b_cur_npred_ppu:
7681 case Hexagon::V6_vL32b_cur_pred_ppu:
7682 case Hexagon::V6_vL32b_npred_ppu:
7683 case Hexagon::V6_vL32b_nt_cur_npred_ppu:
7684 case Hexagon::V6_vL32b_nt_cur_pred_ppu:
7685 case Hexagon::V6_vL32b_nt_npred_ppu:
7686 case Hexagon::V6_vL32b_nt_pred_ppu:
7687 case Hexagon::V6_vL32b_nt_tmp_npred_ppu:
7688 case Hexagon::V6_vL32b_nt_tmp_pred_ppu:
7689 case Hexagon::V6_vL32b_pred_ppu:
7690 case Hexagon::V6_vL32b_tmp_npred_ppu:
7691 case Hexagon::V6_vL32b_tmp_pred_ppu: {
7692 // op: Pv4
7693 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
7694 Value |= (op & 0x3) << 11;
7695 // op: Mu2
7696 op = getMachineOpValue(MI, MO: MI.getOperand(i: 4), Fixups, STI);
7697 Value |= (op & 0x1) << 13;
7698 // op: Vd32
7699 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
7700 Value |= (op & 0x1f);
7701 // op: Rx32
7702 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
7703 Value |= (op & 0x1f) << 16;
7704 break;
7705 }
7706 case Hexagon::V6_vscattermhq:
7707 case Hexagon::V6_vscattermwq: {
7708 // op: Qs4
7709 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
7710 Value |= (op & 0x3) << 5;
7711 // op: Rt32
7712 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
7713 Value |= (op & 0x1f) << 16;
7714 // op: Mu2
7715 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
7716 Value |= (op & 0x1) << 13;
7717 // op: Vv32
7718 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
7719 Value |= (op & 0x1f) << 8;
7720 // op: Vw32
7721 op = getMachineOpValue(MI, MO: MI.getOperand(i: 4), Fixups, STI);
7722 Value |= (op & 0x1f);
7723 break;
7724 }
7725 case Hexagon::V6_vgathermhq:
7726 case Hexagon::V6_vgathermwq: {
7727 // op: Qs4
7728 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
7729 Value |= (op & 0x3) << 5;
7730 // op: Rt32
7731 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
7732 Value |= (op & 0x1f) << 16;
7733 // op: Mu2
7734 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
7735 Value |= (op & 0x1) << 13;
7736 // op: Vv32
7737 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
7738 Value |= (op & 0x1f);
7739 break;
7740 }
7741 case Hexagon::V6_vscattermhwq: {
7742 // op: Qs4
7743 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
7744 Value |= (op & 0x3) << 5;
7745 // op: Rt32
7746 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
7747 Value |= (op & 0x1f) << 16;
7748 // op: Mu2
7749 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
7750 Value |= (op & 0x1) << 13;
7751 // op: Vvv32
7752 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
7753 Value |= (op & 0x1f) << 8;
7754 // op: Vw32
7755 op = getMachineOpValue(MI, MO: MI.getOperand(i: 4), Fixups, STI);
7756 Value |= (op & 0x1f);
7757 break;
7758 }
7759 case Hexagon::V6_vgathermhwq: {
7760 // op: Qs4
7761 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
7762 Value |= (op & 0x3) << 5;
7763 // op: Rt32
7764 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
7765 Value |= (op & 0x1f) << 16;
7766 // op: Mu2
7767 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
7768 Value |= (op & 0x1) << 13;
7769 // op: Vvv32
7770 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
7771 Value |= (op & 0x1f);
7772 break;
7773 }
7774 case Hexagon::V6_pred_not: {
7775 // op: Qs4
7776 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
7777 Value |= (op & 0x3) << 8;
7778 // op: Qd4
7779 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
7780 Value |= (op & 0x3);
7781 break;
7782 }
7783 case Hexagon::V6_pred_and:
7784 case Hexagon::V6_pred_and_n:
7785 case Hexagon::V6_pred_or:
7786 case Hexagon::V6_pred_or_n:
7787 case Hexagon::V6_pred_xor:
7788 case Hexagon::V6_shuffeqh:
7789 case Hexagon::V6_shuffeqw: {
7790 // op: Qs4
7791 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
7792 Value |= (op & 0x3) << 8;
7793 // op: Qt4
7794 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
7795 Value |= (op & 0x3) << 22;
7796 // op: Qd4
7797 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
7798 Value |= (op & 0x3);
7799 break;
7800 }
7801 case Hexagon::V6_vmux: {
7802 // op: Qt4
7803 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
7804 Value |= (op & 0x3) << 5;
7805 // op: Vu32
7806 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
7807 Value |= (op & 0x1f) << 8;
7808 // op: Vv32
7809 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
7810 Value |= (op & 0x1f) << 16;
7811 // op: Vd32
7812 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
7813 Value |= (op & 0x1f);
7814 break;
7815 }
7816 case Hexagon::V6_vswap: {
7817 // op: Qt4
7818 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
7819 Value |= (op & 0x3) << 5;
7820 // op: Vu32
7821 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
7822 Value |= (op & 0x1f) << 8;
7823 // op: Vv32
7824 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
7825 Value |= (op & 0x1f) << 16;
7826 // op: Vdd32
7827 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
7828 Value |= (op & 0x1f);
7829 break;
7830 }
7831 case Hexagon::V6_vandnqrt:
7832 case Hexagon::V6_vandqrt: {
7833 // op: Qu4
7834 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
7835 Value |= (op & 0x3) << 8;
7836 // op: Rt32
7837 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
7838 Value |= (op & 0x1f) << 16;
7839 // op: Vd32
7840 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
7841 Value |= (op & 0x1f);
7842 break;
7843 }
7844 case Hexagon::V6_vandnqrt_acc:
7845 case Hexagon::V6_vandqrt_acc: {
7846 // op: Qu4
7847 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
7848 Value |= (op & 0x3) << 8;
7849 // op: Rt32
7850 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
7851 Value |= (op & 0x1f) << 16;
7852 // op: Vx32
7853 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
7854 Value |= (op & 0x1f);
7855 break;
7856 }
7857 case Hexagon::V6_vhistq:
7858 case Hexagon::V6_vwhist128q:
7859 case Hexagon::V6_vwhist256q:
7860 case Hexagon::V6_vwhist256q_sat: {
7861 // op: Qv4
7862 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
7863 Value |= (op & 0x3) << 22;
7864 break;
7865 }
7866 case Hexagon::V6_vS32b_nqpred_ppu:
7867 case Hexagon::V6_vS32b_nt_nqpred_ppu:
7868 case Hexagon::V6_vS32b_nt_qpred_ppu:
7869 case Hexagon::V6_vS32b_qpred_ppu: {
7870 // op: Qv4
7871 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
7872 Value |= (op & 0x3) << 11;
7873 // op: Mu2
7874 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
7875 Value |= (op & 0x1) << 13;
7876 // op: Vs32
7877 op = getMachineOpValue(MI, MO: MI.getOperand(i: 4), Fixups, STI);
7878 Value |= (op & 0x1f);
7879 // op: Rx32
7880 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
7881 Value |= (op & 0x1f) << 16;
7882 break;
7883 }
7884 case Hexagon::V6_vprefixqb:
7885 case Hexagon::V6_vprefixqh:
7886 case Hexagon::V6_vprefixqw: {
7887 // op: Qv4
7888 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
7889 Value |= (op & 0x3) << 22;
7890 // op: Vd32
7891 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
7892 Value |= (op & 0x1f);
7893 break;
7894 }
7895 case Hexagon::V6_vandvnqv:
7896 case Hexagon::V6_vandvqv: {
7897 // op: Qv4
7898 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
7899 Value |= (op & 0x3) << 22;
7900 // op: Vu32
7901 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
7902 Value |= (op & 0x1f) << 8;
7903 // op: Vd32
7904 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
7905 Value |= (op & 0x1f);
7906 break;
7907 }
7908 case Hexagon::V6_vaddbnq:
7909 case Hexagon::V6_vaddbq:
7910 case Hexagon::V6_vaddhnq:
7911 case Hexagon::V6_vaddhq:
7912 case Hexagon::V6_vaddwnq:
7913 case Hexagon::V6_vaddwq:
7914 case Hexagon::V6_vsubbnq:
7915 case Hexagon::V6_vsubbq:
7916 case Hexagon::V6_vsubhnq:
7917 case Hexagon::V6_vsubhq:
7918 case Hexagon::V6_vsubwnq:
7919 case Hexagon::V6_vsubwq: {
7920 // op: Qv4
7921 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
7922 Value |= (op & 0x3) << 22;
7923 // op: Vu32
7924 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
7925 Value |= (op & 0x1f) << 8;
7926 // op: Vx32
7927 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
7928 Value |= (op & 0x1f);
7929 break;
7930 }
7931 case Hexagon::SA1_clrf:
7932 case Hexagon::SA1_clrfnew:
7933 case Hexagon::SA1_clrt:
7934 case Hexagon::SA1_clrtnew:
7935 case Hexagon::SA1_setin1: {
7936 // op: Rd16
7937 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
7938 Value |= (op & 0xf);
7939 break;
7940 }
7941 case Hexagon::Y6_dmpause:
7942 case Hexagon::Y6_dmpoll:
7943 case Hexagon::Y6_dmwait: {
7944 // op: Rd32
7945 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
7946 Value |= (op & 0x1f);
7947 break;
7948 }
7949 case Hexagon::PS_callr_nr: {
7950 // op: Rs
7951 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
7952 Value |= (op & 0x1f) << 16;
7953 break;
7954 }
7955 case Hexagon::SA1_and1:
7956 case Hexagon::SA1_dec:
7957 case Hexagon::SA1_inc:
7958 case Hexagon::SA1_sxtb:
7959 case Hexagon::SA1_sxth:
7960 case Hexagon::SA1_tfr:
7961 case Hexagon::SA1_zxtb:
7962 case Hexagon::SA1_zxth: {
7963 // op: Rs16
7964 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
7965 Value |= (op & 0xf) << 4;
7966 // op: Rd16
7967 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
7968 Value |= (op & 0xf);
7969 break;
7970 }
7971 case Hexagon::SA1_combinerz:
7972 case Hexagon::SA1_combinezr: {
7973 // op: Rs16
7974 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
7975 Value |= (op & 0xf) << 4;
7976 // op: Rdd8
7977 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
7978 Value |= (op & 0x7);
7979 break;
7980 }
7981 case Hexagon::SA1_addrx: {
7982 // op: Rs16
7983 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
7984 Value |= (op & 0xf) << 4;
7985 // op: Rx16
7986 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
7987 Value |= (op & 0xf);
7988 break;
7989 }
7990 case Hexagon::J2_callr:
7991 case Hexagon::J2_callr_rb:
7992 case Hexagon::J2_callrh:
7993 case Hexagon::J2_callrh_rb:
7994 case Hexagon::J2_jumpr:
7995 case Hexagon::J2_jumpr_rb:
7996 case Hexagon::J2_jumprh:
7997 case Hexagon::J2_jumprh_rb:
7998 case Hexagon::J4_hintjumpr:
7999 case Hexagon::M8_cvt_rs_hf:
8000 case Hexagon::M8_mxmem2_bias:
8001 case Hexagon::M8_mxmem2_st_bias:
8002 case Hexagon::R6_release_at_vi:
8003 case Hexagon::R6_release_st_vi:
8004 case Hexagon::V2_vallocframe_reg:
8005 case Hexagon::V2_vdeallocframe_reg:
8006 case Hexagon::Y2_ciad:
8007 case Hexagon::Y2_cswi:
8008 case Hexagon::Y2_dccleana:
8009 case Hexagon::Y2_dccleanidx:
8010 case Hexagon::Y2_dccleaninva:
8011 case Hexagon::Y2_dccleaninvidx:
8012 case Hexagon::Y2_dcinva:
8013 case Hexagon::Y2_dcinvidx:
8014 case Hexagon::Y2_dczeroa:
8015 case Hexagon::Y2_dczeroa_nt:
8016 case Hexagon::Y2_iassignw:
8017 case Hexagon::Y2_icinva:
8018 case Hexagon::Y2_icinvidx:
8019 case Hexagon::Y2_l2cleaninvidx:
8020 case Hexagon::Y2_resume:
8021 case Hexagon::Y2_start:
8022 case Hexagon::Y2_stop:
8023 case Hexagon::Y2_swi:
8024 case Hexagon::Y2_wait:
8025 case Hexagon::Y4_nmi:
8026 case Hexagon::Y4_siad:
8027 case Hexagon::Y4_trace:
8028 case Hexagon::Y5_l2cleanidx:
8029 case Hexagon::Y5_l2invidx:
8030 case Hexagon::Y5_l2unlocka:
8031 case Hexagon::Y5_tlbasidi:
8032 case Hexagon::Y6_diag:
8033 case Hexagon::Y6_dmresume:
8034 case Hexagon::Y6_dmstart: {
8035 // op: Rs32
8036 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
8037 Value |= (op & 0x1f) << 16;
8038 break;
8039 }
8040 case Hexagon::LX_S16b_new: {
8041 // op: Rs32
8042 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
8043 Value |= (op & 0x1f) << 16;
8044 // op: Ku16
8045 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
8046 Value |= (op & 0xf);
8047 break;
8048 }
8049 case Hexagon::Y4_dcfetch_multi: {
8050 // op: Rs32
8051 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
8052 Value |= (op & 0x1f) << 16;
8053 // op: Rt32
8054 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
8055 Value |= (op & 0x1f) << 6;
8056 break;
8057 }
8058 case Hexagon::M8_mxmem:
8059 case Hexagon::M8_mxmem_blk_sm_act_hf:
8060 case Hexagon::M8_mxmem_sm_act_hf:
8061 case Hexagon::M8_mxmem_wei_hf:
8062 case Hexagon::M8_mxmemdp_wei_hf:
8063 case Hexagon::M8_mxmems_blk_sm_act_hf:
8064 case Hexagon::S2_storew_rl_at_vi:
8065 case Hexagon::S2_storew_rl_st_vi:
8066 case Hexagon::Y2_dctagw:
8067 case Hexagon::Y2_icdataw:
8068 case Hexagon::Y2_ictagw:
8069 case Hexagon::Y4_l2fetch:
8070 case Hexagon::Y4_l2tagw:
8071 case Hexagon::Y6_dmlink: {
8072 // op: Rs32
8073 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
8074 Value |= (op & 0x1f) << 16;
8075 // op: Rt32
8076 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
8077 Value |= (op & 0x1f) << 8;
8078 break;
8079 }
8080 case Hexagon::L6_memcpy: {
8081 // op: Rs32
8082 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
8083 Value |= (op & 0x1f) << 16;
8084 // op: Rt32
8085 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
8086 Value |= (op & 0x1f) << 8;
8087 // op: Mu2
8088 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
8089 Value |= (op & 0x1) << 13;
8090 break;
8091 }
8092 case Hexagon::S4_stored_rl_at_vi:
8093 case Hexagon::S4_stored_rl_st_vi:
8094 case Hexagon::Y5_l2fetch: {
8095 // op: Rs32
8096 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
8097 Value |= (op & 0x1f) << 16;
8098 // op: Rtt32
8099 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
8100 Value |= (op & 0x1f) << 8;
8101 break;
8102 }
8103 case Hexagon::A2_tfrrcr: {
8104 // op: Rs32
8105 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
8106 Value |= (op & 0x1f) << 16;
8107 // op: Cd32
8108 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
8109 Value |= (op & 0x1f);
8110 break;
8111 }
8112 case Hexagon::G4_tfrgrcr: {
8113 // op: Rs32
8114 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
8115 Value |= (op & 0x1f) << 16;
8116 // op: Gd32
8117 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
8118 Value |= (op & 0x1f);
8119 break;
8120 }
8121 case Hexagon::LX_L16b_tmp: {
8122 // op: Rs32
8123 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
8124 Value |= (op & 0x1f) << 16;
8125 // op: Ld16
8126 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
8127 Value |= (op & 0xf);
8128 break;
8129 }
8130 case Hexagon::C2_tfrrp:
8131 case Hexagon::Y5_l2locka: {
8132 // op: Rs32
8133 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
8134 Value |= (op & 0x1f) << 16;
8135 // op: Pd4
8136 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
8137 Value |= (op & 0x3);
8138 break;
8139 }
8140 case Hexagon::A2_abs:
8141 case Hexagon::A2_abssat:
8142 case Hexagon::A2_aslh:
8143 case Hexagon::A2_asrh:
8144 case Hexagon::A2_negsat:
8145 case Hexagon::A2_satb:
8146 case Hexagon::A2_sath:
8147 case Hexagon::A2_satub:
8148 case Hexagon::A2_satuh:
8149 case Hexagon::A2_swiz:
8150 case Hexagon::A2_sxtb:
8151 case Hexagon::A2_sxth:
8152 case Hexagon::A2_tfr:
8153 case Hexagon::A2_zxth:
8154 case Hexagon::F2_conv_sf2uw:
8155 case Hexagon::F2_conv_sf2uw_chop:
8156 case Hexagon::F2_conv_sf2w:
8157 case Hexagon::F2_conv_sf2w_chop:
8158 case Hexagon::F2_conv_uw2sf:
8159 case Hexagon::F2_conv_w2sf:
8160 case Hexagon::F2_sffixupr:
8161 case Hexagon::L2_loadw_aq:
8162 case Hexagon::L2_loadw_locked:
8163 case Hexagon::S2_brev:
8164 case Hexagon::S2_cl0:
8165 case Hexagon::S2_cl1:
8166 case Hexagon::S2_clb:
8167 case Hexagon::S2_clbnorm:
8168 case Hexagon::S2_ct0:
8169 case Hexagon::S2_ct1:
8170 case Hexagon::S2_svsathb:
8171 case Hexagon::S2_svsathub:
8172 case Hexagon::S2_vsplatrb:
8173 case Hexagon::Y2_dctagr:
8174 case Hexagon::Y2_getimask:
8175 case Hexagon::Y2_iassignr:
8176 case Hexagon::Y2_icdatar:
8177 case Hexagon::Y2_ictagr:
8178 case Hexagon::Y2_tlbp:
8179 case Hexagon::Y4_l2tagr: {
8180 // op: Rs32
8181 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
8182 Value |= (op & 0x1f) << 16;
8183 // op: Rd32
8184 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
8185 Value |= (op & 0x1f);
8186 break;
8187 }
8188 case Hexagon::A2_sxtw:
8189 case Hexagon::F2_conv_sf2d:
8190 case Hexagon::F2_conv_sf2d_chop:
8191 case Hexagon::F2_conv_sf2df:
8192 case Hexagon::F2_conv_sf2ud:
8193 case Hexagon::F2_conv_sf2ud_chop:
8194 case Hexagon::F2_conv_uw2df:
8195 case Hexagon::F2_conv_w2df:
8196 case Hexagon::L2_deallocframe:
8197 case Hexagon::L4_loadd_aq:
8198 case Hexagon::L4_loadd_locked:
8199 case Hexagon::L4_return:
8200 case Hexagon::S2_vsplatrh:
8201 case Hexagon::S2_vsxtbh:
8202 case Hexagon::S2_vsxthw:
8203 case Hexagon::S2_vzxtbh:
8204 case Hexagon::S2_vzxthw:
8205 case Hexagon::S6_vsplatrbp:
8206 case Hexagon::Y2_tlbr: {
8207 // op: Rs32
8208 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
8209 Value |= (op & 0x1f) << 16;
8210 // op: Rdd32
8211 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
8212 Value |= (op & 0x1f);
8213 break;
8214 }
8215 case Hexagon::A4_cmpbeq:
8216 case Hexagon::A4_cmpbgt:
8217 case Hexagon::A4_cmpbgtu:
8218 case Hexagon::A4_cmpheq:
8219 case Hexagon::A4_cmphgt:
8220 case Hexagon::A4_cmphgtu:
8221 case Hexagon::C2_bitsclr:
8222 case Hexagon::C2_bitsset:
8223 case Hexagon::C2_cmpeq:
8224 case Hexagon::C2_cmpgt:
8225 case Hexagon::C2_cmpgtu:
8226 case Hexagon::C4_cmplte:
8227 case Hexagon::C4_cmplteu:
8228 case Hexagon::C4_cmpneq:
8229 case Hexagon::C4_nbitsclr:
8230 case Hexagon::C4_nbitsset:
8231 case Hexagon::F2_sfcmpeq:
8232 case Hexagon::F2_sfcmpge:
8233 case Hexagon::F2_sfcmpgt:
8234 case Hexagon::F2_sfcmpuo:
8235 case Hexagon::S2_storew_locked:
8236 case Hexagon::S2_tstbit_r:
8237 case Hexagon::S4_ntstbit_r: {
8238 // op: Rs32
8239 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
8240 Value |= (op & 0x1f) << 16;
8241 // op: Rt32
8242 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
8243 Value |= (op & 0x1f) << 8;
8244 // op: Pd4
8245 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
8246 Value |= (op & 0x3);
8247 break;
8248 }
8249 case Hexagon::A2_add:
8250 case Hexagon::A2_addsat:
8251 case Hexagon::A2_and:
8252 case Hexagon::A2_max:
8253 case Hexagon::A2_maxu:
8254 case Hexagon::A2_or:
8255 case Hexagon::A2_svaddh:
8256 case Hexagon::A2_svaddhs:
8257 case Hexagon::A2_svadduhs:
8258 case Hexagon::A2_svavgh:
8259 case Hexagon::A2_svavghs:
8260 case Hexagon::A2_xor:
8261 case Hexagon::A4_cround_rr:
8262 case Hexagon::A4_modwrapu:
8263 case Hexagon::A4_rcmpeq:
8264 case Hexagon::A4_rcmpneq:
8265 case Hexagon::A4_round_rr:
8266 case Hexagon::A4_round_rr_sat:
8267 case Hexagon::AM_addw_aq:
8268 case Hexagon::AM_addw_rl:
8269 case Hexagon::AM_andw_aq:
8270 case Hexagon::AM_andw_rl:
8271 case Hexagon::AM_orw_aq:
8272 case Hexagon::AM_orw_rl:
8273 case Hexagon::AM_swapw_aq:
8274 case Hexagon::AM_swapw_rl:
8275 case Hexagon::AM_xorw_aq:
8276 case Hexagon::AM_xorw_rl:
8277 case Hexagon::F2_sfadd:
8278 case Hexagon::F2_sffixupd:
8279 case Hexagon::F2_sffixupn:
8280 case Hexagon::F2_sfmax:
8281 case Hexagon::F2_sfmin:
8282 case Hexagon::F2_sfmpy:
8283 case Hexagon::F2_sfsub:
8284 case Hexagon::L4_loadw_phys:
8285 case Hexagon::M2_cmpyrs_s0:
8286 case Hexagon::M2_cmpyrs_s1:
8287 case Hexagon::M2_cmpyrsc_s0:
8288 case Hexagon::M2_cmpyrsc_s1:
8289 case Hexagon::M2_dpmpyss_rnd_s0:
8290 case Hexagon::M2_hmmpyh_rs1:
8291 case Hexagon::M2_hmmpyh_s1:
8292 case Hexagon::M2_hmmpyl_rs1:
8293 case Hexagon::M2_hmmpyl_s1:
8294 case Hexagon::M2_mpy_hh_s0:
8295 case Hexagon::M2_mpy_hh_s1:
8296 case Hexagon::M2_mpy_hl_s0:
8297 case Hexagon::M2_mpy_hl_s1:
8298 case Hexagon::M2_mpy_lh_s0:
8299 case Hexagon::M2_mpy_lh_s1:
8300 case Hexagon::M2_mpy_ll_s0:
8301 case Hexagon::M2_mpy_ll_s1:
8302 case Hexagon::M2_mpy_rnd_hh_s0:
8303 case Hexagon::M2_mpy_rnd_hh_s1:
8304 case Hexagon::M2_mpy_rnd_hl_s0:
8305 case Hexagon::M2_mpy_rnd_hl_s1:
8306 case Hexagon::M2_mpy_rnd_lh_s0:
8307 case Hexagon::M2_mpy_rnd_lh_s1:
8308 case Hexagon::M2_mpy_rnd_ll_s0:
8309 case Hexagon::M2_mpy_rnd_ll_s1:
8310 case Hexagon::M2_mpy_sat_hh_s0:
8311 case Hexagon::M2_mpy_sat_hh_s1:
8312 case Hexagon::M2_mpy_sat_hl_s0:
8313 case Hexagon::M2_mpy_sat_hl_s1:
8314 case Hexagon::M2_mpy_sat_lh_s0:
8315 case Hexagon::M2_mpy_sat_lh_s1:
8316 case Hexagon::M2_mpy_sat_ll_s0:
8317 case Hexagon::M2_mpy_sat_ll_s1:
8318 case Hexagon::M2_mpy_sat_rnd_hh_s0:
8319 case Hexagon::M2_mpy_sat_rnd_hh_s1:
8320 case Hexagon::M2_mpy_sat_rnd_hl_s0:
8321 case Hexagon::M2_mpy_sat_rnd_hl_s1:
8322 case Hexagon::M2_mpy_sat_rnd_lh_s0:
8323 case Hexagon::M2_mpy_sat_rnd_lh_s1:
8324 case Hexagon::M2_mpy_sat_rnd_ll_s0:
8325 case Hexagon::M2_mpy_sat_rnd_ll_s1:
8326 case Hexagon::M2_mpy_up:
8327 case Hexagon::M2_mpy_up_s1:
8328 case Hexagon::M2_mpy_up_s1_sat:
8329 case Hexagon::M2_mpyi:
8330 case Hexagon::M2_mpysu_up:
8331 case Hexagon::M2_mpyu_hh_s0:
8332 case Hexagon::M2_mpyu_hh_s1:
8333 case Hexagon::M2_mpyu_hl_s0:
8334 case Hexagon::M2_mpyu_hl_s1:
8335 case Hexagon::M2_mpyu_lh_s0:
8336 case Hexagon::M2_mpyu_lh_s1:
8337 case Hexagon::M2_mpyu_ll_s0:
8338 case Hexagon::M2_mpyu_ll_s1:
8339 case Hexagon::M2_mpyu_up:
8340 case Hexagon::M2_vmpy2s_s0pack:
8341 case Hexagon::M2_vmpy2s_s1pack:
8342 case Hexagon::S2_asl_r_r:
8343 case Hexagon::S2_asl_r_r_sat:
8344 case Hexagon::S2_asr_r_r:
8345 case Hexagon::S2_asr_r_r_sat:
8346 case Hexagon::S2_clrbit_r:
8347 case Hexagon::S2_lsl_r_r:
8348 case Hexagon::S2_lsr_r_r:
8349 case Hexagon::S2_setbit_r:
8350 case Hexagon::S2_togglebit_r:
8351 case Hexagon::S4_parity:
8352 case Hexagon::dep_A2_addsat: {
8353 // op: Rs32
8354 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
8355 Value |= (op & 0x1f) << 16;
8356 // op: Rt32
8357 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
8358 Value |= (op & 0x1f) << 8;
8359 // op: Rd32
8360 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
8361 Value |= (op & 0x1f);
8362 break;
8363 }
8364 case Hexagon::A2_combinew:
8365 case Hexagon::A4_bitsplit:
8366 case Hexagon::M2_cmpyi_s0:
8367 case Hexagon::M2_cmpyr_s0:
8368 case Hexagon::M2_cmpys_s0:
8369 case Hexagon::M2_cmpys_s1:
8370 case Hexagon::M2_cmpysc_s0:
8371 case Hexagon::M2_cmpysc_s1:
8372 case Hexagon::M2_dpmpyss_s0:
8373 case Hexagon::M2_dpmpyuu_s0:
8374 case Hexagon::M2_mpyd_hh_s0:
8375 case Hexagon::M2_mpyd_hh_s1:
8376 case Hexagon::M2_mpyd_hl_s0:
8377 case Hexagon::M2_mpyd_hl_s1:
8378 case Hexagon::M2_mpyd_lh_s0:
8379 case Hexagon::M2_mpyd_lh_s1:
8380 case Hexagon::M2_mpyd_ll_s0:
8381 case Hexagon::M2_mpyd_ll_s1:
8382 case Hexagon::M2_mpyd_rnd_hh_s0:
8383 case Hexagon::M2_mpyd_rnd_hh_s1:
8384 case Hexagon::M2_mpyd_rnd_hl_s0:
8385 case Hexagon::M2_mpyd_rnd_hl_s1:
8386 case Hexagon::M2_mpyd_rnd_lh_s0:
8387 case Hexagon::M2_mpyd_rnd_lh_s1:
8388 case Hexagon::M2_mpyd_rnd_ll_s0:
8389 case Hexagon::M2_mpyd_rnd_ll_s1:
8390 case Hexagon::M2_mpyud_hh_s0:
8391 case Hexagon::M2_mpyud_hh_s1:
8392 case Hexagon::M2_mpyud_hl_s0:
8393 case Hexagon::M2_mpyud_hl_s1:
8394 case Hexagon::M2_mpyud_lh_s0:
8395 case Hexagon::M2_mpyud_lh_s1:
8396 case Hexagon::M2_mpyud_ll_s0:
8397 case Hexagon::M2_mpyud_ll_s1:
8398 case Hexagon::M2_vmpy2s_s0:
8399 case Hexagon::M2_vmpy2s_s1:
8400 case Hexagon::M2_vmpy2su_s0:
8401 case Hexagon::M2_vmpy2su_s1:
8402 case Hexagon::M4_pmpyw:
8403 case Hexagon::M4_vpmpyh:
8404 case Hexagon::M5_vmpybsu:
8405 case Hexagon::M5_vmpybuu:
8406 case Hexagon::S2_packhl:
8407 case Hexagon::dep_S2_packhl: {
8408 // op: Rs32
8409 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
8410 Value |= (op & 0x1f) << 16;
8411 // op: Rt32
8412 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
8413 Value |= (op & 0x1f) << 8;
8414 // op: Rdd32
8415 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
8416 Value |= (op & 0x1f);
8417 break;
8418 }
8419 case Hexagon::S4_stored_locked: {
8420 // op: Rs32
8421 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
8422 Value |= (op & 0x1f) << 16;
8423 // op: Rtt32
8424 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
8425 Value |= (op & 0x1f) << 8;
8426 // op: Pd4
8427 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
8428 Value |= (op & 0x3);
8429 break;
8430 }
8431 case Hexagon::S2_extractu_rp:
8432 case Hexagon::S4_extract_rp: {
8433 // op: Rs32
8434 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
8435 Value |= (op & 0x1f) << 16;
8436 // op: Rtt32
8437 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
8438 Value |= (op & 0x1f) << 8;
8439 // op: Rd32
8440 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
8441 Value |= (op & 0x1f);
8442 break;
8443 }
8444 case Hexagon::AM_swapd_aq:
8445 case Hexagon::AM_swapd_rl: {
8446 // op: Rs32
8447 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
8448 Value |= (op & 0x1f) << 16;
8449 // op: Rtt32
8450 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
8451 Value |= (op & 0x1f) << 8;
8452 // op: Rdd32
8453 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
8454 Value |= (op & 0x1f);
8455 break;
8456 }
8457 case Hexagon::Y2_tfrsrcr: {
8458 // op: Rs32
8459 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
8460 Value |= (op & 0x1f) << 16;
8461 // op: Sd128
8462 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
8463 Value |= (op & 0x7f);
8464 break;
8465 }
8466 case Hexagon::F2_sfinvsqrta: {
8467 // op: Rs32
8468 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
8469 Value |= (op & 0x1f) << 16;
8470 // op: Rd32
8471 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
8472 Value |= (op & 0x1f);
8473 // op: Pe4
8474 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
8475 Value |= (op & 0x3) << 5;
8476 break;
8477 }
8478 case Hexagon::F2_sffma_sc: {
8479 // op: Rs32
8480 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
8481 Value |= (op & 0x1f) << 16;
8482 // op: Rt32
8483 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
8484 Value |= (op & 0x1f) << 8;
8485 // op: Pu4
8486 op = getMachineOpValue(MI, MO: MI.getOperand(i: 4), Fixups, STI);
8487 Value |= (op & 0x3) << 5;
8488 // op: Rx32
8489 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
8490 Value |= (op & 0x1f);
8491 break;
8492 }
8493 case Hexagon::F2_sfrecipa: {
8494 // op: Rs32
8495 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
8496 Value |= (op & 0x1f) << 16;
8497 // op: Rt32
8498 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
8499 Value |= (op & 0x1f) << 8;
8500 // op: Rd32
8501 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
8502 Value |= (op & 0x1f);
8503 // op: Pe4
8504 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
8505 Value |= (op & 0x3) << 5;
8506 break;
8507 }
8508 case Hexagon::F2_sffma:
8509 case Hexagon::F2_sffma_lib:
8510 case Hexagon::F2_sffms:
8511 case Hexagon::F2_sffms_lib:
8512 case Hexagon::M2_acci:
8513 case Hexagon::M2_maci:
8514 case Hexagon::M2_mnaci:
8515 case Hexagon::M2_mpy_acc_hh_s0:
8516 case Hexagon::M2_mpy_acc_hh_s1:
8517 case Hexagon::M2_mpy_acc_hl_s0:
8518 case Hexagon::M2_mpy_acc_hl_s1:
8519 case Hexagon::M2_mpy_acc_lh_s0:
8520 case Hexagon::M2_mpy_acc_lh_s1:
8521 case Hexagon::M2_mpy_acc_ll_s0:
8522 case Hexagon::M2_mpy_acc_ll_s1:
8523 case Hexagon::M2_mpy_acc_sat_hh_s0:
8524 case Hexagon::M2_mpy_acc_sat_hh_s1:
8525 case Hexagon::M2_mpy_acc_sat_hl_s0:
8526 case Hexagon::M2_mpy_acc_sat_hl_s1:
8527 case Hexagon::M2_mpy_acc_sat_lh_s0:
8528 case Hexagon::M2_mpy_acc_sat_lh_s1:
8529 case Hexagon::M2_mpy_acc_sat_ll_s0:
8530 case Hexagon::M2_mpy_acc_sat_ll_s1:
8531 case Hexagon::M2_mpy_nac_hh_s0:
8532 case Hexagon::M2_mpy_nac_hh_s1:
8533 case Hexagon::M2_mpy_nac_hl_s0:
8534 case Hexagon::M2_mpy_nac_hl_s1:
8535 case Hexagon::M2_mpy_nac_lh_s0:
8536 case Hexagon::M2_mpy_nac_lh_s1:
8537 case Hexagon::M2_mpy_nac_ll_s0:
8538 case Hexagon::M2_mpy_nac_ll_s1:
8539 case Hexagon::M2_mpy_nac_sat_hh_s0:
8540 case Hexagon::M2_mpy_nac_sat_hh_s1:
8541 case Hexagon::M2_mpy_nac_sat_hl_s0:
8542 case Hexagon::M2_mpy_nac_sat_hl_s1:
8543 case Hexagon::M2_mpy_nac_sat_lh_s0:
8544 case Hexagon::M2_mpy_nac_sat_lh_s1:
8545 case Hexagon::M2_mpy_nac_sat_ll_s0:
8546 case Hexagon::M2_mpy_nac_sat_ll_s1:
8547 case Hexagon::M2_mpyu_acc_hh_s0:
8548 case Hexagon::M2_mpyu_acc_hh_s1:
8549 case Hexagon::M2_mpyu_acc_hl_s0:
8550 case Hexagon::M2_mpyu_acc_hl_s1:
8551 case Hexagon::M2_mpyu_acc_lh_s0:
8552 case Hexagon::M2_mpyu_acc_lh_s1:
8553 case Hexagon::M2_mpyu_acc_ll_s0:
8554 case Hexagon::M2_mpyu_acc_ll_s1:
8555 case Hexagon::M2_mpyu_nac_hh_s0:
8556 case Hexagon::M2_mpyu_nac_hh_s1:
8557 case Hexagon::M2_mpyu_nac_hl_s0:
8558 case Hexagon::M2_mpyu_nac_hl_s1:
8559 case Hexagon::M2_mpyu_nac_lh_s0:
8560 case Hexagon::M2_mpyu_nac_lh_s1:
8561 case Hexagon::M2_mpyu_nac_ll_s0:
8562 case Hexagon::M2_mpyu_nac_ll_s1:
8563 case Hexagon::M2_nacci:
8564 case Hexagon::M2_xor_xacc:
8565 case Hexagon::M4_and_and:
8566 case Hexagon::M4_and_andn:
8567 case Hexagon::M4_and_or:
8568 case Hexagon::M4_and_xor:
8569 case Hexagon::M4_mac_up_s1_sat:
8570 case Hexagon::M4_nac_up_s1_sat:
8571 case Hexagon::M4_or_and:
8572 case Hexagon::M4_or_andn:
8573 case Hexagon::M4_or_or:
8574 case Hexagon::M4_or_xor:
8575 case Hexagon::M4_xor_and:
8576 case Hexagon::M4_xor_andn:
8577 case Hexagon::M4_xor_or:
8578 case Hexagon::S2_asl_r_r_acc:
8579 case Hexagon::S2_asl_r_r_and:
8580 case Hexagon::S2_asl_r_r_nac:
8581 case Hexagon::S2_asl_r_r_or:
8582 case Hexagon::S2_asr_r_r_acc:
8583 case Hexagon::S2_asr_r_r_and:
8584 case Hexagon::S2_asr_r_r_nac:
8585 case Hexagon::S2_asr_r_r_or:
8586 case Hexagon::S2_lsl_r_r_acc:
8587 case Hexagon::S2_lsl_r_r_and:
8588 case Hexagon::S2_lsl_r_r_nac:
8589 case Hexagon::S2_lsl_r_r_or:
8590 case Hexagon::S2_lsr_r_r_acc:
8591 case Hexagon::S2_lsr_r_r_and:
8592 case Hexagon::S2_lsr_r_r_nac:
8593 case Hexagon::S2_lsr_r_r_or: {
8594 // op: Rs32
8595 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
8596 Value |= (op & 0x1f) << 16;
8597 // op: Rt32
8598 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
8599 Value |= (op & 0x1f) << 8;
8600 // op: Rx32
8601 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
8602 Value |= (op & 0x1f);
8603 break;
8604 }
8605 case Hexagon::M2_cmaci_s0:
8606 case Hexagon::M2_cmacr_s0:
8607 case Hexagon::M2_cmacs_s0:
8608 case Hexagon::M2_cmacs_s1:
8609 case Hexagon::M2_cmacsc_s0:
8610 case Hexagon::M2_cmacsc_s1:
8611 case Hexagon::M2_cnacs_s0:
8612 case Hexagon::M2_cnacs_s1:
8613 case Hexagon::M2_cnacsc_s0:
8614 case Hexagon::M2_cnacsc_s1:
8615 case Hexagon::M2_dpmpyss_acc_s0:
8616 case Hexagon::M2_dpmpyss_nac_s0:
8617 case Hexagon::M2_dpmpyuu_acc_s0:
8618 case Hexagon::M2_dpmpyuu_nac_s0:
8619 case Hexagon::M2_mpyd_acc_hh_s0:
8620 case Hexagon::M2_mpyd_acc_hh_s1:
8621 case Hexagon::M2_mpyd_acc_hl_s0:
8622 case Hexagon::M2_mpyd_acc_hl_s1:
8623 case Hexagon::M2_mpyd_acc_lh_s0:
8624 case Hexagon::M2_mpyd_acc_lh_s1:
8625 case Hexagon::M2_mpyd_acc_ll_s0:
8626 case Hexagon::M2_mpyd_acc_ll_s1:
8627 case Hexagon::M2_mpyd_nac_hh_s0:
8628 case Hexagon::M2_mpyd_nac_hh_s1:
8629 case Hexagon::M2_mpyd_nac_hl_s0:
8630 case Hexagon::M2_mpyd_nac_hl_s1:
8631 case Hexagon::M2_mpyd_nac_lh_s0:
8632 case Hexagon::M2_mpyd_nac_lh_s1:
8633 case Hexagon::M2_mpyd_nac_ll_s0:
8634 case Hexagon::M2_mpyd_nac_ll_s1:
8635 case Hexagon::M2_mpyud_acc_hh_s0:
8636 case Hexagon::M2_mpyud_acc_hh_s1:
8637 case Hexagon::M2_mpyud_acc_hl_s0:
8638 case Hexagon::M2_mpyud_acc_hl_s1:
8639 case Hexagon::M2_mpyud_acc_lh_s0:
8640 case Hexagon::M2_mpyud_acc_lh_s1:
8641 case Hexagon::M2_mpyud_acc_ll_s0:
8642 case Hexagon::M2_mpyud_acc_ll_s1:
8643 case Hexagon::M2_mpyud_nac_hh_s0:
8644 case Hexagon::M2_mpyud_nac_hh_s1:
8645 case Hexagon::M2_mpyud_nac_hl_s0:
8646 case Hexagon::M2_mpyud_nac_hl_s1:
8647 case Hexagon::M2_mpyud_nac_lh_s0:
8648 case Hexagon::M2_mpyud_nac_lh_s1:
8649 case Hexagon::M2_mpyud_nac_ll_s0:
8650 case Hexagon::M2_mpyud_nac_ll_s1:
8651 case Hexagon::M2_vmac2:
8652 case Hexagon::M2_vmac2s_s0:
8653 case Hexagon::M2_vmac2s_s1:
8654 case Hexagon::M2_vmac2su_s0:
8655 case Hexagon::M2_vmac2su_s1:
8656 case Hexagon::M4_pmpyw_acc:
8657 case Hexagon::M4_vpmpyh_acc:
8658 case Hexagon::M5_vmacbsu:
8659 case Hexagon::M5_vmacbuu: {
8660 // op: Rs32
8661 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
8662 Value |= (op & 0x1f) << 16;
8663 // op: Rt32
8664 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
8665 Value |= (op & 0x1f) << 8;
8666 // op: Rxx32
8667 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
8668 Value |= (op & 0x1f);
8669 break;
8670 }
8671 case Hexagon::S2_insert_rp: {
8672 // op: Rs32
8673 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
8674 Value |= (op & 0x1f) << 16;
8675 // op: Rtt32
8676 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
8677 Value |= (op & 0x1f) << 8;
8678 // op: Rx32
8679 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
8680 Value |= (op & 0x1f);
8681 break;
8682 }
8683 case Hexagon::Y2_tlbw: {
8684 // op: Rss32
8685 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
8686 Value |= (op & 0x1f) << 16;
8687 // op: Rt32
8688 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
8689 Value |= (op & 0x1f) << 8;
8690 break;
8691 }
8692 case Hexagon::Y6_diag0:
8693 case Hexagon::Y6_diag1: {
8694 // op: Rss32
8695 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
8696 Value |= (op & 0x1f) << 16;
8697 // op: Rtt32
8698 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
8699 Value |= (op & 0x1f) << 8;
8700 break;
8701 }
8702 case Hexagon::A4_tfrpcp: {
8703 // op: Rss32
8704 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
8705 Value |= (op & 0x1f) << 16;
8706 // op: Cdd32
8707 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
8708 Value |= (op & 0x1f);
8709 break;
8710 }
8711 case Hexagon::G4_tfrgpcp: {
8712 // op: Rss32
8713 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
8714 Value |= (op & 0x1f) << 16;
8715 // op: Gdd32
8716 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
8717 Value |= (op & 0x1f);
8718 break;
8719 }
8720 case Hexagon::A2_roundsat:
8721 case Hexagon::A2_sat:
8722 case Hexagon::F2_conv_d2sf:
8723 case Hexagon::F2_conv_df2sf:
8724 case Hexagon::F2_conv_df2uw:
8725 case Hexagon::F2_conv_df2uw_chop:
8726 case Hexagon::F2_conv_df2w:
8727 case Hexagon::F2_conv_df2w_chop:
8728 case Hexagon::F2_conv_ud2sf:
8729 case Hexagon::S2_cl0p:
8730 case Hexagon::S2_cl1p:
8731 case Hexagon::S2_clbp:
8732 case Hexagon::S2_ct0p:
8733 case Hexagon::S2_ct1p:
8734 case Hexagon::S2_vrndpackwh:
8735 case Hexagon::S2_vrndpackwhs:
8736 case Hexagon::S2_vsathb:
8737 case Hexagon::S2_vsathub:
8738 case Hexagon::S2_vsatwh:
8739 case Hexagon::S2_vsatwuh:
8740 case Hexagon::S2_vtrunehb:
8741 case Hexagon::S2_vtrunohb:
8742 case Hexagon::S4_clbpnorm:
8743 case Hexagon::S5_popcountp:
8744 case Hexagon::Y2_tlbpp:
8745 case Hexagon::Y5_tlboc: {
8746 // op: Rss32
8747 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
8748 Value |= (op & 0x1f) << 16;
8749 // op: Rd32
8750 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
8751 Value |= (op & 0x1f);
8752 break;
8753 }
8754 case Hexagon::A2_absp:
8755 case Hexagon::A2_negp:
8756 case Hexagon::A2_notp:
8757 case Hexagon::A2_vabsh:
8758 case Hexagon::A2_vabshsat:
8759 case Hexagon::A2_vabsw:
8760 case Hexagon::A2_vabswsat:
8761 case Hexagon::A2_vconj:
8762 case Hexagon::F2_conv_d2df:
8763 case Hexagon::F2_conv_df2d:
8764 case Hexagon::F2_conv_df2d_chop:
8765 case Hexagon::F2_conv_df2ud:
8766 case Hexagon::F2_conv_df2ud_chop:
8767 case Hexagon::F2_conv_ud2df:
8768 case Hexagon::S2_brevp:
8769 case Hexagon::S2_deinterleave:
8770 case Hexagon::S2_interleave:
8771 case Hexagon::S2_vsathb_nopack:
8772 case Hexagon::S2_vsathub_nopack:
8773 case Hexagon::S2_vsatwh_nopack:
8774 case Hexagon::S2_vsatwuh_nopack: {
8775 // op: Rss32
8776 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
8777 Value |= (op & 0x1f) << 16;
8778 // op: Rdd32
8779 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
8780 Value |= (op & 0x1f);
8781 break;
8782 }
8783 case Hexagon::A4_tlbmatch: {
8784 // op: Rss32
8785 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
8786 Value |= (op & 0x1f) << 16;
8787 // op: Rt32
8788 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
8789 Value |= (op & 0x1f) << 8;
8790 // op: Pd4
8791 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
8792 Value |= (op & 0x3);
8793 break;
8794 }
8795 case Hexagon::M4_cmpyi_wh:
8796 case Hexagon::M4_cmpyi_whc:
8797 case Hexagon::M4_cmpyr_wh:
8798 case Hexagon::M4_cmpyr_whc:
8799 case Hexagon::S2_asr_r_svw_trun:
8800 case Hexagon::Y5_ctlbw: {
8801 // op: Rss32
8802 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
8803 Value |= (op & 0x1f) << 16;
8804 // op: Rt32
8805 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
8806 Value |= (op & 0x1f) << 8;
8807 // op: Rd32
8808 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
8809 Value |= (op & 0x1f);
8810 break;
8811 }
8812 case Hexagon::A7_croundd_rr:
8813 case Hexagon::S2_asl_r_p:
8814 case Hexagon::S2_asl_r_vh:
8815 case Hexagon::S2_asl_r_vw:
8816 case Hexagon::S2_asr_r_p:
8817 case Hexagon::S2_asr_r_vh:
8818 case Hexagon::S2_asr_r_vw:
8819 case Hexagon::S2_lsl_r_p:
8820 case Hexagon::S2_lsl_r_vh:
8821 case Hexagon::S2_lsl_r_vw:
8822 case Hexagon::S2_lsr_r_p:
8823 case Hexagon::S2_lsr_r_vh:
8824 case Hexagon::S2_lsr_r_vw:
8825 case Hexagon::S2_vcnegh:
8826 case Hexagon::S2_vcrotate: {
8827 // op: Rss32
8828 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
8829 Value |= (op & 0x1f) << 16;
8830 // op: Rt32
8831 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
8832 Value |= (op & 0x1f) << 8;
8833 // op: Rdd32
8834 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
8835 Value |= (op & 0x1f);
8836 break;
8837 }
8838 case Hexagon::A2_vcmpbeq:
8839 case Hexagon::A2_vcmpbgtu:
8840 case Hexagon::A2_vcmpheq:
8841 case Hexagon::A2_vcmphgt:
8842 case Hexagon::A2_vcmphgtu:
8843 case Hexagon::A2_vcmpweq:
8844 case Hexagon::A2_vcmpwgt:
8845 case Hexagon::A2_vcmpwgtu:
8846 case Hexagon::A4_boundscheck_hi:
8847 case Hexagon::A4_boundscheck_lo:
8848 case Hexagon::A4_vcmpbeq_any:
8849 case Hexagon::A4_vcmpbgt:
8850 case Hexagon::A6_vcmpbeq_notany:
8851 case Hexagon::C2_cmpeqp:
8852 case Hexagon::C2_cmpgtp:
8853 case Hexagon::C2_cmpgtup:
8854 case Hexagon::F2_dfcmpeq:
8855 case Hexagon::F2_dfcmpge:
8856 case Hexagon::F2_dfcmpgt:
8857 case Hexagon::F2_dfcmpuo: {
8858 // op: Rss32
8859 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
8860 Value |= (op & 0x1f) << 16;
8861 // op: Rtt32
8862 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
8863 Value |= (op & 0x1f) << 8;
8864 // op: Pd4
8865 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
8866 Value |= (op & 0x3);
8867 break;
8868 }
8869 case Hexagon::S2_vsplicerb: {
8870 // op: Rss32
8871 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
8872 Value |= (op & 0x1f) << 16;
8873 // op: Rtt32
8874 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
8875 Value |= (op & 0x1f) << 8;
8876 // op: Pu4
8877 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
8878 Value |= (op & 0x3) << 5;
8879 // op: Rdd32
8880 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
8881 Value |= (op & 0x1f);
8882 break;
8883 }
8884 case Hexagon::A5_vaddhubs:
8885 case Hexagon::M2_vdmpyrs_s0:
8886 case Hexagon::M2_vdmpyrs_s1:
8887 case Hexagon::M2_vraddh:
8888 case Hexagon::M2_vradduh:
8889 case Hexagon::M2_vrcmpys_s1rp_h:
8890 case Hexagon::M2_vrcmpys_s1rp_l:
8891 case Hexagon::M7_wcmpyiw:
8892 case Hexagon::M7_wcmpyiw_rnd:
8893 case Hexagon::M7_wcmpyiwc:
8894 case Hexagon::M7_wcmpyiwc_rnd:
8895 case Hexagon::M7_wcmpyrw:
8896 case Hexagon::M7_wcmpyrw_rnd:
8897 case Hexagon::M7_wcmpyrwc:
8898 case Hexagon::M7_wcmpyrwc_rnd:
8899 case Hexagon::S2_parityp: {
8900 // op: Rss32
8901 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
8902 Value |= (op & 0x1f) << 16;
8903 // op: Rtt32
8904 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
8905 Value |= (op & 0x1f) << 8;
8906 // op: Rd32
8907 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
8908 Value |= (op & 0x1f);
8909 break;
8910 }
8911 case Hexagon::A2_addp:
8912 case Hexagon::A2_addpsat:
8913 case Hexagon::A2_addsph:
8914 case Hexagon::A2_addspl:
8915 case Hexagon::A2_andp:
8916 case Hexagon::A2_maxp:
8917 case Hexagon::A2_maxup:
8918 case Hexagon::A2_orp:
8919 case Hexagon::A2_vaddh:
8920 case Hexagon::A2_vaddhs:
8921 case Hexagon::A2_vaddub:
8922 case Hexagon::A2_vaddubs:
8923 case Hexagon::A2_vadduhs:
8924 case Hexagon::A2_vaddw:
8925 case Hexagon::A2_vaddws:
8926 case Hexagon::A2_vavgh:
8927 case Hexagon::A2_vavghcr:
8928 case Hexagon::A2_vavghr:
8929 case Hexagon::A2_vavgub:
8930 case Hexagon::A2_vavgubr:
8931 case Hexagon::A2_vavguh:
8932 case Hexagon::A2_vavguhr:
8933 case Hexagon::A2_vavguw:
8934 case Hexagon::A2_vavguwr:
8935 case Hexagon::A2_vavgw:
8936 case Hexagon::A2_vavgwcr:
8937 case Hexagon::A2_vavgwr:
8938 case Hexagon::A2_vraddub:
8939 case Hexagon::A2_vrsadub:
8940 case Hexagon::A2_xorp:
8941 case Hexagon::F2_dfadd:
8942 case Hexagon::F2_dfmax:
8943 case Hexagon::F2_dfmin:
8944 case Hexagon::F2_dfmpyfix:
8945 case Hexagon::F2_dfmpyll:
8946 case Hexagon::F2_dfsub:
8947 case Hexagon::F7_vsfadd:
8948 case Hexagon::F7_vsfmpy:
8949 case Hexagon::F7_vsfsub:
8950 case Hexagon::M2_mmpyh_rs0:
8951 case Hexagon::M2_mmpyh_rs1:
8952 case Hexagon::M2_mmpyh_s0:
8953 case Hexagon::M2_mmpyh_s1:
8954 case Hexagon::M2_mmpyl_rs0:
8955 case Hexagon::M2_mmpyl_rs1:
8956 case Hexagon::M2_mmpyl_s0:
8957 case Hexagon::M2_mmpyl_s1:
8958 case Hexagon::M2_mmpyuh_rs0:
8959 case Hexagon::M2_mmpyuh_rs1:
8960 case Hexagon::M2_mmpyuh_s0:
8961 case Hexagon::M2_mmpyuh_s1:
8962 case Hexagon::M2_mmpyul_rs0:
8963 case Hexagon::M2_mmpyul_rs1:
8964 case Hexagon::M2_mmpyul_s0:
8965 case Hexagon::M2_mmpyul_s1:
8966 case Hexagon::M2_vcmpy_s0_sat_i:
8967 case Hexagon::M2_vcmpy_s0_sat_r:
8968 case Hexagon::M2_vcmpy_s1_sat_i:
8969 case Hexagon::M2_vcmpy_s1_sat_r:
8970 case Hexagon::M2_vdmpys_s0:
8971 case Hexagon::M2_vdmpys_s1:
8972 case Hexagon::M2_vmpy2es_s0:
8973 case Hexagon::M2_vmpy2es_s1:
8974 case Hexagon::M2_vrcmpyi_s0:
8975 case Hexagon::M2_vrcmpyi_s0c:
8976 case Hexagon::M2_vrcmpyr_s0:
8977 case Hexagon::M2_vrcmpyr_s0c:
8978 case Hexagon::M2_vrcmpys_s1_h:
8979 case Hexagon::M2_vrcmpys_s1_l:
8980 case Hexagon::M2_vrmpy_s0:
8981 case Hexagon::M4_vrmpyeh_s0:
8982 case Hexagon::M4_vrmpyeh_s1:
8983 case Hexagon::M4_vrmpyoh_s0:
8984 case Hexagon::M4_vrmpyoh_s1:
8985 case Hexagon::M5_vdmpybsu:
8986 case Hexagon::M5_vrmpybsu:
8987 case Hexagon::M5_vrmpybuu:
8988 case Hexagon::M7_dcmpyiw:
8989 case Hexagon::M7_dcmpyiwc:
8990 case Hexagon::M7_dcmpyrw:
8991 case Hexagon::M7_dcmpyrwc:
8992 case Hexagon::S2_cabacdecbin:
8993 case Hexagon::S2_extractup_rp:
8994 case Hexagon::S2_lfsp:
8995 case Hexagon::S2_shuffeb:
8996 case Hexagon::S2_shuffeh:
8997 case Hexagon::S2_vtrunewh:
8998 case Hexagon::S2_vtrunowh:
8999 case Hexagon::S4_extractp_rp:
9000 case Hexagon::S4_vxaddsubh:
9001 case Hexagon::S4_vxaddsubhr:
9002 case Hexagon::S4_vxaddsubw:
9003 case Hexagon::S4_vxsubaddh:
9004 case Hexagon::S4_vxsubaddhr:
9005 case Hexagon::S4_vxsubaddw:
9006 case Hexagon::S6_vtrunehb_ppp:
9007 case Hexagon::S6_vtrunohb_ppp: {
9008 // op: Rss32
9009 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
9010 Value |= (op & 0x1f) << 16;
9011 // op: Rtt32
9012 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
9013 Value |= (op & 0x1f) << 8;
9014 // op: Rdd32
9015 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
9016 Value |= (op & 0x1f);
9017 break;
9018 }
9019 case Hexagon::Y4_tfrspcp: {
9020 // op: Rss32
9021 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
9022 Value |= (op & 0x1f) << 16;
9023 // op: Sdd128
9024 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
9025 Value |= (op & 0x7f);
9026 break;
9027 }
9028 case Hexagon::S2_asl_r_p_acc:
9029 case Hexagon::S2_asl_r_p_and:
9030 case Hexagon::S2_asl_r_p_nac:
9031 case Hexagon::S2_asl_r_p_or:
9032 case Hexagon::S2_asl_r_p_xor:
9033 case Hexagon::S2_asr_r_p_acc:
9034 case Hexagon::S2_asr_r_p_and:
9035 case Hexagon::S2_asr_r_p_nac:
9036 case Hexagon::S2_asr_r_p_or:
9037 case Hexagon::S2_asr_r_p_xor:
9038 case Hexagon::S2_lsl_r_p_acc:
9039 case Hexagon::S2_lsl_r_p_and:
9040 case Hexagon::S2_lsl_r_p_nac:
9041 case Hexagon::S2_lsl_r_p_or:
9042 case Hexagon::S2_lsl_r_p_xor:
9043 case Hexagon::S2_lsr_r_p_acc:
9044 case Hexagon::S2_lsr_r_p_and:
9045 case Hexagon::S2_lsr_r_p_nac:
9046 case Hexagon::S2_lsr_r_p_or:
9047 case Hexagon::S2_lsr_r_p_xor:
9048 case Hexagon::S2_vrcnegh: {
9049 // op: Rss32
9050 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
9051 Value |= (op & 0x1f) << 16;
9052 // op: Rt32
9053 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
9054 Value |= (op & 0x1f) << 8;
9055 // op: Rxx32
9056 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
9057 Value |= (op & 0x1f);
9058 break;
9059 }
9060 case Hexagon::A4_addp_c:
9061 case Hexagon::A4_subp_c: {
9062 // op: Rss32
9063 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
9064 Value |= (op & 0x1f) << 16;
9065 // op: Rtt32
9066 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
9067 Value |= (op & 0x1f) << 8;
9068 // op: Rdd32
9069 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
9070 Value |= (op & 0x1f);
9071 // op: Px4
9072 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
9073 Value |= (op & 0x3) << 5;
9074 break;
9075 }
9076 case Hexagon::A2_vraddub_acc:
9077 case Hexagon::A2_vrsadub_acc:
9078 case Hexagon::F2_dfmpyhh:
9079 case Hexagon::F2_dfmpylh:
9080 case Hexagon::F7_vsffma:
9081 case Hexagon::F7_vsffms:
9082 case Hexagon::M2_mmachs_rs0:
9083 case Hexagon::M2_mmachs_rs1:
9084 case Hexagon::M2_mmachs_s0:
9085 case Hexagon::M2_mmachs_s1:
9086 case Hexagon::M2_mmacls_rs0:
9087 case Hexagon::M2_mmacls_rs1:
9088 case Hexagon::M2_mmacls_s0:
9089 case Hexagon::M2_mmacls_s1:
9090 case Hexagon::M2_mmacuhs_rs0:
9091 case Hexagon::M2_mmacuhs_rs1:
9092 case Hexagon::M2_mmacuhs_s0:
9093 case Hexagon::M2_mmacuhs_s1:
9094 case Hexagon::M2_mmaculs_rs0:
9095 case Hexagon::M2_mmaculs_rs1:
9096 case Hexagon::M2_mmaculs_s0:
9097 case Hexagon::M2_mmaculs_s1:
9098 case Hexagon::M2_vcmac_s0_sat_i:
9099 case Hexagon::M2_vcmac_s0_sat_r:
9100 case Hexagon::M2_vdmacs_s0:
9101 case Hexagon::M2_vdmacs_s1:
9102 case Hexagon::M2_vmac2es:
9103 case Hexagon::M2_vmac2es_s0:
9104 case Hexagon::M2_vmac2es_s1:
9105 case Hexagon::M2_vrcmaci_s0:
9106 case Hexagon::M2_vrcmaci_s0c:
9107 case Hexagon::M2_vrcmacr_s0:
9108 case Hexagon::M2_vrcmacr_s0c:
9109 case Hexagon::M2_vrcmpys_acc_s1_h:
9110 case Hexagon::M2_vrcmpys_acc_s1_l:
9111 case Hexagon::M2_vrmac_s0:
9112 case Hexagon::M4_vrmpyeh_acc_s0:
9113 case Hexagon::M4_vrmpyeh_acc_s1:
9114 case Hexagon::M4_vrmpyoh_acc_s0:
9115 case Hexagon::M4_vrmpyoh_acc_s1:
9116 case Hexagon::M4_xor_xacc:
9117 case Hexagon::M5_vdmacbsu:
9118 case Hexagon::M5_vrmacbsu:
9119 case Hexagon::M5_vrmacbuu:
9120 case Hexagon::M7_dcmpyiw_acc:
9121 case Hexagon::M7_dcmpyiwc_acc:
9122 case Hexagon::M7_dcmpyrw_acc:
9123 case Hexagon::M7_dcmpyrwc_acc:
9124 case Hexagon::S2_insertp_rp: {
9125 // op: Rss32
9126 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
9127 Value |= (op & 0x1f) << 16;
9128 // op: Rtt32
9129 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
9130 Value |= (op & 0x1f) << 8;
9131 // op: Rxx32
9132 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
9133 Value |= (op & 0x1f);
9134 break;
9135 }
9136 case Hexagon::A4_vrmaxh:
9137 case Hexagon::A4_vrmaxuh:
9138 case Hexagon::A4_vrmaxuw:
9139 case Hexagon::A4_vrmaxw:
9140 case Hexagon::A4_vrminh:
9141 case Hexagon::A4_vrminuh:
9142 case Hexagon::A4_vrminuw:
9143 case Hexagon::A4_vrminw: {
9144 // op: Rss32
9145 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
9146 Value |= (op & 0x1f) << 16;
9147 // op: Ru32
9148 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
9149 Value |= (op & 0x1f);
9150 // op: Rxx32
9151 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
9152 Value |= (op & 0x1f) << 8;
9153 break;
9154 }
9155 case Hexagon::A5_ACS: {
9156 // op: Rss32
9157 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
9158 Value |= (op & 0x1f) << 16;
9159 // op: Rtt32
9160 op = getMachineOpValue(MI, MO: MI.getOperand(i: 4), Fixups, STI);
9161 Value |= (op & 0x1f) << 8;
9162 // op: Rxx32
9163 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
9164 Value |= (op & 0x1f);
9165 // op: Pe4
9166 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
9167 Value |= (op & 0x3) << 5;
9168 break;
9169 }
9170 case Hexagon::V6_vscattermh:
9171 case Hexagon::V6_vscattermh_add:
9172 case Hexagon::V6_vscattermw:
9173 case Hexagon::V6_vscattermw_add: {
9174 // op: Rt32
9175 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
9176 Value |= (op & 0x1f) << 16;
9177 // op: Mu2
9178 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
9179 Value |= (op & 0x1) << 13;
9180 // op: Vv32
9181 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
9182 Value |= (op & 0x1f) << 8;
9183 // op: Vw32
9184 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
9185 Value |= (op & 0x1f);
9186 break;
9187 }
9188 case Hexagon::V6_vgathermh:
9189 case Hexagon::V6_vgathermw: {
9190 // op: Rt32
9191 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
9192 Value |= (op & 0x1f) << 16;
9193 // op: Mu2
9194 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
9195 Value |= (op & 0x1) << 13;
9196 // op: Vv32
9197 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
9198 Value |= (op & 0x1f);
9199 break;
9200 }
9201 case Hexagon::V6_vscattermhw:
9202 case Hexagon::V6_vscattermhw_add: {
9203 // op: Rt32
9204 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
9205 Value |= (op & 0x1f) << 16;
9206 // op: Mu2
9207 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
9208 Value |= (op & 0x1) << 13;
9209 // op: Vvv32
9210 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
9211 Value |= (op & 0x1f) << 8;
9212 // op: Vw32
9213 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
9214 Value |= (op & 0x1f);
9215 break;
9216 }
9217 case Hexagon::V6_vgathermhw: {
9218 // op: Rt32
9219 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
9220 Value |= (op & 0x1f) << 16;
9221 // op: Mu2
9222 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
9223 Value |= (op & 0x1) << 13;
9224 // op: Vvv32
9225 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
9226 Value |= (op & 0x1f);
9227 break;
9228 }
9229 case Hexagon::LX_assign_r: {
9230 // op: Rt32
9231 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
9232 Value |= (op & 0x1f) << 16;
9233 // op: Ld16
9234 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
9235 Value |= (op & 0xf) << 1;
9236 break;
9237 }
9238 case Hexagon::LX_assign_rw: {
9239 // op: Rt32
9240 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
9241 Value |= (op & 0x1f) << 16;
9242 // op: Ldd16
9243 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
9244 Value |= (op & 0xf) << 1;
9245 break;
9246 }
9247 case Hexagon::V6_pred_scalar2:
9248 case Hexagon::V6_pred_scalar2v2: {
9249 // op: Rt32
9250 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
9251 Value |= (op & 0x1f) << 16;
9252 // op: Qd4
9253 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
9254 Value |= (op & 0x3);
9255 break;
9256 }
9257 case Hexagon::V6_lvsplatb:
9258 case Hexagon::V6_lvsplath:
9259 case Hexagon::V6_lvsplatw:
9260 case Hexagon::V6_zextract: {
9261 // op: Rt32
9262 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
9263 Value |= (op & 0x1f) << 16;
9264 // op: Vd32
9265 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
9266 Value |= (op & 0x1f);
9267 break;
9268 }
9269 case Hexagon::A2_addh_h16_hh:
9270 case Hexagon::A2_addh_h16_hl:
9271 case Hexagon::A2_addh_h16_lh:
9272 case Hexagon::A2_addh_h16_ll:
9273 case Hexagon::A2_addh_h16_sat_hh:
9274 case Hexagon::A2_addh_h16_sat_hl:
9275 case Hexagon::A2_addh_h16_sat_lh:
9276 case Hexagon::A2_addh_h16_sat_ll:
9277 case Hexagon::A2_addh_l16_hl:
9278 case Hexagon::A2_addh_l16_ll:
9279 case Hexagon::A2_addh_l16_sat_hl:
9280 case Hexagon::A2_addh_l16_sat_ll:
9281 case Hexagon::A2_combine_hh:
9282 case Hexagon::A2_combine_hl:
9283 case Hexagon::A2_combine_lh:
9284 case Hexagon::A2_combine_ll:
9285 case Hexagon::A2_min:
9286 case Hexagon::A2_minu:
9287 case Hexagon::A2_sub:
9288 case Hexagon::A2_subh_h16_hh:
9289 case Hexagon::A2_subh_h16_hl:
9290 case Hexagon::A2_subh_h16_lh:
9291 case Hexagon::A2_subh_h16_ll:
9292 case Hexagon::A2_subh_h16_sat_hh:
9293 case Hexagon::A2_subh_h16_sat_hl:
9294 case Hexagon::A2_subh_h16_sat_lh:
9295 case Hexagon::A2_subh_h16_sat_ll:
9296 case Hexagon::A2_subh_l16_hl:
9297 case Hexagon::A2_subh_l16_ll:
9298 case Hexagon::A2_subh_l16_sat_hl:
9299 case Hexagon::A2_subh_l16_sat_ll:
9300 case Hexagon::A2_subsat:
9301 case Hexagon::A2_svnavgh:
9302 case Hexagon::A2_svsubh:
9303 case Hexagon::A2_svsubhs:
9304 case Hexagon::A2_svsubuhs:
9305 case Hexagon::A4_andn:
9306 case Hexagon::A4_orn:
9307 case Hexagon::dep_A2_subsat: {
9308 // op: Rt32
9309 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
9310 Value |= (op & 0x1f) << 8;
9311 // op: Rs32
9312 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
9313 Value |= (op & 0x1f) << 16;
9314 // op: Rd32
9315 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
9316 Value |= (op & 0x1f);
9317 break;
9318 }
9319 case Hexagon::V6_vinsertwr: {
9320 // op: Rt32
9321 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
9322 Value |= (op & 0x1f) << 16;
9323 // op: Vx32
9324 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
9325 Value |= (op & 0x1f);
9326 break;
9327 }
9328 case Hexagon::M2_subacc: {
9329 // op: Rt32
9330 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
9331 Value |= (op & 0x1f) << 8;
9332 // op: Rs32
9333 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
9334 Value |= (op & 0x1f) << 16;
9335 // op: Rx32
9336 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
9337 Value |= (op & 0x1f);
9338 break;
9339 }
9340 case Hexagon::V6_vdeal:
9341 case Hexagon::V6_vshuff: {
9342 // op: Rt32
9343 op = getMachineOpValue(MI, MO: MI.getOperand(i: 4), Fixups, STI);
9344 Value |= (op & 0x1f) << 16;
9345 // op: Vy32
9346 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
9347 Value |= (op & 0x1f) << 8;
9348 // op: Vx32
9349 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
9350 Value |= (op & 0x1f);
9351 break;
9352 }
9353 case Hexagon::Y6_l2gcleaninvpa:
9354 case Hexagon::Y6_l2gcleanpa: {
9355 // op: Rtt32
9356 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
9357 Value |= (op & 0x1f) << 8;
9358 break;
9359 }
9360 case Hexagon::S2_valignrb: {
9361 // op: Rtt32
9362 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
9363 Value |= (op & 0x1f) << 8;
9364 // op: Rss32
9365 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
9366 Value |= (op & 0x1f) << 16;
9367 // op: Pu4
9368 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
9369 Value |= (op & 0x3) << 5;
9370 // op: Rdd32
9371 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
9372 Value |= (op & 0x1f);
9373 break;
9374 }
9375 case Hexagon::A2_minp:
9376 case Hexagon::A2_minup:
9377 case Hexagon::A2_subp:
9378 case Hexagon::A2_vmaxb:
9379 case Hexagon::A2_vmaxh:
9380 case Hexagon::A2_vmaxub:
9381 case Hexagon::A2_vmaxuh:
9382 case Hexagon::A2_vmaxuw:
9383 case Hexagon::A2_vmaxw:
9384 case Hexagon::A2_vminb:
9385 case Hexagon::A2_vminh:
9386 case Hexagon::A2_vminub:
9387 case Hexagon::A2_vminuh:
9388 case Hexagon::A2_vminuw:
9389 case Hexagon::A2_vminw:
9390 case Hexagon::A2_vnavgh:
9391 case Hexagon::A2_vnavghcr:
9392 case Hexagon::A2_vnavghr:
9393 case Hexagon::A2_vnavgw:
9394 case Hexagon::A2_vnavgwcr:
9395 case Hexagon::A2_vnavgwr:
9396 case Hexagon::A2_vsubh:
9397 case Hexagon::A2_vsubhs:
9398 case Hexagon::A2_vsubub:
9399 case Hexagon::A2_vsububs:
9400 case Hexagon::A2_vsubuhs:
9401 case Hexagon::A2_vsubw:
9402 case Hexagon::A2_vsubws:
9403 case Hexagon::A4_andnp:
9404 case Hexagon::A4_ornp:
9405 case Hexagon::M2_vabsdiffh:
9406 case Hexagon::M2_vabsdiffw:
9407 case Hexagon::M6_vabsdiffb:
9408 case Hexagon::M6_vabsdiffub:
9409 case Hexagon::S2_shuffob:
9410 case Hexagon::S2_shuffoh: {
9411 // op: Rtt32
9412 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
9413 Value |= (op & 0x1f) << 8;
9414 // op: Rss32
9415 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
9416 Value |= (op & 0x1f) << 16;
9417 // op: Rdd32
9418 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
9419 Value |= (op & 0x1f);
9420 break;
9421 }
9422 case Hexagon::A6_vminub_RdP: {
9423 // op: Rtt32
9424 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
9425 Value |= (op & 0x1f) << 8;
9426 // op: Rss32
9427 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
9428 Value |= (op & 0x1f) << 16;
9429 // op: Rdd32
9430 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
9431 Value |= (op & 0x1f);
9432 // op: Pe4
9433 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
9434 Value |= (op & 0x3) << 5;
9435 break;
9436 }
9437 case Hexagon::M4_mpyrr_addr: {
9438 // op: Ru32
9439 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
9440 Value |= (op & 0x1f);
9441 // op: Rs32
9442 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
9443 Value |= (op & 0x1f) << 16;
9444 // op: Ry32
9445 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
9446 Value |= (op & 0x1f) << 8;
9447 break;
9448 }
9449 case Hexagon::Y2_crswap0:
9450 case Hexagon::Y4_crswap1: {
9451 // op: Rx32
9452 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
9453 Value |= (op & 0x1f) << 16;
9454 break;
9455 }
9456 case Hexagon::Y4_crswap10: {
9457 // op: Rxx32
9458 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
9459 Value |= (op & 0x1f) << 16;
9460 break;
9461 }
9462 case Hexagon::Y2_tfrscrr: {
9463 // op: Ss128
9464 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
9465 Value |= (op & 0x7f) << 16;
9466 // op: Rd32
9467 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
9468 Value |= (op & 0x1f);
9469 break;
9470 }
9471 case Hexagon::Y4_tfrscpp: {
9472 // op: Sss128
9473 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
9474 Value |= (op & 0x7f) << 16;
9475 // op: Rdd32
9476 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
9477 Value |= (op & 0x1f);
9478 break;
9479 }
9480 case Hexagon::V6_extractw: {
9481 // op: Vu32
9482 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
9483 Value |= (op & 0x1f) << 8;
9484 // op: Rs32
9485 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
9486 Value |= (op & 0x1f) << 16;
9487 // op: Rd32
9488 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
9489 Value |= (op & 0x1f);
9490 break;
9491 }
9492 case Hexagon::V6_vandvrt: {
9493 // op: Vu32
9494 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
9495 Value |= (op & 0x1f) << 8;
9496 // op: Rt32
9497 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
9498 Value |= (op & 0x1f) << 16;
9499 // op: Qd4
9500 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
9501 Value |= (op & 0x3);
9502 break;
9503 }
9504 case Hexagon::V6_get_qfext:
9505 case Hexagon::V6_set_qfext:
9506 case Hexagon::V6_vaslh:
9507 case Hexagon::V6_vaslw:
9508 case Hexagon::V6_vasrh:
9509 case Hexagon::V6_vasrw:
9510 case Hexagon::V6_vdmpybus:
9511 case Hexagon::V6_vdmpyhb:
9512 case Hexagon::V6_vdmpyhsat:
9513 case Hexagon::V6_vdmpyhsusat:
9514 case Hexagon::V6_vlsrb:
9515 case Hexagon::V6_vlsrh:
9516 case Hexagon::V6_vlsrw:
9517 case Hexagon::V6_vmpy_rt_hf:
9518 case Hexagon::V6_vmpy_rt_qf16:
9519 case Hexagon::V6_vmpy_rt_sf:
9520 case Hexagon::V6_vmpyhsrs:
9521 case Hexagon::V6_vmpyhss:
9522 case Hexagon::V6_vmpyihb:
9523 case Hexagon::V6_vmpyiwb:
9524 case Hexagon::V6_vmpyiwh:
9525 case Hexagon::V6_vmpyiwub:
9526 case Hexagon::V6_vmpyrhuh:
9527 case Hexagon::V6_vmpyrhuh_rnd:
9528 case Hexagon::V6_vmpyruhuh:
9529 case Hexagon::V6_vmpyruhuh_rnd:
9530 case Hexagon::V6_vmpyuhe:
9531 case Hexagon::V6_vrmpybus:
9532 case Hexagon::V6_vrmpyub:
9533 case Hexagon::V6_vror: {
9534 // op: Vu32
9535 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
9536 Value |= (op & 0x1f) << 8;
9537 // op: Rt32
9538 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
9539 Value |= (op & 0x1f) << 16;
9540 // op: Vd32
9541 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
9542 Value |= (op & 0x1f);
9543 break;
9544 }
9545 case Hexagon::V6_vmpybus:
9546 case Hexagon::V6_vmpyh:
9547 case Hexagon::V6_vmpyrhus:
9548 case Hexagon::V6_vmpyub:
9549 case Hexagon::V6_vmpyuh: {
9550 // op: Vu32
9551 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
9552 Value |= (op & 0x1f) << 8;
9553 // op: Rt32
9554 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
9555 Value |= (op & 0x1f) << 16;
9556 // op: Vdd32
9557 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
9558 Value |= (op & 0x1f);
9559 break;
9560 }
9561 case Hexagon::V6_vrmpyzbb_rt:
9562 case Hexagon::V6_vrmpyzbub_rt:
9563 case Hexagon::V6_vrmpyzcb_rt:
9564 case Hexagon::V6_vrmpyzcbs_rt:
9565 case Hexagon::V6_vrmpyznb_rt: {
9566 // op: Vu32
9567 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
9568 Value |= (op & 0x1f) << 8;
9569 // op: Rt8
9570 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
9571 Value |= (op & 0x7) << 16;
9572 // op: Vdddd32
9573 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
9574 Value |= (op & 0x1f);
9575 break;
9576 }
9577 case Hexagon::V6_vlut4: {
9578 // op: Vu32
9579 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
9580 Value |= (op & 0x1f) << 8;
9581 // op: Rtt32
9582 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
9583 Value |= (op & 0x1f) << 16;
9584 // op: Vd32
9585 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
9586 Value |= (op & 0x1f);
9587 break;
9588 }
9589 case Hexagon::V6_vrmpybub_rtt:
9590 case Hexagon::V6_vrmpyub_rtt: {
9591 // op: Vu32
9592 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
9593 Value |= (op & 0x1f) << 8;
9594 // op: Rtt32
9595 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
9596 Value |= (op & 0x1f) << 16;
9597 // op: Vdd32
9598 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
9599 Value |= (op & 0x1f);
9600 break;
9601 }
9602 case Hexagon::V6_vabs_f8:
9603 case Hexagon::V6_vabs_hf:
9604 case Hexagon::V6_vabs_qf16_hf:
9605 case Hexagon::V6_vabs_qf16_qf16:
9606 case Hexagon::V6_vabs_qf32_qf32:
9607 case Hexagon::V6_vabs_qf32_sf:
9608 case Hexagon::V6_vabs_sf:
9609 case Hexagon::V6_vabsb:
9610 case Hexagon::V6_vabsb_sat:
9611 case Hexagon::V6_vabsh:
9612 case Hexagon::V6_vabsh_sat:
9613 case Hexagon::V6_vabsw:
9614 case Hexagon::V6_vabsw_sat:
9615 case Hexagon::V6_vassign:
9616 case Hexagon::V6_vassign_fp:
9617 case Hexagon::V6_vassign_tmp:
9618 case Hexagon::V6_vcl0h:
9619 case Hexagon::V6_vcl0w:
9620 case Hexagon::V6_vconv_f8_qf16:
9621 case Hexagon::V6_vconv_h_hf:
9622 case Hexagon::V6_vconv_h_hf_rnd:
9623 case Hexagon::V6_vconv_hf_h:
9624 case Hexagon::V6_vconv_hf_qf16:
9625 case Hexagon::V6_vconv_qf16_hf:
9626 case Hexagon::V6_vconv_qf16_qf16:
9627 case Hexagon::V6_vconv_qf32_qf32:
9628 case Hexagon::V6_vconv_qf32_sf:
9629 case Hexagon::V6_vconv_sf_qf32:
9630 case Hexagon::V6_vconv_sf_w:
9631 case Hexagon::V6_vconv_w_sf:
9632 case Hexagon::V6_vcvt_h_hf:
9633 case Hexagon::V6_vcvt_hf_h:
9634 case Hexagon::V6_vcvt_hf_uh:
9635 case Hexagon::V6_vcvt_uh_hf:
9636 case Hexagon::V6_vdealb:
9637 case Hexagon::V6_vdealh:
9638 case Hexagon::V6_vfneg_f8:
9639 case Hexagon::V6_vfneg_hf:
9640 case Hexagon::V6_vfneg_sf:
9641 case Hexagon::V6_vilog2_hf:
9642 case Hexagon::V6_vilog2_qf16:
9643 case Hexagon::V6_vilog2_qf32:
9644 case Hexagon::V6_vilog2_sf:
9645 case Hexagon::V6_vneg_qf16_hf:
9646 case Hexagon::V6_vneg_qf16_qf16:
9647 case Hexagon::V6_vneg_qf32_qf32:
9648 case Hexagon::V6_vneg_qf32_sf:
9649 case Hexagon::V6_vnormamth:
9650 case Hexagon::V6_vnormamtw:
9651 case Hexagon::V6_vnot:
9652 case Hexagon::V6_vpopcounth:
9653 case Hexagon::V6_vshuffb:
9654 case Hexagon::V6_vshuffh: {
9655 // op: Vu32
9656 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
9657 Value |= (op & 0x1f) << 8;
9658 // op: Vd32
9659 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
9660 Value |= (op & 0x1f);
9661 break;
9662 }
9663 case Hexagon::V6_vconv_qf16_f8:
9664 case Hexagon::V6_vcvt2_hf_b:
9665 case Hexagon::V6_vcvt2_hf_ub:
9666 case Hexagon::V6_vcvt_hf_b:
9667 case Hexagon::V6_vcvt_hf_f8:
9668 case Hexagon::V6_vcvt_hf_ub:
9669 case Hexagon::V6_vcvt_sf_hf:
9670 case Hexagon::V6_vsb:
9671 case Hexagon::V6_vsh:
9672 case Hexagon::V6_vunpackb:
9673 case Hexagon::V6_vunpackh:
9674 case Hexagon::V6_vunpackub:
9675 case Hexagon::V6_vunpackuh:
9676 case Hexagon::V6_vzb:
9677 case Hexagon::V6_vzh: {
9678 // op: Vu32
9679 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
9680 Value |= (op & 0x1f) << 8;
9681 // op: Vdd32
9682 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
9683 Value |= (op & 0x1f);
9684 break;
9685 }
9686 case Hexagon::V6_veqb:
9687 case Hexagon::V6_veqh:
9688 case Hexagon::V6_veqhf:
9689 case Hexagon::V6_veqsf:
9690 case Hexagon::V6_veqw:
9691 case Hexagon::V6_vgtb:
9692 case Hexagon::V6_vgtbf:
9693 case Hexagon::V6_vgth:
9694 case Hexagon::V6_vgthf:
9695 case Hexagon::V6_vgtsf:
9696 case Hexagon::V6_vgtub:
9697 case Hexagon::V6_vgtuh:
9698 case Hexagon::V6_vgtuw:
9699 case Hexagon::V6_vgtw: {
9700 // op: Vu32
9701 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
9702 Value |= (op & 0x1f) << 8;
9703 // op: Vv32
9704 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
9705 Value |= (op & 0x1f) << 16;
9706 // op: Qd4
9707 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
9708 Value |= (op & 0x3);
9709 break;
9710 }
9711 case Hexagon::V6_vaddcarrysat: {
9712 // op: Vu32
9713 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
9714 Value |= (op & 0x1f) << 8;
9715 // op: Vv32
9716 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
9717 Value |= (op & 0x1f) << 16;
9718 // op: Qs4
9719 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
9720 Value |= (op & 0x3) << 5;
9721 // op: Vd32
9722 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
9723 Value |= (op & 0x1f);
9724 break;
9725 }
9726 case Hexagon::V6_vabsdiffh:
9727 case Hexagon::V6_vabsdiffub:
9728 case Hexagon::V6_vabsdiffuh:
9729 case Hexagon::V6_vabsdiffuw:
9730 case Hexagon::V6_vabsdiffw:
9731 case Hexagon::V6_vadd_hf:
9732 case Hexagon::V6_vadd_hf_hf:
9733 case Hexagon::V6_vadd_qf16:
9734 case Hexagon::V6_vadd_qf16_mix:
9735 case Hexagon::V6_vadd_qf32:
9736 case Hexagon::V6_vadd_qf32_mix:
9737 case Hexagon::V6_vadd_sf:
9738 case Hexagon::V6_vadd_sf_sf:
9739 case Hexagon::V6_vaddb:
9740 case Hexagon::V6_vaddbsat:
9741 case Hexagon::V6_vaddclbh:
9742 case Hexagon::V6_vaddclbw:
9743 case Hexagon::V6_vaddh:
9744 case Hexagon::V6_vaddhsat:
9745 case Hexagon::V6_vaddubsat:
9746 case Hexagon::V6_vaddububb_sat:
9747 case Hexagon::V6_vadduhhsat:
9748 case Hexagon::V6_vadduhsat:
9749 case Hexagon::V6_vadduwsat:
9750 case Hexagon::V6_vaddw:
9751 case Hexagon::V6_vaddwsat:
9752 case Hexagon::V6_vand:
9753 case Hexagon::V6_vaslhv:
9754 case Hexagon::V6_vaslwv:
9755 case Hexagon::V6_vasrhv:
9756 case Hexagon::V6_vasrwv:
9757 case Hexagon::V6_vavgb:
9758 case Hexagon::V6_vavgbrnd:
9759 case Hexagon::V6_vavgh:
9760 case Hexagon::V6_vavghrnd:
9761 case Hexagon::V6_vavgub:
9762 case Hexagon::V6_vavgubrnd:
9763 case Hexagon::V6_vavguh:
9764 case Hexagon::V6_vavguhrnd:
9765 case Hexagon::V6_vavguw:
9766 case Hexagon::V6_vavguwrnd:
9767 case Hexagon::V6_vavgw:
9768 case Hexagon::V6_vavgwrnd:
9769 case Hexagon::V6_vcvt2_b_hf:
9770 case Hexagon::V6_vcvt2_ub_hf:
9771 case Hexagon::V6_vcvt_b_hf:
9772 case Hexagon::V6_vcvt_bf_sf:
9773 case Hexagon::V6_vcvt_f8_hf:
9774 case Hexagon::V6_vcvt_hf_sf:
9775 case Hexagon::V6_vcvt_ub_hf:
9776 case Hexagon::V6_vdealb4w:
9777 case Hexagon::V6_vdelta:
9778 case Hexagon::V6_vdmpy_sf_hf:
9779 case Hexagon::V6_vdmpyhvsat:
9780 case Hexagon::V6_vfmax_f8:
9781 case Hexagon::V6_vfmax_hf:
9782 case Hexagon::V6_vfmax_sf:
9783 case Hexagon::V6_vfmin_f8:
9784 case Hexagon::V6_vfmin_hf:
9785 case Hexagon::V6_vfmin_sf:
9786 case Hexagon::V6_vlsrhv:
9787 case Hexagon::V6_vlsrwv:
9788 case Hexagon::V6_vmax_bf:
9789 case Hexagon::V6_vmax_hf:
9790 case Hexagon::V6_vmax_sf:
9791 case Hexagon::V6_vmaxb:
9792 case Hexagon::V6_vmaxh:
9793 case Hexagon::V6_vmaxub:
9794 case Hexagon::V6_vmaxuh:
9795 case Hexagon::V6_vmaxuw:
9796 case Hexagon::V6_vmaxw:
9797 case Hexagon::V6_vmerge_qf:
9798 case Hexagon::V6_vmin_bf:
9799 case Hexagon::V6_vmin_hf:
9800 case Hexagon::V6_vmin_sf:
9801 case Hexagon::V6_vminb:
9802 case Hexagon::V6_vminh:
9803 case Hexagon::V6_vminub:
9804 case Hexagon::V6_vminuh:
9805 case Hexagon::V6_vminuw:
9806 case Hexagon::V6_vminw:
9807 case Hexagon::V6_vmpy_hf_hf:
9808 case Hexagon::V6_vmpy_qf16:
9809 case Hexagon::V6_vmpy_qf16_hf:
9810 case Hexagon::V6_vmpy_qf16_mix_hf:
9811 case Hexagon::V6_vmpy_qf32:
9812 case Hexagon::V6_vmpy_qf32_sf:
9813 case Hexagon::V6_vmpy_sf_sf:
9814 case Hexagon::V6_vmpyewuh:
9815 case Hexagon::V6_vmpyewuh_rnd:
9816 case Hexagon::V6_vmpyhuh:
9817 case Hexagon::V6_vmpyhuh_rnd:
9818 case Hexagon::V6_vmpyhvsrs:
9819 case Hexagon::V6_vmpyieoh:
9820 case Hexagon::V6_vmpyiewuh:
9821 case Hexagon::V6_vmpyih:
9822 case Hexagon::V6_vmpyiowh:
9823 case Hexagon::V6_vmpyowh:
9824 case Hexagon::V6_vmpyowh_rnd:
9825 case Hexagon::V6_vmpyowuh:
9826 case Hexagon::V6_vmpyowuh_rnd:
9827 case Hexagon::V6_vmpyuhuh_rnd:
9828 case Hexagon::V6_vmpyuhvs:
9829 case Hexagon::V6_vnavgb:
9830 case Hexagon::V6_vnavgh:
9831 case Hexagon::V6_vnavgub:
9832 case Hexagon::V6_vnavguh:
9833 case Hexagon::V6_vnavguw:
9834 case Hexagon::V6_vnavgw:
9835 case Hexagon::V6_vor:
9836 case Hexagon::V6_vpackeb:
9837 case Hexagon::V6_vpackeh:
9838 case Hexagon::V6_vpackhb_sat:
9839 case Hexagon::V6_vpackhub_sat:
9840 case Hexagon::V6_vpackob:
9841 case Hexagon::V6_vpackoh:
9842 case Hexagon::V6_vpackwh_sat:
9843 case Hexagon::V6_vpackwuh_sat:
9844 case Hexagon::V6_vrdelta:
9845 case Hexagon::V6_vrmpybusv:
9846 case Hexagon::V6_vrmpybv:
9847 case Hexagon::V6_vrmpyubv:
9848 case Hexagon::V6_vrotr:
9849 case Hexagon::V6_vroundhb:
9850 case Hexagon::V6_vroundhub:
9851 case Hexagon::V6_vrounduhub:
9852 case Hexagon::V6_vrounduwuh:
9853 case Hexagon::V6_vroundwh:
9854 case Hexagon::V6_vroundwuh:
9855 case Hexagon::V6_vsatdw:
9856 case Hexagon::V6_vsathub:
9857 case Hexagon::V6_vsatuwuh:
9858 case Hexagon::V6_vsatwh:
9859 case Hexagon::V6_vshufeh:
9860 case Hexagon::V6_vshuffeb:
9861 case Hexagon::V6_vshuffob:
9862 case Hexagon::V6_vshufoh:
9863 case Hexagon::V6_vsub_hf:
9864 case Hexagon::V6_vsub_hf_hf:
9865 case Hexagon::V6_vsub_hf_mix:
9866 case Hexagon::V6_vsub_qf16:
9867 case Hexagon::V6_vsub_qf16_mix:
9868 case Hexagon::V6_vsub_qf32:
9869 case Hexagon::V6_vsub_qf32_mix:
9870 case Hexagon::V6_vsub_sf:
9871 case Hexagon::V6_vsub_sf_mix:
9872 case Hexagon::V6_vsub_sf_sf:
9873 case Hexagon::V6_vsubb:
9874 case Hexagon::V6_vsubbsat:
9875 case Hexagon::V6_vsubh:
9876 case Hexagon::V6_vsubhsat:
9877 case Hexagon::V6_vsububsat:
9878 case Hexagon::V6_vsubububb_sat:
9879 case Hexagon::V6_vsubuhhsat:
9880 case Hexagon::V6_vsubuhsat:
9881 case Hexagon::V6_vsubuwsat:
9882 case Hexagon::V6_vsubw:
9883 case Hexagon::V6_vsubwsat:
9884 case Hexagon::V6_vxor: {
9885 // op: Vu32
9886 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
9887 Value |= (op & 0x1f) << 8;
9888 // op: Vv32
9889 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
9890 Value |= (op & 0x1f) << 16;
9891 // op: Vd32
9892 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
9893 Value |= (op & 0x1f);
9894 break;
9895 }
9896 case Hexagon::V6_vadd_hf_f8:
9897 case Hexagon::V6_vadd_sf_bf:
9898 case Hexagon::V6_vadd_sf_hf:
9899 case Hexagon::V6_vaddhw:
9900 case Hexagon::V6_vaddubh:
9901 case Hexagon::V6_vadduhw:
9902 case Hexagon::V6_vcombine:
9903 case Hexagon::V6_vcombine_tmp:
9904 case Hexagon::V6_vmpy_hf_f8:
9905 case Hexagon::V6_vmpy_qf32_hf:
9906 case Hexagon::V6_vmpy_qf32_mix_hf:
9907 case Hexagon::V6_vmpy_qf32_qf16:
9908 case Hexagon::V6_vmpy_sf_bf:
9909 case Hexagon::V6_vmpy_sf_hf:
9910 case Hexagon::V6_vmpybusv:
9911 case Hexagon::V6_vmpybv:
9912 case Hexagon::V6_vmpyewuh_64:
9913 case Hexagon::V6_vmpyhus:
9914 case Hexagon::V6_vmpyhv:
9915 case Hexagon::V6_vmpyubv:
9916 case Hexagon::V6_vmpyuhv:
9917 case Hexagon::V6_vshufoeb:
9918 case Hexagon::V6_vshufoeh:
9919 case Hexagon::V6_vsub_hf_f8:
9920 case Hexagon::V6_vsub_sf_bf:
9921 case Hexagon::V6_vsub_sf_hf:
9922 case Hexagon::V6_vsubhw:
9923 case Hexagon::V6_vsububh:
9924 case Hexagon::V6_vsubuhw: {
9925 // op: Vu32
9926 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
9927 Value |= (op & 0x1f) << 8;
9928 // op: Vv32
9929 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
9930 Value |= (op & 0x1f) << 16;
9931 // op: Vdd32
9932 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
9933 Value |= (op & 0x1f);
9934 break;
9935 }
9936 case Hexagon::V6_valign4:
9937 case Hexagon::V6_valignb:
9938 case Hexagon::V6_vasrhbrndsat:
9939 case Hexagon::V6_vasrhbsat:
9940 case Hexagon::V6_vasrhubrndsat:
9941 case Hexagon::V6_vasrhubsat:
9942 case Hexagon::V6_vasruhubrndsat:
9943 case Hexagon::V6_vasruhubsat:
9944 case Hexagon::V6_vasruwuhrndsat:
9945 case Hexagon::V6_vasruwuhsat:
9946 case Hexagon::V6_vasrwh:
9947 case Hexagon::V6_vasrwhrndsat:
9948 case Hexagon::V6_vasrwhsat:
9949 case Hexagon::V6_vasrwuhrndsat:
9950 case Hexagon::V6_vasrwuhsat:
9951 case Hexagon::V6_vlalignb:
9952 case Hexagon::V6_vlutvvb:
9953 case Hexagon::V6_vlutvvb_nm: {
9954 // op: Vu32
9955 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
9956 Value |= (op & 0x1f) << 8;
9957 // op: Vv32
9958 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
9959 Value |= (op & 0x1f) << 19;
9960 // op: Rt8
9961 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
9962 Value |= (op & 0x7) << 16;
9963 // op: Vd32
9964 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
9965 Value |= (op & 0x1f);
9966 break;
9967 }
9968 case Hexagon::V6_vdealvdd:
9969 case Hexagon::V6_vlutvwh:
9970 case Hexagon::V6_vlutvwh_nm:
9971 case Hexagon::V6_vshuffvdd: {
9972 // op: Vu32
9973 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
9974 Value |= (op & 0x1f) << 8;
9975 // op: Vv32
9976 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
9977 Value |= (op & 0x1f) << 19;
9978 // op: Rt8
9979 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
9980 Value |= (op & 0x7) << 16;
9981 // op: Vdd32
9982 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
9983 Value |= (op & 0x1f);
9984 break;
9985 }
9986 case Hexagon::V6_vandvrt_acc: {
9987 // op: Vu32
9988 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
9989 Value |= (op & 0x1f) << 8;
9990 // op: Rt32
9991 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
9992 Value |= (op & 0x1f) << 16;
9993 // op: Qx4
9994 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
9995 Value |= (op & 0x3);
9996 break;
9997 }
9998 case Hexagon::V6_get_qfext_oracc:
9999 case Hexagon::V6_vaslh_acc:
10000 case Hexagon::V6_vaslw_acc:
10001 case Hexagon::V6_vasrh_acc:
10002 case Hexagon::V6_vasrw_acc:
10003 case Hexagon::V6_vdmpybus_acc:
10004 case Hexagon::V6_vdmpyhb_acc:
10005 case Hexagon::V6_vdmpyhsat_acc:
10006 case Hexagon::V6_vdmpyhsusat_acc:
10007 case Hexagon::V6_vmpyihb_acc:
10008 case Hexagon::V6_vmpyiwb_acc:
10009 case Hexagon::V6_vmpyiwh_acc:
10010 case Hexagon::V6_vmpyiwub_acc:
10011 case Hexagon::V6_vmpyuhe_acc:
10012 case Hexagon::V6_vrmpybus_acc:
10013 case Hexagon::V6_vrmpyub_acc: {
10014 // op: Vu32
10015 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
10016 Value |= (op & 0x1f) << 8;
10017 // op: Rt32
10018 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
10019 Value |= (op & 0x1f) << 16;
10020 // op: Vx32
10021 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
10022 Value |= (op & 0x1f);
10023 break;
10024 }
10025 case Hexagon::V6_vmpar_uwuhuw_si:
10026 case Hexagon::V6_vmpar_wuhw_si:
10027 case Hexagon::V6_vmpybus_acc:
10028 case Hexagon::V6_vmpyh_acc:
10029 case Hexagon::V6_vmpyhsat_acc:
10030 case Hexagon::V6_vmpyrhus_acc:
10031 case Hexagon::V6_vmpyub_acc:
10032 case Hexagon::V6_vmpyuh_acc: {
10033 // op: Vu32
10034 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
10035 Value |= (op & 0x1f) << 8;
10036 // op: Rt32
10037 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
10038 Value |= (op & 0x1f) << 16;
10039 // op: Vxx32
10040 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
10041 Value |= (op & 0x1f);
10042 break;
10043 }
10044 case Hexagon::V6_vrmpyzbb_rt_acc:
10045 case Hexagon::V6_vrmpyzbub_rt_acc:
10046 case Hexagon::V6_vrmpyzcb_rt_acc:
10047 case Hexagon::V6_vrmpyzcbs_rt_acc:
10048 case Hexagon::V6_vrmpyznb_rt_acc: {
10049 // op: Vu32
10050 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
10051 Value |= (op & 0x1f) << 8;
10052 // op: Rt8
10053 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
10054 Value |= (op & 0x7) << 16;
10055 // op: Vyyyy32
10056 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
10057 Value |= (op & 0x1f);
10058 break;
10059 }
10060 case Hexagon::V6_vmpahhsat:
10061 case Hexagon::V6_vmpauhuh:
10062 case Hexagon::V6_vmpauhuhsat:
10063 case Hexagon::V6_vmpauhuhuh:
10064 case Hexagon::V6_vmpsuhuh:
10065 case Hexagon::V6_vmpsuhuhsat: {
10066 // op: Vu32
10067 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
10068 Value |= (op & 0x1f) << 8;
10069 // op: Rtt32
10070 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
10071 Value |= (op & 0x1f) << 16;
10072 // op: Vx32
10073 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
10074 Value |= (op & 0x1f);
10075 break;
10076 }
10077 case Hexagon::V6_vrmpybub_rtt_acc:
10078 case Hexagon::V6_vrmpyub_rtt_acc: {
10079 // op: Vu32
10080 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
10081 Value |= (op & 0x1f) << 8;
10082 // op: Rtt32
10083 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
10084 Value |= (op & 0x1f) << 16;
10085 // op: Vxx32
10086 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
10087 Value |= (op & 0x1f);
10088 break;
10089 }
10090 case Hexagon::V6_vrmpyzbb_rx:
10091 case Hexagon::V6_vrmpyzbub_rx:
10092 case Hexagon::V6_vrmpyzcb_rx:
10093 case Hexagon::V6_vrmpyzcbs_rx:
10094 case Hexagon::V6_vrmpyznb_rx: {
10095 // op: Vu32
10096 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
10097 Value |= (op & 0x1f) << 8;
10098 // op: Vdddd32
10099 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
10100 Value |= (op & 0x1f);
10101 // op: Rx8
10102 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
10103 Value |= (op & 0x7) << 16;
10104 break;
10105 }
10106 case Hexagon::V6_veqb_and:
10107 case Hexagon::V6_veqb_or:
10108 case Hexagon::V6_veqb_xor:
10109 case Hexagon::V6_veqh_and:
10110 case Hexagon::V6_veqh_or:
10111 case Hexagon::V6_veqh_xor:
10112 case Hexagon::V6_veqhf_and:
10113 case Hexagon::V6_veqhf_or:
10114 case Hexagon::V6_veqhf_xor:
10115 case Hexagon::V6_veqsf_and:
10116 case Hexagon::V6_veqsf_or:
10117 case Hexagon::V6_veqsf_xor:
10118 case Hexagon::V6_veqw_and:
10119 case Hexagon::V6_veqw_or:
10120 case Hexagon::V6_veqw_xor:
10121 case Hexagon::V6_vgtb_and:
10122 case Hexagon::V6_vgtb_or:
10123 case Hexagon::V6_vgtb_xor:
10124 case Hexagon::V6_vgtbf_and:
10125 case Hexagon::V6_vgtbf_or:
10126 case Hexagon::V6_vgtbf_xor:
10127 case Hexagon::V6_vgth_and:
10128 case Hexagon::V6_vgth_or:
10129 case Hexagon::V6_vgth_xor:
10130 case Hexagon::V6_vgthf_and:
10131 case Hexagon::V6_vgthf_or:
10132 case Hexagon::V6_vgthf_xor:
10133 case Hexagon::V6_vgtsf_and:
10134 case Hexagon::V6_vgtsf_or:
10135 case Hexagon::V6_vgtsf_xor:
10136 case Hexagon::V6_vgtub_and:
10137 case Hexagon::V6_vgtub_or:
10138 case Hexagon::V6_vgtub_xor:
10139 case Hexagon::V6_vgtuh_and:
10140 case Hexagon::V6_vgtuh_or:
10141 case Hexagon::V6_vgtuh_xor:
10142 case Hexagon::V6_vgtuw_and:
10143 case Hexagon::V6_vgtuw_or:
10144 case Hexagon::V6_vgtuw_xor:
10145 case Hexagon::V6_vgtw_and:
10146 case Hexagon::V6_vgtw_or:
10147 case Hexagon::V6_vgtw_xor: {
10148 // op: Vu32
10149 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
10150 Value |= (op & 0x1f) << 8;
10151 // op: Vv32
10152 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
10153 Value |= (op & 0x1f) << 16;
10154 // op: Qx4
10155 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
10156 Value |= (op & 0x3);
10157 break;
10158 }
10159 case Hexagon::V6_vaddcarryo:
10160 case Hexagon::V6_vsubcarryo: {
10161 // op: Vu32
10162 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
10163 Value |= (op & 0x1f) << 8;
10164 // op: Vv32
10165 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
10166 Value |= (op & 0x1f) << 16;
10167 // op: Vd32
10168 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
10169 Value |= (op & 0x1f);
10170 // op: Qe4
10171 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
10172 Value |= (op & 0x3) << 5;
10173 break;
10174 }
10175 case Hexagon::V6_vaddcarry:
10176 case Hexagon::V6_vsubcarry: {
10177 // op: Vu32
10178 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
10179 Value |= (op & 0x1f) << 8;
10180 // op: Vv32
10181 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
10182 Value |= (op & 0x1f) << 16;
10183 // op: Vd32
10184 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
10185 Value |= (op & 0x1f);
10186 // op: Qx4
10187 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
10188 Value |= (op & 0x3) << 5;
10189 break;
10190 }
10191 case Hexagon::V6_vdmpy_sf_hf_acc:
10192 case Hexagon::V6_vdmpyhvsat_acc:
10193 case Hexagon::V6_vmpy_hf_hf_acc:
10194 case Hexagon::V6_vmpyiewh_acc:
10195 case Hexagon::V6_vmpyiewuh_acc:
10196 case Hexagon::V6_vmpyih_acc:
10197 case Hexagon::V6_vmpyowh_rnd_sacc:
10198 case Hexagon::V6_vmpyowh_sacc:
10199 case Hexagon::V6_vmpyowuh_acc:
10200 case Hexagon::V6_vmpyowuh_rnd_acc:
10201 case Hexagon::V6_vrmpybusv_acc:
10202 case Hexagon::V6_vrmpybv_acc:
10203 case Hexagon::V6_vrmpyubv_acc: {
10204 // op: Vu32
10205 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
10206 Value |= (op & 0x1f) << 8;
10207 // op: Vv32
10208 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
10209 Value |= (op & 0x1f) << 16;
10210 // op: Vx32
10211 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
10212 Value |= (op & 0x1f);
10213 break;
10214 }
10215 case Hexagon::V6_vaddhw_acc:
10216 case Hexagon::V6_vaddubh_acc:
10217 case Hexagon::V6_vadduhw_acc:
10218 case Hexagon::V6_vasr_into:
10219 case Hexagon::V6_vmpy_hf_f8_acc:
10220 case Hexagon::V6_vmpy_sf_bf_acc:
10221 case Hexagon::V6_vmpy_sf_hf_acc:
10222 case Hexagon::V6_vmpybusv_acc:
10223 case Hexagon::V6_vmpybv_acc:
10224 case Hexagon::V6_vmpyhus_acc:
10225 case Hexagon::V6_vmpyhv_acc:
10226 case Hexagon::V6_vmpyowh_64_acc:
10227 case Hexagon::V6_vmpyubv_acc:
10228 case Hexagon::V6_vmpyuhv_acc: {
10229 // op: Vu32
10230 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
10231 Value |= (op & 0x1f) << 8;
10232 // op: Vv32
10233 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
10234 Value |= (op & 0x1f) << 16;
10235 // op: Vxx32
10236 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
10237 Value |= (op & 0x1f);
10238 break;
10239 }
10240 case Hexagon::V6_vlutvvb_oracc: {
10241 // op: Vu32
10242 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
10243 Value |= (op & 0x1f) << 8;
10244 // op: Vv32
10245 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
10246 Value |= (op & 0x1f) << 19;
10247 // op: Rt8
10248 op = getMachineOpValue(MI, MO: MI.getOperand(i: 4), Fixups, STI);
10249 Value |= (op & 0x7) << 16;
10250 // op: Vx32
10251 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
10252 Value |= (op & 0x1f);
10253 break;
10254 }
10255 case Hexagon::V6_vlutvwh_oracc: {
10256 // op: Vu32
10257 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
10258 Value |= (op & 0x1f) << 8;
10259 // op: Vv32
10260 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
10261 Value |= (op & 0x1f) << 19;
10262 // op: Rt8
10263 op = getMachineOpValue(MI, MO: MI.getOperand(i: 4), Fixups, STI);
10264 Value |= (op & 0x7) << 16;
10265 // op: Vxx32
10266 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
10267 Value |= (op & 0x1f);
10268 break;
10269 }
10270 case Hexagon::V6_vunpackob:
10271 case Hexagon::V6_vunpackoh: {
10272 // op: Vu32
10273 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
10274 Value |= (op & 0x1f) << 8;
10275 // op: Vxx32
10276 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
10277 Value |= (op & 0x1f);
10278 break;
10279 }
10280 case Hexagon::V6_vrmpyzbb_rx_acc:
10281 case Hexagon::V6_vrmpyzbub_rx_acc:
10282 case Hexagon::V6_vrmpyzcb_rx_acc:
10283 case Hexagon::V6_vrmpyzcbs_rx_acc:
10284 case Hexagon::V6_vrmpyznb_rx_acc: {
10285 // op: Vu32
10286 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
10287 Value |= (op & 0x1f) << 8;
10288 // op: Vyyyy32
10289 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
10290 Value |= (op & 0x1f);
10291 // op: Rx8
10292 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
10293 Value |= (op & 0x7) << 16;
10294 break;
10295 }
10296 case Hexagon::V6_vdmpyhisat:
10297 case Hexagon::V6_vdmpyhsuisat: {
10298 // op: Vuu32
10299 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
10300 Value |= (op & 0x1f) << 8;
10301 // op: Rt32
10302 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
10303 Value |= (op & 0x1f) << 16;
10304 // op: Vd32
10305 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
10306 Value |= (op & 0x1f);
10307 break;
10308 }
10309 case Hexagon::V6_vdmpybus_dv:
10310 case Hexagon::V6_vdmpyhb_dv:
10311 case Hexagon::V6_vdsaduh:
10312 case Hexagon::V6_vmpabus:
10313 case Hexagon::V6_vmpabuu:
10314 case Hexagon::V6_vmpahb:
10315 case Hexagon::V6_vmpauhb:
10316 case Hexagon::V6_vtmpyb:
10317 case Hexagon::V6_vtmpybus:
10318 case Hexagon::V6_vtmpyhb: {
10319 // op: Vuu32
10320 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
10321 Value |= (op & 0x1f) << 8;
10322 // op: Rt32
10323 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
10324 Value |= (op & 0x1f) << 16;
10325 // op: Vdd32
10326 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
10327 Value |= (op & 0x1f);
10328 break;
10329 }
10330 case Hexagon::V6_vconv_bf_qf32:
10331 case Hexagon::V6_vconv_hf_qf32: {
10332 // op: Vuu32
10333 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
10334 Value |= (op & 0x1f) << 8;
10335 // op: Vd32
10336 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
10337 Value |= (op & 0x1f);
10338 break;
10339 }
10340 case Hexagon::V6_vasrvuhubrndsat:
10341 case Hexagon::V6_vasrvuhubsat:
10342 case Hexagon::V6_vasrvwuhrndsat:
10343 case Hexagon::V6_vasrvwuhsat: {
10344 // op: Vuu32
10345 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
10346 Value |= (op & 0x1f) << 8;
10347 // op: Vv32
10348 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
10349 Value |= (op & 0x1f) << 16;
10350 // op: Vd32
10351 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
10352 Value |= (op & 0x1f);
10353 break;
10354 }
10355 case Hexagon::V6_vaddb_dv:
10356 case Hexagon::V6_vaddbsat_dv:
10357 case Hexagon::V6_vaddh_dv:
10358 case Hexagon::V6_vaddhsat_dv:
10359 case Hexagon::V6_vaddubsat_dv:
10360 case Hexagon::V6_vadduhsat_dv:
10361 case Hexagon::V6_vadduwsat_dv:
10362 case Hexagon::V6_vadduwwsat_dv:
10363 case Hexagon::V6_vaddw_dv:
10364 case Hexagon::V6_vaddwsat_dv:
10365 case Hexagon::V6_vmpabusv:
10366 case Hexagon::V6_vmpabuuv:
10367 case Hexagon::V6_vsubb_dv:
10368 case Hexagon::V6_vsubbsat_dv:
10369 case Hexagon::V6_vsubh_dv:
10370 case Hexagon::V6_vsubhsat_dv:
10371 case Hexagon::V6_vsububsat_dv:
10372 case Hexagon::V6_vsubuhsat_dv:
10373 case Hexagon::V6_vsubuwsat_dv:
10374 case Hexagon::V6_vsubuwwsat_dv:
10375 case Hexagon::V6_vsubw_dv:
10376 case Hexagon::V6_vsubwsat_dv: {
10377 // op: Vuu32
10378 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
10379 Value |= (op & 0x1f) << 8;
10380 // op: Vvv32
10381 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
10382 Value |= (op & 0x1f) << 16;
10383 // op: Vdd32
10384 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
10385 Value |= (op & 0x1f);
10386 break;
10387 }
10388 case Hexagon::V6_vdmpyhisat_acc:
10389 case Hexagon::V6_vdmpyhsuisat_acc: {
10390 // op: Vuu32
10391 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
10392 Value |= (op & 0x1f) << 8;
10393 // op: Rt32
10394 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
10395 Value |= (op & 0x1f) << 16;
10396 // op: Vx32
10397 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
10398 Value |= (op & 0x1f);
10399 break;
10400 }
10401 case Hexagon::V6_vdmpybus_dv_acc:
10402 case Hexagon::V6_vdmpyhb_dv_acc:
10403 case Hexagon::V6_vdsaduh_acc:
10404 case Hexagon::V6_vmpabus_acc:
10405 case Hexagon::V6_vmpabuu_acc:
10406 case Hexagon::V6_vmpahb_acc:
10407 case Hexagon::V6_vmpauhb_acc:
10408 case Hexagon::V6_vtmpyb_acc:
10409 case Hexagon::V6_vtmpybus_acc:
10410 case Hexagon::V6_vtmpyhb_acc: {
10411 // op: Vuu32
10412 op = getMachineOpValue(MI, MO: MI.getOperand(i: 2), Fixups, STI);
10413 Value |= (op & 0x1f) << 8;
10414 // op: Rt32
10415 op = getMachineOpValue(MI, MO: MI.getOperand(i: 3), Fixups, STI);
10416 Value |= (op & 0x1f) << 16;
10417 // op: Vxx32
10418 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
10419 Value |= (op & 0x1f);
10420 break;
10421 }
10422 case Hexagon::EH_RETURN_JMPR:
10423 case Hexagon::PS_jmpret: {
10424 // op: dst
10425 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
10426 Value |= (op & 0x1f) << 16;
10427 break;
10428 }
10429 case Hexagon::HI:
10430 case Hexagon::LO: {
10431 // op: dst
10432 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
10433 Value |= (op & 0x1f) << 16;
10434 // op: imm_value
10435 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
10436 Value |= (op & 0xc000) << 8;
10437 Value |= (op & 0x3fff);
10438 break;
10439 }
10440 case Hexagon::CALLProfile:
10441 case Hexagon::PS_call_stk:
10442 case Hexagon::RESTORE_DEALLOC_BEFORE_TAILCALL_V4:
10443 case Hexagon::RESTORE_DEALLOC_BEFORE_TAILCALL_V4_EXT:
10444 case Hexagon::RESTORE_DEALLOC_BEFORE_TAILCALL_V4_EXT_PIC:
10445 case Hexagon::RESTORE_DEALLOC_BEFORE_TAILCALL_V4_PIC:
10446 case Hexagon::RESTORE_DEALLOC_RET_JMP_V4:
10447 case Hexagon::RESTORE_DEALLOC_RET_JMP_V4_EXT:
10448 case Hexagon::RESTORE_DEALLOC_RET_JMP_V4_EXT_PIC:
10449 case Hexagon::RESTORE_DEALLOC_RET_JMP_V4_PIC:
10450 case Hexagon::SAVE_REGISTERS_CALL_V4:
10451 case Hexagon::SAVE_REGISTERS_CALL_V4STK:
10452 case Hexagon::SAVE_REGISTERS_CALL_V4STK_EXT:
10453 case Hexagon::SAVE_REGISTERS_CALL_V4STK_EXT_PIC:
10454 case Hexagon::SAVE_REGISTERS_CALL_V4STK_PIC:
10455 case Hexagon::SAVE_REGISTERS_CALL_V4_EXT:
10456 case Hexagon::SAVE_REGISTERS_CALL_V4_EXT_PIC:
10457 case Hexagon::SAVE_REGISTERS_CALL_V4_PIC: {
10458 // op: dst
10459 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
10460 Value |= (op & 0xff8000) << 1;
10461 Value |= (op & 0x7ffc) >> 1;
10462 break;
10463 }
10464 case Hexagon::J2_loop0rext:
10465 case Hexagon::J2_loop1rext: {
10466 // op: offset
10467 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
10468 Value |= (op & 0x1f0) << 4;
10469 Value |= (op & 0xc) << 1;
10470 // op: src2
10471 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
10472 Value |= (op & 0x1f) << 16;
10473 break;
10474 }
10475 case Hexagon::J2_loop0iext:
10476 case Hexagon::J2_loop1iext: {
10477 // op: offset
10478 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
10479 Value |= (op & 0x1f0) << 4;
10480 Value |= (op & 0xc) << 1;
10481 // op: src2
10482 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
10483 Value |= (op & 0x3e0) << 11;
10484 Value |= (op & 0x1c) << 3;
10485 Value |= (op & 0x3);
10486 break;
10487 }
10488 case Hexagon::PS_jmpretf:
10489 case Hexagon::PS_jmpretfnew:
10490 case Hexagon::PS_jmpretfnewpt:
10491 case Hexagon::PS_jmprett:
10492 case Hexagon::PS_jmprettnew:
10493 case Hexagon::PS_jmprettnewpt: {
10494 // op: src
10495 op = getMachineOpValue(MI, MO: MI.getOperand(i: 0), Fixups, STI);
10496 Value |= (op & 0x3) << 8;
10497 // op: dst
10498 op = getMachineOpValue(MI, MO: MI.getOperand(i: 1), Fixups, STI);
10499 Value |= (op & 0x1f) << 16;
10500 break;
10501 }
10502 default:
10503 reportUnsupportedInst(Inst: MI);
10504 }
10505 return Value;
10506}
10507
10508#ifdef GET_OPERAND_BIT_OFFSET
10509#undef GET_OPERAND_BIT_OFFSET
10510
10511uint32_t HexagonMCCodeEmitter::getOperandBitOffset(const MCInst &MI,
10512 unsigned OpNum,
10513 const MCSubtargetInfo &STI) const {
10514 switch (MI.getOpcode()) {
10515 case Hexagon::A2_nop:
10516 case Hexagon::A2_nop_rb:
10517 case Hexagon::CONST32:
10518 case Hexagon::CONST64:
10519 case Hexagon::DuplexIClass0:
10520 case Hexagon::DuplexIClass1:
10521 case Hexagon::DuplexIClass2:
10522 case Hexagon::DuplexIClass3:
10523 case Hexagon::DuplexIClass4:
10524 case Hexagon::DuplexIClass5:
10525 case Hexagon::DuplexIClass6:
10526 case Hexagon::DuplexIClass7:
10527 case Hexagon::DuplexIClass8:
10528 case Hexagon::DuplexIClass9:
10529 case Hexagon::DuplexIClassA:
10530 case Hexagon::DuplexIClassB:
10531 case Hexagon::DuplexIClassC:
10532 case Hexagon::DuplexIClassD:
10533 case Hexagon::DuplexIClassE:
10534 case Hexagon::DuplexIClassF:
10535 case Hexagon::J2_rte:
10536 case Hexagon::J2_unpause:
10537 case Hexagon::M8_mxclracc_hf:
10538 case Hexagon::SL2_deallocframe:
10539 case Hexagon::SL2_jumpr31:
10540 case Hexagon::SL2_jumpr31_f:
10541 case Hexagon::SL2_jumpr31_fnew:
10542 case Hexagon::SL2_jumpr31_t:
10543 case Hexagon::SL2_jumpr31_tnew:
10544 case Hexagon::SL2_return:
10545 case Hexagon::SL2_return_f:
10546 case Hexagon::SL2_return_fnew:
10547 case Hexagon::SL2_return_t:
10548 case Hexagon::SL2_return_tnew:
10549 case Hexagon::TFRI64_V2_ext:
10550 case Hexagon::TFRI64_V4:
10551 case Hexagon::V6_vhist:
10552 case Hexagon::V6_vwhist128:
10553 case Hexagon::V6_vwhist256:
10554 case Hexagon::V6_vwhist256_sat:
10555 case Hexagon::Y2_barrier:
10556 case Hexagon::Y2_break:
10557 case Hexagon::Y2_dckill:
10558 case Hexagon::Y2_ickill:
10559 case Hexagon::Y2_isync:
10560 case Hexagon::Y2_k0lock:
10561 case Hexagon::Y2_k0unlock:
10562 case Hexagon::Y2_l2kill:
10563 case Hexagon::Y2_syncht:
10564 case Hexagon::Y2_tlblock:
10565 case Hexagon::Y2_tlbunlock:
10566 case Hexagon::Y5_l2gclean:
10567 case Hexagon::Y5_l2gcleaninv:
10568 case Hexagon::Y5_l2gunlock:
10569 case Hexagon::invalid_decode: {
10570 break;
10571 }
10572 case Hexagon::PS_storerbnewabs:
10573 case Hexagon::PS_storerhnewabs:
10574 case Hexagon::PS_storerinewabs:
10575 case Hexagon::S2_storerbnewgp:
10576 case Hexagon::S2_storerhnewgp:
10577 case Hexagon::S2_storerinewgp: {
10578 switch (OpNum) {
10579 case 0:
10580 // op: Ii
10581 return 0;
10582 case 1:
10583 // op: Nt8
10584 return 8;
10585 }
10586 break;
10587 }
10588 case Hexagon::PS_storerbabs:
10589 case Hexagon::PS_storerfabs:
10590 case Hexagon::PS_storerhabs:
10591 case Hexagon::PS_storeriabs:
10592 case Hexagon::S2_storerbgp:
10593 case Hexagon::S2_storerfgp:
10594 case Hexagon::S2_storerhgp:
10595 case Hexagon::S2_storerigp: {
10596 switch (OpNum) {
10597 case 0:
10598 // op: Ii
10599 return 0;
10600 case 1:
10601 // op: Rt32
10602 return 8;
10603 }
10604 break;
10605 }
10606 case Hexagon::PS_storerdabs:
10607 case Hexagon::S2_storerdgp: {
10608 switch (OpNum) {
10609 case 0:
10610 // op: Ii
10611 return 0;
10612 case 1:
10613 // op: Rtt32
10614 return 8;
10615 }
10616 break;
10617 }
10618 case Hexagon::A4_ext:
10619 case Hexagon::V2_vallocframe_imm:
10620 case Hexagon::V2_vdeallocframe_imm: {
10621 switch (OpNum) {
10622 case 0:
10623 // op: Ii
10624 return 0;
10625 }
10626 break;
10627 }
10628 case Hexagon::J2_call:
10629 case Hexagon::J2_jump: {
10630 switch (OpNum) {
10631 case 0:
10632 // op: Ii
10633 return 1;
10634 }
10635 break;
10636 }
10637 case Hexagon::J2_pause:
10638 case Hexagon::J2_trap0:
10639 case Hexagon::J2_trap2:
10640 case Hexagon::PS_trap1: {
10641 switch (OpNum) {
10642 case 0:
10643 // op: Ii
10644 return 2;
10645 }
10646 break;
10647 }
10648 case Hexagon::J2_loop0i:
10649 case Hexagon::J2_loop1i:
10650 case Hexagon::J2_ploop1si:
10651 case Hexagon::J2_ploop2si:
10652 case Hexagon::J2_ploop3si: {
10653 switch (OpNum) {
10654 case 0:
10655 // op: Ii
10656 return 3;
10657 case 1:
10658 // op: II
10659 return 0;
10660 }
10661 break;
10662 }
10663 case Hexagon::J2_loop0r:
10664 case Hexagon::J2_loop1r:
10665 case Hexagon::J2_ploop1sr:
10666 case Hexagon::J2_ploop2sr:
10667 case Hexagon::J2_ploop3sr: {
10668 switch (OpNum) {
10669 case 0:
10670 // op: Ii
10671 return 3;
10672 case 1:
10673 // op: Rs32
10674 return 16;
10675 }
10676 break;
10677 }
10678 case Hexagon::SS2_stored_sp: {
10679 switch (OpNum) {
10680 case 0:
10681 // op: Ii
10682 return 3;
10683 case 1:
10684 // op: Rtt8
10685 return 0;
10686 }
10687 break;
10688 }
10689 case Hexagon::SS2_storew_sp: {
10690 switch (OpNum) {
10691 case 0:
10692 // op: Ii
10693 return 4;
10694 case 1:
10695 // op: Rt16
10696 return 0;
10697 }
10698 break;
10699 }
10700 case Hexagon::SS2_allocframe:
10701 case Hexagon::SS2_allocframe_rb: {
10702 switch (OpNum) {
10703 case 0:
10704 // op: Ii
10705 return 4;
10706 }
10707 break;
10708 }
10709 case Hexagon::V6_vwhist128m: {
10710 switch (OpNum) {
10711 case 0:
10712 // op: Ii
10713 return 8;
10714 }
10715 break;
10716 }
10717 case Hexagon::Y2_setimask:
10718 case Hexagon::Y2_setprio: {
10719 switch (OpNum) {
10720 case 0:
10721 // op: Pt4
10722 return 8;
10723 case 1:
10724 // op: Rs32
10725 return 16;
10726 }
10727 break;
10728 }
10729 case Hexagon::J2_callrf:
10730 case Hexagon::J2_callrf_rb:
10731 case Hexagon::J2_callrt:
10732 case Hexagon::J2_callrt_rb:
10733 case Hexagon::J2_jumprf:
10734 case Hexagon::J2_jumprf_rb:
10735 case Hexagon::J2_jumprfnew:
10736 case Hexagon::J2_jumprfnew_rb:
10737 case Hexagon::J2_jumprfnewpt:
10738 case Hexagon::J2_jumprfnewpt_rb:
10739 case Hexagon::J2_jumprfpt:
10740 case Hexagon::J2_jumprfpt_rb:
10741 case Hexagon::J2_jumprt:
10742 case Hexagon::J2_jumprt_rb:
10743 case Hexagon::J2_jumprtnew:
10744 case Hexagon::J2_jumprtnew_rb:
10745 case Hexagon::J2_jumprtnewpt:
10746 case Hexagon::J2_jumprtnewpt_rb:
10747 case Hexagon::J2_jumprtpt:
10748 case Hexagon::J2_jumprtpt_rb: {
10749 switch (OpNum) {
10750 case 0:
10751 // op: Pu4
10752 return 8;
10753 case 1:
10754 // op: Rs32
10755 return 16;
10756 }
10757 break;
10758 }
10759 case Hexagon::LX_S16b_p_new: {
10760 switch (OpNum) {
10761 case 0:
10762 // op: Pv4
10763 return 9;
10764 case 1:
10765 // op: Rs32
10766 return 16;
10767 case 2:
10768 // op: Ku16
10769 return 0;
10770 }
10771 break;
10772 }
10773 case Hexagon::V6_vgathermhq:
10774 case Hexagon::V6_vgathermwq: {
10775 switch (OpNum) {
10776 case 0:
10777 // op: Qs4
10778 return 5;
10779 case 1:
10780 // op: Rt32
10781 return 16;
10782 case 2:
10783 // op: Mu2
10784 return 13;
10785 case 3:
10786 // op: Vv32
10787 return 0;
10788 }
10789 break;
10790 }
10791 case Hexagon::V6_vscattermhq:
10792 case Hexagon::V6_vscattermwq: {
10793 switch (OpNum) {
10794 case 0:
10795 // op: Qs4
10796 return 5;
10797 case 1:
10798 // op: Rt32
10799 return 16;
10800 case 2:
10801 // op: Mu2
10802 return 13;
10803 case 3:
10804 // op: Vv32
10805 return 8;
10806 case 4:
10807 // op: Vw32
10808 return 0;
10809 }
10810 break;
10811 }
10812 case Hexagon::V6_vgathermhwq: {
10813 switch (OpNum) {
10814 case 0:
10815 // op: Qs4
10816 return 5;
10817 case 1:
10818 // op: Rt32
10819 return 16;
10820 case 2:
10821 // op: Mu2
10822 return 13;
10823 case 3:
10824 // op: Vvv32
10825 return 0;
10826 }
10827 break;
10828 }
10829 case Hexagon::V6_vscattermhwq: {
10830 switch (OpNum) {
10831 case 0:
10832 // op: Qs4
10833 return 5;
10834 case 1:
10835 // op: Rt32
10836 return 16;
10837 case 2:
10838 // op: Mu2
10839 return 13;
10840 case 3:
10841 // op: Vvv32
10842 return 8;
10843 case 4:
10844 // op: Vw32
10845 return 0;
10846 }
10847 break;
10848 }
10849 case Hexagon::V6_vhistq:
10850 case Hexagon::V6_vwhist128q:
10851 case Hexagon::V6_vwhist256q:
10852 case Hexagon::V6_vwhist256q_sat: {
10853 switch (OpNum) {
10854 case 0:
10855 // op: Qv4
10856 return 22;
10857 }
10858 break;
10859 }
10860 case Hexagon::SA1_clrf:
10861 case Hexagon::SA1_clrfnew:
10862 case Hexagon::SA1_clrt:
10863 case Hexagon::SA1_clrtnew:
10864 case Hexagon::SA1_setin1: {
10865 switch (OpNum) {
10866 case 0:
10867 // op: Rd16
10868 return 0;
10869 }
10870 break;
10871 }
10872 case Hexagon::Y6_dmpause:
10873 case Hexagon::Y6_dmpoll:
10874 case Hexagon::Y6_dmwait: {
10875 switch (OpNum) {
10876 case 0:
10877 // op: Rd32
10878 return 0;
10879 }
10880 break;
10881 }
10882 case Hexagon::PS_callr_nr: {
10883 switch (OpNum) {
10884 case 0:
10885 // op: Rs
10886 return 16;
10887 }
10888 break;
10889 }
10890 case Hexagon::LX_S16b_new: {
10891 switch (OpNum) {
10892 case 0:
10893 // op: Rs32
10894 return 16;
10895 case 1:
10896 // op: Ku16
10897 return 0;
10898 }
10899 break;
10900 }
10901 case Hexagon::Y4_dcfetch_multi: {
10902 switch (OpNum) {
10903 case 0:
10904 // op: Rs32
10905 return 16;
10906 case 1:
10907 // op: Rt32
10908 return 6;
10909 }
10910 break;
10911 }
10912 case Hexagon::L6_memcpy: {
10913 switch (OpNum) {
10914 case 0:
10915 // op: Rs32
10916 return 16;
10917 case 1:
10918 // op: Rt32
10919 return 8;
10920 case 2:
10921 // op: Mu2
10922 return 13;
10923 }
10924 break;
10925 }
10926 case Hexagon::M8_mxmem:
10927 case Hexagon::M8_mxmem_blk_sm_act_hf:
10928 case Hexagon::M8_mxmem_sm_act_hf:
10929 case Hexagon::M8_mxmem_wei_hf:
10930 case Hexagon::M8_mxmemdp_wei_hf:
10931 case Hexagon::M8_mxmems_blk_sm_act_hf:
10932 case Hexagon::S2_storew_rl_at_vi:
10933 case Hexagon::S2_storew_rl_st_vi:
10934 case Hexagon::Y2_dctagw:
10935 case Hexagon::Y2_icdataw:
10936 case Hexagon::Y2_ictagw:
10937 case Hexagon::Y4_l2fetch:
10938 case Hexagon::Y4_l2tagw:
10939 case Hexagon::Y6_dmlink: {
10940 switch (OpNum) {
10941 case 0:
10942 // op: Rs32
10943 return 16;
10944 case 1:
10945 // op: Rt32
10946 return 8;
10947 }
10948 break;
10949 }
10950 case Hexagon::S4_stored_rl_at_vi:
10951 case Hexagon::S4_stored_rl_st_vi:
10952 case Hexagon::Y5_l2fetch: {
10953 switch (OpNum) {
10954 case 0:
10955 // op: Rs32
10956 return 16;
10957 case 1:
10958 // op: Rtt32
10959 return 8;
10960 }
10961 break;
10962 }
10963 case Hexagon::J2_callr:
10964 case Hexagon::J2_callr_rb:
10965 case Hexagon::J2_callrh:
10966 case Hexagon::J2_callrh_rb:
10967 case Hexagon::J2_jumpr:
10968 case Hexagon::J2_jumpr_rb:
10969 case Hexagon::J2_jumprh:
10970 case Hexagon::J2_jumprh_rb:
10971 case Hexagon::J4_hintjumpr:
10972 case Hexagon::M8_cvt_rs_hf:
10973 case Hexagon::M8_mxmem2_bias:
10974 case Hexagon::M8_mxmem2_st_bias:
10975 case Hexagon::R6_release_at_vi:
10976 case Hexagon::R6_release_st_vi:
10977 case Hexagon::V2_vallocframe_reg:
10978 case Hexagon::V2_vdeallocframe_reg:
10979 case Hexagon::Y2_ciad:
10980 case Hexagon::Y2_cswi:
10981 case Hexagon::Y2_dccleana:
10982 case Hexagon::Y2_dccleanidx:
10983 case Hexagon::Y2_dccleaninva:
10984 case Hexagon::Y2_dccleaninvidx:
10985 case Hexagon::Y2_dcinva:
10986 case Hexagon::Y2_dcinvidx:
10987 case Hexagon::Y2_dczeroa:
10988 case Hexagon::Y2_dczeroa_nt:
10989 case Hexagon::Y2_iassignw:
10990 case Hexagon::Y2_icinva:
10991 case Hexagon::Y2_icinvidx:
10992 case Hexagon::Y2_l2cleaninvidx:
10993 case Hexagon::Y2_resume:
10994 case Hexagon::Y2_start:
10995 case Hexagon::Y2_stop:
10996 case Hexagon::Y2_swi:
10997 case Hexagon::Y2_wait:
10998 case Hexagon::Y4_nmi:
10999 case Hexagon::Y4_siad:
11000 case Hexagon::Y4_trace:
11001 case Hexagon::Y5_l2cleanidx:
11002 case Hexagon::Y5_l2invidx:
11003 case Hexagon::Y5_l2unlocka:
11004 case Hexagon::Y5_tlbasidi:
11005 case Hexagon::Y6_diag:
11006 case Hexagon::Y6_dmresume:
11007 case Hexagon::Y6_dmstart: {
11008 switch (OpNum) {
11009 case 0:
11010 // op: Rs32
11011 return 16;
11012 }
11013 break;
11014 }
11015 case Hexagon::Y2_tlbw: {
11016 switch (OpNum) {
11017 case 0:
11018 // op: Rss32
11019 return 16;
11020 case 1:
11021 // op: Rt32
11022 return 8;
11023 }
11024 break;
11025 }
11026 case Hexagon::Y6_diag0:
11027 case Hexagon::Y6_diag1: {
11028 switch (OpNum) {
11029 case 0:
11030 // op: Rss32
11031 return 16;
11032 case 1:
11033 // op: Rtt32
11034 return 8;
11035 }
11036 break;
11037 }
11038 case Hexagon::V6_vgathermh:
11039 case Hexagon::V6_vgathermw: {
11040 switch (OpNum) {
11041 case 0:
11042 // op: Rt32
11043 return 16;
11044 case 1:
11045 // op: Mu2
11046 return 13;
11047 case 2:
11048 // op: Vv32
11049 return 0;
11050 }
11051 break;
11052 }
11053 case Hexagon::V6_vscattermh:
11054 case Hexagon::V6_vscattermh_add:
11055 case Hexagon::V6_vscattermw:
11056 case Hexagon::V6_vscattermw_add: {
11057 switch (OpNum) {
11058 case 0:
11059 // op: Rt32
11060 return 16;
11061 case 1:
11062 // op: Mu2
11063 return 13;
11064 case 2:
11065 // op: Vv32
11066 return 8;
11067 case 3:
11068 // op: Vw32
11069 return 0;
11070 }
11071 break;
11072 }
11073 case Hexagon::V6_vgathermhw: {
11074 switch (OpNum) {
11075 case 0:
11076 // op: Rt32
11077 return 16;
11078 case 1:
11079 // op: Mu2
11080 return 13;
11081 case 2:
11082 // op: Vvv32
11083 return 0;
11084 }
11085 break;
11086 }
11087 case Hexagon::V6_vscattermhw:
11088 case Hexagon::V6_vscattermhw_add: {
11089 switch (OpNum) {
11090 case 0:
11091 // op: Rt32
11092 return 16;
11093 case 1:
11094 // op: Mu2
11095 return 13;
11096 case 2:
11097 // op: Vvv32
11098 return 8;
11099 case 3:
11100 // op: Vw32
11101 return 0;
11102 }
11103 break;
11104 }
11105 case Hexagon::Y6_l2gcleaninvpa:
11106 case Hexagon::Y6_l2gcleanpa: {
11107 switch (OpNum) {
11108 case 0:
11109 // op: Rtt32
11110 return 8;
11111 }
11112 break;
11113 }
11114 case Hexagon::Y2_crswap0:
11115 case Hexagon::Y4_crswap1: {
11116 switch (OpNum) {
11117 case 0:
11118 // op: Rx32
11119 return 16;
11120 }
11121 break;
11122 }
11123 case Hexagon::Y4_crswap10: {
11124 switch (OpNum) {
11125 case 0:
11126 // op: Rxx32
11127 return 16;
11128 }
11129 break;
11130 }
11131 case Hexagon::HI:
11132 case Hexagon::LO: {
11133 switch (OpNum) {
11134 case 0:
11135 // op: dst
11136 return 16;
11137 case 1:
11138 // op: imm_value
11139 return 0;
11140 }
11141 break;
11142 }
11143 case Hexagon::EH_RETURN_JMPR:
11144 case Hexagon::PS_jmpret: {
11145 switch (OpNum) {
11146 case 0:
11147 // op: dst
11148 return 16;
11149 }
11150 break;
11151 }
11152 case Hexagon::CALLProfile:
11153 case Hexagon::PS_call_stk:
11154 case Hexagon::RESTORE_DEALLOC_BEFORE_TAILCALL_V4:
11155 case Hexagon::RESTORE_DEALLOC_BEFORE_TAILCALL_V4_EXT:
11156 case Hexagon::RESTORE_DEALLOC_BEFORE_TAILCALL_V4_EXT_PIC:
11157 case Hexagon::RESTORE_DEALLOC_BEFORE_TAILCALL_V4_PIC:
11158 case Hexagon::RESTORE_DEALLOC_RET_JMP_V4:
11159 case Hexagon::RESTORE_DEALLOC_RET_JMP_V4_EXT:
11160 case Hexagon::RESTORE_DEALLOC_RET_JMP_V4_EXT_PIC:
11161 case Hexagon::RESTORE_DEALLOC_RET_JMP_V4_PIC:
11162 case Hexagon::SAVE_REGISTERS_CALL_V4:
11163 case Hexagon::SAVE_REGISTERS_CALL_V4STK:
11164 case Hexagon::SAVE_REGISTERS_CALL_V4STK_EXT:
11165 case Hexagon::SAVE_REGISTERS_CALL_V4STK_EXT_PIC:
11166 case Hexagon::SAVE_REGISTERS_CALL_V4STK_PIC:
11167 case Hexagon::SAVE_REGISTERS_CALL_V4_EXT:
11168 case Hexagon::SAVE_REGISTERS_CALL_V4_EXT_PIC:
11169 case Hexagon::SAVE_REGISTERS_CALL_V4_PIC: {
11170 switch (OpNum) {
11171 case 0:
11172 // op: dst
11173 return 1;
11174 }
11175 break;
11176 }
11177 case Hexagon::J2_loop0iext:
11178 case Hexagon::J2_loop1iext: {
11179 switch (OpNum) {
11180 case 0:
11181 // op: offset
11182 return 3;
11183 case 1:
11184 // op: src2
11185 return 0;
11186 }
11187 break;
11188 }
11189 case Hexagon::J2_loop0rext:
11190 case Hexagon::J2_loop1rext: {
11191 switch (OpNum) {
11192 case 0:
11193 // op: offset
11194 return 3;
11195 case 1:
11196 // op: src2
11197 return 16;
11198 }
11199 break;
11200 }
11201 case Hexagon::PS_jmpretf:
11202 case Hexagon::PS_jmpretfnew:
11203 case Hexagon::PS_jmpretfnewpt:
11204 case Hexagon::PS_jmprett:
11205 case Hexagon::PS_jmprettnew:
11206 case Hexagon::PS_jmprettnewpt: {
11207 switch (OpNum) {
11208 case 0:
11209 // op: src
11210 return 8;
11211 case 1:
11212 // op: dst
11213 return 16;
11214 }
11215 break;
11216 }
11217 case Hexagon::A2_tfrcrr: {
11218 switch (OpNum) {
11219 case 1:
11220 // op: Cs32
11221 return 16;
11222 case 0:
11223 // op: Rd32
11224 return 0;
11225 }
11226 break;
11227 }
11228 case Hexagon::A4_tfrcpp: {
11229 switch (OpNum) {
11230 case 1:
11231 // op: Css32
11232 return 16;
11233 case 0:
11234 // op: Rdd32
11235 return 0;
11236 }
11237 break;
11238 }
11239 case Hexagon::G4_tfrgcrr: {
11240 switch (OpNum) {
11241 case 1:
11242 // op: Gs32
11243 return 16;
11244 case 0:
11245 // op: Rd32
11246 return 0;
11247 }
11248 break;
11249 }
11250 case Hexagon::G4_tfrgcpp: {
11251 switch (OpNum) {
11252 case 1:
11253 // op: Gss32
11254 return 16;
11255 case 0:
11256 // op: Rdd32
11257 return 0;
11258 }
11259 break;
11260 }
11261 case Hexagon::S4_storerbnew_ap:
11262 case Hexagon::S4_storerhnew_ap:
11263 case Hexagon::S4_storerinew_ap: {
11264 switch (OpNum) {
11265 case 1:
11266 // op: II
11267 return 0;
11268 case 2:
11269 // op: Nt8
11270 return 8;
11271 case 0:
11272 // op: Re32
11273 return 16;
11274 }
11275 break;
11276 }
11277 case Hexagon::S4_storerb_ap:
11278 case Hexagon::S4_storerf_ap:
11279 case Hexagon::S4_storerh_ap:
11280 case Hexagon::S4_storeri_ap: {
11281 switch (OpNum) {
11282 case 1:
11283 // op: II
11284 return 0;
11285 case 2:
11286 // op: Rt32
11287 return 8;
11288 case 0:
11289 // op: Re32
11290 return 16;
11291 }
11292 break;
11293 }
11294 case Hexagon::S4_storerd_ap: {
11295 switch (OpNum) {
11296 case 1:
11297 // op: II
11298 return 0;
11299 case 2:
11300 // op: Rtt32
11301 return 8;
11302 case 0:
11303 // op: Re32
11304 return 16;
11305 }
11306 break;
11307 }
11308 case Hexagon::J4_cmpeqi_f_jumpnv_nt:
11309 case Hexagon::J4_cmpeqi_f_jumpnv_t:
11310 case Hexagon::J4_cmpeqi_t_jumpnv_nt:
11311 case Hexagon::J4_cmpeqi_t_jumpnv_t:
11312 case Hexagon::J4_cmpgti_f_jumpnv_nt:
11313 case Hexagon::J4_cmpgti_f_jumpnv_t:
11314 case Hexagon::J4_cmpgti_t_jumpnv_nt:
11315 case Hexagon::J4_cmpgti_t_jumpnv_t:
11316 case Hexagon::J4_cmpgtui_f_jumpnv_nt:
11317 case Hexagon::J4_cmpgtui_f_jumpnv_t:
11318 case Hexagon::J4_cmpgtui_t_jumpnv_nt:
11319 case Hexagon::J4_cmpgtui_t_jumpnv_t: {
11320 switch (OpNum) {
11321 case 1:
11322 // op: II
11323 return 8;
11324 case 2:
11325 // op: Ii
11326 return 1;
11327 case 0:
11328 // op: Ns8
11329 return 16;
11330 }
11331 break;
11332 }
11333 case Hexagon::J4_jumpseti: {
11334 switch (OpNum) {
11335 case 1:
11336 // op: II
11337 return 8;
11338 case 2:
11339 // op: Ii
11340 return 1;
11341 case 0:
11342 // op: Rd16
11343 return 16;
11344 }
11345 break;
11346 }
11347 case Hexagon::J4_cmpeqi_fp0_jump_nt:
11348 case Hexagon::J4_cmpeqi_fp0_jump_t:
11349 case Hexagon::J4_cmpeqi_fp1_jump_nt:
11350 case Hexagon::J4_cmpeqi_fp1_jump_t:
11351 case Hexagon::J4_cmpeqi_tp0_jump_nt:
11352 case Hexagon::J4_cmpeqi_tp0_jump_t:
11353 case Hexagon::J4_cmpeqi_tp1_jump_nt:
11354 case Hexagon::J4_cmpeqi_tp1_jump_t:
11355 case Hexagon::J4_cmpgti_fp0_jump_nt:
11356 case Hexagon::J4_cmpgti_fp0_jump_t:
11357 case Hexagon::J4_cmpgti_fp1_jump_nt:
11358 case Hexagon::J4_cmpgti_fp1_jump_t:
11359 case Hexagon::J4_cmpgti_tp0_jump_nt:
11360 case Hexagon::J4_cmpgti_tp0_jump_t:
11361 case Hexagon::J4_cmpgti_tp1_jump_nt:
11362 case Hexagon::J4_cmpgti_tp1_jump_t:
11363 case Hexagon::J4_cmpgtui_fp0_jump_nt:
11364 case Hexagon::J4_cmpgtui_fp0_jump_t:
11365 case Hexagon::J4_cmpgtui_fp1_jump_nt:
11366 case Hexagon::J4_cmpgtui_fp1_jump_t:
11367 case Hexagon::J4_cmpgtui_tp0_jump_nt:
11368 case Hexagon::J4_cmpgtui_tp0_jump_t:
11369 case Hexagon::J4_cmpgtui_tp1_jump_nt:
11370 case Hexagon::J4_cmpgtui_tp1_jump_t: {
11371 switch (OpNum) {
11372 case 1:
11373 // op: II
11374 return 8;
11375 case 2:
11376 // op: Ii
11377 return 1;
11378 case 0:
11379 // op: Rs16
11380 return 16;
11381 }
11382 break;
11383 }
11384 case Hexagon::SA1_cmpeqi:
11385 case Hexagon::SS2_storebi0:
11386 case Hexagon::SS2_storebi1:
11387 case Hexagon::SS2_storewi0:
11388 case Hexagon::SS2_storewi1: {
11389 switch (OpNum) {
11390 case 1:
11391 // op: Ii
11392 return 0;
11393 case 0:
11394 // op: Rs16
11395 return 4;
11396 }
11397 break;
11398 }
11399 case Hexagon::S2_storerbnew_io:
11400 case Hexagon::S2_storerhnew_io:
11401 case Hexagon::S2_storerinew_io: {
11402 switch (OpNum) {
11403 case 1:
11404 // op: Ii
11405 return 0;
11406 case 0:
11407 // op: Rs32
11408 return 16;
11409 case 2:
11410 // op: Nt8
11411 return 8;
11412 }
11413 break;
11414 }
11415 case Hexagon::S2_storerb_io:
11416 case Hexagon::S2_storerf_io:
11417 case Hexagon::S2_storerh_io:
11418 case Hexagon::S2_storeri_io: {
11419 switch (OpNum) {
11420 case 1:
11421 // op: Ii
11422 return 0;
11423 case 0:
11424 // op: Rs32
11425 return 16;
11426 case 2:
11427 // op: Rt32
11428 return 8;
11429 }
11430 break;
11431 }
11432 case Hexagon::S2_storerd_io: {
11433 switch (OpNum) {
11434 case 1:
11435 // op: Ii
11436 return 0;
11437 case 0:
11438 // op: Rs32
11439 return 16;
11440 case 2:
11441 // op: Rtt32
11442 return 8;
11443 }
11444 break;
11445 }
11446 case Hexagon::Y2_dcfetchbo:
11447 case Hexagon::Y2_dcfetchbo_nt: {
11448 switch (OpNum) {
11449 case 1:
11450 // op: Ii
11451 return 0;
11452 case 0:
11453 // op: Rs32
11454 return 16;
11455 }
11456 break;
11457 }
11458 case Hexagon::LX_assign_s:
11459 case Hexagon::LX_assign_u: {
11460 switch (OpNum) {
11461 case 1:
11462 // op: Ii
11463 return 16;
11464 case 0:
11465 // op: Ld16
11466 return 1;
11467 }
11468 break;
11469 }
11470 case Hexagon::J4_tstbit0_f_jumpnv_nt:
11471 case Hexagon::J4_tstbit0_f_jumpnv_t:
11472 case Hexagon::J4_tstbit0_t_jumpnv_nt:
11473 case Hexagon::J4_tstbit0_t_jumpnv_t: {
11474 switch (OpNum) {
11475 case 1:
11476 // op: Ii
11477 return 1;
11478 case 0:
11479 // op: Ns8
11480 return 16;
11481 }
11482 break;
11483 }
11484 case Hexagon::J2_callf:
11485 case Hexagon::J2_callt:
11486 case Hexagon::J2_jumpf:
11487 case Hexagon::J2_jumpfnew:
11488 case Hexagon::J2_jumpfnewpt:
11489 case Hexagon::J2_jumpfpt:
11490 case Hexagon::J2_jumpt:
11491 case Hexagon::J2_jumptnew:
11492 case Hexagon::J2_jumptnewpt:
11493 case Hexagon::J2_jumptpt: {
11494 switch (OpNum) {
11495 case 1:
11496 // op: Ii
11497 return 1;
11498 case 0:
11499 // op: Pu4
11500 return 8;
11501 }
11502 break;
11503 }
11504 case Hexagon::J4_tstbit0_fp0_jump_nt:
11505 case Hexagon::J4_tstbit0_fp0_jump_t:
11506 case Hexagon::J4_tstbit0_fp1_jump_nt:
11507 case Hexagon::J4_tstbit0_fp1_jump_t:
11508 case Hexagon::J4_tstbit0_tp0_jump_nt:
11509 case Hexagon::J4_tstbit0_tp0_jump_t:
11510 case Hexagon::J4_tstbit0_tp1_jump_nt:
11511 case Hexagon::J4_tstbit0_tp1_jump_t: {
11512 switch (OpNum) {
11513 case 1:
11514 // op: Ii
11515 return 1;
11516 case 0:
11517 // op: Rs16
11518 return 16;
11519 }
11520 break;
11521 }
11522 case Hexagon::J2_jumprgtez:
11523 case Hexagon::J2_jumprgtezpt:
11524 case Hexagon::J2_jumprltez:
11525 case Hexagon::J2_jumprltezpt:
11526 case Hexagon::J2_jumprnz:
11527 case Hexagon::J2_jumprnzpt:
11528 case Hexagon::J2_jumprz:
11529 case Hexagon::J2_jumprzpt: {
11530 switch (OpNum) {
11531 case 1:
11532 // op: Ii
11533 return 1;
11534 case 0:
11535 // op: Rs32
11536 return 16;
11537 }
11538 break;
11539 }
11540 case Hexagon::S4_pstorerbnewf_abs:
11541 case Hexagon::S4_pstorerbnewfnew_abs:
11542 case Hexagon::S4_pstorerbnewt_abs:
11543 case Hexagon::S4_pstorerbnewtnew_abs:
11544 case Hexagon::S4_pstorerhnewf_abs:
11545 case Hexagon::S4_pstorerhnewfnew_abs:
11546 case Hexagon::S4_pstorerhnewt_abs:
11547 case Hexagon::S4_pstorerhnewtnew_abs:
11548 case Hexagon::S4_pstorerinewf_abs:
11549 case Hexagon::S4_pstorerinewfnew_abs:
11550 case Hexagon::S4_pstorerinewt_abs:
11551 case Hexagon::S4_pstorerinewtnew_abs: {
11552 switch (OpNum) {
11553 case 1:
11554 // op: Ii
11555 return 3;
11556 case 0:
11557 // op: Pv4
11558 return 0;
11559 case 2:
11560 // op: Nt8
11561 return 8;
11562 }
11563 break;
11564 }
11565 case Hexagon::S4_pstorerbf_abs:
11566 case Hexagon::S4_pstorerbfnew_abs:
11567 case Hexagon::S4_pstorerbt_abs:
11568 case Hexagon::S4_pstorerbtnew_abs:
11569 case Hexagon::S4_pstorerff_abs:
11570 case Hexagon::S4_pstorerffnew_abs:
11571 case Hexagon::S4_pstorerft_abs:
11572 case Hexagon::S4_pstorerftnew_abs:
11573 case Hexagon::S4_pstorerhf_abs:
11574 case Hexagon::S4_pstorerhfnew_abs:
11575 case Hexagon::S4_pstorerht_abs:
11576 case Hexagon::S4_pstorerhtnew_abs:
11577 case Hexagon::S4_pstorerif_abs:
11578 case Hexagon::S4_pstorerifnew_abs:
11579 case Hexagon::S4_pstorerit_abs:
11580 case Hexagon::S4_pstoreritnew_abs: {
11581 switch (OpNum) {
11582 case 1:
11583 // op: Ii
11584 return 3;
11585 case 0:
11586 // op: Pv4
11587 return 0;
11588 case 2:
11589 // op: Rt32
11590 return 8;
11591 }
11592 break;
11593 }
11594 case Hexagon::S4_pstorerdf_abs:
11595 case Hexagon::S4_pstorerdfnew_abs:
11596 case Hexagon::S4_pstorerdt_abs:
11597 case Hexagon::S4_pstorerdtnew_abs: {
11598 switch (OpNum) {
11599 case 1:
11600 // op: Ii
11601 return 3;
11602 case 0:
11603 // op: Pv4
11604 return 0;
11605 case 2:
11606 // op: Rtt32
11607 return 8;
11608 }
11609 break;
11610 }
11611 case Hexagon::SL2_loadrd_sp: {
11612 switch (OpNum) {
11613 case 1:
11614 // op: Ii
11615 return 3;
11616 case 0:
11617 // op: Rdd8
11618 return 0;
11619 }
11620 break;
11621 }
11622 case Hexagon::S4_addi_asl_ri:
11623 case Hexagon::S4_addi_lsr_ri:
11624 case Hexagon::S4_andi_asl_ri:
11625 case Hexagon::S4_andi_lsr_ri:
11626 case Hexagon::S4_ori_asl_ri:
11627 case Hexagon::S4_ori_lsr_ri:
11628 case Hexagon::S4_subi_asl_ri:
11629 case Hexagon::S4_subi_lsr_ri: {
11630 switch (OpNum) {
11631 case 1:
11632 // op: Ii
11633 return 3;
11634 case 3:
11635 // op: II
11636 return 8;
11637 case 0:
11638 // op: Rx32
11639 return 16;
11640 }
11641 break;
11642 }
11643 case Hexagon::SA1_addsp:
11644 case Hexagon::SA1_seti:
11645 case Hexagon::SL2_loadri_sp: {
11646 switch (OpNum) {
11647 case 1:
11648 // op: Ii
11649 return 4;
11650 case 0:
11651 // op: Rd16
11652 return 0;
11653 }
11654 break;
11655 }
11656 case Hexagon::A2_tfrsi:
11657 case Hexagon::F2_sfimm_n:
11658 case Hexagon::F2_sfimm_p:
11659 case Hexagon::L2_loadrbgp:
11660 case Hexagon::L2_loadrhgp:
11661 case Hexagon::L2_loadrigp:
11662 case Hexagon::L2_loadrubgp:
11663 case Hexagon::L2_loadruhgp:
11664 case Hexagon::PS_loadrbabs:
11665 case Hexagon::PS_loadrhabs:
11666 case Hexagon::PS_loadriabs:
11667 case Hexagon::PS_loadrubabs:
11668 case Hexagon::PS_loadruhabs: {
11669 switch (OpNum) {
11670 case 1:
11671 // op: Ii
11672 return 5;
11673 case 0:
11674 // op: Rd32
11675 return 0;
11676 }
11677 break;
11678 }
11679 case Hexagon::F2_dfimm_n:
11680 case Hexagon::F2_dfimm_p:
11681 case Hexagon::L2_loadrdgp:
11682 case Hexagon::PS_loadrdabs: {
11683 switch (OpNum) {
11684 case 1:
11685 // op: Ii
11686 return 5;
11687 case 0:
11688 // op: Rdd32
11689 return 0;
11690 }
11691 break;
11692 }
11693 case Hexagon::SA1_combine0i:
11694 case Hexagon::SA1_combine1i:
11695 case Hexagon::SA1_combine2i:
11696 case Hexagon::SA1_combine3i: {
11697 switch (OpNum) {
11698 case 1:
11699 // op: Ii
11700 return 5;
11701 case 0:
11702 // op: Rdd8
11703 return 0;
11704 }
11705 break;
11706 }
11707 case Hexagon::A2_combineii:
11708 case Hexagon::A4_combineii: {
11709 switch (OpNum) {
11710 case 1:
11711 // op: Ii
11712 return 5;
11713 case 2:
11714 // op: II
11715 return 13;
11716 case 0:
11717 // op: Rdd32
11718 return 0;
11719 }
11720 break;
11721 }
11722 case Hexagon::A2_subri: {
11723 switch (OpNum) {
11724 case 1:
11725 // op: Ii
11726 return 5;
11727 case 2:
11728 // op: Rs32
11729 return 16;
11730 case 0:
11731 // op: Rd32
11732 return 0;
11733 }
11734 break;
11735 }
11736 case Hexagon::A4_combineir: {
11737 switch (OpNum) {
11738 case 1:
11739 // op: Ii
11740 return 5;
11741 case 2:
11742 // op: Rs32
11743 return 16;
11744 case 0:
11745 // op: Rdd32
11746 return 0;
11747 }
11748 break;
11749 }
11750 case Hexagon::M4_mpyrr_addi: {
11751 switch (OpNum) {
11752 case 1:
11753 // op: Ii
11754 return 5;
11755 case 2:
11756 // op: Rs32
11757 return 16;
11758 case 3:
11759 // op: Rt32
11760 return 8;
11761 case 0:
11762 // op: Rd32
11763 return 0;
11764 }
11765 break;
11766 }
11767 case Hexagon::S4_lsli: {
11768 switch (OpNum) {
11769 case 1:
11770 // op: Ii
11771 return 5;
11772 case 2:
11773 // op: Rt32
11774 return 8;
11775 case 0:
11776 // op: Rd32
11777 return 0;
11778 }
11779 break;
11780 }
11781 case Hexagon::M4_mpyri_addi: {
11782 switch (OpNum) {
11783 case 1:
11784 // op: Ii
11785 return 5;
11786 case 3:
11787 // op: II
11788 return 0;
11789 case 2:
11790 // op: Rs32
11791 return 16;
11792 case 0:
11793 // op: Rd32
11794 return 8;
11795 }
11796 break;
11797 }
11798 case Hexagon::S4_storerbnew_ur:
11799 case Hexagon::S4_storerhnew_ur:
11800 case Hexagon::S4_storerinew_ur: {
11801 switch (OpNum) {
11802 case 1:
11803 // op: Ii
11804 return 6;
11805 case 2:
11806 // op: II
11807 return 0;
11808 case 0:
11809 // op: Ru32
11810 return 16;
11811 case 3:
11812 // op: Nt8
11813 return 8;
11814 }
11815 break;
11816 }
11817 case Hexagon::S4_storerb_ur:
11818 case Hexagon::S4_storerf_ur:
11819 case Hexagon::S4_storerh_ur:
11820 case Hexagon::S4_storeri_ur: {
11821 switch (OpNum) {
11822 case 1:
11823 // op: Ii
11824 return 6;
11825 case 2:
11826 // op: II
11827 return 0;
11828 case 0:
11829 // op: Ru32
11830 return 16;
11831 case 3:
11832 // op: Rt32
11833 return 8;
11834 }
11835 break;
11836 }
11837 case Hexagon::S4_storerd_ur: {
11838 switch (OpNum) {
11839 case 1:
11840 // op: Ii
11841 return 6;
11842 case 2:
11843 // op: II
11844 return 0;
11845 case 0:
11846 // op: Ru32
11847 return 16;
11848 case 3:
11849 // op: Rtt32
11850 return 8;
11851 }
11852 break;
11853 }
11854 case Hexagon::C4_addipc: {
11855 switch (OpNum) {
11856 case 1:
11857 // op: Ii
11858 return 7;
11859 case 0:
11860 // op: Rd32
11861 return 0;
11862 }
11863 break;
11864 }
11865 case Hexagon::L4_add_memopb_io:
11866 case Hexagon::L4_add_memoph_io:
11867 case Hexagon::L4_add_memopw_io:
11868 case Hexagon::L4_and_memopb_io:
11869 case Hexagon::L4_and_memoph_io:
11870 case Hexagon::L4_and_memopw_io:
11871 case Hexagon::L4_or_memopb_io:
11872 case Hexagon::L4_or_memoph_io:
11873 case Hexagon::L4_or_memopw_io:
11874 case Hexagon::L4_sub_memopb_io:
11875 case Hexagon::L4_sub_memoph_io:
11876 case Hexagon::L4_sub_memopw_io: {
11877 switch (OpNum) {
11878 case 1:
11879 // op: Ii
11880 return 7;
11881 case 0:
11882 // op: Rs32
11883 return 16;
11884 case 2:
11885 // op: Rt32
11886 return 0;
11887 }
11888 break;
11889 }
11890 case Hexagon::L4_iadd_memopb_io:
11891 case Hexagon::L4_iadd_memoph_io:
11892 case Hexagon::L4_iadd_memopw_io:
11893 case Hexagon::L4_iand_memopb_io:
11894 case Hexagon::L4_iand_memoph_io:
11895 case Hexagon::L4_iand_memopw_io:
11896 case Hexagon::L4_ior_memopb_io:
11897 case Hexagon::L4_ior_memoph_io:
11898 case Hexagon::L4_ior_memopw_io:
11899 case Hexagon::L4_isub_memopb_io:
11900 case Hexagon::L4_isub_memoph_io:
11901 case Hexagon::L4_isub_memopw_io:
11902 case Hexagon::S4_storeirb_io:
11903 case Hexagon::S4_storeirh_io:
11904 case Hexagon::S4_storeiri_io: {
11905 switch (OpNum) {
11906 case 1:
11907 // op: Ii
11908 return 7;
11909 case 2:
11910 // op: II
11911 return 0;
11912 case 0:
11913 // op: Rs32
11914 return 16;
11915 }
11916 break;
11917 }
11918 case Hexagon::V6_vwhist128qm: {
11919 switch (OpNum) {
11920 case 1:
11921 // op: Ii
11922 return 8;
11923 case 0:
11924 // op: Qv4
11925 return 22;
11926 }
11927 break;
11928 }
11929 case Hexagon::SS1_storeb_io:
11930 case Hexagon::SS1_storew_io:
11931 case Hexagon::SS2_storeh_io: {
11932 switch (OpNum) {
11933 case 1:
11934 // op: Ii
11935 return 8;
11936 case 0:
11937 // op: Rs16
11938 return 4;
11939 case 2:
11940 // op: Rt16
11941 return 0;
11942 }
11943 break;
11944 }
11945 case Hexagon::V6_vS32b_new_ai:
11946 case Hexagon::V6_vS32b_nt_new_ai: {
11947 switch (OpNum) {
11948 case 1:
11949 // op: Ii
11950 return 8;
11951 case 0:
11952 // op: Rt32
11953 return 16;
11954 case 2:
11955 // op: Os8
11956 return 0;
11957 }
11958 break;
11959 }
11960 case Hexagon::V6_vS32Ub_ai:
11961 case Hexagon::V6_vS32b_ai:
11962 case Hexagon::V6_vS32b_nt_ai: {
11963 switch (OpNum) {
11964 case 1:
11965 // op: Ii
11966 return 8;
11967 case 0:
11968 // op: Rt32
11969 return 16;
11970 case 2:
11971 // op: Vs32
11972 return 0;
11973 }
11974 break;
11975 }
11976 case Hexagon::V6_vS32b_srls_ai:
11977 case Hexagon::V6_zLd_ai: {
11978 switch (OpNum) {
11979 case 1:
11980 // op: Ii
11981 return 8;
11982 case 0:
11983 // op: Rt32
11984 return 16;
11985 }
11986 break;
11987 }
11988 case Hexagon::S2_mask: {
11989 switch (OpNum) {
11990 case 1:
11991 // op: Ii
11992 return 8;
11993 case 2:
11994 // op: II
11995 return 5;
11996 case 0:
11997 // op: Rd32
11998 return 0;
11999 }
12000 break;
12001 }
12002 case Hexagon::LX_abs_uh:
12003 case Hexagon::LX_abs_uh_sat:
12004 case Hexagon::LX_assign:
12005 case Hexagon::LX_not: {
12006 switch (OpNum) {
12007 case 1:
12008 // op: Lu16
12009 return 6;
12010 case 0:
12011 // op: Ld16
12012 return 1;
12013 }
12014 break;
12015 }
12016 case Hexagon::LX_conv_h_b_hi:
12017 case Hexagon::LX_conv_h_b_lo:
12018 case Hexagon::LX_conv_uw_uh:
12019 case Hexagon::LX_conv_w_h: {
12020 switch (OpNum) {
12021 case 1:
12022 // op: Lu16
12023 return 6;
12024 case 0:
12025 // op: Ldd16
12026 return 1;
12027 }
12028 break;
12029 }
12030 case Hexagon::LX_absdiff_h:
12031 case Hexagon::LX_absdiff_uh:
12032 case Hexagon::LX_add_h:
12033 case Hexagon::LX_add_h_sat:
12034 case Hexagon::LX_add_uh_sat:
12035 case Hexagon::LX_add_uhh_sat:
12036 case Hexagon::LX_and:
12037 case Hexagon::LX_andn:
12038 case Hexagon::LX_avg_h:
12039 case Hexagon::LX_avg_h_rnd:
12040 case Hexagon::LX_avg_uh:
12041 case Hexagon::LX_avg_uh_rnd:
12042 case Hexagon::LX_cmp_gt_h:
12043 case Hexagon::LX_cmp_gt_uh:
12044 case Hexagon::LX_conv_b_h_hi:
12045 case Hexagon::LX_conv_b_h_lo:
12046 case Hexagon::LX_max_h:
12047 case Hexagon::LX_max_uh:
12048 case Hexagon::LX_min_h:
12049 case Hexagon::LX_min_uh:
12050 case Hexagon::LX_navg_h:
12051 case Hexagon::LX_navg_uh:
12052 case Hexagon::LX_or:
12053 case Hexagon::LX_orn:
12054 case Hexagon::LX_shr_h:
12055 case Hexagon::LX_shr_uh_uh:
12056 case Hexagon::LX_sub_h:
12057 case Hexagon::LX_sub_h_sat:
12058 case Hexagon::LX_sub_uh_sat:
12059 case Hexagon::LX_sub_uhh_sat:
12060 case Hexagon::LX_xor: {
12061 switch (OpNum) {
12062 case 1:
12063 // op: Lu16
12064 return 6;
12065 case 2:
12066 // op: Lv16
12067 return 17;
12068 case 0:
12069 // op: Ld16
12070 return 1;
12071 }
12072 break;
12073 }
12074 case Hexagon::LX_add_wuh:
12075 case Hexagon::LX_combine_w:
12076 case Hexagon::LX_mpy_uw_uh:
12077 case Hexagon::LX_mpy_w_h:
12078 case Hexagon::LX_mpy_w_huh:
12079 case Hexagon::LX_sub_wuh: {
12080 switch (OpNum) {
12081 case 1:
12082 // op: Lu16
12083 return 6;
12084 case 2:
12085 // op: Lv16
12086 return 17;
12087 case 0:
12088 // op: Ldd16
12089 return 1;
12090 }
12091 break;
12092 }
12093 case Hexagon::LX_mpa_wh_hi:
12094 case Hexagon::LX_mpa_whuh_lo:
12095 case Hexagon::LX_mpa_wuh_hi:
12096 case Hexagon::LX_mpa_wuh_lo: {
12097 switch (OpNum) {
12098 case 1:
12099 // op: Lu16
12100 return 6;
12101 case 2:
12102 // op: Lv16
12103 return 17;
12104 case 0:
12105 // op: Lxx16
12106 return 1;
12107 }
12108 break;
12109 }
12110 case Hexagon::LX_shrr_h:
12111 case Hexagon::LX_shrr_uh_uh: {
12112 switch (OpNum) {
12113 case 1:
12114 // op: Lu16
12115 return 6;
12116 case 2:
12117 // op: Rt32
12118 return 16;
12119 case 0:
12120 // op: Ld16
12121 return 1;
12122 }
12123 break;
12124 }
12125 case Hexagon::LX_mpyr_uw_uh:
12126 case Hexagon::LX_mpyr_w_h:
12127 case Hexagon::LX_mpyr_w_huh: {
12128 switch (OpNum) {
12129 case 1:
12130 // op: Lu16
12131 return 6;
12132 case 2:
12133 // op: Rt32
12134 return 16;
12135 case 0:
12136 // op: Ldd16
12137 return 1;
12138 }
12139 break;
12140 }
12141 case Hexagon::LX_mpar_wh_hi:
12142 case Hexagon::LX_mpar_whuh_lo:
12143 case Hexagon::LX_mpar_wuh_hi:
12144 case Hexagon::LX_mpar_wuh_lo: {
12145 switch (OpNum) {
12146 case 1:
12147 // op: Lu16
12148 return 6;
12149 case 2:
12150 // op: Rt32
12151 return 16;
12152 case 0:
12153 // op: Lxx16
12154 return 1;
12155 }
12156 break;
12157 }
12158 case Hexagon::LX_lut4:
12159 case Hexagon::LX_lut4_mask: {
12160 switch (OpNum) {
12161 case 1:
12162 // op: Lu16
12163 return 6;
12164 case 2:
12165 // op: Rtt32
12166 return 16;
12167 case 0:
12168 // op: Ld16
12169 return 1;
12170 }
12171 break;
12172 }
12173 case Hexagon::LX_lut4_sh:
12174 case Hexagon::LX_lut4_sh_neg: {
12175 switch (OpNum) {
12176 case 1:
12177 // op: Lu16
12178 return 6;
12179 case 2:
12180 // op: Rtt32
12181 return 16;
12182 case 0:
12183 // op: Ldd16
12184 return 1;
12185 }
12186 break;
12187 }
12188 case Hexagon::LX_mpa_uwuhuw_si:
12189 case Hexagon::LX_mpa_wuhw_si: {
12190 switch (OpNum) {
12191 case 1:
12192 // op: Lu16
12193 return 6;
12194 case 3:
12195 // op: Lvv16
12196 return 17;
12197 case 0:
12198 // op: Lxx16
12199 return 1;
12200 }
12201 break;
12202 }
12203 case Hexagon::LX_mpar_uwuhuw_si:
12204 case Hexagon::LX_mpar_wuhw_si: {
12205 switch (OpNum) {
12206 case 1:
12207 // op: Lu16
12208 return 6;
12209 case 3:
12210 // op: Rt32
12211 return 16;
12212 case 0:
12213 // op: Lxx16
12214 return 1;
12215 }
12216 break;
12217 }
12218 case Hexagon::LX_abs_uhp:
12219 case Hexagon::LX_abs_uhp_sat:
12220 case Hexagon::LX_abs_uw:
12221 case Hexagon::LX_abs_uw_sat:
12222 case Hexagon::LX_assign_w:
12223 case Hexagon::LX_not_w: {
12224 switch (OpNum) {
12225 case 1:
12226 // op: Luu16
12227 return 6;
12228 case 0:
12229 // op: Ldd16
12230 return 1;
12231 }
12232 break;
12233 }
12234 case Hexagon::LX_shr_h_w_rnd_sat:
12235 case Hexagon::LX_shr_h_w_sat:
12236 case Hexagon::LX_shr_h_w_uh:
12237 case Hexagon::LX_shr_uh_uw_rnd_sat:
12238 case Hexagon::LX_shr_uh_uw_sat:
12239 case Hexagon::LX_shr_uh_w_rnd_sat:
12240 case Hexagon::LX_shr_uh_w_sat: {
12241 switch (OpNum) {
12242 case 1:
12243 // op: Luu16
12244 return 6;
12245 case 2:
12246 // op: Lv16
12247 return 17;
12248 case 0:
12249 // op: Ld16
12250 return 1;
12251 }
12252 break;
12253 }
12254 case Hexagon::LX_add_wwh:
12255 case Hexagon::LX_add_wwuh:
12256 case Hexagon::LX_shr_uw_uw:
12257 case Hexagon::LX_shr_w_w:
12258 case Hexagon::LX_sub_wwh:
12259 case Hexagon::LX_sub_wwuh: {
12260 switch (OpNum) {
12261 case 1:
12262 // op: Luu16
12263 return 6;
12264 case 2:
12265 // op: Lv16
12266 return 17;
12267 case 0:
12268 // op: Ldd16
12269 return 1;
12270 }
12271 break;
12272 }
12273 case Hexagon::LX_absdiff_uw:
12274 case Hexagon::LX_absdiff_w:
12275 case Hexagon::LX_add_hp:
12276 case Hexagon::LX_add_hp_sat:
12277 case Hexagon::LX_add_uhp_h_sat:
12278 case Hexagon::LX_add_uhp_sat:
12279 case Hexagon::LX_add_uw_sat:
12280 case Hexagon::LX_add_uw_w_sat:
12281 case Hexagon::LX_add_w:
12282 case Hexagon::LX_add_w_sat:
12283 case Hexagon::LX_and_w:
12284 case Hexagon::LX_andn_w:
12285 case Hexagon::LX_avg_uw:
12286 case Hexagon::LX_avg_uw_rnd:
12287 case Hexagon::LX_avg_w:
12288 case Hexagon::LX_avg_w_rnd:
12289 case Hexagon::LX_cmp_gt_hp:
12290 case Hexagon::LX_cmp_gt_uhp:
12291 case Hexagon::LX_cmp_gt_uw:
12292 case Hexagon::LX_cmp_gt_w:
12293 case Hexagon::LX_max_hp:
12294 case Hexagon::LX_max_uhp:
12295 case Hexagon::LX_max_uw:
12296 case Hexagon::LX_max_w:
12297 case Hexagon::LX_min_hp:
12298 case Hexagon::LX_min_uhp:
12299 case Hexagon::LX_min_uw:
12300 case Hexagon::LX_min_w:
12301 case Hexagon::LX_navg_uw:
12302 case Hexagon::LX_navg_w:
12303 case Hexagon::LX_or_w:
12304 case Hexagon::LX_orn_w:
12305 case Hexagon::LX_sub_hp:
12306 case Hexagon::LX_sub_hp_sat:
12307 case Hexagon::LX_sub_uhp_h_sat:
12308 case Hexagon::LX_sub_uhp_sat:
12309 case Hexagon::LX_sub_uw_sat:
12310 case Hexagon::LX_sub_uw_w_sat:
12311 case Hexagon::LX_sub_w:
12312 case Hexagon::LX_sub_w_sat:
12313 case Hexagon::LX_xor_w: {
12314 switch (OpNum) {
12315 case 1:
12316 // op: Luu16
12317 return 6;
12318 case 2:
12319 // op: Lvv16
12320 return 17;
12321 case 0:
12322 // op: Ldd16
12323 return 1;
12324 }
12325 break;
12326 }
12327 case Hexagon::LX_shrr_h_w_rnd_sat:
12328 case Hexagon::LX_shrr_h_w_sat:
12329 case Hexagon::LX_shrr_h_w_uh:
12330 case Hexagon::LX_shrr_uh_uw_rnd_sat:
12331 case Hexagon::LX_shrr_uh_uw_sat:
12332 case Hexagon::LX_shrr_uh_w_rnd_sat:
12333 case Hexagon::LX_shrr_uh_w_sat: {
12334 switch (OpNum) {
12335 case 1:
12336 // op: Luu16
12337 return 6;
12338 case 2:
12339 // op: Rt32
12340 return 16;
12341 case 0:
12342 // op: Ld16
12343 return 1;
12344 }
12345 break;
12346 }
12347 case Hexagon::LX_shrr_uw_uw:
12348 case Hexagon::LX_shrr_w_w: {
12349 switch (OpNum) {
12350 case 1:
12351 // op: Luu16
12352 return 6;
12353 case 2:
12354 // op: Rt32
12355 return 16;
12356 case 0:
12357 // op: Ldd16
12358 return 1;
12359 }
12360 break;
12361 }
12362 case Hexagon::C2_all8:
12363 case Hexagon::C2_any8:
12364 case Hexagon::C2_not: {
12365 switch (OpNum) {
12366 case 1:
12367 // op: Ps4
12368 return 16;
12369 case 0:
12370 // op: Pd4
12371 return 0;
12372 }
12373 break;
12374 }
12375 case Hexagon::C2_tfrpr: {
12376 switch (OpNum) {
12377 case 1:
12378 // op: Ps4
12379 return 16;
12380 case 0:
12381 // op: Rd32
12382 return 0;
12383 }
12384 break;
12385 }
12386 case Hexagon::C2_xor:
12387 case Hexagon::C4_fastcorner9:
12388 case Hexagon::C4_fastcorner9_not: {
12389 switch (OpNum) {
12390 case 1:
12391 // op: Ps4
12392 return 16;
12393 case 2:
12394 // op: Pt4
12395 return 8;
12396 case 0:
12397 // op: Pd4
12398 return 0;
12399 }
12400 break;
12401 }
12402 case Hexagon::C2_vitpack: {
12403 switch (OpNum) {
12404 case 1:
12405 // op: Ps4
12406 return 16;
12407 case 2:
12408 // op: Pt4
12409 return 8;
12410 case 0:
12411 // op: Rd32
12412 return 0;
12413 }
12414 break;
12415 }
12416 case Hexagon::C4_and_and:
12417 case Hexagon::C4_and_andn:
12418 case Hexagon::C4_and_or:
12419 case Hexagon::C4_and_orn:
12420 case Hexagon::C4_or_and:
12421 case Hexagon::C4_or_andn:
12422 case Hexagon::C4_or_or:
12423 case Hexagon::C4_or_orn: {
12424 switch (OpNum) {
12425 case 1:
12426 // op: Ps4
12427 return 16;
12428 case 2:
12429 // op: Pt4
12430 return 8;
12431 case 3:
12432 // op: Pu4
12433 return 6;
12434 case 0:
12435 // op: Pd4
12436 return 0;
12437 }
12438 break;
12439 }
12440 case Hexagon::V6_vcmov:
12441 case Hexagon::V6_vncmov: {
12442 switch (OpNum) {
12443 case 1:
12444 // op: Ps4
12445 return 5;
12446 case 2:
12447 // op: Vu32
12448 return 8;
12449 case 0:
12450 // op: Vd32
12451 return 0;
12452 }
12453 break;
12454 }
12455 case Hexagon::V6_vccombine:
12456 case Hexagon::V6_vnccombine: {
12457 switch (OpNum) {
12458 case 1:
12459 // op: Ps4
12460 return 5;
12461 case 2:
12462 // op: Vu32
12463 return 8;
12464 case 3:
12465 // op: Vv32
12466 return 16;
12467 case 0:
12468 // op: Vdd32
12469 return 0;
12470 }
12471 break;
12472 }
12473 case Hexagon::C2_mask: {
12474 switch (OpNum) {
12475 case 1:
12476 // op: Pt4
12477 return 8;
12478 case 0:
12479 // op: Rdd32
12480 return 0;
12481 }
12482 break;
12483 }
12484 case Hexagon::C2_and:
12485 case Hexagon::C2_andn:
12486 case Hexagon::C2_or:
12487 case Hexagon::C2_orn: {
12488 switch (OpNum) {
12489 case 1:
12490 // op: Pt4
12491 return 8;
12492 case 2:
12493 // op: Ps4
12494 return 16;
12495 case 0:
12496 // op: Pd4
12497 return 0;
12498 }
12499 break;
12500 }
12501 case Hexagon::A2_paddf:
12502 case Hexagon::A2_paddfnew:
12503 case Hexagon::A2_paddt:
12504 case Hexagon::A2_paddtnew:
12505 case Hexagon::A2_pandf:
12506 case Hexagon::A2_pandfnew:
12507 case Hexagon::A2_pandt:
12508 case Hexagon::A2_pandtnew:
12509 case Hexagon::A2_porf:
12510 case Hexagon::A2_porfnew:
12511 case Hexagon::A2_port:
12512 case Hexagon::A2_portnew:
12513 case Hexagon::A2_pxorf:
12514 case Hexagon::A2_pxorfnew:
12515 case Hexagon::A2_pxort:
12516 case Hexagon::A2_pxortnew:
12517 case Hexagon::C2_mux: {
12518 switch (OpNum) {
12519 case 1:
12520 // op: Pu4
12521 return 5;
12522 case 2:
12523 // op: Rs32
12524 return 16;
12525 case 3:
12526 // op: Rt32
12527 return 8;
12528 case 0:
12529 // op: Rd32
12530 return 0;
12531 }
12532 break;
12533 }
12534 case Hexagon::C2_ccombinewf:
12535 case Hexagon::C2_ccombinewnewf:
12536 case Hexagon::C2_ccombinewnewt:
12537 case Hexagon::C2_ccombinewt: {
12538 switch (OpNum) {
12539 case 1:
12540 // op: Pu4
12541 return 5;
12542 case 2:
12543 // op: Rs32
12544 return 16;
12545 case 3:
12546 // op: Rt32
12547 return 8;
12548 case 0:
12549 // op: Rdd32
12550 return 0;
12551 }
12552 break;
12553 }
12554 case Hexagon::C2_vmux: {
12555 switch (OpNum) {
12556 case 1:
12557 // op: Pu4
12558 return 5;
12559 case 2:
12560 // op: Rss32
12561 return 16;
12562 case 3:
12563 // op: Rtt32
12564 return 8;
12565 case 0:
12566 // op: Rdd32
12567 return 0;
12568 }
12569 break;
12570 }
12571 case Hexagon::A2_psubf:
12572 case Hexagon::A2_psubfnew:
12573 case Hexagon::A2_psubt:
12574 case Hexagon::A2_psubtnew: {
12575 switch (OpNum) {
12576 case 1:
12577 // op: Pu4
12578 return 5;
12579 case 2:
12580 // op: Rt32
12581 return 8;
12582 case 3:
12583 // op: Rs32
12584 return 16;
12585 case 0:
12586 // op: Rd32
12587 return 0;
12588 }
12589 break;
12590 }
12591 case Hexagon::A4_paslhf:
12592 case Hexagon::A4_paslhfnew:
12593 case Hexagon::A4_paslht:
12594 case Hexagon::A4_paslhtnew:
12595 case Hexagon::A4_pasrhf:
12596 case Hexagon::A4_pasrhfnew:
12597 case Hexagon::A4_pasrht:
12598 case Hexagon::A4_pasrhtnew:
12599 case Hexagon::A4_psxtbf:
12600 case Hexagon::A4_psxtbfnew:
12601 case Hexagon::A4_psxtbt:
12602 case Hexagon::A4_psxtbtnew:
12603 case Hexagon::A4_psxthf:
12604 case Hexagon::A4_psxthfnew:
12605 case Hexagon::A4_psxtht:
12606 case Hexagon::A4_psxthtnew:
12607 case Hexagon::A4_pzxtbf:
12608 case Hexagon::A4_pzxtbfnew:
12609 case Hexagon::A4_pzxtbt:
12610 case Hexagon::A4_pzxtbtnew:
12611 case Hexagon::A4_pzxthf:
12612 case Hexagon::A4_pzxthfnew:
12613 case Hexagon::A4_pzxtht:
12614 case Hexagon::A4_pzxthtnew: {
12615 switch (OpNum) {
12616 case 1:
12617 // op: Pu4
12618 return 8;
12619 case 2:
12620 // op: Rs32
12621 return 16;
12622 case 0:
12623 // op: Rd32
12624 return 0;
12625 }
12626 break;
12627 }
12628 case Hexagon::V6_zLd_pred_ppu: {
12629 switch (OpNum) {
12630 case 1:
12631 // op: Pv4
12632 return 11;
12633 case 3:
12634 // op: Mu2
12635 return 13;
12636 case 0:
12637 // op: Rx32
12638 return 16;
12639 }
12640 break;
12641 }
12642 case Hexagon::V6_vS32b_new_npred_ppu:
12643 case Hexagon::V6_vS32b_new_pred_ppu:
12644 case Hexagon::V6_vS32b_nt_new_npred_ppu:
12645 case Hexagon::V6_vS32b_nt_new_pred_ppu: {
12646 switch (OpNum) {
12647 case 1:
12648 // op: Pv4
12649 return 11;
12650 case 3:
12651 // op: Mu2
12652 return 13;
12653 case 4:
12654 // op: Os8
12655 return 0;
12656 case 0:
12657 // op: Rx32
12658 return 16;
12659 }
12660 break;
12661 }
12662 case Hexagon::V6_vS32Ub_npred_ppu:
12663 case Hexagon::V6_vS32Ub_pred_ppu:
12664 case Hexagon::V6_vS32b_npred_ppu:
12665 case Hexagon::V6_vS32b_nt_npred_ppu:
12666 case Hexagon::V6_vS32b_nt_pred_ppu:
12667 case Hexagon::V6_vS32b_pred_ppu: {
12668 switch (OpNum) {
12669 case 1:
12670 // op: Pv4
12671 return 11;
12672 case 3:
12673 // op: Mu2
12674 return 13;
12675 case 4:
12676 // op: Vs32
12677 return 0;
12678 case 0:
12679 // op: Rx32
12680 return 16;
12681 }
12682 break;
12683 }
12684 case Hexagon::L4_return_f:
12685 case Hexagon::L4_return_fnew_pnt:
12686 case Hexagon::L4_return_fnew_pt:
12687 case Hexagon::L4_return_t:
12688 case Hexagon::L4_return_tnew_pnt:
12689 case Hexagon::L4_return_tnew_pt: {
12690 switch (OpNum) {
12691 case 1:
12692 // op: Pv4
12693 return 8;
12694 case 2:
12695 // op: Rs32
12696 return 16;
12697 case 0:
12698 // op: Rdd32
12699 return 0;
12700 }
12701 break;
12702 }
12703 case Hexagon::LX_L16b_p_tmp: {
12704 switch (OpNum) {
12705 case 1:
12706 // op: Pv4
12707 return 9;
12708 case 2:
12709 // op: Rs32
12710 return 16;
12711 case 0:
12712 // op: Ld16
12713 return 0;
12714 }
12715 break;
12716 }
12717 case Hexagon::V6_pred_not: {
12718 switch (OpNum) {
12719 case 1:
12720 // op: Qs4
12721 return 8;
12722 case 0:
12723 // op: Qd4
12724 return 0;
12725 }
12726 break;
12727 }
12728 case Hexagon::V6_pred_and:
12729 case Hexagon::V6_pred_and_n:
12730 case Hexagon::V6_pred_or:
12731 case Hexagon::V6_pred_or_n:
12732 case Hexagon::V6_pred_xor:
12733 case Hexagon::V6_shuffeqh:
12734 case Hexagon::V6_shuffeqw: {
12735 switch (OpNum) {
12736 case 1:
12737 // op: Qs4
12738 return 8;
12739 case 2:
12740 // op: Qt4
12741 return 22;
12742 case 0:
12743 // op: Qd4
12744 return 0;
12745 }
12746 break;
12747 }
12748 case Hexagon::V6_vmux: {
12749 switch (OpNum) {
12750 case 1:
12751 // op: Qt4
12752 return 5;
12753 case 2:
12754 // op: Vu32
12755 return 8;
12756 case 3:
12757 // op: Vv32
12758 return 16;
12759 case 0:
12760 // op: Vd32
12761 return 0;
12762 }
12763 break;
12764 }
12765 case Hexagon::V6_vswap: {
12766 switch (OpNum) {
12767 case 1:
12768 // op: Qt4
12769 return 5;
12770 case 2:
12771 // op: Vu32
12772 return 8;
12773 case 3:
12774 // op: Vv32
12775 return 16;
12776 case 0:
12777 // op: Vdd32
12778 return 0;
12779 }
12780 break;
12781 }
12782 case Hexagon::V6_vandnqrt:
12783 case Hexagon::V6_vandqrt: {
12784 switch (OpNum) {
12785 case 1:
12786 // op: Qu4
12787 return 8;
12788 case 2:
12789 // op: Rt32
12790 return 16;
12791 case 0:
12792 // op: Vd32
12793 return 0;
12794 }
12795 break;
12796 }
12797 case Hexagon::V6_vS32b_nqpred_ppu:
12798 case Hexagon::V6_vS32b_nt_nqpred_ppu:
12799 case Hexagon::V6_vS32b_nt_qpred_ppu:
12800 case Hexagon::V6_vS32b_qpred_ppu: {
12801 switch (OpNum) {
12802 case 1:
12803 // op: Qv4
12804 return 11;
12805 case 3:
12806 // op: Mu2
12807 return 13;
12808 case 4:
12809 // op: Vs32
12810 return 0;
12811 case 0:
12812 // op: Rx32
12813 return 16;
12814 }
12815 break;
12816 }
12817 case Hexagon::V6_vprefixqb:
12818 case Hexagon::V6_vprefixqh:
12819 case Hexagon::V6_vprefixqw: {
12820 switch (OpNum) {
12821 case 1:
12822 // op: Qv4
12823 return 22;
12824 case 0:
12825 // op: Vd32
12826 return 0;
12827 }
12828 break;
12829 }
12830 case Hexagon::V6_vandvnqv:
12831 case Hexagon::V6_vandvqv: {
12832 switch (OpNum) {
12833 case 1:
12834 // op: Qv4
12835 return 22;
12836 case 2:
12837 // op: Vu32
12838 return 8;
12839 case 0:
12840 // op: Vd32
12841 return 0;
12842 }
12843 break;
12844 }
12845 case Hexagon::V6_vaddbnq:
12846 case Hexagon::V6_vaddbq:
12847 case Hexagon::V6_vaddhnq:
12848 case Hexagon::V6_vaddhq:
12849 case Hexagon::V6_vaddwnq:
12850 case Hexagon::V6_vaddwq:
12851 case Hexagon::V6_vsubbnq:
12852 case Hexagon::V6_vsubbq:
12853 case Hexagon::V6_vsubhnq:
12854 case Hexagon::V6_vsubhq:
12855 case Hexagon::V6_vsubwnq:
12856 case Hexagon::V6_vsubwq: {
12857 switch (OpNum) {
12858 case 1:
12859 // op: Qv4
12860 return 22;
12861 case 3:
12862 // op: Vu32
12863 return 8;
12864 case 0:
12865 // op: Vx32
12866 return 0;
12867 }
12868 break;
12869 }
12870 case Hexagon::SA1_and1:
12871 case Hexagon::SA1_dec:
12872 case Hexagon::SA1_inc:
12873 case Hexagon::SA1_sxtb:
12874 case Hexagon::SA1_sxth:
12875 case Hexagon::SA1_tfr:
12876 case Hexagon::SA1_zxtb:
12877 case Hexagon::SA1_zxth: {
12878 switch (OpNum) {
12879 case 1:
12880 // op: Rs16
12881 return 4;
12882 case 0:
12883 // op: Rd16
12884 return 0;
12885 }
12886 break;
12887 }
12888 case Hexagon::SA1_combinerz:
12889 case Hexagon::SA1_combinezr: {
12890 switch (OpNum) {
12891 case 1:
12892 // op: Rs16
12893 return 4;
12894 case 0:
12895 // op: Rdd8
12896 return 0;
12897 }
12898 break;
12899 }
12900 case Hexagon::A2_tfrrcr: {
12901 switch (OpNum) {
12902 case 1:
12903 // op: Rs32
12904 return 16;
12905 case 0:
12906 // op: Cd32
12907 return 0;
12908 }
12909 break;
12910 }
12911 case Hexagon::G4_tfrgrcr: {
12912 switch (OpNum) {
12913 case 1:
12914 // op: Rs32
12915 return 16;
12916 case 0:
12917 // op: Gd32
12918 return 0;
12919 }
12920 break;
12921 }
12922 case Hexagon::LX_L16b_tmp: {
12923 switch (OpNum) {
12924 case 1:
12925 // op: Rs32
12926 return 16;
12927 case 0:
12928 // op: Ld16
12929 return 0;
12930 }
12931 break;
12932 }
12933 case Hexagon::C2_tfrrp:
12934 case Hexagon::Y5_l2locka: {
12935 switch (OpNum) {
12936 case 1:
12937 // op: Rs32
12938 return 16;
12939 case 0:
12940 // op: Pd4
12941 return 0;
12942 }
12943 break;
12944 }
12945 case Hexagon::A2_abs:
12946 case Hexagon::A2_abssat:
12947 case Hexagon::A2_aslh:
12948 case Hexagon::A2_asrh:
12949 case Hexagon::A2_negsat:
12950 case Hexagon::A2_satb:
12951 case Hexagon::A2_sath:
12952 case Hexagon::A2_satub:
12953 case Hexagon::A2_satuh:
12954 case Hexagon::A2_swiz:
12955 case Hexagon::A2_sxtb:
12956 case Hexagon::A2_sxth:
12957 case Hexagon::A2_tfr:
12958 case Hexagon::A2_zxth:
12959 case Hexagon::F2_conv_sf2uw:
12960 case Hexagon::F2_conv_sf2uw_chop:
12961 case Hexagon::F2_conv_sf2w:
12962 case Hexagon::F2_conv_sf2w_chop:
12963 case Hexagon::F2_conv_uw2sf:
12964 case Hexagon::F2_conv_w2sf:
12965 case Hexagon::F2_sffixupr:
12966 case Hexagon::L2_loadw_aq:
12967 case Hexagon::L2_loadw_locked:
12968 case Hexagon::S2_brev:
12969 case Hexagon::S2_cl0:
12970 case Hexagon::S2_cl1:
12971 case Hexagon::S2_clb:
12972 case Hexagon::S2_clbnorm:
12973 case Hexagon::S2_ct0:
12974 case Hexagon::S2_ct1:
12975 case Hexagon::S2_svsathb:
12976 case Hexagon::S2_svsathub:
12977 case Hexagon::S2_vsplatrb:
12978 case Hexagon::Y2_dctagr:
12979 case Hexagon::Y2_getimask:
12980 case Hexagon::Y2_iassignr:
12981 case Hexagon::Y2_icdatar:
12982 case Hexagon::Y2_ictagr:
12983 case Hexagon::Y2_tlbp:
12984 case Hexagon::Y4_l2tagr: {
12985 switch (OpNum) {
12986 case 1:
12987 // op: Rs32
12988 return 16;
12989 case 0:
12990 // op: Rd32
12991 return 0;
12992 }
12993 break;
12994 }
12995 case Hexagon::A2_sxtw:
12996 case Hexagon::F2_conv_sf2d:
12997 case Hexagon::F2_conv_sf2d_chop:
12998 case Hexagon::F2_conv_sf2df:
12999 case Hexagon::F2_conv_sf2ud:
13000 case Hexagon::F2_conv_sf2ud_chop:
13001 case Hexagon::F2_conv_uw2df:
13002 case Hexagon::F2_conv_w2df:
13003 case Hexagon::L2_deallocframe:
13004 case Hexagon::L4_loadd_aq:
13005 case Hexagon::L4_loadd_locked:
13006 case Hexagon::L4_return:
13007 case Hexagon::S2_vsplatrh:
13008 case Hexagon::S2_vsxtbh:
13009 case Hexagon::S2_vsxthw:
13010 case Hexagon::S2_vzxtbh:
13011 case Hexagon::S2_vzxthw:
13012 case Hexagon::S6_vsplatrbp:
13013 case Hexagon::Y2_tlbr: {
13014 switch (OpNum) {
13015 case 1:
13016 // op: Rs32
13017 return 16;
13018 case 0:
13019 // op: Rdd32
13020 return 0;
13021 }
13022 break;
13023 }
13024 case Hexagon::Y2_tfrsrcr: {
13025 switch (OpNum) {
13026 case 1:
13027 // op: Rs32
13028 return 16;
13029 case 0:
13030 // op: Sd128
13031 return 0;
13032 }
13033 break;
13034 }
13035 case Hexagon::A4_cmpbeq:
13036 case Hexagon::A4_cmpbgt:
13037 case Hexagon::A4_cmpbgtu:
13038 case Hexagon::A4_cmpheq:
13039 case Hexagon::A4_cmphgt:
13040 case Hexagon::A4_cmphgtu:
13041 case Hexagon::C2_bitsclr:
13042 case Hexagon::C2_bitsset:
13043 case Hexagon::C2_cmpeq:
13044 case Hexagon::C2_cmpgt:
13045 case Hexagon::C2_cmpgtu:
13046 case Hexagon::C4_cmplte:
13047 case Hexagon::C4_cmplteu:
13048 case Hexagon::C4_cmpneq:
13049 case Hexagon::C4_nbitsclr:
13050 case Hexagon::C4_nbitsset:
13051 case Hexagon::F2_sfcmpeq:
13052 case Hexagon::F2_sfcmpge:
13053 case Hexagon::F2_sfcmpgt:
13054 case Hexagon::F2_sfcmpuo:
13055 case Hexagon::S2_storew_locked:
13056 case Hexagon::S2_tstbit_r:
13057 case Hexagon::S4_ntstbit_r: {
13058 switch (OpNum) {
13059 case 1:
13060 // op: Rs32
13061 return 16;
13062 case 2:
13063 // op: Rt32
13064 return 8;
13065 case 0:
13066 // op: Pd4
13067 return 0;
13068 }
13069 break;
13070 }
13071 case Hexagon::A2_add:
13072 case Hexagon::A2_addsat:
13073 case Hexagon::A2_and:
13074 case Hexagon::A2_max:
13075 case Hexagon::A2_maxu:
13076 case Hexagon::A2_or:
13077 case Hexagon::A2_svaddh:
13078 case Hexagon::A2_svaddhs:
13079 case Hexagon::A2_svadduhs:
13080 case Hexagon::A2_svavgh:
13081 case Hexagon::A2_svavghs:
13082 case Hexagon::A2_xor:
13083 case Hexagon::A4_cround_rr:
13084 case Hexagon::A4_modwrapu:
13085 case Hexagon::A4_rcmpeq:
13086 case Hexagon::A4_rcmpneq:
13087 case Hexagon::A4_round_rr:
13088 case Hexagon::A4_round_rr_sat:
13089 case Hexagon::AM_addw_aq:
13090 case Hexagon::AM_addw_rl:
13091 case Hexagon::AM_andw_aq:
13092 case Hexagon::AM_andw_rl:
13093 case Hexagon::AM_orw_aq:
13094 case Hexagon::AM_orw_rl:
13095 case Hexagon::AM_swapw_aq:
13096 case Hexagon::AM_swapw_rl:
13097 case Hexagon::AM_xorw_aq:
13098 case Hexagon::AM_xorw_rl:
13099 case Hexagon::F2_sfadd:
13100 case Hexagon::F2_sffixupd:
13101 case Hexagon::F2_sffixupn:
13102 case Hexagon::F2_sfmax:
13103 case Hexagon::F2_sfmin:
13104 case Hexagon::F2_sfmpy:
13105 case Hexagon::F2_sfsub:
13106 case Hexagon::L4_loadw_phys:
13107 case Hexagon::M2_cmpyrs_s0:
13108 case Hexagon::M2_cmpyrs_s1:
13109 case Hexagon::M2_cmpyrsc_s0:
13110 case Hexagon::M2_cmpyrsc_s1:
13111 case Hexagon::M2_dpmpyss_rnd_s0:
13112 case Hexagon::M2_hmmpyh_rs1:
13113 case Hexagon::M2_hmmpyh_s1:
13114 case Hexagon::M2_hmmpyl_rs1:
13115 case Hexagon::M2_hmmpyl_s1:
13116 case Hexagon::M2_mpy_hh_s0:
13117 case Hexagon::M2_mpy_hh_s1:
13118 case Hexagon::M2_mpy_hl_s0:
13119 case Hexagon::M2_mpy_hl_s1:
13120 case Hexagon::M2_mpy_lh_s0:
13121 case Hexagon::M2_mpy_lh_s1:
13122 case Hexagon::M2_mpy_ll_s0:
13123 case Hexagon::M2_mpy_ll_s1:
13124 case Hexagon::M2_mpy_rnd_hh_s0:
13125 case Hexagon::M2_mpy_rnd_hh_s1:
13126 case Hexagon::M2_mpy_rnd_hl_s0:
13127 case Hexagon::M2_mpy_rnd_hl_s1:
13128 case Hexagon::M2_mpy_rnd_lh_s0:
13129 case Hexagon::M2_mpy_rnd_lh_s1:
13130 case Hexagon::M2_mpy_rnd_ll_s0:
13131 case Hexagon::M2_mpy_rnd_ll_s1:
13132 case Hexagon::M2_mpy_sat_hh_s0:
13133 case Hexagon::M2_mpy_sat_hh_s1:
13134 case Hexagon::M2_mpy_sat_hl_s0:
13135 case Hexagon::M2_mpy_sat_hl_s1:
13136 case Hexagon::M2_mpy_sat_lh_s0:
13137 case Hexagon::M2_mpy_sat_lh_s1:
13138 case Hexagon::M2_mpy_sat_ll_s0:
13139 case Hexagon::M2_mpy_sat_ll_s1:
13140 case Hexagon::M2_mpy_sat_rnd_hh_s0:
13141 case Hexagon::M2_mpy_sat_rnd_hh_s1:
13142 case Hexagon::M2_mpy_sat_rnd_hl_s0:
13143 case Hexagon::M2_mpy_sat_rnd_hl_s1:
13144 case Hexagon::M2_mpy_sat_rnd_lh_s0:
13145 case Hexagon::M2_mpy_sat_rnd_lh_s1:
13146 case Hexagon::M2_mpy_sat_rnd_ll_s0:
13147 case Hexagon::M2_mpy_sat_rnd_ll_s1:
13148 case Hexagon::M2_mpy_up:
13149 case Hexagon::M2_mpy_up_s1:
13150 case Hexagon::M2_mpy_up_s1_sat:
13151 case Hexagon::M2_mpyi:
13152 case Hexagon::M2_mpysu_up:
13153 case Hexagon::M2_mpyu_hh_s0:
13154 case Hexagon::M2_mpyu_hh_s1:
13155 case Hexagon::M2_mpyu_hl_s0:
13156 case Hexagon::M2_mpyu_hl_s1:
13157 case Hexagon::M2_mpyu_lh_s0:
13158 case Hexagon::M2_mpyu_lh_s1:
13159 case Hexagon::M2_mpyu_ll_s0:
13160 case Hexagon::M2_mpyu_ll_s1:
13161 case Hexagon::M2_mpyu_up:
13162 case Hexagon::M2_vmpy2s_s0pack:
13163 case Hexagon::M2_vmpy2s_s1pack:
13164 case Hexagon::S2_asl_r_r:
13165 case Hexagon::S2_asl_r_r_sat:
13166 case Hexagon::S2_asr_r_r:
13167 case Hexagon::S2_asr_r_r_sat:
13168 case Hexagon::S2_clrbit_r:
13169 case Hexagon::S2_lsl_r_r:
13170 case Hexagon::S2_lsr_r_r:
13171 case Hexagon::S2_setbit_r:
13172 case Hexagon::S2_togglebit_r:
13173 case Hexagon::S4_parity:
13174 case Hexagon::dep_A2_addsat: {
13175 switch (OpNum) {
13176 case 1:
13177 // op: Rs32
13178 return 16;
13179 case 2:
13180 // op: Rt32
13181 return 8;
13182 case 0:
13183 // op: Rd32
13184 return 0;
13185 }
13186 break;
13187 }
13188 case Hexagon::A2_combinew:
13189 case Hexagon::A4_bitsplit:
13190 case Hexagon::M2_cmpyi_s0:
13191 case Hexagon::M2_cmpyr_s0:
13192 case Hexagon::M2_cmpys_s0:
13193 case Hexagon::M2_cmpys_s1:
13194 case Hexagon::M2_cmpysc_s0:
13195 case Hexagon::M2_cmpysc_s1:
13196 case Hexagon::M2_dpmpyss_s0:
13197 case Hexagon::M2_dpmpyuu_s0:
13198 case Hexagon::M2_mpyd_hh_s0:
13199 case Hexagon::M2_mpyd_hh_s1:
13200 case Hexagon::M2_mpyd_hl_s0:
13201 case Hexagon::M2_mpyd_hl_s1:
13202 case Hexagon::M2_mpyd_lh_s0:
13203 case Hexagon::M2_mpyd_lh_s1:
13204 case Hexagon::M2_mpyd_ll_s0:
13205 case Hexagon::M2_mpyd_ll_s1:
13206 case Hexagon::M2_mpyd_rnd_hh_s0:
13207 case Hexagon::M2_mpyd_rnd_hh_s1:
13208 case Hexagon::M2_mpyd_rnd_hl_s0:
13209 case Hexagon::M2_mpyd_rnd_hl_s1:
13210 case Hexagon::M2_mpyd_rnd_lh_s0:
13211 case Hexagon::M2_mpyd_rnd_lh_s1:
13212 case Hexagon::M2_mpyd_rnd_ll_s0:
13213 case Hexagon::M2_mpyd_rnd_ll_s1:
13214 case Hexagon::M2_mpyud_hh_s0:
13215 case Hexagon::M2_mpyud_hh_s1:
13216 case Hexagon::M2_mpyud_hl_s0:
13217 case Hexagon::M2_mpyud_hl_s1:
13218 case Hexagon::M2_mpyud_lh_s0:
13219 case Hexagon::M2_mpyud_lh_s1:
13220 case Hexagon::M2_mpyud_ll_s0:
13221 case Hexagon::M2_mpyud_ll_s1:
13222 case Hexagon::M2_vmpy2s_s0:
13223 case Hexagon::M2_vmpy2s_s1:
13224 case Hexagon::M2_vmpy2su_s0:
13225 case Hexagon::M2_vmpy2su_s1:
13226 case Hexagon::M4_pmpyw:
13227 case Hexagon::M4_vpmpyh:
13228 case Hexagon::M5_vmpybsu:
13229 case Hexagon::M5_vmpybuu:
13230 case Hexagon::S2_packhl:
13231 case Hexagon::dep_S2_packhl: {
13232 switch (OpNum) {
13233 case 1:
13234 // op: Rs32
13235 return 16;
13236 case 2:
13237 // op: Rt32
13238 return 8;
13239 case 0:
13240 // op: Rdd32
13241 return 0;
13242 }
13243 break;
13244 }
13245 case Hexagon::S4_stored_locked: {
13246 switch (OpNum) {
13247 case 1:
13248 // op: Rs32
13249 return 16;
13250 case 2:
13251 // op: Rtt32
13252 return 8;
13253 case 0:
13254 // op: Pd4
13255 return 0;
13256 }
13257 break;
13258 }
13259 case Hexagon::S2_extractu_rp:
13260 case Hexagon::S4_extract_rp: {
13261 switch (OpNum) {
13262 case 1:
13263 // op: Rs32
13264 return 16;
13265 case 2:
13266 // op: Rtt32
13267 return 8;
13268 case 0:
13269 // op: Rd32
13270 return 0;
13271 }
13272 break;
13273 }
13274 case Hexagon::AM_swapd_aq:
13275 case Hexagon::AM_swapd_rl: {
13276 switch (OpNum) {
13277 case 1:
13278 // op: Rs32
13279 return 16;
13280 case 2:
13281 // op: Rtt32
13282 return 8;
13283 case 0:
13284 // op: Rdd32
13285 return 0;
13286 }
13287 break;
13288 }
13289 case Hexagon::A4_tfrpcp: {
13290 switch (OpNum) {
13291 case 1:
13292 // op: Rss32
13293 return 16;
13294 case 0:
13295 // op: Cdd32
13296 return 0;
13297 }
13298 break;
13299 }
13300 case Hexagon::G4_tfrgpcp: {
13301 switch (OpNum) {
13302 case 1:
13303 // op: Rss32
13304 return 16;
13305 case 0:
13306 // op: Gdd32
13307 return 0;
13308 }
13309 break;
13310 }
13311 case Hexagon::A2_roundsat:
13312 case Hexagon::A2_sat:
13313 case Hexagon::F2_conv_d2sf:
13314 case Hexagon::F2_conv_df2sf:
13315 case Hexagon::F2_conv_df2uw:
13316 case Hexagon::F2_conv_df2uw_chop:
13317 case Hexagon::F2_conv_df2w:
13318 case Hexagon::F2_conv_df2w_chop:
13319 case Hexagon::F2_conv_ud2sf:
13320 case Hexagon::S2_cl0p:
13321 case Hexagon::S2_cl1p:
13322 case Hexagon::S2_clbp:
13323 case Hexagon::S2_ct0p:
13324 case Hexagon::S2_ct1p:
13325 case Hexagon::S2_vrndpackwh:
13326 case Hexagon::S2_vrndpackwhs:
13327 case Hexagon::S2_vsathb:
13328 case Hexagon::S2_vsathub:
13329 case Hexagon::S2_vsatwh:
13330 case Hexagon::S2_vsatwuh:
13331 case Hexagon::S2_vtrunehb:
13332 case Hexagon::S2_vtrunohb:
13333 case Hexagon::S4_clbpnorm:
13334 case Hexagon::S5_popcountp:
13335 case Hexagon::Y2_tlbpp:
13336 case Hexagon::Y5_tlboc: {
13337 switch (OpNum) {
13338 case 1:
13339 // op: Rss32
13340 return 16;
13341 case 0:
13342 // op: Rd32
13343 return 0;
13344 }
13345 break;
13346 }
13347 case Hexagon::A2_absp:
13348 case Hexagon::A2_negp:
13349 case Hexagon::A2_notp:
13350 case Hexagon::A2_vabsh:
13351 case Hexagon::A2_vabshsat:
13352 case Hexagon::A2_vabsw:
13353 case Hexagon::A2_vabswsat:
13354 case Hexagon::A2_vconj:
13355 case Hexagon::F2_conv_d2df:
13356 case Hexagon::F2_conv_df2d:
13357 case Hexagon::F2_conv_df2d_chop:
13358 case Hexagon::F2_conv_df2ud:
13359 case Hexagon::F2_conv_df2ud_chop:
13360 case Hexagon::F2_conv_ud2df:
13361 case Hexagon::S2_brevp:
13362 case Hexagon::S2_deinterleave:
13363 case Hexagon::S2_interleave:
13364 case Hexagon::S2_vsathb_nopack:
13365 case Hexagon::S2_vsathub_nopack:
13366 case Hexagon::S2_vsatwh_nopack:
13367 case Hexagon::S2_vsatwuh_nopack: {
13368 switch (OpNum) {
13369 case 1:
13370 // op: Rss32
13371 return 16;
13372 case 0:
13373 // op: Rdd32
13374 return 0;
13375 }
13376 break;
13377 }
13378 case Hexagon::Y4_tfrspcp: {
13379 switch (OpNum) {
13380 case 1:
13381 // op: Rss32
13382 return 16;
13383 case 0:
13384 // op: Sdd128
13385 return 0;
13386 }
13387 break;
13388 }
13389 case Hexagon::A4_tlbmatch: {
13390 switch (OpNum) {
13391 case 1:
13392 // op: Rss32
13393 return 16;
13394 case 2:
13395 // op: Rt32
13396 return 8;
13397 case 0:
13398 // op: Pd4
13399 return 0;
13400 }
13401 break;
13402 }
13403 case Hexagon::M4_cmpyi_wh:
13404 case Hexagon::M4_cmpyi_whc:
13405 case Hexagon::M4_cmpyr_wh:
13406 case Hexagon::M4_cmpyr_whc:
13407 case Hexagon::S2_asr_r_svw_trun:
13408 case Hexagon::Y5_ctlbw: {
13409 switch (OpNum) {
13410 case 1:
13411 // op: Rss32
13412 return 16;
13413 case 2:
13414 // op: Rt32
13415 return 8;
13416 case 0:
13417 // op: Rd32
13418 return 0;
13419 }
13420 break;
13421 }
13422 case Hexagon::A7_croundd_rr:
13423 case Hexagon::S2_asl_r_p:
13424 case Hexagon::S2_asl_r_vh:
13425 case Hexagon::S2_asl_r_vw:
13426 case Hexagon::S2_asr_r_p:
13427 case Hexagon::S2_asr_r_vh:
13428 case Hexagon::S2_asr_r_vw:
13429 case Hexagon::S2_lsl_r_p:
13430 case Hexagon::S2_lsl_r_vh:
13431 case Hexagon::S2_lsl_r_vw:
13432 case Hexagon::S2_lsr_r_p:
13433 case Hexagon::S2_lsr_r_vh:
13434 case Hexagon::S2_lsr_r_vw:
13435 case Hexagon::S2_vcnegh:
13436 case Hexagon::S2_vcrotate: {
13437 switch (OpNum) {
13438 case 1:
13439 // op: Rss32
13440 return 16;
13441 case 2:
13442 // op: Rt32
13443 return 8;
13444 case 0:
13445 // op: Rdd32
13446 return 0;
13447 }
13448 break;
13449 }
13450 case Hexagon::A2_vcmpbeq:
13451 case Hexagon::A2_vcmpbgtu:
13452 case Hexagon::A2_vcmpheq:
13453 case Hexagon::A2_vcmphgt:
13454 case Hexagon::A2_vcmphgtu:
13455 case Hexagon::A2_vcmpweq:
13456 case Hexagon::A2_vcmpwgt:
13457 case Hexagon::A2_vcmpwgtu:
13458 case Hexagon::A4_boundscheck_hi:
13459 case Hexagon::A4_boundscheck_lo:
13460 case Hexagon::A4_vcmpbeq_any:
13461 case Hexagon::A4_vcmpbgt:
13462 case Hexagon::A6_vcmpbeq_notany:
13463 case Hexagon::C2_cmpeqp:
13464 case Hexagon::C2_cmpgtp:
13465 case Hexagon::C2_cmpgtup:
13466 case Hexagon::F2_dfcmpeq:
13467 case Hexagon::F2_dfcmpge:
13468 case Hexagon::F2_dfcmpgt:
13469 case Hexagon::F2_dfcmpuo: {
13470 switch (OpNum) {
13471 case 1:
13472 // op: Rss32
13473 return 16;
13474 case 2:
13475 // op: Rtt32
13476 return 8;
13477 case 0:
13478 // op: Pd4
13479 return 0;
13480 }
13481 break;
13482 }
13483 case Hexagon::A5_vaddhubs:
13484 case Hexagon::M2_vdmpyrs_s0:
13485 case Hexagon::M2_vdmpyrs_s1:
13486 case Hexagon::M2_vraddh:
13487 case Hexagon::M2_vradduh:
13488 case Hexagon::M2_vrcmpys_s1rp_h:
13489 case Hexagon::M2_vrcmpys_s1rp_l:
13490 case Hexagon::M7_wcmpyiw:
13491 case Hexagon::M7_wcmpyiw_rnd:
13492 case Hexagon::M7_wcmpyiwc:
13493 case Hexagon::M7_wcmpyiwc_rnd:
13494 case Hexagon::M7_wcmpyrw:
13495 case Hexagon::M7_wcmpyrw_rnd:
13496 case Hexagon::M7_wcmpyrwc:
13497 case Hexagon::M7_wcmpyrwc_rnd:
13498 case Hexagon::S2_parityp: {
13499 switch (OpNum) {
13500 case 1:
13501 // op: Rss32
13502 return 16;
13503 case 2:
13504 // op: Rtt32
13505 return 8;
13506 case 0:
13507 // op: Rd32
13508 return 0;
13509 }
13510 break;
13511 }
13512 case Hexagon::A2_addp:
13513 case Hexagon::A2_addpsat:
13514 case Hexagon::A2_addsph:
13515 case Hexagon::A2_addspl:
13516 case Hexagon::A2_andp:
13517 case Hexagon::A2_maxp:
13518 case Hexagon::A2_maxup:
13519 case Hexagon::A2_orp:
13520 case Hexagon::A2_vaddh:
13521 case Hexagon::A2_vaddhs:
13522 case Hexagon::A2_vaddub:
13523 case Hexagon::A2_vaddubs:
13524 case Hexagon::A2_vadduhs:
13525 case Hexagon::A2_vaddw:
13526 case Hexagon::A2_vaddws:
13527 case Hexagon::A2_vavgh:
13528 case Hexagon::A2_vavghcr:
13529 case Hexagon::A2_vavghr:
13530 case Hexagon::A2_vavgub:
13531 case Hexagon::A2_vavgubr:
13532 case Hexagon::A2_vavguh:
13533 case Hexagon::A2_vavguhr:
13534 case Hexagon::A2_vavguw:
13535 case Hexagon::A2_vavguwr:
13536 case Hexagon::A2_vavgw:
13537 case Hexagon::A2_vavgwcr:
13538 case Hexagon::A2_vavgwr:
13539 case Hexagon::A2_vraddub:
13540 case Hexagon::A2_vrsadub:
13541 case Hexagon::A2_xorp:
13542 case Hexagon::F2_dfadd:
13543 case Hexagon::F2_dfmax:
13544 case Hexagon::F2_dfmin:
13545 case Hexagon::F2_dfmpyfix:
13546 case Hexagon::F2_dfmpyll:
13547 case Hexagon::F2_dfsub:
13548 case Hexagon::F7_vsfadd:
13549 case Hexagon::F7_vsfmpy:
13550 case Hexagon::F7_vsfsub:
13551 case Hexagon::M2_mmpyh_rs0:
13552 case Hexagon::M2_mmpyh_rs1:
13553 case Hexagon::M2_mmpyh_s0:
13554 case Hexagon::M2_mmpyh_s1:
13555 case Hexagon::M2_mmpyl_rs0:
13556 case Hexagon::M2_mmpyl_rs1:
13557 case Hexagon::M2_mmpyl_s0:
13558 case Hexagon::M2_mmpyl_s1:
13559 case Hexagon::M2_mmpyuh_rs0:
13560 case Hexagon::M2_mmpyuh_rs1:
13561 case Hexagon::M2_mmpyuh_s0:
13562 case Hexagon::M2_mmpyuh_s1:
13563 case Hexagon::M2_mmpyul_rs0:
13564 case Hexagon::M2_mmpyul_rs1:
13565 case Hexagon::M2_mmpyul_s0:
13566 case Hexagon::M2_mmpyul_s1:
13567 case Hexagon::M2_vcmpy_s0_sat_i:
13568 case Hexagon::M2_vcmpy_s0_sat_r:
13569 case Hexagon::M2_vcmpy_s1_sat_i:
13570 case Hexagon::M2_vcmpy_s1_sat_r:
13571 case Hexagon::M2_vdmpys_s0:
13572 case Hexagon::M2_vdmpys_s1:
13573 case Hexagon::M2_vmpy2es_s0:
13574 case Hexagon::M2_vmpy2es_s1:
13575 case Hexagon::M2_vrcmpyi_s0:
13576 case Hexagon::M2_vrcmpyi_s0c:
13577 case Hexagon::M2_vrcmpyr_s0:
13578 case Hexagon::M2_vrcmpyr_s0c:
13579 case Hexagon::M2_vrcmpys_s1_h:
13580 case Hexagon::M2_vrcmpys_s1_l:
13581 case Hexagon::M2_vrmpy_s0:
13582 case Hexagon::M4_vrmpyeh_s0:
13583 case Hexagon::M4_vrmpyeh_s1:
13584 case Hexagon::M4_vrmpyoh_s0:
13585 case Hexagon::M4_vrmpyoh_s1:
13586 case Hexagon::M5_vdmpybsu:
13587 case Hexagon::M5_vrmpybsu:
13588 case Hexagon::M5_vrmpybuu:
13589 case Hexagon::M7_dcmpyiw:
13590 case Hexagon::M7_dcmpyiwc:
13591 case Hexagon::M7_dcmpyrw:
13592 case Hexagon::M7_dcmpyrwc:
13593 case Hexagon::S2_cabacdecbin:
13594 case Hexagon::S2_extractup_rp:
13595 case Hexagon::S2_lfsp:
13596 case Hexagon::S2_shuffeb:
13597 case Hexagon::S2_shuffeh:
13598 case Hexagon::S2_vtrunewh:
13599 case Hexagon::S2_vtrunowh:
13600 case Hexagon::S4_extractp_rp:
13601 case Hexagon::S4_vxaddsubh:
13602 case Hexagon::S4_vxaddsubhr:
13603 case Hexagon::S4_vxaddsubw:
13604 case Hexagon::S4_vxsubaddh:
13605 case Hexagon::S4_vxsubaddhr:
13606 case Hexagon::S4_vxsubaddw:
13607 case Hexagon::S6_vtrunehb_ppp:
13608 case Hexagon::S6_vtrunohb_ppp: {
13609 switch (OpNum) {
13610 case 1:
13611 // op: Rss32
13612 return 16;
13613 case 2:
13614 // op: Rtt32
13615 return 8;
13616 case 0:
13617 // op: Rdd32
13618 return 0;
13619 }
13620 break;
13621 }
13622 case Hexagon::S2_vsplicerb: {
13623 switch (OpNum) {
13624 case 1:
13625 // op: Rss32
13626 return 16;
13627 case 2:
13628 // op: Rtt32
13629 return 8;
13630 case 3:
13631 // op: Pu4
13632 return 5;
13633 case 0:
13634 // op: Rdd32
13635 return 0;
13636 }
13637 break;
13638 }
13639 case Hexagon::LX_assign_r: {
13640 switch (OpNum) {
13641 case 1:
13642 // op: Rt32
13643 return 16;
13644 case 0:
13645 // op: Ld16
13646 return 1;
13647 }
13648 break;
13649 }
13650 case Hexagon::LX_assign_rw: {
13651 switch (OpNum) {
13652 case 1:
13653 // op: Rt32
13654 return 16;
13655 case 0:
13656 // op: Ldd16
13657 return 1;
13658 }
13659 break;
13660 }
13661 case Hexagon::V6_pred_scalar2:
13662 case Hexagon::V6_pred_scalar2v2: {
13663 switch (OpNum) {
13664 case 1:
13665 // op: Rt32
13666 return 16;
13667 case 0:
13668 // op: Qd4
13669 return 0;
13670 }
13671 break;
13672 }
13673 case Hexagon::V6_lvsplatb:
13674 case Hexagon::V6_lvsplath:
13675 case Hexagon::V6_lvsplatw:
13676 case Hexagon::V6_zextract: {
13677 switch (OpNum) {
13678 case 1:
13679 // op: Rt32
13680 return 16;
13681 case 0:
13682 // op: Vd32
13683 return 0;
13684 }
13685 break;
13686 }
13687 case Hexagon::A2_addh_h16_hh:
13688 case Hexagon::A2_addh_h16_hl:
13689 case Hexagon::A2_addh_h16_lh:
13690 case Hexagon::A2_addh_h16_ll:
13691 case Hexagon::A2_addh_h16_sat_hh:
13692 case Hexagon::A2_addh_h16_sat_hl:
13693 case Hexagon::A2_addh_h16_sat_lh:
13694 case Hexagon::A2_addh_h16_sat_ll:
13695 case Hexagon::A2_addh_l16_hl:
13696 case Hexagon::A2_addh_l16_ll:
13697 case Hexagon::A2_addh_l16_sat_hl:
13698 case Hexagon::A2_addh_l16_sat_ll:
13699 case Hexagon::A2_combine_hh:
13700 case Hexagon::A2_combine_hl:
13701 case Hexagon::A2_combine_lh:
13702 case Hexagon::A2_combine_ll:
13703 case Hexagon::A2_min:
13704 case Hexagon::A2_minu:
13705 case Hexagon::A2_sub:
13706 case Hexagon::A2_subh_h16_hh:
13707 case Hexagon::A2_subh_h16_hl:
13708 case Hexagon::A2_subh_h16_lh:
13709 case Hexagon::A2_subh_h16_ll:
13710 case Hexagon::A2_subh_h16_sat_hh:
13711 case Hexagon::A2_subh_h16_sat_hl:
13712 case Hexagon::A2_subh_h16_sat_lh:
13713 case Hexagon::A2_subh_h16_sat_ll:
13714 case Hexagon::A2_subh_l16_hl:
13715 case Hexagon::A2_subh_l16_ll:
13716 case Hexagon::A2_subh_l16_sat_hl:
13717 case Hexagon::A2_subh_l16_sat_ll:
13718 case Hexagon::A2_subsat:
13719 case Hexagon::A2_svnavgh:
13720 case Hexagon::A2_svsubh:
13721 case Hexagon::A2_svsubhs:
13722 case Hexagon::A2_svsubuhs:
13723 case Hexagon::A4_andn:
13724 case Hexagon::A4_orn:
13725 case Hexagon::dep_A2_subsat: {
13726 switch (OpNum) {
13727 case 1:
13728 // op: Rt32
13729 return 8;
13730 case 2:
13731 // op: Rs32
13732 return 16;
13733 case 0:
13734 // op: Rd32
13735 return 0;
13736 }
13737 break;
13738 }
13739 case Hexagon::A2_minp:
13740 case Hexagon::A2_minup:
13741 case Hexagon::A2_subp:
13742 case Hexagon::A2_vmaxb:
13743 case Hexagon::A2_vmaxh:
13744 case Hexagon::A2_vmaxub:
13745 case Hexagon::A2_vmaxuh:
13746 case Hexagon::A2_vmaxuw:
13747 case Hexagon::A2_vmaxw:
13748 case Hexagon::A2_vminb:
13749 case Hexagon::A2_vminh:
13750 case Hexagon::A2_vminub:
13751 case Hexagon::A2_vminuh:
13752 case Hexagon::A2_vminuw:
13753 case Hexagon::A2_vminw:
13754 case Hexagon::A2_vnavgh:
13755 case Hexagon::A2_vnavghcr:
13756 case Hexagon::A2_vnavghr:
13757 case Hexagon::A2_vnavgw:
13758 case Hexagon::A2_vnavgwcr:
13759 case Hexagon::A2_vnavgwr:
13760 case Hexagon::A2_vsubh:
13761 case Hexagon::A2_vsubhs:
13762 case Hexagon::A2_vsubub:
13763 case Hexagon::A2_vsububs:
13764 case Hexagon::A2_vsubuhs:
13765 case Hexagon::A2_vsubw:
13766 case Hexagon::A2_vsubws:
13767 case Hexagon::A4_andnp:
13768 case Hexagon::A4_ornp:
13769 case Hexagon::M2_vabsdiffh:
13770 case Hexagon::M2_vabsdiffw:
13771 case Hexagon::M6_vabsdiffb:
13772 case Hexagon::M6_vabsdiffub:
13773 case Hexagon::S2_shuffob:
13774 case Hexagon::S2_shuffoh: {
13775 switch (OpNum) {
13776 case 1:
13777 // op: Rtt32
13778 return 8;
13779 case 2:
13780 // op: Rss32
13781 return 16;
13782 case 0:
13783 // op: Rdd32
13784 return 0;
13785 }
13786 break;
13787 }
13788 case Hexagon::S2_valignrb: {
13789 switch (OpNum) {
13790 case 1:
13791 // op: Rtt32
13792 return 8;
13793 case 2:
13794 // op: Rss32
13795 return 16;
13796 case 3:
13797 // op: Pu4
13798 return 5;
13799 case 0:
13800 // op: Rdd32
13801 return 0;
13802 }
13803 break;
13804 }
13805 case Hexagon::M4_mpyrr_addr: {
13806 switch (OpNum) {
13807 case 1:
13808 // op: Ru32
13809 return 0;
13810 case 3:
13811 // op: Rs32
13812 return 16;
13813 case 0:
13814 // op: Ry32
13815 return 8;
13816 }
13817 break;
13818 }
13819 case Hexagon::Y2_tfrscrr: {
13820 switch (OpNum) {
13821 case 1:
13822 // op: Ss128
13823 return 16;
13824 case 0:
13825 // op: Rd32
13826 return 0;
13827 }
13828 break;
13829 }
13830 case Hexagon::Y4_tfrscpp: {
13831 switch (OpNum) {
13832 case 1:
13833 // op: Sss128
13834 return 16;
13835 case 0:
13836 // op: Rdd32
13837 return 0;
13838 }
13839 break;
13840 }
13841 case Hexagon::V6_vabs_f8:
13842 case Hexagon::V6_vabs_hf:
13843 case Hexagon::V6_vabs_qf16_hf:
13844 case Hexagon::V6_vabs_qf16_qf16:
13845 case Hexagon::V6_vabs_qf32_qf32:
13846 case Hexagon::V6_vabs_qf32_sf:
13847 case Hexagon::V6_vabs_sf:
13848 case Hexagon::V6_vabsb:
13849 case Hexagon::V6_vabsb_sat:
13850 case Hexagon::V6_vabsh:
13851 case Hexagon::V6_vabsh_sat:
13852 case Hexagon::V6_vabsw:
13853 case Hexagon::V6_vabsw_sat:
13854 case Hexagon::V6_vassign:
13855 case Hexagon::V6_vassign_fp:
13856 case Hexagon::V6_vassign_tmp:
13857 case Hexagon::V6_vcl0h:
13858 case Hexagon::V6_vcl0w:
13859 case Hexagon::V6_vconv_f8_qf16:
13860 case Hexagon::V6_vconv_h_hf:
13861 case Hexagon::V6_vconv_h_hf_rnd:
13862 case Hexagon::V6_vconv_hf_h:
13863 case Hexagon::V6_vconv_hf_qf16:
13864 case Hexagon::V6_vconv_qf16_hf:
13865 case Hexagon::V6_vconv_qf16_qf16:
13866 case Hexagon::V6_vconv_qf32_qf32:
13867 case Hexagon::V6_vconv_qf32_sf:
13868 case Hexagon::V6_vconv_sf_qf32:
13869 case Hexagon::V6_vconv_sf_w:
13870 case Hexagon::V6_vconv_w_sf:
13871 case Hexagon::V6_vcvt_h_hf:
13872 case Hexagon::V6_vcvt_hf_h:
13873 case Hexagon::V6_vcvt_hf_uh:
13874 case Hexagon::V6_vcvt_uh_hf:
13875 case Hexagon::V6_vdealb:
13876 case Hexagon::V6_vdealh:
13877 case Hexagon::V6_vfneg_f8:
13878 case Hexagon::V6_vfneg_hf:
13879 case Hexagon::V6_vfneg_sf:
13880 case Hexagon::V6_vilog2_hf:
13881 case Hexagon::V6_vilog2_qf16:
13882 case Hexagon::V6_vilog2_qf32:
13883 case Hexagon::V6_vilog2_sf:
13884 case Hexagon::V6_vneg_qf16_hf:
13885 case Hexagon::V6_vneg_qf16_qf16:
13886 case Hexagon::V6_vneg_qf32_qf32:
13887 case Hexagon::V6_vneg_qf32_sf:
13888 case Hexagon::V6_vnormamth:
13889 case Hexagon::V6_vnormamtw:
13890 case Hexagon::V6_vnot:
13891 case Hexagon::V6_vpopcounth:
13892 case Hexagon::V6_vshuffb:
13893 case Hexagon::V6_vshuffh: {
13894 switch (OpNum) {
13895 case 1:
13896 // op: Vu32
13897 return 8;
13898 case 0:
13899 // op: Vd32
13900 return 0;
13901 }
13902 break;
13903 }
13904 case Hexagon::V6_vconv_qf16_f8:
13905 case Hexagon::V6_vcvt2_hf_b:
13906 case Hexagon::V6_vcvt2_hf_ub:
13907 case Hexagon::V6_vcvt_hf_b:
13908 case Hexagon::V6_vcvt_hf_f8:
13909 case Hexagon::V6_vcvt_hf_ub:
13910 case Hexagon::V6_vcvt_sf_hf:
13911 case Hexagon::V6_vsb:
13912 case Hexagon::V6_vsh:
13913 case Hexagon::V6_vunpackb:
13914 case Hexagon::V6_vunpackh:
13915 case Hexagon::V6_vunpackub:
13916 case Hexagon::V6_vunpackuh:
13917 case Hexagon::V6_vzb:
13918 case Hexagon::V6_vzh: {
13919 switch (OpNum) {
13920 case 1:
13921 // op: Vu32
13922 return 8;
13923 case 0:
13924 // op: Vdd32
13925 return 0;
13926 }
13927 break;
13928 }
13929 case Hexagon::V6_extractw: {
13930 switch (OpNum) {
13931 case 1:
13932 // op: Vu32
13933 return 8;
13934 case 2:
13935 // op: Rs32
13936 return 16;
13937 case 0:
13938 // op: Rd32
13939 return 0;
13940 }
13941 break;
13942 }
13943 case Hexagon::V6_vandvrt: {
13944 switch (OpNum) {
13945 case 1:
13946 // op: Vu32
13947 return 8;
13948 case 2:
13949 // op: Rt32
13950 return 16;
13951 case 0:
13952 // op: Qd4
13953 return 0;
13954 }
13955 break;
13956 }
13957 case Hexagon::V6_get_qfext:
13958 case Hexagon::V6_set_qfext:
13959 case Hexagon::V6_vaslh:
13960 case Hexagon::V6_vaslw:
13961 case Hexagon::V6_vasrh:
13962 case Hexagon::V6_vasrw:
13963 case Hexagon::V6_vdmpybus:
13964 case Hexagon::V6_vdmpyhb:
13965 case Hexagon::V6_vdmpyhsat:
13966 case Hexagon::V6_vdmpyhsusat:
13967 case Hexagon::V6_vlsrb:
13968 case Hexagon::V6_vlsrh:
13969 case Hexagon::V6_vlsrw:
13970 case Hexagon::V6_vmpy_rt_hf:
13971 case Hexagon::V6_vmpy_rt_qf16:
13972 case Hexagon::V6_vmpy_rt_sf:
13973 case Hexagon::V6_vmpyhsrs:
13974 case Hexagon::V6_vmpyhss:
13975 case Hexagon::V6_vmpyihb:
13976 case Hexagon::V6_vmpyiwb:
13977 case Hexagon::V6_vmpyiwh:
13978 case Hexagon::V6_vmpyiwub:
13979 case Hexagon::V6_vmpyrhuh:
13980 case Hexagon::V6_vmpyrhuh_rnd:
13981 case Hexagon::V6_vmpyruhuh:
13982 case Hexagon::V6_vmpyruhuh_rnd:
13983 case Hexagon::V6_vmpyuhe:
13984 case Hexagon::V6_vrmpybus:
13985 case Hexagon::V6_vrmpyub:
13986 case Hexagon::V6_vror: {
13987 switch (OpNum) {
13988 case 1:
13989 // op: Vu32
13990 return 8;
13991 case 2:
13992 // op: Rt32
13993 return 16;
13994 case 0:
13995 // op: Vd32
13996 return 0;
13997 }
13998 break;
13999 }
14000 case Hexagon::V6_vmpybus:
14001 case Hexagon::V6_vmpyh:
14002 case Hexagon::V6_vmpyrhus:
14003 case Hexagon::V6_vmpyub:
14004 case Hexagon::V6_vmpyuh: {
14005 switch (OpNum) {
14006 case 1:
14007 // op: Vu32
14008 return 8;
14009 case 2:
14010 // op: Rt32
14011 return 16;
14012 case 0:
14013 // op: Vdd32
14014 return 0;
14015 }
14016 break;
14017 }
14018 case Hexagon::V6_vrmpyzbb_rt:
14019 case Hexagon::V6_vrmpyzbub_rt:
14020 case Hexagon::V6_vrmpyzcb_rt:
14021 case Hexagon::V6_vrmpyzcbs_rt:
14022 case Hexagon::V6_vrmpyznb_rt: {
14023 switch (OpNum) {
14024 case 1:
14025 // op: Vu32
14026 return 8;
14027 case 2:
14028 // op: Rt8
14029 return 16;
14030 case 0:
14031 // op: Vdddd32
14032 return 0;
14033 }
14034 break;
14035 }
14036 case Hexagon::V6_vlut4: {
14037 switch (OpNum) {
14038 case 1:
14039 // op: Vu32
14040 return 8;
14041 case 2:
14042 // op: Rtt32
14043 return 16;
14044 case 0:
14045 // op: Vd32
14046 return 0;
14047 }
14048 break;
14049 }
14050 case Hexagon::V6_vrmpybub_rtt:
14051 case Hexagon::V6_vrmpyub_rtt: {
14052 switch (OpNum) {
14053 case 1:
14054 // op: Vu32
14055 return 8;
14056 case 2:
14057 // op: Rtt32
14058 return 16;
14059 case 0:
14060 // op: Vdd32
14061 return 0;
14062 }
14063 break;
14064 }
14065 case Hexagon::V6_veqb:
14066 case Hexagon::V6_veqh:
14067 case Hexagon::V6_veqhf:
14068 case Hexagon::V6_veqsf:
14069 case Hexagon::V6_veqw:
14070 case Hexagon::V6_vgtb:
14071 case Hexagon::V6_vgtbf:
14072 case Hexagon::V6_vgth:
14073 case Hexagon::V6_vgthf:
14074 case Hexagon::V6_vgtsf:
14075 case Hexagon::V6_vgtub:
14076 case Hexagon::V6_vgtuh:
14077 case Hexagon::V6_vgtuw:
14078 case Hexagon::V6_vgtw: {
14079 switch (OpNum) {
14080 case 1:
14081 // op: Vu32
14082 return 8;
14083 case 2:
14084 // op: Vv32
14085 return 16;
14086 case 0:
14087 // op: Qd4
14088 return 0;
14089 }
14090 break;
14091 }
14092 case Hexagon::V6_vabsdiffh:
14093 case Hexagon::V6_vabsdiffub:
14094 case Hexagon::V6_vabsdiffuh:
14095 case Hexagon::V6_vabsdiffuw:
14096 case Hexagon::V6_vabsdiffw:
14097 case Hexagon::V6_vadd_hf:
14098 case Hexagon::V6_vadd_hf_hf:
14099 case Hexagon::V6_vadd_qf16:
14100 case Hexagon::V6_vadd_qf16_mix:
14101 case Hexagon::V6_vadd_qf32:
14102 case Hexagon::V6_vadd_qf32_mix:
14103 case Hexagon::V6_vadd_sf:
14104 case Hexagon::V6_vadd_sf_sf:
14105 case Hexagon::V6_vaddb:
14106 case Hexagon::V6_vaddbsat:
14107 case Hexagon::V6_vaddclbh:
14108 case Hexagon::V6_vaddclbw:
14109 case Hexagon::V6_vaddh:
14110 case Hexagon::V6_vaddhsat:
14111 case Hexagon::V6_vaddubsat:
14112 case Hexagon::V6_vaddububb_sat:
14113 case Hexagon::V6_vadduhhsat:
14114 case Hexagon::V6_vadduhsat:
14115 case Hexagon::V6_vadduwsat:
14116 case Hexagon::V6_vaddw:
14117 case Hexagon::V6_vaddwsat:
14118 case Hexagon::V6_vand:
14119 case Hexagon::V6_vaslhv:
14120 case Hexagon::V6_vaslwv:
14121 case Hexagon::V6_vasrhv:
14122 case Hexagon::V6_vasrwv:
14123 case Hexagon::V6_vavgb:
14124 case Hexagon::V6_vavgbrnd:
14125 case Hexagon::V6_vavgh:
14126 case Hexagon::V6_vavghrnd:
14127 case Hexagon::V6_vavgub:
14128 case Hexagon::V6_vavgubrnd:
14129 case Hexagon::V6_vavguh:
14130 case Hexagon::V6_vavguhrnd:
14131 case Hexagon::V6_vavguw:
14132 case Hexagon::V6_vavguwrnd:
14133 case Hexagon::V6_vavgw:
14134 case Hexagon::V6_vavgwrnd:
14135 case Hexagon::V6_vcvt2_b_hf:
14136 case Hexagon::V6_vcvt2_ub_hf:
14137 case Hexagon::V6_vcvt_b_hf:
14138 case Hexagon::V6_vcvt_bf_sf:
14139 case Hexagon::V6_vcvt_f8_hf:
14140 case Hexagon::V6_vcvt_hf_sf:
14141 case Hexagon::V6_vcvt_ub_hf:
14142 case Hexagon::V6_vdealb4w:
14143 case Hexagon::V6_vdelta:
14144 case Hexagon::V6_vdmpy_sf_hf:
14145 case Hexagon::V6_vdmpyhvsat:
14146 case Hexagon::V6_vfmax_f8:
14147 case Hexagon::V6_vfmax_hf:
14148 case Hexagon::V6_vfmax_sf:
14149 case Hexagon::V6_vfmin_f8:
14150 case Hexagon::V6_vfmin_hf:
14151 case Hexagon::V6_vfmin_sf:
14152 case Hexagon::V6_vlsrhv:
14153 case Hexagon::V6_vlsrwv:
14154 case Hexagon::V6_vmax_bf:
14155 case Hexagon::V6_vmax_hf:
14156 case Hexagon::V6_vmax_sf:
14157 case Hexagon::V6_vmaxb:
14158 case Hexagon::V6_vmaxh:
14159 case Hexagon::V6_vmaxub:
14160 case Hexagon::V6_vmaxuh:
14161 case Hexagon::V6_vmaxuw:
14162 case Hexagon::V6_vmaxw:
14163 case Hexagon::V6_vmerge_qf:
14164 case Hexagon::V6_vmin_bf:
14165 case Hexagon::V6_vmin_hf:
14166 case Hexagon::V6_vmin_sf:
14167 case Hexagon::V6_vminb:
14168 case Hexagon::V6_vminh:
14169 case Hexagon::V6_vminub:
14170 case Hexagon::V6_vminuh:
14171 case Hexagon::V6_vminuw:
14172 case Hexagon::V6_vminw:
14173 case Hexagon::V6_vmpy_hf_hf:
14174 case Hexagon::V6_vmpy_qf16:
14175 case Hexagon::V6_vmpy_qf16_hf:
14176 case Hexagon::V6_vmpy_qf16_mix_hf:
14177 case Hexagon::V6_vmpy_qf32:
14178 case Hexagon::V6_vmpy_qf32_sf:
14179 case Hexagon::V6_vmpy_sf_sf:
14180 case Hexagon::V6_vmpyewuh:
14181 case Hexagon::V6_vmpyewuh_rnd:
14182 case Hexagon::V6_vmpyhuh:
14183 case Hexagon::V6_vmpyhuh_rnd:
14184 case Hexagon::V6_vmpyhvsrs:
14185 case Hexagon::V6_vmpyieoh:
14186 case Hexagon::V6_vmpyiewuh:
14187 case Hexagon::V6_vmpyih:
14188 case Hexagon::V6_vmpyiowh:
14189 case Hexagon::V6_vmpyowh:
14190 case Hexagon::V6_vmpyowh_rnd:
14191 case Hexagon::V6_vmpyowuh:
14192 case Hexagon::V6_vmpyowuh_rnd:
14193 case Hexagon::V6_vmpyuhuh_rnd:
14194 case Hexagon::V6_vmpyuhvs:
14195 case Hexagon::V6_vnavgb:
14196 case Hexagon::V6_vnavgh:
14197 case Hexagon::V6_vnavgub:
14198 case Hexagon::V6_vnavguh:
14199 case Hexagon::V6_vnavguw:
14200 case Hexagon::V6_vnavgw:
14201 case Hexagon::V6_vor:
14202 case Hexagon::V6_vpackeb:
14203 case Hexagon::V6_vpackeh:
14204 case Hexagon::V6_vpackhb_sat:
14205 case Hexagon::V6_vpackhub_sat:
14206 case Hexagon::V6_vpackob:
14207 case Hexagon::V6_vpackoh:
14208 case Hexagon::V6_vpackwh_sat:
14209 case Hexagon::V6_vpackwuh_sat:
14210 case Hexagon::V6_vrdelta:
14211 case Hexagon::V6_vrmpybusv:
14212 case Hexagon::V6_vrmpybv:
14213 case Hexagon::V6_vrmpyubv:
14214 case Hexagon::V6_vrotr:
14215 case Hexagon::V6_vroundhb:
14216 case Hexagon::V6_vroundhub:
14217 case Hexagon::V6_vrounduhub:
14218 case Hexagon::V6_vrounduwuh:
14219 case Hexagon::V6_vroundwh:
14220 case Hexagon::V6_vroundwuh:
14221 case Hexagon::V6_vsatdw:
14222 case Hexagon::V6_vsathub:
14223 case Hexagon::V6_vsatuwuh:
14224 case Hexagon::V6_vsatwh:
14225 case Hexagon::V6_vshufeh:
14226 case Hexagon::V6_vshuffeb:
14227 case Hexagon::V6_vshuffob:
14228 case Hexagon::V6_vshufoh:
14229 case Hexagon::V6_vsub_hf:
14230 case Hexagon::V6_vsub_hf_hf:
14231 case Hexagon::V6_vsub_hf_mix:
14232 case Hexagon::V6_vsub_qf16:
14233 case Hexagon::V6_vsub_qf16_mix:
14234 case Hexagon::V6_vsub_qf32:
14235 case Hexagon::V6_vsub_qf32_mix:
14236 case Hexagon::V6_vsub_sf:
14237 case Hexagon::V6_vsub_sf_mix:
14238 case Hexagon::V6_vsub_sf_sf:
14239 case Hexagon::V6_vsubb:
14240 case Hexagon::V6_vsubbsat:
14241 case Hexagon::V6_vsubh:
14242 case Hexagon::V6_vsubhsat:
14243 case Hexagon::V6_vsububsat:
14244 case Hexagon::V6_vsubububb_sat:
14245 case Hexagon::V6_vsubuhhsat:
14246 case Hexagon::V6_vsubuhsat:
14247 case Hexagon::V6_vsubuwsat:
14248 case Hexagon::V6_vsubw:
14249 case Hexagon::V6_vsubwsat:
14250 case Hexagon::V6_vxor: {
14251 switch (OpNum) {
14252 case 1:
14253 // op: Vu32
14254 return 8;
14255 case 2:
14256 // op: Vv32
14257 return 16;
14258 case 0:
14259 // op: Vd32
14260 return 0;
14261 }
14262 break;
14263 }
14264 case Hexagon::V6_vadd_hf_f8:
14265 case Hexagon::V6_vadd_sf_bf:
14266 case Hexagon::V6_vadd_sf_hf:
14267 case Hexagon::V6_vaddhw:
14268 case Hexagon::V6_vaddubh:
14269 case Hexagon::V6_vadduhw:
14270 case Hexagon::V6_vcombine:
14271 case Hexagon::V6_vcombine_tmp:
14272 case Hexagon::V6_vmpy_hf_f8:
14273 case Hexagon::V6_vmpy_qf32_hf:
14274 case Hexagon::V6_vmpy_qf32_mix_hf:
14275 case Hexagon::V6_vmpy_qf32_qf16:
14276 case Hexagon::V6_vmpy_sf_bf:
14277 case Hexagon::V6_vmpy_sf_hf:
14278 case Hexagon::V6_vmpybusv:
14279 case Hexagon::V6_vmpybv:
14280 case Hexagon::V6_vmpyewuh_64:
14281 case Hexagon::V6_vmpyhus:
14282 case Hexagon::V6_vmpyhv:
14283 case Hexagon::V6_vmpyubv:
14284 case Hexagon::V6_vmpyuhv:
14285 case Hexagon::V6_vshufoeb:
14286 case Hexagon::V6_vshufoeh:
14287 case Hexagon::V6_vsub_hf_f8:
14288 case Hexagon::V6_vsub_sf_bf:
14289 case Hexagon::V6_vsub_sf_hf:
14290 case Hexagon::V6_vsubhw:
14291 case Hexagon::V6_vsububh:
14292 case Hexagon::V6_vsubuhw: {
14293 switch (OpNum) {
14294 case 1:
14295 // op: Vu32
14296 return 8;
14297 case 2:
14298 // op: Vv32
14299 return 16;
14300 case 0:
14301 // op: Vdd32
14302 return 0;
14303 }
14304 break;
14305 }
14306 case Hexagon::V6_vaddcarrysat: {
14307 switch (OpNum) {
14308 case 1:
14309 // op: Vu32
14310 return 8;
14311 case 2:
14312 // op: Vv32
14313 return 16;
14314 case 3:
14315 // op: Qs4
14316 return 5;
14317 case 0:
14318 // op: Vd32
14319 return 0;
14320 }
14321 break;
14322 }
14323 case Hexagon::V6_valign4:
14324 case Hexagon::V6_valignb:
14325 case Hexagon::V6_vasrhbrndsat:
14326 case Hexagon::V6_vasrhbsat:
14327 case Hexagon::V6_vasrhubrndsat:
14328 case Hexagon::V6_vasrhubsat:
14329 case Hexagon::V6_vasruhubrndsat:
14330 case Hexagon::V6_vasruhubsat:
14331 case Hexagon::V6_vasruwuhrndsat:
14332 case Hexagon::V6_vasruwuhsat:
14333 case Hexagon::V6_vasrwh:
14334 case Hexagon::V6_vasrwhrndsat:
14335 case Hexagon::V6_vasrwhsat:
14336 case Hexagon::V6_vasrwuhrndsat:
14337 case Hexagon::V6_vasrwuhsat:
14338 case Hexagon::V6_vlalignb:
14339 case Hexagon::V6_vlutvvb:
14340 case Hexagon::V6_vlutvvb_nm: {
14341 switch (OpNum) {
14342 case 1:
14343 // op: Vu32
14344 return 8;
14345 case 2:
14346 // op: Vv32
14347 return 19;
14348 case 3:
14349 // op: Rt8
14350 return 16;
14351 case 0:
14352 // op: Vd32
14353 return 0;
14354 }
14355 break;
14356 }
14357 case Hexagon::V6_vdealvdd:
14358 case Hexagon::V6_vlutvwh:
14359 case Hexagon::V6_vlutvwh_nm:
14360 case Hexagon::V6_vshuffvdd: {
14361 switch (OpNum) {
14362 case 1:
14363 // op: Vu32
14364 return 8;
14365 case 2:
14366 // op: Vv32
14367 return 19;
14368 case 3:
14369 // op: Rt8
14370 return 16;
14371 case 0:
14372 // op: Vdd32
14373 return 0;
14374 }
14375 break;
14376 }
14377 case Hexagon::V6_vconv_bf_qf32:
14378 case Hexagon::V6_vconv_hf_qf32: {
14379 switch (OpNum) {
14380 case 1:
14381 // op: Vuu32
14382 return 8;
14383 case 0:
14384 // op: Vd32
14385 return 0;
14386 }
14387 break;
14388 }
14389 case Hexagon::V6_vdmpyhisat:
14390 case Hexagon::V6_vdmpyhsuisat: {
14391 switch (OpNum) {
14392 case 1:
14393 // op: Vuu32
14394 return 8;
14395 case 2:
14396 // op: Rt32
14397 return 16;
14398 case 0:
14399 // op: Vd32
14400 return 0;
14401 }
14402 break;
14403 }
14404 case Hexagon::V6_vdmpybus_dv:
14405 case Hexagon::V6_vdmpyhb_dv:
14406 case Hexagon::V6_vdsaduh:
14407 case Hexagon::V6_vmpabus:
14408 case Hexagon::V6_vmpabuu:
14409 case Hexagon::V6_vmpahb:
14410 case Hexagon::V6_vmpauhb:
14411 case Hexagon::V6_vtmpyb:
14412 case Hexagon::V6_vtmpybus:
14413 case Hexagon::V6_vtmpyhb: {
14414 switch (OpNum) {
14415 case 1:
14416 // op: Vuu32
14417 return 8;
14418 case 2:
14419 // op: Rt32
14420 return 16;
14421 case 0:
14422 // op: Vdd32
14423 return 0;
14424 }
14425 break;
14426 }
14427 case Hexagon::V6_vasrvuhubrndsat:
14428 case Hexagon::V6_vasrvuhubsat:
14429 case Hexagon::V6_vasrvwuhrndsat:
14430 case Hexagon::V6_vasrvwuhsat: {
14431 switch (OpNum) {
14432 case 1:
14433 // op: Vuu32
14434 return 8;
14435 case 2:
14436 // op: Vv32
14437 return 16;
14438 case 0:
14439 // op: Vd32
14440 return 0;
14441 }
14442 break;
14443 }
14444 case Hexagon::V6_vaddb_dv:
14445 case Hexagon::V6_vaddbsat_dv:
14446 case Hexagon::V6_vaddh_dv:
14447 case Hexagon::V6_vaddhsat_dv:
14448 case Hexagon::V6_vaddubsat_dv:
14449 case Hexagon::V6_vadduhsat_dv:
14450 case Hexagon::V6_vadduwsat_dv:
14451 case Hexagon::V6_vadduwwsat_dv:
14452 case Hexagon::V6_vaddw_dv:
14453 case Hexagon::V6_vaddwsat_dv:
14454 case Hexagon::V6_vmpabusv:
14455 case Hexagon::V6_vmpabuuv:
14456 case Hexagon::V6_vsubb_dv:
14457 case Hexagon::V6_vsubbsat_dv:
14458 case Hexagon::V6_vsubh_dv:
14459 case Hexagon::V6_vsubhsat_dv:
14460 case Hexagon::V6_vsububsat_dv:
14461 case Hexagon::V6_vsubuhsat_dv:
14462 case Hexagon::V6_vsubuwsat_dv:
14463 case Hexagon::V6_vsubuwwsat_dv:
14464 case Hexagon::V6_vsubw_dv:
14465 case Hexagon::V6_vsubwsat_dv: {
14466 switch (OpNum) {
14467 case 1:
14468 // op: Vuu32
14469 return 8;
14470 case 2:
14471 // op: Vvv32
14472 return 16;
14473 case 0:
14474 // op: Vdd32
14475 return 0;
14476 }
14477 break;
14478 }
14479 case Hexagon::L4_loadbsw2_ap:
14480 case Hexagon::L4_loadbzw2_ap:
14481 case Hexagon::L4_loadrb_ap:
14482 case Hexagon::L4_loadrh_ap:
14483 case Hexagon::L4_loadri_ap:
14484 case Hexagon::L4_loadrub_ap:
14485 case Hexagon::L4_loadruh_ap: {
14486 switch (OpNum) {
14487 case 2:
14488 // op: II
14489 return 5;
14490 case 0:
14491 // op: Rd32
14492 return 0;
14493 case 1:
14494 // op: Re32
14495 return 16;
14496 }
14497 break;
14498 }
14499 case Hexagon::L4_loadbsw4_ap:
14500 case Hexagon::L4_loadbzw4_ap:
14501 case Hexagon::L4_loadrd_ap: {
14502 switch (OpNum) {
14503 case 2:
14504 // op: II
14505 return 5;
14506 case 0:
14507 // op: Rdd32
14508 return 0;
14509 case 1:
14510 // op: Re32
14511 return 16;
14512 }
14513 break;
14514 }
14515 case Hexagon::A2_tfrih:
14516 case Hexagon::A2_tfril:
14517 case Hexagon::S2_allocframe:
14518 case Hexagon::S2_allocframe_rb: {
14519 switch (OpNum) {
14520 case 2:
14521 // op: Ii
14522 return 0;
14523 case 0:
14524 // op: Rx32
14525 return 16;
14526 }
14527 break;
14528 }
14529 case Hexagon::LX_sub_ilog2_uw:
14530 case Hexagon::LX_sub_ilog2_w: {
14531 switch (OpNum) {
14532 case 2:
14533 // op: Ii
14534 return 16;
14535 case 1:
14536 // op: Luu16
14537 return 6;
14538 case 0:
14539 // op: Ld16
14540 return 1;
14541 }
14542 break;
14543 }
14544 case Hexagon::LX_sub_ilog2_h:
14545 case Hexagon::LX_sub_ilog2_uh: {
14546 switch (OpNum) {
14547 case 2:
14548 // op: Ii
14549 return 17;
14550 case 1:
14551 // op: Lu16
14552 return 6;
14553 case 0:
14554 // op: Ld16
14555 return 1;
14556 }
14557 break;
14558 }
14559 case Hexagon::J4_cmpeq_f_jumpnv_nt:
14560 case Hexagon::J4_cmpeq_f_jumpnv_t:
14561 case Hexagon::J4_cmpeq_t_jumpnv_nt:
14562 case Hexagon::J4_cmpeq_t_jumpnv_t:
14563 case Hexagon::J4_cmpgt_f_jumpnv_nt:
14564 case Hexagon::J4_cmpgt_f_jumpnv_t:
14565 case Hexagon::J4_cmpgt_t_jumpnv_nt:
14566 case Hexagon::J4_cmpgt_t_jumpnv_t:
14567 case Hexagon::J4_cmpgtu_f_jumpnv_nt:
14568 case Hexagon::J4_cmpgtu_f_jumpnv_t:
14569 case Hexagon::J4_cmpgtu_t_jumpnv_nt:
14570 case Hexagon::J4_cmpgtu_t_jumpnv_t: {
14571 switch (OpNum) {
14572 case 2:
14573 // op: Ii
14574 return 1;
14575 case 0:
14576 // op: Ns8
14577 return 16;
14578 case 1:
14579 // op: Rt32
14580 return 8;
14581 }
14582 break;
14583 }
14584 case Hexagon::J4_cmpeqn1_f_jumpnv_nt:
14585 case Hexagon::J4_cmpeqn1_f_jumpnv_t:
14586 case Hexagon::J4_cmpeqn1_t_jumpnv_nt:
14587 case Hexagon::J4_cmpeqn1_t_jumpnv_t:
14588 case Hexagon::J4_cmpgtn1_f_jumpnv_nt:
14589 case Hexagon::J4_cmpgtn1_f_jumpnv_t:
14590 case Hexagon::J4_cmpgtn1_t_jumpnv_nt:
14591 case Hexagon::J4_cmpgtn1_t_jumpnv_t: {
14592 switch (OpNum) {
14593 case 2:
14594 // op: Ii
14595 return 1;
14596 case 0:
14597 // op: Ns8
14598 return 16;
14599 }
14600 break;
14601 }
14602 case Hexagon::J4_cmpeq_fp0_jump_nt:
14603 case Hexagon::J4_cmpeq_fp0_jump_t:
14604 case Hexagon::J4_cmpeq_fp1_jump_nt:
14605 case Hexagon::J4_cmpeq_fp1_jump_t:
14606 case Hexagon::J4_cmpeq_tp0_jump_nt:
14607 case Hexagon::J4_cmpeq_tp0_jump_t:
14608 case Hexagon::J4_cmpeq_tp1_jump_nt:
14609 case Hexagon::J4_cmpeq_tp1_jump_t:
14610 case Hexagon::J4_cmpgt_fp0_jump_nt:
14611 case Hexagon::J4_cmpgt_fp0_jump_t:
14612 case Hexagon::J4_cmpgt_fp1_jump_nt:
14613 case Hexagon::J4_cmpgt_fp1_jump_t:
14614 case Hexagon::J4_cmpgt_tp0_jump_nt:
14615 case Hexagon::J4_cmpgt_tp0_jump_t:
14616 case Hexagon::J4_cmpgt_tp1_jump_nt:
14617 case Hexagon::J4_cmpgt_tp1_jump_t:
14618 case Hexagon::J4_cmpgtu_fp0_jump_nt:
14619 case Hexagon::J4_cmpgtu_fp0_jump_t:
14620 case Hexagon::J4_cmpgtu_fp1_jump_nt:
14621 case Hexagon::J4_cmpgtu_fp1_jump_t:
14622 case Hexagon::J4_cmpgtu_tp0_jump_nt:
14623 case Hexagon::J4_cmpgtu_tp0_jump_t:
14624 case Hexagon::J4_cmpgtu_tp1_jump_nt:
14625 case Hexagon::J4_cmpgtu_tp1_jump_t: {
14626 switch (OpNum) {
14627 case 2:
14628 // op: Ii
14629 return 1;
14630 case 0:
14631 // op: Rs16
14632 return 16;
14633 case 1:
14634 // op: Rt16
14635 return 8;
14636 }
14637 break;
14638 }
14639 case Hexagon::J4_cmpeqn1_fp0_jump_nt:
14640 case Hexagon::J4_cmpeqn1_fp0_jump_t:
14641 case Hexagon::J4_cmpeqn1_fp1_jump_nt:
14642 case Hexagon::J4_cmpeqn1_fp1_jump_t:
14643 case Hexagon::J4_cmpeqn1_tp0_jump_nt:
14644 case Hexagon::J4_cmpeqn1_tp0_jump_t:
14645 case Hexagon::J4_cmpeqn1_tp1_jump_nt:
14646 case Hexagon::J4_cmpeqn1_tp1_jump_t:
14647 case Hexagon::J4_cmpgtn1_fp0_jump_nt:
14648 case Hexagon::J4_cmpgtn1_fp0_jump_t:
14649 case Hexagon::J4_cmpgtn1_fp1_jump_nt:
14650 case Hexagon::J4_cmpgtn1_fp1_jump_t:
14651 case Hexagon::J4_cmpgtn1_tp0_jump_nt:
14652 case Hexagon::J4_cmpgtn1_tp0_jump_t:
14653 case Hexagon::J4_cmpgtn1_tp1_jump_nt:
14654 case Hexagon::J4_cmpgtn1_tp1_jump_t: {
14655 switch (OpNum) {
14656 case 2:
14657 // op: Ii
14658 return 1;
14659 case 0:
14660 // op: Rs16
14661 return 16;
14662 }
14663 break;
14664 }
14665 case Hexagon::J4_cmplt_f_jumpnv_nt:
14666 case Hexagon::J4_cmplt_f_jumpnv_t:
14667 case Hexagon::J4_cmplt_t_jumpnv_nt:
14668 case Hexagon::J4_cmplt_t_jumpnv_t:
14669 case Hexagon::J4_cmpltu_f_jumpnv_nt:
14670 case Hexagon::J4_cmpltu_f_jumpnv_t:
14671 case Hexagon::J4_cmpltu_t_jumpnv_nt:
14672 case Hexagon::J4_cmpltu_t_jumpnv_t: {
14673 switch (OpNum) {
14674 case 2:
14675 // op: Ii
14676 return 1;
14677 case 0:
14678 // op: Rt32
14679 return 8;
14680 case 1:
14681 // op: Ns8
14682 return 16;
14683 }
14684 break;
14685 }
14686 case Hexagon::J4_jumpsetr: {
14687 switch (OpNum) {
14688 case 2:
14689 // op: Ii
14690 return 1;
14691 case 1:
14692 // op: Rs16
14693 return 16;
14694 case 0:
14695 // op: Rd16
14696 return 8;
14697 }
14698 break;
14699 }
14700 case Hexagon::J2_trap1: {
14701 switch (OpNum) {
14702 case 2:
14703 // op: Ii
14704 return 2;
14705 case 0:
14706 // op: Rx32
14707 return 16;
14708 }
14709 break;
14710 }
14711 case Hexagon::S2_pstorerbnewf_io:
14712 case Hexagon::S2_pstorerbnewt_io:
14713 case Hexagon::S2_pstorerhnewf_io:
14714 case Hexagon::S2_pstorerhnewt_io:
14715 case Hexagon::S2_pstorerinewf_io:
14716 case Hexagon::S2_pstorerinewt_io:
14717 case Hexagon::S4_pstorerbnewfnew_io:
14718 case Hexagon::S4_pstorerbnewtnew_io:
14719 case Hexagon::S4_pstorerhnewfnew_io:
14720 case Hexagon::S4_pstorerhnewtnew_io:
14721 case Hexagon::S4_pstorerinewfnew_io:
14722 case Hexagon::S4_pstorerinewtnew_io: {
14723 switch (OpNum) {
14724 case 2:
14725 // op: Ii
14726 return 3;
14727 case 0:
14728 // op: Pv4
14729 return 0;
14730 case 1:
14731 // op: Rs32
14732 return 16;
14733 case 3:
14734 // op: Nt8
14735 return 8;
14736 }
14737 break;
14738 }
14739 case Hexagon::S2_pstorerbf_io:
14740 case Hexagon::S2_pstorerbt_io:
14741 case Hexagon::S2_pstorerff_io:
14742 case Hexagon::S2_pstorerft_io:
14743 case Hexagon::S2_pstorerhf_io:
14744 case Hexagon::S2_pstorerht_io:
14745 case Hexagon::S2_pstorerif_io:
14746 case Hexagon::S2_pstorerit_io:
14747 case Hexagon::S4_pstorerbfnew_io:
14748 case Hexagon::S4_pstorerbtnew_io:
14749 case Hexagon::S4_pstorerffnew_io:
14750 case Hexagon::S4_pstorerftnew_io:
14751 case Hexagon::S4_pstorerhfnew_io:
14752 case Hexagon::S4_pstorerhtnew_io:
14753 case Hexagon::S4_pstorerifnew_io:
14754 case Hexagon::S4_pstoreritnew_io: {
14755 switch (OpNum) {
14756 case 2:
14757 // op: Ii
14758 return 3;
14759 case 0:
14760 // op: Pv4
14761 return 0;
14762 case 1:
14763 // op: Rs32
14764 return 16;
14765 case 3:
14766 // op: Rt32
14767 return 8;
14768 }
14769 break;
14770 }
14771 case Hexagon::S2_pstorerdf_io:
14772 case Hexagon::S2_pstorerdt_io:
14773 case Hexagon::S4_pstorerdfnew_io:
14774 case Hexagon::S4_pstorerdtnew_io: {
14775 switch (OpNum) {
14776 case 2:
14777 // op: Ii
14778 return 3;
14779 case 0:
14780 // op: Pv4
14781 return 0;
14782 case 1:
14783 // op: Rs32
14784 return 16;
14785 case 3:
14786 // op: Rtt32
14787 return 8;
14788 }
14789 break;
14790 }
14791 case Hexagon::S2_storerbnew_pci:
14792 case Hexagon::S2_storerhnew_pci:
14793 case Hexagon::S2_storerinew_pci: {
14794 switch (OpNum) {
14795 case 2:
14796 // op: Ii
14797 return 3;
14798 case 3:
14799 // op: Mu2
14800 return 13;
14801 case 4:
14802 // op: Nt8
14803 return 8;
14804 case 0:
14805 // op: Rx32
14806 return 16;
14807 }
14808 break;
14809 }
14810 case Hexagon::S2_storerb_pci:
14811 case Hexagon::S2_storerf_pci:
14812 case Hexagon::S2_storerh_pci:
14813 case Hexagon::S2_storeri_pci: {
14814 switch (OpNum) {
14815 case 2:
14816 // op: Ii
14817 return 3;
14818 case 3:
14819 // op: Mu2
14820 return 13;
14821 case 4:
14822 // op: Rt32
14823 return 8;
14824 case 0:
14825 // op: Rx32
14826 return 16;
14827 }
14828 break;
14829 }
14830 case Hexagon::S2_storerd_pci: {
14831 switch (OpNum) {
14832 case 2:
14833 // op: Ii
14834 return 3;
14835 case 3:
14836 // op: Mu2
14837 return 13;
14838 case 4:
14839 // op: Rtt32
14840 return 8;
14841 case 0:
14842 // op: Rx32
14843 return 16;
14844 }
14845 break;
14846 }
14847 case Hexagon::S2_storerbnew_pi:
14848 case Hexagon::S2_storerhnew_pi:
14849 case Hexagon::S2_storerinew_pi: {
14850 switch (OpNum) {
14851 case 2:
14852 // op: Ii
14853 return 3;
14854 case 3:
14855 // op: Nt8
14856 return 8;
14857 case 0:
14858 // op: Rx32
14859 return 16;
14860 }
14861 break;
14862 }
14863 case Hexagon::S2_storerb_pi:
14864 case Hexagon::S2_storerb_pi_nt:
14865 case Hexagon::S2_storerf_pi:
14866 case Hexagon::S2_storerh_pi:
14867 case Hexagon::S2_storerh_pi_nt:
14868 case Hexagon::S2_storeri_pi:
14869 case Hexagon::S2_storeri_pi_nt: {
14870 switch (OpNum) {
14871 case 2:
14872 // op: Ii
14873 return 3;
14874 case 3:
14875 // op: Rt32
14876 return 8;
14877 case 0:
14878 // op: Rx32
14879 return 16;
14880 }
14881 break;
14882 }
14883 case Hexagon::S2_storerd_pi:
14884 case Hexagon::S2_storerd_pi_nt: {
14885 switch (OpNum) {
14886 case 2:
14887 // op: Ii
14888 return 3;
14889 case 3:
14890 // op: Rtt32
14891 return 8;
14892 case 0:
14893 // op: Rx32
14894 return 16;
14895 }
14896 break;
14897 }
14898 case Hexagon::SA1_addi: {
14899 switch (OpNum) {
14900 case 2:
14901 // op: Ii
14902 return 4;
14903 case 0:
14904 // op: Rx16
14905 return 0;
14906 }
14907 break;
14908 }
14909 case Hexagon::C2_cmoveif:
14910 case Hexagon::C2_cmoveit:
14911 case Hexagon::C2_cmovenewif:
14912 case Hexagon::C2_cmovenewit: {
14913 switch (OpNum) {
14914 case 2:
14915 // op: Ii
14916 return 5;
14917 case 1:
14918 // op: Pu4
14919 return 21;
14920 case 0:
14921 // op: Rd32
14922 return 0;
14923 }
14924 break;
14925 }
14926 case Hexagon::C2_muxri: {
14927 switch (OpNum) {
14928 case 2:
14929 // op: Ii
14930 return 5;
14931 case 1:
14932 // op: Pu4
14933 return 21;
14934 case 3:
14935 // op: Rs32
14936 return 16;
14937 case 0:
14938 // op: Rd32
14939 return 0;
14940 }
14941 break;
14942 }
14943 case Hexagon::A4_cmpbeqi:
14944 case Hexagon::A4_cmpbgti:
14945 case Hexagon::A4_cmpbgtui:
14946 case Hexagon::A4_cmpheqi:
14947 case Hexagon::A4_cmphgti:
14948 case Hexagon::A4_cmphgtui:
14949 case Hexagon::C2_cmpeqi:
14950 case Hexagon::C2_cmpgti:
14951 case Hexagon::C2_cmpgtui:
14952 case Hexagon::C4_cmpltei:
14953 case Hexagon::C4_cmplteui:
14954 case Hexagon::C4_cmpneqi: {
14955 switch (OpNum) {
14956 case 2:
14957 // op: Ii
14958 return 5;
14959 case 1:
14960 // op: Rs32
14961 return 16;
14962 case 0:
14963 // op: Pd4
14964 return 0;
14965 }
14966 break;
14967 }
14968 case Hexagon::A2_addi:
14969 case Hexagon::A2_andir:
14970 case Hexagon::A2_orir:
14971 case Hexagon::A4_rcmpeqi:
14972 case Hexagon::A4_rcmpneqi:
14973 case Hexagon::L2_loadbsw2_io:
14974 case Hexagon::L2_loadbzw2_io:
14975 case Hexagon::L2_loadrb_io:
14976 case Hexagon::L2_loadrh_io:
14977 case Hexagon::L2_loadri_io:
14978 case Hexagon::L2_loadrub_io:
14979 case Hexagon::L2_loadruh_io:
14980 case Hexagon::M2_mpysin:
14981 case Hexagon::M2_mpysip: {
14982 switch (OpNum) {
14983 case 2:
14984 // op: Ii
14985 return 5;
14986 case 1:
14987 // op: Rs32
14988 return 16;
14989 case 0:
14990 // op: Rd32
14991 return 0;
14992 }
14993 break;
14994 }
14995 case Hexagon::A4_combineri:
14996 case Hexagon::L2_loadbsw4_io:
14997 case Hexagon::L2_loadbzw4_io:
14998 case Hexagon::L2_loadrd_io: {
14999 switch (OpNum) {
15000 case 2:
15001 // op: Ii
15002 return 5;
15003 case 1:
15004 // op: Rs32
15005 return 16;
15006 case 0:
15007 // op: Rdd32
15008 return 0;
15009 }
15010 break;
15011 }
15012 case Hexagon::S4_subaddi: {
15013 switch (OpNum) {
15014 case 2:
15015 // op: Ii
15016 return 5;
15017 case 1:
15018 // op: Rs32
15019 return 16;
15020 case 3:
15021 // op: Ru32
15022 return 0;
15023 case 0:
15024 // op: Rd32
15025 return 8;
15026 }
15027 break;
15028 }
15029 case Hexagon::A4_vcmpbeqi:
15030 case Hexagon::A4_vcmpbgti:
15031 case Hexagon::A4_vcmpbgtui:
15032 case Hexagon::A4_vcmpheqi:
15033 case Hexagon::A4_vcmphgti:
15034 case Hexagon::A4_vcmphgtui:
15035 case Hexagon::A4_vcmpweqi:
15036 case Hexagon::A4_vcmpwgti:
15037 case Hexagon::A4_vcmpwgtui:
15038 case Hexagon::F2_dfclass: {
15039 switch (OpNum) {
15040 case 2:
15041 // op: Ii
15042 return 5;
15043 case 1:
15044 // op: Rss32
15045 return 16;
15046 case 0:
15047 // op: Pd4
15048 return 0;
15049 }
15050 break;
15051 }
15052 case Hexagon::M4_mpyri_addr_u2: {
15053 switch (OpNum) {
15054 case 2:
15055 // op: Ii
15056 return 5;
15057 case 1:
15058 // op: Ru32
15059 return 0;
15060 case 3:
15061 // op: Rs32
15062 return 16;
15063 case 0:
15064 // op: Rd32
15065 return 8;
15066 }
15067 break;
15068 }
15069 case Hexagon::C2_muxii: {
15070 switch (OpNum) {
15071 case 2:
15072 // op: Ii
15073 return 5;
15074 case 3:
15075 // op: II
15076 return 13;
15077 case 1:
15078 // op: Pu4
15079 return 23;
15080 case 0:
15081 // op: Rd32
15082 return 0;
15083 }
15084 break;
15085 }
15086 case Hexagon::S4_storerbnew_rr:
15087 case Hexagon::S4_storerhnew_rr:
15088 case Hexagon::S4_storerinew_rr: {
15089 switch (OpNum) {
15090 case 2:
15091 // op: Ii
15092 return 7;
15093 case 0:
15094 // op: Rs32
15095 return 16;
15096 case 1:
15097 // op: Ru32
15098 return 8;
15099 case 3:
15100 // op: Nt8
15101 return 0;
15102 }
15103 break;
15104 }
15105 case Hexagon::S4_storerb_rr:
15106 case Hexagon::S4_storerf_rr:
15107 case Hexagon::S4_storerh_rr:
15108 case Hexagon::S4_storeri_rr: {
15109 switch (OpNum) {
15110 case 2:
15111 // op: Ii
15112 return 7;
15113 case 0:
15114 // op: Rs32
15115 return 16;
15116 case 1:
15117 // op: Ru32
15118 return 8;
15119 case 3:
15120 // op: Rt32
15121 return 0;
15122 }
15123 break;
15124 }
15125 case Hexagon::S4_storerd_rr: {
15126 switch (OpNum) {
15127 case 2:
15128 // op: Ii
15129 return 7;
15130 case 0:
15131 // op: Rs32
15132 return 16;
15133 case 1:
15134 // op: Ru32
15135 return 8;
15136 case 3:
15137 // op: Rtt32
15138 return 0;
15139 }
15140 break;
15141 }
15142 case Hexagon::S4_storeirbf_io:
15143 case Hexagon::S4_storeirbfnew_io:
15144 case Hexagon::S4_storeirbt_io:
15145 case Hexagon::S4_storeirbtnew_io:
15146 case Hexagon::S4_storeirhf_io:
15147 case Hexagon::S4_storeirhfnew_io:
15148 case Hexagon::S4_storeirht_io:
15149 case Hexagon::S4_storeirhtnew_io:
15150 case Hexagon::S4_storeirif_io:
15151 case Hexagon::S4_storeirifnew_io:
15152 case Hexagon::S4_storeirit_io:
15153 case Hexagon::S4_storeiritnew_io: {
15154 switch (OpNum) {
15155 case 2:
15156 // op: Ii
15157 return 7;
15158 case 3:
15159 // op: II
15160 return 0;
15161 case 0:
15162 // op: Pv4
15163 return 5;
15164 case 1:
15165 // op: Rs32
15166 return 16;
15167 }
15168 break;
15169 }
15170 case Hexagon::L4_loadbsw2_ur:
15171 case Hexagon::L4_loadbzw2_ur:
15172 case Hexagon::L4_loadrb_ur:
15173 case Hexagon::L4_loadrh_ur:
15174 case Hexagon::L4_loadri_ur:
15175 case Hexagon::L4_loadrub_ur:
15176 case Hexagon::L4_loadruh_ur: {
15177 switch (OpNum) {
15178 case 2:
15179 // op: Ii
15180 return 7;
15181 case 3:
15182 // op: II
15183 return 5;
15184 case 1:
15185 // op: Rt32
15186 return 16;
15187 case 0:
15188 // op: Rd32
15189 return 0;
15190 }
15191 break;
15192 }
15193 case Hexagon::L4_loadbsw4_ur:
15194 case Hexagon::L4_loadbzw4_ur:
15195 case Hexagon::L4_loadrd_ur: {
15196 switch (OpNum) {
15197 case 2:
15198 // op: Ii
15199 return 7;
15200 case 3:
15201 // op: II
15202 return 5;
15203 case 1:
15204 // op: Rt32
15205 return 16;
15206 case 0:
15207 // op: Rdd32
15208 return 0;
15209 }
15210 break;
15211 }
15212 case Hexagon::V6_vS32b_new_npred_ai:
15213 case Hexagon::V6_vS32b_new_pred_ai:
15214 case Hexagon::V6_vS32b_nt_new_npred_ai:
15215 case Hexagon::V6_vS32b_nt_new_pred_ai: {
15216 switch (OpNum) {
15217 case 2:
15218 // op: Ii
15219 return 8;
15220 case 0:
15221 // op: Pv4
15222 return 11;
15223 case 1:
15224 // op: Rt32
15225 return 16;
15226 case 3:
15227 // op: Os8
15228 return 0;
15229 }
15230 break;
15231 }
15232 case Hexagon::V6_vS32Ub_npred_ai:
15233 case Hexagon::V6_vS32Ub_pred_ai:
15234 case Hexagon::V6_vS32b_npred_ai:
15235 case Hexagon::V6_vS32b_nt_npred_ai:
15236 case Hexagon::V6_vS32b_nt_pred_ai:
15237 case Hexagon::V6_vS32b_pred_ai: {
15238 switch (OpNum) {
15239 case 2:
15240 // op: Ii
15241 return 8;
15242 case 0:
15243 // op: Pv4
15244 return 11;
15245 case 1:
15246 // op: Rt32
15247 return 16;
15248 case 3:
15249 // op: Vs32
15250 return 0;
15251 }
15252 break;
15253 }
15254 case Hexagon::V6_zLd_pred_ai: {
15255 switch (OpNum) {
15256 case 2:
15257 // op: Ii
15258 return 8;
15259 case 0:
15260 // op: Pv4
15261 return 11;
15262 case 1:
15263 // op: Rt32
15264 return 16;
15265 }
15266 break;
15267 }
15268 case Hexagon::V6_vS32b_nqpred_ai:
15269 case Hexagon::V6_vS32b_nt_nqpred_ai:
15270 case Hexagon::V6_vS32b_nt_qpred_ai:
15271 case Hexagon::V6_vS32b_qpred_ai: {
15272 switch (OpNum) {
15273 case 2:
15274 // op: Ii
15275 return 8;
15276 case 0:
15277 // op: Qv4
15278 return 11;
15279 case 1:
15280 // op: Rt32
15281 return 16;
15282 case 3:
15283 // op: Vs32
15284 return 0;
15285 }
15286 break;
15287 }
15288 case Hexagon::V6_vS32b_srls_pi:
15289 case Hexagon::V6_zLd_pi: {
15290 switch (OpNum) {
15291 case 2:
15292 // op: Ii
15293 return 8;
15294 case 0:
15295 // op: Rx32
15296 return 16;
15297 }
15298 break;
15299 }
15300 case Hexagon::L4_ploadrbf_abs:
15301 case Hexagon::L4_ploadrbfnew_abs:
15302 case Hexagon::L4_ploadrbt_abs:
15303 case Hexagon::L4_ploadrbtnew_abs:
15304 case Hexagon::L4_ploadrhf_abs:
15305 case Hexagon::L4_ploadrhfnew_abs:
15306 case Hexagon::L4_ploadrht_abs:
15307 case Hexagon::L4_ploadrhtnew_abs:
15308 case Hexagon::L4_ploadrif_abs:
15309 case Hexagon::L4_ploadrifnew_abs:
15310 case Hexagon::L4_ploadrit_abs:
15311 case Hexagon::L4_ploadritnew_abs:
15312 case Hexagon::L4_ploadrubf_abs:
15313 case Hexagon::L4_ploadrubfnew_abs:
15314 case Hexagon::L4_ploadrubt_abs:
15315 case Hexagon::L4_ploadrubtnew_abs:
15316 case Hexagon::L4_ploadruhf_abs:
15317 case Hexagon::L4_ploadruhfnew_abs:
15318 case Hexagon::L4_ploadruht_abs:
15319 case Hexagon::L4_ploadruhtnew_abs: {
15320 switch (OpNum) {
15321 case 2:
15322 // op: Ii
15323 return 8;
15324 case 1:
15325 // op: Pt4
15326 return 9;
15327 case 0:
15328 // op: Rd32
15329 return 0;
15330 }
15331 break;
15332 }
15333 case Hexagon::L4_ploadrdf_abs:
15334 case Hexagon::L4_ploadrdfnew_abs:
15335 case Hexagon::L4_ploadrdt_abs:
15336 case Hexagon::L4_ploadrdtnew_abs: {
15337 switch (OpNum) {
15338 case 2:
15339 // op: Ii
15340 return 8;
15341 case 1:
15342 // op: Pt4
15343 return 9;
15344 case 0:
15345 // op: Rdd32
15346 return 0;
15347 }
15348 break;
15349 }
15350 case Hexagon::SL1_loadri_io:
15351 case Hexagon::SL1_loadrub_io:
15352 case Hexagon::SL2_loadrb_io:
15353 case Hexagon::SL2_loadrh_io:
15354 case Hexagon::SL2_loadruh_io: {
15355 switch (OpNum) {
15356 case 2:
15357 // op: Ii
15358 return 8;
15359 case 1:
15360 // op: Rs16
15361 return 4;
15362 case 0:
15363 // op: Rd16
15364 return 0;
15365 }
15366 break;
15367 }
15368 case Hexagon::C2_bitsclri:
15369 case Hexagon::C4_nbitsclri:
15370 case Hexagon::F2_sfclass:
15371 case Hexagon::S2_tstbit_i:
15372 case Hexagon::S4_ntstbit_i: {
15373 switch (OpNum) {
15374 case 2:
15375 // op: Ii
15376 return 8;
15377 case 1:
15378 // op: Rs32
15379 return 16;
15380 case 0:
15381 // op: Pd4
15382 return 0;
15383 }
15384 break;
15385 }
15386 case Hexagon::A4_cround_ri:
15387 case Hexagon::A4_round_ri:
15388 case Hexagon::A4_round_ri_sat:
15389 case Hexagon::A7_clip:
15390 case Hexagon::S2_asl_i_r:
15391 case Hexagon::S2_asl_i_r_sat:
15392 case Hexagon::S2_asr_i_r:
15393 case Hexagon::S2_asr_i_r_rnd:
15394 case Hexagon::S2_clrbit_i:
15395 case Hexagon::S2_lsr_i_r:
15396 case Hexagon::S2_setbit_i:
15397 case Hexagon::S2_togglebit_i:
15398 case Hexagon::S4_clbaddi:
15399 case Hexagon::S6_rol_i_r: {
15400 switch (OpNum) {
15401 case 2:
15402 // op: Ii
15403 return 8;
15404 case 1:
15405 // op: Rs32
15406 return 16;
15407 case 0:
15408 // op: Rd32
15409 return 0;
15410 }
15411 break;
15412 }
15413 case Hexagon::A4_bitspliti: {
15414 switch (OpNum) {
15415 case 2:
15416 // op: Ii
15417 return 8;
15418 case 1:
15419 // op: Rs32
15420 return 16;
15421 case 0:
15422 // op: Rdd32
15423 return 0;
15424 }
15425 break;
15426 }
15427 case Hexagon::S2_asr_i_svw_trun:
15428 case Hexagon::S4_clbpaddi:
15429 case Hexagon::S5_asrhub_rnd_sat:
15430 case Hexagon::S5_asrhub_sat: {
15431 switch (OpNum) {
15432 case 2:
15433 // op: Ii
15434 return 8;
15435 case 1:
15436 // op: Rss32
15437 return 16;
15438 case 0:
15439 // op: Rd32
15440 return 0;
15441 }
15442 break;
15443 }
15444 case Hexagon::A7_croundd_ri:
15445 case Hexagon::A7_vclip:
15446 case Hexagon::S2_asl_i_p:
15447 case Hexagon::S2_asl_i_vh:
15448 case Hexagon::S2_asl_i_vw:
15449 case Hexagon::S2_asr_i_p:
15450 case Hexagon::S2_asr_i_p_rnd:
15451 case Hexagon::S2_asr_i_vh:
15452 case Hexagon::S2_asr_i_vw:
15453 case Hexagon::S2_lsr_i_p:
15454 case Hexagon::S2_lsr_i_vh:
15455 case Hexagon::S2_lsr_i_vw:
15456 case Hexagon::S5_vasrhrnd:
15457 case Hexagon::S6_rol_i_p: {
15458 switch (OpNum) {
15459 case 2:
15460 // op: Ii
15461 return 8;
15462 case 1:
15463 // op: Rss32
15464 return 16;
15465 case 0:
15466 // op: Rdd32
15467 return 0;
15468 }
15469 break;
15470 }
15471 case Hexagon::V6_vL32Ub_ai:
15472 case Hexagon::V6_vL32b_ai:
15473 case Hexagon::V6_vL32b_cur_ai:
15474 case Hexagon::V6_vL32b_nt_ai:
15475 case Hexagon::V6_vL32b_nt_cur_ai:
15476 case Hexagon::V6_vL32b_nt_tmp_ai:
15477 case Hexagon::V6_vL32b_tmp_ai: {
15478 switch (OpNum) {
15479 case 2:
15480 // op: Ii
15481 return 8;
15482 case 1:
15483 // op: Rt32
15484 return 16;
15485 case 0:
15486 // op: Vd32
15487 return 0;
15488 }
15489 break;
15490 }
15491 case Hexagon::S2_extractu:
15492 case Hexagon::S4_extract: {
15493 switch (OpNum) {
15494 case 2:
15495 // op: Ii
15496 return 8;
15497 case 3:
15498 // op: II
15499 return 5;
15500 case 1:
15501 // op: Rs32
15502 return 16;
15503 case 0:
15504 // op: Rd32
15505 return 0;
15506 }
15507 break;
15508 }
15509 case Hexagon::S2_extractup:
15510 case Hexagon::S4_extractp: {
15511 switch (OpNum) {
15512 case 2:
15513 // op: Ii
15514 return 8;
15515 case 3:
15516 // op: II
15517 return 5;
15518 case 1:
15519 // op: Rss32
15520 return 16;
15521 case 0:
15522 // op: Rdd32
15523 return 0;
15524 }
15525 break;
15526 }
15527 case Hexagon::V6_vS32b_new_pi:
15528 case Hexagon::V6_vS32b_nt_new_pi: {
15529 switch (OpNum) {
15530 case 2:
15531 // op: Ii
15532 return 8;
15533 case 3:
15534 // op: Os8
15535 return 0;
15536 case 0:
15537 // op: Rx32
15538 return 16;
15539 }
15540 break;
15541 }
15542 case Hexagon::V6_vS32Ub_pi:
15543 case Hexagon::V6_vS32b_nt_pi:
15544 case Hexagon::V6_vS32b_pi: {
15545 switch (OpNum) {
15546 case 2:
15547 // op: Ii
15548 return 8;
15549 case 3:
15550 // op: Vs32
15551 return 0;
15552 case 0:
15553 // op: Rx32
15554 return 16;
15555 }
15556 break;
15557 }
15558 case Hexagon::LX_mux_h:
15559 case Hexagon::LX_shra_h_h:
15560 case Hexagon::LX_shra_h_uh: {
15561 switch (OpNum) {
15562 case 2:
15563 // op: Lu16
15564 return 6;
15565 case 3:
15566 // op: Lv16
15567 return 17;
15568 case 0:
15569 // op: Lx16
15570 return 1;
15571 }
15572 break;
15573 }
15574 case Hexagon::LX_mpa_wh:
15575 case Hexagon::LX_mpa_whuh:
15576 case Hexagon::LX_mpa_wuh: {
15577 switch (OpNum) {
15578 case 2:
15579 // op: Lu16
15580 return 6;
15581 case 3:
15582 // op: Lv16
15583 return 17;
15584 case 0:
15585 // op: Lxx16
15586 return 1;
15587 }
15588 break;
15589 }
15590 case Hexagon::LX_shrar_h_h:
15591 case Hexagon::LX_shrar_h_uh: {
15592 switch (OpNum) {
15593 case 2:
15594 // op: Lu16
15595 return 6;
15596 case 3:
15597 // op: Rt32
15598 return 16;
15599 case 0:
15600 // op: Lx16
15601 return 1;
15602 }
15603 break;
15604 }
15605 case Hexagon::LX_mpar_wh:
15606 case Hexagon::LX_mpar_whuh:
15607 case Hexagon::LX_mpar_wuh: {
15608 switch (OpNum) {
15609 case 2:
15610 // op: Lu16
15611 return 6;
15612 case 3:
15613 // op: Rt32
15614 return 16;
15615 case 0:
15616 // op: Lxx16
15617 return 1;
15618 }
15619 break;
15620 }
15621 case Hexagon::LX_shra_w_uw:
15622 case Hexagon::LX_shra_w_w: {
15623 switch (OpNum) {
15624 case 2:
15625 // op: Luu16
15626 return 6;
15627 case 3:
15628 // op: Lv16
15629 return 17;
15630 case 0:
15631 // op: Lxx16
15632 return 1;
15633 }
15634 break;
15635 }
15636 case Hexagon::LX_shrar_w_uw:
15637 case Hexagon::LX_shrar_w_w: {
15638 switch (OpNum) {
15639 case 2:
15640 // op: Luu16
15641 return 6;
15642 case 3:
15643 // op: Rt32
15644 return 16;
15645 case 0:
15646 // op: Lxx16
15647 return 1;
15648 }
15649 break;
15650 }
15651 case Hexagon::V6_vS32b_srls_ppu:
15652 case Hexagon::V6_zLd_ppu: {
15653 switch (OpNum) {
15654 case 2:
15655 // op: Mu2
15656 return 13;
15657 case 0:
15658 // op: Rx32
15659 return 16;
15660 }
15661 break;
15662 }
15663 case Hexagon::S2_storerbnew_pbr:
15664 case Hexagon::S2_storerbnew_pcr:
15665 case Hexagon::S2_storerbnew_pr:
15666 case Hexagon::S2_storerhnew_pbr:
15667 case Hexagon::S2_storerhnew_pcr:
15668 case Hexagon::S2_storerhnew_pr:
15669 case Hexagon::S2_storerinew_pbr:
15670 case Hexagon::S2_storerinew_pcr:
15671 case Hexagon::S2_storerinew_pr: {
15672 switch (OpNum) {
15673 case 2:
15674 // op: Mu2
15675 return 13;
15676 case 3:
15677 // op: Nt8
15678 return 8;
15679 case 0:
15680 // op: Rx32
15681 return 16;
15682 }
15683 break;
15684 }
15685 case Hexagon::V6_vS32b_new_ppu:
15686 case Hexagon::V6_vS32b_nt_new_ppu: {
15687 switch (OpNum) {
15688 case 2:
15689 // op: Mu2
15690 return 13;
15691 case 3:
15692 // op: Os8
15693 return 0;
15694 case 0:
15695 // op: Rx32
15696 return 16;
15697 }
15698 break;
15699 }
15700 case Hexagon::S2_storerb_pbr:
15701 case Hexagon::S2_storerb_pcr:
15702 case Hexagon::S2_storerb_pr:
15703 case Hexagon::S2_storerf_pbr:
15704 case Hexagon::S2_storerf_pcr:
15705 case Hexagon::S2_storerf_pr:
15706 case Hexagon::S2_storerh_pbr:
15707 case Hexagon::S2_storerh_pcr:
15708 case Hexagon::S2_storerh_pr:
15709 case Hexagon::S2_storeri_pbr:
15710 case Hexagon::S2_storeri_pcr:
15711 case Hexagon::S2_storeri_pr: {
15712 switch (OpNum) {
15713 case 2:
15714 // op: Mu2
15715 return 13;
15716 case 3:
15717 // op: Rt32
15718 return 8;
15719 case 0:
15720 // op: Rx32
15721 return 16;
15722 }
15723 break;
15724 }
15725 case Hexagon::S2_storerd_pbr:
15726 case Hexagon::S2_storerd_pcr:
15727 case Hexagon::S2_storerd_pr: {
15728 switch (OpNum) {
15729 case 2:
15730 // op: Mu2
15731 return 13;
15732 case 3:
15733 // op: Rtt32
15734 return 8;
15735 case 0:
15736 // op: Rx32
15737 return 16;
15738 }
15739 break;
15740 }
15741 case Hexagon::V6_vS32Ub_ppu:
15742 case Hexagon::V6_vS32b_nt_ppu:
15743 case Hexagon::V6_vS32b_ppu: {
15744 switch (OpNum) {
15745 case 2:
15746 // op: Mu2
15747 return 13;
15748 case 3:
15749 // op: Vs32
15750 return 0;
15751 case 0:
15752 // op: Rx32
15753 return 16;
15754 }
15755 break;
15756 }
15757 case Hexagon::V6_vL32b_cur_npred_ppu:
15758 case Hexagon::V6_vL32b_cur_pred_ppu:
15759 case Hexagon::V6_vL32b_npred_ppu:
15760 case Hexagon::V6_vL32b_nt_cur_npred_ppu:
15761 case Hexagon::V6_vL32b_nt_cur_pred_ppu:
15762 case Hexagon::V6_vL32b_nt_npred_ppu:
15763 case Hexagon::V6_vL32b_nt_pred_ppu:
15764 case Hexagon::V6_vL32b_nt_tmp_npred_ppu:
15765 case Hexagon::V6_vL32b_nt_tmp_pred_ppu:
15766 case Hexagon::V6_vL32b_pred_ppu:
15767 case Hexagon::V6_vL32b_tmp_npred_ppu:
15768 case Hexagon::V6_vL32b_tmp_pred_ppu: {
15769 switch (OpNum) {
15770 case 2:
15771 // op: Pv4
15772 return 11;
15773 case 4:
15774 // op: Mu2
15775 return 13;
15776 case 0:
15777 // op: Vd32
15778 return 0;
15779 case 1:
15780 // op: Rx32
15781 return 16;
15782 }
15783 break;
15784 }
15785 case Hexagon::V6_vandnqrt_acc:
15786 case Hexagon::V6_vandqrt_acc: {
15787 switch (OpNum) {
15788 case 2:
15789 // op: Qu4
15790 return 8;
15791 case 3:
15792 // op: Rt32
15793 return 16;
15794 case 0:
15795 // op: Vx32
15796 return 0;
15797 }
15798 break;
15799 }
15800 case Hexagon::SA1_addrx: {
15801 switch (OpNum) {
15802 case 2:
15803 // op: Rs16
15804 return 4;
15805 case 0:
15806 // op: Rx16
15807 return 0;
15808 }
15809 break;
15810 }
15811 case Hexagon::F2_sfinvsqrta: {
15812 switch (OpNum) {
15813 case 2:
15814 // op: Rs32
15815 return 16;
15816 case 0:
15817 // op: Rd32
15818 return 0;
15819 case 1:
15820 // op: Pe4
15821 return 5;
15822 }
15823 break;
15824 }
15825 case Hexagon::F2_sfrecipa: {
15826 switch (OpNum) {
15827 case 2:
15828 // op: Rs32
15829 return 16;
15830 case 3:
15831 // op: Rt32
15832 return 8;
15833 case 0:
15834 // op: Rd32
15835 return 0;
15836 case 1:
15837 // op: Pe4
15838 return 5;
15839 }
15840 break;
15841 }
15842 case Hexagon::F2_sffma:
15843 case Hexagon::F2_sffma_lib:
15844 case Hexagon::F2_sffms:
15845 case Hexagon::F2_sffms_lib:
15846 case Hexagon::M2_acci:
15847 case Hexagon::M2_maci:
15848 case Hexagon::M2_mnaci:
15849 case Hexagon::M2_mpy_acc_hh_s0:
15850 case Hexagon::M2_mpy_acc_hh_s1:
15851 case Hexagon::M2_mpy_acc_hl_s0:
15852 case Hexagon::M2_mpy_acc_hl_s1:
15853 case Hexagon::M2_mpy_acc_lh_s0:
15854 case Hexagon::M2_mpy_acc_lh_s1:
15855 case Hexagon::M2_mpy_acc_ll_s0:
15856 case Hexagon::M2_mpy_acc_ll_s1:
15857 case Hexagon::M2_mpy_acc_sat_hh_s0:
15858 case Hexagon::M2_mpy_acc_sat_hh_s1:
15859 case Hexagon::M2_mpy_acc_sat_hl_s0:
15860 case Hexagon::M2_mpy_acc_sat_hl_s1:
15861 case Hexagon::M2_mpy_acc_sat_lh_s0:
15862 case Hexagon::M2_mpy_acc_sat_lh_s1:
15863 case Hexagon::M2_mpy_acc_sat_ll_s0:
15864 case Hexagon::M2_mpy_acc_sat_ll_s1:
15865 case Hexagon::M2_mpy_nac_hh_s0:
15866 case Hexagon::M2_mpy_nac_hh_s1:
15867 case Hexagon::M2_mpy_nac_hl_s0:
15868 case Hexagon::M2_mpy_nac_hl_s1:
15869 case Hexagon::M2_mpy_nac_lh_s0:
15870 case Hexagon::M2_mpy_nac_lh_s1:
15871 case Hexagon::M2_mpy_nac_ll_s0:
15872 case Hexagon::M2_mpy_nac_ll_s1:
15873 case Hexagon::M2_mpy_nac_sat_hh_s0:
15874 case Hexagon::M2_mpy_nac_sat_hh_s1:
15875 case Hexagon::M2_mpy_nac_sat_hl_s0:
15876 case Hexagon::M2_mpy_nac_sat_hl_s1:
15877 case Hexagon::M2_mpy_nac_sat_lh_s0:
15878 case Hexagon::M2_mpy_nac_sat_lh_s1:
15879 case Hexagon::M2_mpy_nac_sat_ll_s0:
15880 case Hexagon::M2_mpy_nac_sat_ll_s1:
15881 case Hexagon::M2_mpyu_acc_hh_s0:
15882 case Hexagon::M2_mpyu_acc_hh_s1:
15883 case Hexagon::M2_mpyu_acc_hl_s0:
15884 case Hexagon::M2_mpyu_acc_hl_s1:
15885 case Hexagon::M2_mpyu_acc_lh_s0:
15886 case Hexagon::M2_mpyu_acc_lh_s1:
15887 case Hexagon::M2_mpyu_acc_ll_s0:
15888 case Hexagon::M2_mpyu_acc_ll_s1:
15889 case Hexagon::M2_mpyu_nac_hh_s0:
15890 case Hexagon::M2_mpyu_nac_hh_s1:
15891 case Hexagon::M2_mpyu_nac_hl_s0:
15892 case Hexagon::M2_mpyu_nac_hl_s1:
15893 case Hexagon::M2_mpyu_nac_lh_s0:
15894 case Hexagon::M2_mpyu_nac_lh_s1:
15895 case Hexagon::M2_mpyu_nac_ll_s0:
15896 case Hexagon::M2_mpyu_nac_ll_s1:
15897 case Hexagon::M2_nacci:
15898 case Hexagon::M2_xor_xacc:
15899 case Hexagon::M4_and_and:
15900 case Hexagon::M4_and_andn:
15901 case Hexagon::M4_and_or:
15902 case Hexagon::M4_and_xor:
15903 case Hexagon::M4_mac_up_s1_sat:
15904 case Hexagon::M4_nac_up_s1_sat:
15905 case Hexagon::M4_or_and:
15906 case Hexagon::M4_or_andn:
15907 case Hexagon::M4_or_or:
15908 case Hexagon::M4_or_xor:
15909 case Hexagon::M4_xor_and:
15910 case Hexagon::M4_xor_andn:
15911 case Hexagon::M4_xor_or:
15912 case Hexagon::S2_asl_r_r_acc:
15913 case Hexagon::S2_asl_r_r_and:
15914 case Hexagon::S2_asl_r_r_nac:
15915 case Hexagon::S2_asl_r_r_or:
15916 case Hexagon::S2_asr_r_r_acc:
15917 case Hexagon::S2_asr_r_r_and:
15918 case Hexagon::S2_asr_r_r_nac:
15919 case Hexagon::S2_asr_r_r_or:
15920 case Hexagon::S2_lsl_r_r_acc:
15921 case Hexagon::S2_lsl_r_r_and:
15922 case Hexagon::S2_lsl_r_r_nac:
15923 case Hexagon::S2_lsl_r_r_or:
15924 case Hexagon::S2_lsr_r_r_acc:
15925 case Hexagon::S2_lsr_r_r_and:
15926 case Hexagon::S2_lsr_r_r_nac:
15927 case Hexagon::S2_lsr_r_r_or: {
15928 switch (OpNum) {
15929 case 2:
15930 // op: Rs32
15931 return 16;
15932 case 3:
15933 // op: Rt32
15934 return 8;
15935 case 0:
15936 // op: Rx32
15937 return 0;
15938 }
15939 break;
15940 }
15941 case Hexagon::M2_cmaci_s0:
15942 case Hexagon::M2_cmacr_s0:
15943 case Hexagon::M2_cmacs_s0:
15944 case Hexagon::M2_cmacs_s1:
15945 case Hexagon::M2_cmacsc_s0:
15946 case Hexagon::M2_cmacsc_s1:
15947 case Hexagon::M2_cnacs_s0:
15948 case Hexagon::M2_cnacs_s1:
15949 case Hexagon::M2_cnacsc_s0:
15950 case Hexagon::M2_cnacsc_s1:
15951 case Hexagon::M2_dpmpyss_acc_s0:
15952 case Hexagon::M2_dpmpyss_nac_s0:
15953 case Hexagon::M2_dpmpyuu_acc_s0:
15954 case Hexagon::M2_dpmpyuu_nac_s0:
15955 case Hexagon::M2_mpyd_acc_hh_s0:
15956 case Hexagon::M2_mpyd_acc_hh_s1:
15957 case Hexagon::M2_mpyd_acc_hl_s0:
15958 case Hexagon::M2_mpyd_acc_hl_s1:
15959 case Hexagon::M2_mpyd_acc_lh_s0:
15960 case Hexagon::M2_mpyd_acc_lh_s1:
15961 case Hexagon::M2_mpyd_acc_ll_s0:
15962 case Hexagon::M2_mpyd_acc_ll_s1:
15963 case Hexagon::M2_mpyd_nac_hh_s0:
15964 case Hexagon::M2_mpyd_nac_hh_s1:
15965 case Hexagon::M2_mpyd_nac_hl_s0:
15966 case Hexagon::M2_mpyd_nac_hl_s1:
15967 case Hexagon::M2_mpyd_nac_lh_s0:
15968 case Hexagon::M2_mpyd_nac_lh_s1:
15969 case Hexagon::M2_mpyd_nac_ll_s0:
15970 case Hexagon::M2_mpyd_nac_ll_s1:
15971 case Hexagon::M2_mpyud_acc_hh_s0:
15972 case Hexagon::M2_mpyud_acc_hh_s1:
15973 case Hexagon::M2_mpyud_acc_hl_s0:
15974 case Hexagon::M2_mpyud_acc_hl_s1:
15975 case Hexagon::M2_mpyud_acc_lh_s0:
15976 case Hexagon::M2_mpyud_acc_lh_s1:
15977 case Hexagon::M2_mpyud_acc_ll_s0:
15978 case Hexagon::M2_mpyud_acc_ll_s1:
15979 case Hexagon::M2_mpyud_nac_hh_s0:
15980 case Hexagon::M2_mpyud_nac_hh_s1:
15981 case Hexagon::M2_mpyud_nac_hl_s0:
15982 case Hexagon::M2_mpyud_nac_hl_s1:
15983 case Hexagon::M2_mpyud_nac_lh_s0:
15984 case Hexagon::M2_mpyud_nac_lh_s1:
15985 case Hexagon::M2_mpyud_nac_ll_s0:
15986 case Hexagon::M2_mpyud_nac_ll_s1:
15987 case Hexagon::M2_vmac2:
15988 case Hexagon::M2_vmac2s_s0:
15989 case Hexagon::M2_vmac2s_s1:
15990 case Hexagon::M2_vmac2su_s0:
15991 case Hexagon::M2_vmac2su_s1:
15992 case Hexagon::M4_pmpyw_acc:
15993 case Hexagon::M4_vpmpyh_acc:
15994 case Hexagon::M5_vmacbsu:
15995 case Hexagon::M5_vmacbuu: {
15996 switch (OpNum) {
15997 case 2:
15998 // op: Rs32
15999 return 16;
16000 case 3:
16001 // op: Rt32
16002 return 8;
16003 case 0:
16004 // op: Rxx32
16005 return 0;
16006 }
16007 break;
16008 }
16009 case Hexagon::F2_sffma_sc: {
16010 switch (OpNum) {
16011 case 2:
16012 // op: Rs32
16013 return 16;
16014 case 3:
16015 // op: Rt32
16016 return 8;
16017 case 4:
16018 // op: Pu4
16019 return 5;
16020 case 0:
16021 // op: Rx32
16022 return 0;
16023 }
16024 break;
16025 }
16026 case Hexagon::S2_insert_rp: {
16027 switch (OpNum) {
16028 case 2:
16029 // op: Rs32
16030 return 16;
16031 case 3:
16032 // op: Rtt32
16033 return 8;
16034 case 0:
16035 // op: Rx32
16036 return 0;
16037 }
16038 break;
16039 }
16040 case Hexagon::S2_asl_r_p_acc:
16041 case Hexagon::S2_asl_r_p_and:
16042 case Hexagon::S2_asl_r_p_nac:
16043 case Hexagon::S2_asl_r_p_or:
16044 case Hexagon::S2_asl_r_p_xor:
16045 case Hexagon::S2_asr_r_p_acc:
16046 case Hexagon::S2_asr_r_p_and:
16047 case Hexagon::S2_asr_r_p_nac:
16048 case Hexagon::S2_asr_r_p_or:
16049 case Hexagon::S2_asr_r_p_xor:
16050 case Hexagon::S2_lsl_r_p_acc:
16051 case Hexagon::S2_lsl_r_p_and:
16052 case Hexagon::S2_lsl_r_p_nac:
16053 case Hexagon::S2_lsl_r_p_or:
16054 case Hexagon::S2_lsl_r_p_xor:
16055 case Hexagon::S2_lsr_r_p_acc:
16056 case Hexagon::S2_lsr_r_p_and:
16057 case Hexagon::S2_lsr_r_p_nac:
16058 case Hexagon::S2_lsr_r_p_or:
16059 case Hexagon::S2_lsr_r_p_xor:
16060 case Hexagon::S2_vrcnegh: {
16061 switch (OpNum) {
16062 case 2:
16063 // op: Rss32
16064 return 16;
16065 case 3:
16066 // op: Rt32
16067 return 8;
16068 case 0:
16069 // op: Rxx32
16070 return 0;
16071 }
16072 break;
16073 }
16074 case Hexagon::A4_addp_c:
16075 case Hexagon::A4_subp_c: {
16076 switch (OpNum) {
16077 case 2:
16078 // op: Rss32
16079 return 16;
16080 case 3:
16081 // op: Rtt32
16082 return 8;
16083 case 0:
16084 // op: Rdd32
16085 return 0;
16086 case 1:
16087 // op: Px4
16088 return 5;
16089 }
16090 break;
16091 }
16092 case Hexagon::A2_vraddub_acc:
16093 case Hexagon::A2_vrsadub_acc:
16094 case Hexagon::F2_dfmpyhh:
16095 case Hexagon::F2_dfmpylh:
16096 case Hexagon::F7_vsffma:
16097 case Hexagon::F7_vsffms:
16098 case Hexagon::M2_mmachs_rs0:
16099 case Hexagon::M2_mmachs_rs1:
16100 case Hexagon::M2_mmachs_s0:
16101 case Hexagon::M2_mmachs_s1:
16102 case Hexagon::M2_mmacls_rs0:
16103 case Hexagon::M2_mmacls_rs1:
16104 case Hexagon::M2_mmacls_s0:
16105 case Hexagon::M2_mmacls_s1:
16106 case Hexagon::M2_mmacuhs_rs0:
16107 case Hexagon::M2_mmacuhs_rs1:
16108 case Hexagon::M2_mmacuhs_s0:
16109 case Hexagon::M2_mmacuhs_s1:
16110 case Hexagon::M2_mmaculs_rs0:
16111 case Hexagon::M2_mmaculs_rs1:
16112 case Hexagon::M2_mmaculs_s0:
16113 case Hexagon::M2_mmaculs_s1:
16114 case Hexagon::M2_vcmac_s0_sat_i:
16115 case Hexagon::M2_vcmac_s0_sat_r:
16116 case Hexagon::M2_vdmacs_s0:
16117 case Hexagon::M2_vdmacs_s1:
16118 case Hexagon::M2_vmac2es:
16119 case Hexagon::M2_vmac2es_s0:
16120 case Hexagon::M2_vmac2es_s1:
16121 case Hexagon::M2_vrcmaci_s0:
16122 case Hexagon::M2_vrcmaci_s0c:
16123 case Hexagon::M2_vrcmacr_s0:
16124 case Hexagon::M2_vrcmacr_s0c:
16125 case Hexagon::M2_vrcmpys_acc_s1_h:
16126 case Hexagon::M2_vrcmpys_acc_s1_l:
16127 case Hexagon::M2_vrmac_s0:
16128 case Hexagon::M4_vrmpyeh_acc_s0:
16129 case Hexagon::M4_vrmpyeh_acc_s1:
16130 case Hexagon::M4_vrmpyoh_acc_s0:
16131 case Hexagon::M4_vrmpyoh_acc_s1:
16132 case Hexagon::M4_xor_xacc:
16133 case Hexagon::M5_vdmacbsu:
16134 case Hexagon::M5_vrmacbsu:
16135 case Hexagon::M5_vrmacbuu:
16136 case Hexagon::M7_dcmpyiw_acc:
16137 case Hexagon::M7_dcmpyiwc_acc:
16138 case Hexagon::M7_dcmpyrw_acc:
16139 case Hexagon::M7_dcmpyrwc_acc:
16140 case Hexagon::S2_insertp_rp: {
16141 switch (OpNum) {
16142 case 2:
16143 // op: Rss32
16144 return 16;
16145 case 3:
16146 // op: Rtt32
16147 return 8;
16148 case 0:
16149 // op: Rxx32
16150 return 0;
16151 }
16152 break;
16153 }
16154 case Hexagon::A4_vrmaxh:
16155 case Hexagon::A4_vrmaxuh:
16156 case Hexagon::A4_vrmaxuw:
16157 case Hexagon::A4_vrmaxw:
16158 case Hexagon::A4_vrminh:
16159 case Hexagon::A4_vrminuh:
16160 case Hexagon::A4_vrminuw:
16161 case Hexagon::A4_vrminw: {
16162 switch (OpNum) {
16163 case 2:
16164 // op: Rss32
16165 return 16;
16166 case 3:
16167 // op: Ru32
16168 return 0;
16169 case 0:
16170 // op: Rxx32
16171 return 8;
16172 }
16173 break;
16174 }
16175 case Hexagon::V6_vinsertwr: {
16176 switch (OpNum) {
16177 case 2:
16178 // op: Rt32
16179 return 16;
16180 case 0:
16181 // op: Vx32
16182 return 0;
16183 }
16184 break;
16185 }
16186 case Hexagon::M2_subacc: {
16187 switch (OpNum) {
16188 case 2:
16189 // op: Rt32
16190 return 8;
16191 case 3:
16192 // op: Rs32
16193 return 16;
16194 case 0:
16195 // op: Rx32
16196 return 0;
16197 }
16198 break;
16199 }
16200 case Hexagon::A6_vminub_RdP: {
16201 switch (OpNum) {
16202 case 2:
16203 // op: Rtt32
16204 return 8;
16205 case 3:
16206 // op: Rss32
16207 return 16;
16208 case 0:
16209 // op: Rdd32
16210 return 0;
16211 case 1:
16212 // op: Pe4
16213 return 5;
16214 }
16215 break;
16216 }
16217 case Hexagon::V6_vrmpyzbb_rx:
16218 case Hexagon::V6_vrmpyzbub_rx:
16219 case Hexagon::V6_vrmpyzcb_rx:
16220 case Hexagon::V6_vrmpyzcbs_rx:
16221 case Hexagon::V6_vrmpyznb_rx: {
16222 switch (OpNum) {
16223 case 2:
16224 // op: Vu32
16225 return 8;
16226 case 0:
16227 // op: Vdddd32
16228 return 0;
16229 case 1:
16230 // op: Rx8
16231 return 16;
16232 }
16233 break;
16234 }
16235 case Hexagon::V6_vunpackob:
16236 case Hexagon::V6_vunpackoh: {
16237 switch (OpNum) {
16238 case 2:
16239 // op: Vu32
16240 return 8;
16241 case 0:
16242 // op: Vxx32
16243 return 0;
16244 }
16245 break;
16246 }
16247 case Hexagon::V6_vandvrt_acc: {
16248 switch (OpNum) {
16249 case 2:
16250 // op: Vu32
16251 return 8;
16252 case 3:
16253 // op: Rt32
16254 return 16;
16255 case 0:
16256 // op: Qx4
16257 return 0;
16258 }
16259 break;
16260 }
16261 case Hexagon::V6_get_qfext_oracc:
16262 case Hexagon::V6_vaslh_acc:
16263 case Hexagon::V6_vaslw_acc:
16264 case Hexagon::V6_vasrh_acc:
16265 case Hexagon::V6_vasrw_acc:
16266 case Hexagon::V6_vdmpybus_acc:
16267 case Hexagon::V6_vdmpyhb_acc:
16268 case Hexagon::V6_vdmpyhsat_acc:
16269 case Hexagon::V6_vdmpyhsusat_acc:
16270 case Hexagon::V6_vmpyihb_acc:
16271 case Hexagon::V6_vmpyiwb_acc:
16272 case Hexagon::V6_vmpyiwh_acc:
16273 case Hexagon::V6_vmpyiwub_acc:
16274 case Hexagon::V6_vmpyuhe_acc:
16275 case Hexagon::V6_vrmpybus_acc:
16276 case Hexagon::V6_vrmpyub_acc: {
16277 switch (OpNum) {
16278 case 2:
16279 // op: Vu32
16280 return 8;
16281 case 3:
16282 // op: Rt32
16283 return 16;
16284 case 0:
16285 // op: Vx32
16286 return 0;
16287 }
16288 break;
16289 }
16290 case Hexagon::V6_vmpar_uwuhuw_si:
16291 case Hexagon::V6_vmpar_wuhw_si:
16292 case Hexagon::V6_vmpybus_acc:
16293 case Hexagon::V6_vmpyh_acc:
16294 case Hexagon::V6_vmpyhsat_acc:
16295 case Hexagon::V6_vmpyrhus_acc:
16296 case Hexagon::V6_vmpyub_acc:
16297 case Hexagon::V6_vmpyuh_acc: {
16298 switch (OpNum) {
16299 case 2:
16300 // op: Vu32
16301 return 8;
16302 case 3:
16303 // op: Rt32
16304 return 16;
16305 case 0:
16306 // op: Vxx32
16307 return 0;
16308 }
16309 break;
16310 }
16311 case Hexagon::V6_vrmpyzbb_rt_acc:
16312 case Hexagon::V6_vrmpyzbub_rt_acc:
16313 case Hexagon::V6_vrmpyzcb_rt_acc:
16314 case Hexagon::V6_vrmpyzcbs_rt_acc:
16315 case Hexagon::V6_vrmpyznb_rt_acc: {
16316 switch (OpNum) {
16317 case 2:
16318 // op: Vu32
16319 return 8;
16320 case 3:
16321 // op: Rt8
16322 return 16;
16323 case 0:
16324 // op: Vyyyy32
16325 return 0;
16326 }
16327 break;
16328 }
16329 case Hexagon::V6_vmpahhsat:
16330 case Hexagon::V6_vmpauhuh:
16331 case Hexagon::V6_vmpauhuhsat:
16332 case Hexagon::V6_vmpauhuhuh:
16333 case Hexagon::V6_vmpsuhuh:
16334 case Hexagon::V6_vmpsuhuhsat: {
16335 switch (OpNum) {
16336 case 2:
16337 // op: Vu32
16338 return 8;
16339 case 3:
16340 // op: Rtt32
16341 return 16;
16342 case 0:
16343 // op: Vx32
16344 return 0;
16345 }
16346 break;
16347 }
16348 case Hexagon::V6_vrmpybub_rtt_acc:
16349 case Hexagon::V6_vrmpyub_rtt_acc: {
16350 switch (OpNum) {
16351 case 2:
16352 // op: Vu32
16353 return 8;
16354 case 3:
16355 // op: Rtt32
16356 return 16;
16357 case 0:
16358 // op: Vxx32
16359 return 0;
16360 }
16361 break;
16362 }
16363 case Hexagon::V6_veqb_and:
16364 case Hexagon::V6_veqb_or:
16365 case Hexagon::V6_veqb_xor:
16366 case Hexagon::V6_veqh_and:
16367 case Hexagon::V6_veqh_or:
16368 case Hexagon::V6_veqh_xor:
16369 case Hexagon::V6_veqhf_and:
16370 case Hexagon::V6_veqhf_or:
16371 case Hexagon::V6_veqhf_xor:
16372 case Hexagon::V6_veqsf_and:
16373 case Hexagon::V6_veqsf_or:
16374 case Hexagon::V6_veqsf_xor:
16375 case Hexagon::V6_veqw_and:
16376 case Hexagon::V6_veqw_or:
16377 case Hexagon::V6_veqw_xor:
16378 case Hexagon::V6_vgtb_and:
16379 case Hexagon::V6_vgtb_or:
16380 case Hexagon::V6_vgtb_xor:
16381 case Hexagon::V6_vgtbf_and:
16382 case Hexagon::V6_vgtbf_or:
16383 case Hexagon::V6_vgtbf_xor:
16384 case Hexagon::V6_vgth_and:
16385 case Hexagon::V6_vgth_or:
16386 case Hexagon::V6_vgth_xor:
16387 case Hexagon::V6_vgthf_and:
16388 case Hexagon::V6_vgthf_or:
16389 case Hexagon::V6_vgthf_xor:
16390 case Hexagon::V6_vgtsf_and:
16391 case Hexagon::V6_vgtsf_or:
16392 case Hexagon::V6_vgtsf_xor:
16393 case Hexagon::V6_vgtub_and:
16394 case Hexagon::V6_vgtub_or:
16395 case Hexagon::V6_vgtub_xor:
16396 case Hexagon::V6_vgtuh_and:
16397 case Hexagon::V6_vgtuh_or:
16398 case Hexagon::V6_vgtuh_xor:
16399 case Hexagon::V6_vgtuw_and:
16400 case Hexagon::V6_vgtuw_or:
16401 case Hexagon::V6_vgtuw_xor:
16402 case Hexagon::V6_vgtw_and:
16403 case Hexagon::V6_vgtw_or:
16404 case Hexagon::V6_vgtw_xor: {
16405 switch (OpNum) {
16406 case 2:
16407 // op: Vu32
16408 return 8;
16409 case 3:
16410 // op: Vv32
16411 return 16;
16412 case 0:
16413 // op: Qx4
16414 return 0;
16415 }
16416 break;
16417 }
16418 case Hexagon::V6_vaddcarryo:
16419 case Hexagon::V6_vsubcarryo: {
16420 switch (OpNum) {
16421 case 2:
16422 // op: Vu32
16423 return 8;
16424 case 3:
16425 // op: Vv32
16426 return 16;
16427 case 0:
16428 // op: Vd32
16429 return 0;
16430 case 1:
16431 // op: Qe4
16432 return 5;
16433 }
16434 break;
16435 }
16436 case Hexagon::V6_vaddcarry:
16437 case Hexagon::V6_vsubcarry: {
16438 switch (OpNum) {
16439 case 2:
16440 // op: Vu32
16441 return 8;
16442 case 3:
16443 // op: Vv32
16444 return 16;
16445 case 0:
16446 // op: Vd32
16447 return 0;
16448 case 1:
16449 // op: Qx4
16450 return 5;
16451 }
16452 break;
16453 }
16454 case Hexagon::V6_vdmpy_sf_hf_acc:
16455 case Hexagon::V6_vdmpyhvsat_acc:
16456 case Hexagon::V6_vmpy_hf_hf_acc:
16457 case Hexagon::V6_vmpyiewh_acc:
16458 case Hexagon::V6_vmpyiewuh_acc:
16459 case Hexagon::V6_vmpyih_acc:
16460 case Hexagon::V6_vmpyowh_rnd_sacc:
16461 case Hexagon::V6_vmpyowh_sacc:
16462 case Hexagon::V6_vmpyowuh_acc:
16463 case Hexagon::V6_vmpyowuh_rnd_acc:
16464 case Hexagon::V6_vrmpybusv_acc:
16465 case Hexagon::V6_vrmpybv_acc:
16466 case Hexagon::V6_vrmpyubv_acc: {
16467 switch (OpNum) {
16468 case 2:
16469 // op: Vu32
16470 return 8;
16471 case 3:
16472 // op: Vv32
16473 return 16;
16474 case 0:
16475 // op: Vx32
16476 return 0;
16477 }
16478 break;
16479 }
16480 case Hexagon::V6_vaddhw_acc:
16481 case Hexagon::V6_vaddubh_acc:
16482 case Hexagon::V6_vadduhw_acc:
16483 case Hexagon::V6_vasr_into:
16484 case Hexagon::V6_vmpy_hf_f8_acc:
16485 case Hexagon::V6_vmpy_sf_bf_acc:
16486 case Hexagon::V6_vmpy_sf_hf_acc:
16487 case Hexagon::V6_vmpybusv_acc:
16488 case Hexagon::V6_vmpybv_acc:
16489 case Hexagon::V6_vmpyhus_acc:
16490 case Hexagon::V6_vmpyhv_acc:
16491 case Hexagon::V6_vmpyowh_64_acc:
16492 case Hexagon::V6_vmpyubv_acc:
16493 case Hexagon::V6_vmpyuhv_acc: {
16494 switch (OpNum) {
16495 case 2:
16496 // op: Vu32
16497 return 8;
16498 case 3:
16499 // op: Vv32
16500 return 16;
16501 case 0:
16502 // op: Vxx32
16503 return 0;
16504 }
16505 break;
16506 }
16507 case Hexagon::V6_vlutvvb_oracc: {
16508 switch (OpNum) {
16509 case 2:
16510 // op: Vu32
16511 return 8;
16512 case 3:
16513 // op: Vv32
16514 return 19;
16515 case 4:
16516 // op: Rt8
16517 return 16;
16518 case 0:
16519 // op: Vx32
16520 return 0;
16521 }
16522 break;
16523 }
16524 case Hexagon::V6_vlutvwh_oracc: {
16525 switch (OpNum) {
16526 case 2:
16527 // op: Vu32
16528 return 8;
16529 case 3:
16530 // op: Vv32
16531 return 19;
16532 case 4:
16533 // op: Rt8
16534 return 16;
16535 case 0:
16536 // op: Vxx32
16537 return 0;
16538 }
16539 break;
16540 }
16541 case Hexagon::V6_vdmpyhisat_acc:
16542 case Hexagon::V6_vdmpyhsuisat_acc: {
16543 switch (OpNum) {
16544 case 2:
16545 // op: Vuu32
16546 return 8;
16547 case 3:
16548 // op: Rt32
16549 return 16;
16550 case 0:
16551 // op: Vx32
16552 return 0;
16553 }
16554 break;
16555 }
16556 case Hexagon::V6_vdmpybus_dv_acc:
16557 case Hexagon::V6_vdmpyhb_dv_acc:
16558 case Hexagon::V6_vdsaduh_acc:
16559 case Hexagon::V6_vmpabus_acc:
16560 case Hexagon::V6_vmpabuu_acc:
16561 case Hexagon::V6_vmpahb_acc:
16562 case Hexagon::V6_vmpauhb_acc:
16563 case Hexagon::V6_vtmpyb_acc:
16564 case Hexagon::V6_vtmpybus_acc:
16565 case Hexagon::V6_vtmpyhb_acc: {
16566 switch (OpNum) {
16567 case 2:
16568 // op: Vuu32
16569 return 8;
16570 case 3:
16571 // op: Rt32
16572 return 16;
16573 case 0:
16574 // op: Vxx32
16575 return 0;
16576 }
16577 break;
16578 }
16579 case Hexagon::L4_loadalignb_ap:
16580 case Hexagon::L4_loadalignh_ap: {
16581 switch (OpNum) {
16582 case 3:
16583 // op: II
16584 return 5;
16585 case 0:
16586 // op: Ryy32
16587 return 0;
16588 case 1:
16589 // op: Re32
16590 return 16;
16591 }
16592 break;
16593 }
16594 case Hexagon::S2_pstorerbnewf_pi:
16595 case Hexagon::S2_pstorerbnewfnew_pi:
16596 case Hexagon::S2_pstorerbnewt_pi:
16597 case Hexagon::S2_pstorerbnewtnew_pi:
16598 case Hexagon::S2_pstorerhnewf_pi:
16599 case Hexagon::S2_pstorerhnewfnew_pi:
16600 case Hexagon::S2_pstorerhnewt_pi:
16601 case Hexagon::S2_pstorerhnewtnew_pi:
16602 case Hexagon::S2_pstorerinewf_pi:
16603 case Hexagon::S2_pstorerinewfnew_pi:
16604 case Hexagon::S2_pstorerinewt_pi:
16605 case Hexagon::S2_pstorerinewtnew_pi: {
16606 switch (OpNum) {
16607 case 3:
16608 // op: Ii
16609 return 3;
16610 case 1:
16611 // op: Pv4
16612 return 0;
16613 case 4:
16614 // op: Nt8
16615 return 8;
16616 case 0:
16617 // op: Rx32
16618 return 16;
16619 }
16620 break;
16621 }
16622 case Hexagon::S2_pstorerbf_pi:
16623 case Hexagon::S2_pstorerbf_pi_nt:
16624 case Hexagon::S2_pstorerbfnew_pi:
16625 case Hexagon::S2_pstorerbt_pi:
16626 case Hexagon::S2_pstorerbt_pi_nt:
16627 case Hexagon::S2_pstorerbtnew_pi:
16628 case Hexagon::S2_pstorerff_pi:
16629 case Hexagon::S2_pstorerffnew_pi:
16630 case Hexagon::S2_pstorerft_pi:
16631 case Hexagon::S2_pstorerftnew_pi:
16632 case Hexagon::S2_pstorerhf_pi:
16633 case Hexagon::S2_pstorerhf_pi_nt:
16634 case Hexagon::S2_pstorerhfnew_pi:
16635 case Hexagon::S2_pstorerht_pi:
16636 case Hexagon::S2_pstorerht_pi_nt:
16637 case Hexagon::S2_pstorerhtnew_pi:
16638 case Hexagon::S2_pstorerif_pi:
16639 case Hexagon::S2_pstorerif_pi_nt:
16640 case Hexagon::S2_pstorerifnew_pi:
16641 case Hexagon::S2_pstorerit_pi:
16642 case Hexagon::S2_pstorerit_pi_nt:
16643 case Hexagon::S2_pstoreritnew_pi: {
16644 switch (OpNum) {
16645 case 3:
16646 // op: Ii
16647 return 3;
16648 case 1:
16649 // op: Pv4
16650 return 0;
16651 case 4:
16652 // op: Rt32
16653 return 8;
16654 case 0:
16655 // op: Rx32
16656 return 16;
16657 }
16658 break;
16659 }
16660 case Hexagon::S2_pstorerdf_pi:
16661 case Hexagon::S2_pstorerdf_pi_nt:
16662 case Hexagon::S2_pstorerdfnew_pi:
16663 case Hexagon::S2_pstorerdt_pi:
16664 case Hexagon::S2_pstorerdt_pi_nt:
16665 case Hexagon::S2_pstorerdtnew_pi: {
16666 switch (OpNum) {
16667 case 3:
16668 // op: Ii
16669 return 3;
16670 case 1:
16671 // op: Pv4
16672 return 0;
16673 case 4:
16674 // op: Rtt32
16675 return 8;
16676 case 0:
16677 // op: Rx32
16678 return 16;
16679 }
16680 break;
16681 }
16682 case Hexagon::L2_loadbsw2_pi:
16683 case Hexagon::L2_loadbzw2_pi:
16684 case Hexagon::L2_loadrb_pi:
16685 case Hexagon::L2_loadrh_pi:
16686 case Hexagon::L2_loadri_pi:
16687 case Hexagon::L2_loadrub_pi:
16688 case Hexagon::L2_loadruh_pi: {
16689 switch (OpNum) {
16690 case 3:
16691 // op: Ii
16692 return 5;
16693 case 0:
16694 // op: Rd32
16695 return 0;
16696 case 1:
16697 // op: Rx32
16698 return 16;
16699 }
16700 break;
16701 }
16702 case Hexagon::L2_loadbsw4_pi:
16703 case Hexagon::L2_loadbzw4_pi:
16704 case Hexagon::L2_loadrd_pi: {
16705 switch (OpNum) {
16706 case 3:
16707 // op: Ii
16708 return 5;
16709 case 0:
16710 // op: Rdd32
16711 return 0;
16712 case 1:
16713 // op: Rx32
16714 return 16;
16715 }
16716 break;
16717 }
16718 case Hexagon::L2_ploadrbf_io:
16719 case Hexagon::L2_ploadrbfnew_io:
16720 case Hexagon::L2_ploadrbt_io:
16721 case Hexagon::L2_ploadrbtnew_io:
16722 case Hexagon::L2_ploadrhf_io:
16723 case Hexagon::L2_ploadrhfnew_io:
16724 case Hexagon::L2_ploadrht_io:
16725 case Hexagon::L2_ploadrhtnew_io:
16726 case Hexagon::L2_ploadrif_io:
16727 case Hexagon::L2_ploadrifnew_io:
16728 case Hexagon::L2_ploadrit_io:
16729 case Hexagon::L2_ploadritnew_io:
16730 case Hexagon::L2_ploadrubf_io:
16731 case Hexagon::L2_ploadrubfnew_io:
16732 case Hexagon::L2_ploadrubt_io:
16733 case Hexagon::L2_ploadrubtnew_io:
16734 case Hexagon::L2_ploadruhf_io:
16735 case Hexagon::L2_ploadruhfnew_io:
16736 case Hexagon::L2_ploadruht_io:
16737 case Hexagon::L2_ploadruhtnew_io: {
16738 switch (OpNum) {
16739 case 3:
16740 // op: Ii
16741 return 5;
16742 case 1:
16743 // op: Pt4
16744 return 11;
16745 case 2:
16746 // op: Rs32
16747 return 16;
16748 case 0:
16749 // op: Rd32
16750 return 0;
16751 }
16752 break;
16753 }
16754 case Hexagon::L2_ploadrdf_io:
16755 case Hexagon::L2_ploadrdfnew_io:
16756 case Hexagon::L2_ploadrdt_io:
16757 case Hexagon::L2_ploadrdtnew_io: {
16758 switch (OpNum) {
16759 case 3:
16760 // op: Ii
16761 return 5;
16762 case 1:
16763 // op: Pt4
16764 return 11;
16765 case 2:
16766 // op: Rs32
16767 return 16;
16768 case 0:
16769 // op: Rdd32
16770 return 0;
16771 }
16772 break;
16773 }
16774 case Hexagon::A2_paddif:
16775 case Hexagon::A2_paddifnew:
16776 case Hexagon::A2_paddit:
16777 case Hexagon::A2_padditnew:
16778 case Hexagon::C2_muxir: {
16779 switch (OpNum) {
16780 case 3:
16781 // op: Ii
16782 return 5;
16783 case 1:
16784 // op: Pu4
16785 return 21;
16786 case 2:
16787 // op: Rs32
16788 return 16;
16789 case 0:
16790 // op: Rd32
16791 return 0;
16792 }
16793 break;
16794 }
16795 case Hexagon::S4_addaddi: {
16796 switch (OpNum) {
16797 case 3:
16798 // op: Ii
16799 return 5;
16800 case 1:
16801 // op: Rs32
16802 return 16;
16803 case 2:
16804 // op: Ru32
16805 return 0;
16806 case 0:
16807 // op: Rd32
16808 return 8;
16809 }
16810 break;
16811 }
16812 case Hexagon::S4_vrcrotate: {
16813 switch (OpNum) {
16814 case 3:
16815 // op: Ii
16816 return 5;
16817 case 1:
16818 // op: Rss32
16819 return 16;
16820 case 2:
16821 // op: Rt32
16822 return 8;
16823 case 0:
16824 // op: Rdd32
16825 return 0;
16826 }
16827 break;
16828 }
16829 case Hexagon::S2_vspliceib: {
16830 switch (OpNum) {
16831 case 3:
16832 // op: Ii
16833 return 5;
16834 case 1:
16835 // op: Rss32
16836 return 16;
16837 case 2:
16838 // op: Rtt32
16839 return 8;
16840 case 0:
16841 // op: Rdd32
16842 return 0;
16843 }
16844 break;
16845 }
16846 case Hexagon::S2_addasl_rrri: {
16847 switch (OpNum) {
16848 case 3:
16849 // op: Ii
16850 return 5;
16851 case 1:
16852 // op: Rt32
16853 return 8;
16854 case 2:
16855 // op: Rs32
16856 return 16;
16857 case 0:
16858 // op: Rd32
16859 return 0;
16860 }
16861 break;
16862 }
16863 case Hexagon::S2_valignib: {
16864 switch (OpNum) {
16865 case 3:
16866 // op: Ii
16867 return 5;
16868 case 1:
16869 // op: Rtt32
16870 return 8;
16871 case 2:
16872 // op: Rss32
16873 return 16;
16874 case 0:
16875 // op: Rdd32
16876 return 0;
16877 }
16878 break;
16879 }
16880 case Hexagon::S4_or_andix: {
16881 switch (OpNum) {
16882 case 3:
16883 // op: Ii
16884 return 5;
16885 case 1:
16886 // op: Ru32
16887 return 0;
16888 case 0:
16889 // op: Rx32
16890 return 16;
16891 }
16892 break;
16893 }
16894 case Hexagon::M4_mpyri_addr: {
16895 switch (OpNum) {
16896 case 3:
16897 // op: Ii
16898 return 5;
16899 case 1:
16900 // op: Ru32
16901 return 0;
16902 case 2:
16903 // op: Rs32
16904 return 16;
16905 case 0:
16906 // op: Rd32
16907 return 8;
16908 }
16909 break;
16910 }
16911 case Hexagon::V6_valignbi:
16912 case Hexagon::V6_vlalignbi:
16913 case Hexagon::V6_vlutvvbi: {
16914 switch (OpNum) {
16915 case 3:
16916 // op: Ii
16917 return 5;
16918 case 1:
16919 // op: Vu32
16920 return 8;
16921 case 2:
16922 // op: Vv32
16923 return 16;
16924 case 0:
16925 // op: Vd32
16926 return 0;
16927 }
16928 break;
16929 }
16930 case Hexagon::V6_vlutvwhi: {
16931 switch (OpNum) {
16932 case 3:
16933 // op: Ii
16934 return 5;
16935 case 1:
16936 // op: Vu32
16937 return 8;
16938 case 2:
16939 // op: Vv32
16940 return 16;
16941 case 0:
16942 // op: Vdd32
16943 return 0;
16944 }
16945 break;
16946 }
16947 case Hexagon::V6_vrmpybusi:
16948 case Hexagon::V6_vrmpyubi:
16949 case Hexagon::V6_vrsadubi: {
16950 switch (OpNum) {
16951 case 3:
16952 // op: Ii
16953 return 5;
16954 case 1:
16955 // op: Vuu32
16956 return 8;
16957 case 2:
16958 // op: Rt32
16959 return 16;
16960 case 0:
16961 // op: Vdd32
16962 return 0;
16963 }
16964 break;
16965 }
16966 case Hexagon::V6_v6mpyhubs10:
16967 case Hexagon::V6_v6mpyvubs10: {
16968 switch (OpNum) {
16969 case 3:
16970 // op: Ii
16971 return 5;
16972 case 1:
16973 // op: Vuu32
16974 return 8;
16975 case 2:
16976 // op: Vvv32
16977 return 16;
16978 case 0:
16979 // op: Vdd32
16980 return 0;
16981 }
16982 break;
16983 }
16984 case Hexagon::M2_accii:
16985 case Hexagon::M2_macsin:
16986 case Hexagon::M2_macsip:
16987 case Hexagon::M2_naccii:
16988 case Hexagon::S4_or_andi:
16989 case Hexagon::S4_or_ori: {
16990 switch (OpNum) {
16991 case 3:
16992 // op: Ii
16993 return 5;
16994 case 2:
16995 // op: Rs32
16996 return 16;
16997 case 0:
16998 // op: Rx32
16999 return 0;
17000 }
17001 break;
17002 }
17003 case Hexagon::L2_loadalignb_io:
17004 case Hexagon::L2_loadalignh_io: {
17005 switch (OpNum) {
17006 case 3:
17007 // op: Ii
17008 return 5;
17009 case 2:
17010 // op: Rs32
17011 return 16;
17012 case 0:
17013 // op: Ryy32
17014 return 0;
17015 }
17016 break;
17017 }
17018 case Hexagon::S2_tableidxb:
17019 case Hexagon::S2_tableidxd:
17020 case Hexagon::S2_tableidxh:
17021 case Hexagon::S2_tableidxw: {
17022 switch (OpNum) {
17023 case 3:
17024 // op: Ii
17025 return 5;
17026 case 4:
17027 // op: II
17028 return 8;
17029 case 2:
17030 // op: Rs32
17031 return 16;
17032 case 0:
17033 // op: Rx32
17034 return 0;
17035 }
17036 break;
17037 }
17038 case Hexagon::L2_loadbsw2_pci:
17039 case Hexagon::L2_loadbzw2_pci:
17040 case Hexagon::L2_loadrb_pci:
17041 case Hexagon::L2_loadrh_pci:
17042 case Hexagon::L2_loadri_pci:
17043 case Hexagon::L2_loadrub_pci:
17044 case Hexagon::L2_loadruh_pci: {
17045 switch (OpNum) {
17046 case 3:
17047 // op: Ii
17048 return 5;
17049 case 4:
17050 // op: Mu2
17051 return 13;
17052 case 0:
17053 // op: Rd32
17054 return 0;
17055 case 1:
17056 // op: Rx32
17057 return 16;
17058 }
17059 break;
17060 }
17061 case Hexagon::L2_loadbsw4_pci:
17062 case Hexagon::L2_loadbzw4_pci:
17063 case Hexagon::L2_loadrd_pci: {
17064 switch (OpNum) {
17065 case 3:
17066 // op: Ii
17067 return 5;
17068 case 4:
17069 // op: Mu2
17070 return 13;
17071 case 0:
17072 // op: Rdd32
17073 return 0;
17074 case 1:
17075 // op: Rx32
17076 return 16;
17077 }
17078 break;
17079 }
17080 case Hexagon::S4_pstorerbnewf_rr:
17081 case Hexagon::S4_pstorerbnewfnew_rr:
17082 case Hexagon::S4_pstorerbnewt_rr:
17083 case Hexagon::S4_pstorerbnewtnew_rr:
17084 case Hexagon::S4_pstorerhnewf_rr:
17085 case Hexagon::S4_pstorerhnewfnew_rr:
17086 case Hexagon::S4_pstorerhnewt_rr:
17087 case Hexagon::S4_pstorerhnewtnew_rr:
17088 case Hexagon::S4_pstorerinewf_rr:
17089 case Hexagon::S4_pstorerinewfnew_rr:
17090 case Hexagon::S4_pstorerinewt_rr:
17091 case Hexagon::S4_pstorerinewtnew_rr: {
17092 switch (OpNum) {
17093 case 3:
17094 // op: Ii
17095 return 7;
17096 case 0:
17097 // op: Pv4
17098 return 5;
17099 case 1:
17100 // op: Rs32
17101 return 16;
17102 case 2:
17103 // op: Ru32
17104 return 8;
17105 case 4:
17106 // op: Nt8
17107 return 0;
17108 }
17109 break;
17110 }
17111 case Hexagon::S4_pstorerbf_rr:
17112 case Hexagon::S4_pstorerbfnew_rr:
17113 case Hexagon::S4_pstorerbt_rr:
17114 case Hexagon::S4_pstorerbtnew_rr:
17115 case Hexagon::S4_pstorerff_rr:
17116 case Hexagon::S4_pstorerffnew_rr:
17117 case Hexagon::S4_pstorerft_rr:
17118 case Hexagon::S4_pstorerftnew_rr:
17119 case Hexagon::S4_pstorerhf_rr:
17120 case Hexagon::S4_pstorerhfnew_rr:
17121 case Hexagon::S4_pstorerht_rr:
17122 case Hexagon::S4_pstorerhtnew_rr:
17123 case Hexagon::S4_pstorerif_rr:
17124 case Hexagon::S4_pstorerifnew_rr:
17125 case Hexagon::S4_pstorerit_rr:
17126 case Hexagon::S4_pstoreritnew_rr: {
17127 switch (OpNum) {
17128 case 3:
17129 // op: Ii
17130 return 7;
17131 case 0:
17132 // op: Pv4
17133 return 5;
17134 case 1:
17135 // op: Rs32
17136 return 16;
17137 case 2:
17138 // op: Ru32
17139 return 8;
17140 case 4:
17141 // op: Rt32
17142 return 0;
17143 }
17144 break;
17145 }
17146 case Hexagon::S4_pstorerdf_rr:
17147 case Hexagon::S4_pstorerdfnew_rr:
17148 case Hexagon::S4_pstorerdt_rr:
17149 case Hexagon::S4_pstorerdtnew_rr: {
17150 switch (OpNum) {
17151 case 3:
17152 // op: Ii
17153 return 7;
17154 case 0:
17155 // op: Pv4
17156 return 5;
17157 case 1:
17158 // op: Rs32
17159 return 16;
17160 case 2:
17161 // op: Ru32
17162 return 8;
17163 case 4:
17164 // op: Rtt32
17165 return 0;
17166 }
17167 break;
17168 }
17169 case Hexagon::L4_loadrb_rr:
17170 case Hexagon::L4_loadrh_rr:
17171 case Hexagon::L4_loadri_rr:
17172 case Hexagon::L4_loadrub_rr:
17173 case Hexagon::L4_loadruh_rr: {
17174 switch (OpNum) {
17175 case 3:
17176 // op: Ii
17177 return 7;
17178 case 1:
17179 // op: Rs32
17180 return 16;
17181 case 2:
17182 // op: Rt32
17183 return 8;
17184 case 0:
17185 // op: Rd32
17186 return 0;
17187 }
17188 break;
17189 }
17190 case Hexagon::L4_loadrd_rr: {
17191 switch (OpNum) {
17192 case 3:
17193 // op: Ii
17194 return 7;
17195 case 1:
17196 // op: Rs32
17197 return 16;
17198 case 2:
17199 // op: Rt32
17200 return 8;
17201 case 0:
17202 // op: Rdd32
17203 return 0;
17204 }
17205 break;
17206 }
17207 case Hexagon::L4_loadalignb_ur:
17208 case Hexagon::L4_loadalignh_ur: {
17209 switch (OpNum) {
17210 case 3:
17211 // op: Ii
17212 return 7;
17213 case 4:
17214 // op: II
17215 return 5;
17216 case 2:
17217 // op: Rt32
17218 return 16;
17219 case 0:
17220 // op: Ryy32
17221 return 0;
17222 }
17223 break;
17224 }
17225 case Hexagon::V6_vL32Ub_pi:
17226 case Hexagon::V6_vL32b_cur_pi:
17227 case Hexagon::V6_vL32b_nt_cur_pi:
17228 case Hexagon::V6_vL32b_nt_pi:
17229 case Hexagon::V6_vL32b_nt_tmp_pi:
17230 case Hexagon::V6_vL32b_pi:
17231 case Hexagon::V6_vL32b_tmp_pi: {
17232 switch (OpNum) {
17233 case 3:
17234 // op: Ii
17235 return 8;
17236 case 0:
17237 // op: Vd32
17238 return 0;
17239 case 1:
17240 // op: Rx32
17241 return 16;
17242 }
17243 break;
17244 }
17245 case Hexagon::V6_zLd_pred_pi: {
17246 switch (OpNum) {
17247 case 3:
17248 // op: Ii
17249 return 8;
17250 case 1:
17251 // op: Pv4
17252 return 11;
17253 case 0:
17254 // op: Rx32
17255 return 16;
17256 }
17257 break;
17258 }
17259 case Hexagon::V6_vL32b_cur_npred_ai:
17260 case Hexagon::V6_vL32b_cur_pred_ai:
17261 case Hexagon::V6_vL32b_npred_ai:
17262 case Hexagon::V6_vL32b_nt_cur_npred_ai:
17263 case Hexagon::V6_vL32b_nt_cur_pred_ai:
17264 case Hexagon::V6_vL32b_nt_npred_ai:
17265 case Hexagon::V6_vL32b_nt_pred_ai:
17266 case Hexagon::V6_vL32b_nt_tmp_npred_ai:
17267 case Hexagon::V6_vL32b_nt_tmp_pred_ai:
17268 case Hexagon::V6_vL32b_pred_ai:
17269 case Hexagon::V6_vL32b_tmp_npred_ai:
17270 case Hexagon::V6_vL32b_tmp_pred_ai: {
17271 switch (OpNum) {
17272 case 3:
17273 // op: Ii
17274 return 8;
17275 case 1:
17276 // op: Pv4
17277 return 11;
17278 case 2:
17279 // op: Rt32
17280 return 16;
17281 case 0:
17282 // op: Vd32
17283 return 0;
17284 }
17285 break;
17286 }
17287 case Hexagon::V6_vS32b_new_npred_pi:
17288 case Hexagon::V6_vS32b_new_pred_pi:
17289 case Hexagon::V6_vS32b_nt_new_npred_pi:
17290 case Hexagon::V6_vS32b_nt_new_pred_pi: {
17291 switch (OpNum) {
17292 case 3:
17293 // op: Ii
17294 return 8;
17295 case 1:
17296 // op: Pv4
17297 return 11;
17298 case 4:
17299 // op: Os8
17300 return 0;
17301 case 0:
17302 // op: Rx32
17303 return 16;
17304 }
17305 break;
17306 }
17307 case Hexagon::V6_vS32Ub_npred_pi:
17308 case Hexagon::V6_vS32Ub_pred_pi:
17309 case Hexagon::V6_vS32b_npred_pi:
17310 case Hexagon::V6_vS32b_nt_npred_pi:
17311 case Hexagon::V6_vS32b_nt_pred_pi:
17312 case Hexagon::V6_vS32b_pred_pi: {
17313 switch (OpNum) {
17314 case 3:
17315 // op: Ii
17316 return 8;
17317 case 1:
17318 // op: Pv4
17319 return 11;
17320 case 4:
17321 // op: Vs32
17322 return 0;
17323 case 0:
17324 // op: Rx32
17325 return 16;
17326 }
17327 break;
17328 }
17329 case Hexagon::V6_vS32b_nqpred_pi:
17330 case Hexagon::V6_vS32b_nt_nqpred_pi:
17331 case Hexagon::V6_vS32b_nt_qpred_pi:
17332 case Hexagon::V6_vS32b_qpred_pi: {
17333 switch (OpNum) {
17334 case 3:
17335 // op: Ii
17336 return 8;
17337 case 1:
17338 // op: Qv4
17339 return 11;
17340 case 4:
17341 // op: Vs32
17342 return 0;
17343 case 0:
17344 // op: Rx32
17345 return 16;
17346 }
17347 break;
17348 }
17349 case Hexagon::S2_asl_i_r_acc:
17350 case Hexagon::S2_asl_i_r_and:
17351 case Hexagon::S2_asl_i_r_nac:
17352 case Hexagon::S2_asl_i_r_or:
17353 case Hexagon::S2_asl_i_r_xacc:
17354 case Hexagon::S2_asr_i_r_acc:
17355 case Hexagon::S2_asr_i_r_and:
17356 case Hexagon::S2_asr_i_r_nac:
17357 case Hexagon::S2_asr_i_r_or:
17358 case Hexagon::S2_lsr_i_r_acc:
17359 case Hexagon::S2_lsr_i_r_and:
17360 case Hexagon::S2_lsr_i_r_nac:
17361 case Hexagon::S2_lsr_i_r_or:
17362 case Hexagon::S2_lsr_i_r_xacc:
17363 case Hexagon::S6_rol_i_r_acc:
17364 case Hexagon::S6_rol_i_r_and:
17365 case Hexagon::S6_rol_i_r_nac:
17366 case Hexagon::S6_rol_i_r_or:
17367 case Hexagon::S6_rol_i_r_xacc: {
17368 switch (OpNum) {
17369 case 3:
17370 // op: Ii
17371 return 8;
17372 case 2:
17373 // op: Rs32
17374 return 16;
17375 case 0:
17376 // op: Rx32
17377 return 0;
17378 }
17379 break;
17380 }
17381 case Hexagon::S2_asl_i_p_acc:
17382 case Hexagon::S2_asl_i_p_and:
17383 case Hexagon::S2_asl_i_p_nac:
17384 case Hexagon::S2_asl_i_p_or:
17385 case Hexagon::S2_asl_i_p_xacc:
17386 case Hexagon::S2_asr_i_p_acc:
17387 case Hexagon::S2_asr_i_p_and:
17388 case Hexagon::S2_asr_i_p_nac:
17389 case Hexagon::S2_asr_i_p_or:
17390 case Hexagon::S2_lsr_i_p_acc:
17391 case Hexagon::S2_lsr_i_p_and:
17392 case Hexagon::S2_lsr_i_p_nac:
17393 case Hexagon::S2_lsr_i_p_or:
17394 case Hexagon::S2_lsr_i_p_xacc:
17395 case Hexagon::S6_rol_i_p_acc:
17396 case Hexagon::S6_rol_i_p_and:
17397 case Hexagon::S6_rol_i_p_nac:
17398 case Hexagon::S6_rol_i_p_or:
17399 case Hexagon::S6_rol_i_p_xacc: {
17400 switch (OpNum) {
17401 case 3:
17402 // op: Ii
17403 return 8;
17404 case 2:
17405 // op: Rss32
17406 return 16;
17407 case 0:
17408 // op: Rxx32
17409 return 0;
17410 }
17411 break;
17412 }
17413 case Hexagon::S2_insert: {
17414 switch (OpNum) {
17415 case 3:
17416 // op: Ii
17417 return 8;
17418 case 4:
17419 // op: II
17420 return 5;
17421 case 2:
17422 // op: Rs32
17423 return 16;
17424 case 0:
17425 // op: Rx32
17426 return 0;
17427 }
17428 break;
17429 }
17430 case Hexagon::S2_insertp: {
17431 switch (OpNum) {
17432 case 3:
17433 // op: Ii
17434 return 8;
17435 case 4:
17436 // op: II
17437 return 5;
17438 case 2:
17439 // op: Rss32
17440 return 16;
17441 case 0:
17442 // op: Rxx32
17443 return 0;
17444 }
17445 break;
17446 }
17447 case Hexagon::L2_loadbsw2_pbr:
17448 case Hexagon::L2_loadbsw2_pcr:
17449 case Hexagon::L2_loadbsw2_pr:
17450 case Hexagon::L2_loadbzw2_pbr:
17451 case Hexagon::L2_loadbzw2_pcr:
17452 case Hexagon::L2_loadbzw2_pr:
17453 case Hexagon::L2_loadrb_pbr:
17454 case Hexagon::L2_loadrb_pcr:
17455 case Hexagon::L2_loadrb_pr:
17456 case Hexagon::L2_loadrh_pbr:
17457 case Hexagon::L2_loadrh_pcr:
17458 case Hexagon::L2_loadrh_pr:
17459 case Hexagon::L2_loadri_pbr:
17460 case Hexagon::L2_loadri_pcr:
17461 case Hexagon::L2_loadri_pr:
17462 case Hexagon::L2_loadrub_pbr:
17463 case Hexagon::L2_loadrub_pcr:
17464 case Hexagon::L2_loadrub_pr:
17465 case Hexagon::L2_loadruh_pbr:
17466 case Hexagon::L2_loadruh_pcr:
17467 case Hexagon::L2_loadruh_pr: {
17468 switch (OpNum) {
17469 case 3:
17470 // op: Mu2
17471 return 13;
17472 case 0:
17473 // op: Rd32
17474 return 0;
17475 case 1:
17476 // op: Rx32
17477 return 16;
17478 }
17479 break;
17480 }
17481 case Hexagon::L2_loadbsw4_pbr:
17482 case Hexagon::L2_loadbsw4_pcr:
17483 case Hexagon::L2_loadbsw4_pr:
17484 case Hexagon::L2_loadbzw4_pbr:
17485 case Hexagon::L2_loadbzw4_pcr:
17486 case Hexagon::L2_loadbzw4_pr:
17487 case Hexagon::L2_loadrd_pbr:
17488 case Hexagon::L2_loadrd_pcr:
17489 case Hexagon::L2_loadrd_pr: {
17490 switch (OpNum) {
17491 case 3:
17492 // op: Mu2
17493 return 13;
17494 case 0:
17495 // op: Rdd32
17496 return 0;
17497 case 1:
17498 // op: Rx32
17499 return 16;
17500 }
17501 break;
17502 }
17503 case Hexagon::V6_vL32Ub_ppu:
17504 case Hexagon::V6_vL32b_cur_ppu:
17505 case Hexagon::V6_vL32b_nt_cur_ppu:
17506 case Hexagon::V6_vL32b_nt_ppu:
17507 case Hexagon::V6_vL32b_nt_tmp_ppu:
17508 case Hexagon::V6_vL32b_ppu:
17509 case Hexagon::V6_vL32b_tmp_ppu: {
17510 switch (OpNum) {
17511 case 3:
17512 // op: Mu2
17513 return 13;
17514 case 0:
17515 // op: Vd32
17516 return 0;
17517 case 1:
17518 // op: Rx32
17519 return 16;
17520 }
17521 break;
17522 }
17523 case Hexagon::A5_ACS: {
17524 switch (OpNum) {
17525 case 3:
17526 // op: Rss32
17527 return 16;
17528 case 4:
17529 // op: Rtt32
17530 return 8;
17531 case 0:
17532 // op: Rxx32
17533 return 0;
17534 case 1:
17535 // op: Pe4
17536 return 5;
17537 }
17538 break;
17539 }
17540 case Hexagon::V6_vrmpyzbb_rx_acc:
17541 case Hexagon::V6_vrmpyzbub_rx_acc:
17542 case Hexagon::V6_vrmpyzcb_rx_acc:
17543 case Hexagon::V6_vrmpyzcbs_rx_acc:
17544 case Hexagon::V6_vrmpyznb_rx_acc: {
17545 switch (OpNum) {
17546 case 3:
17547 // op: Vu32
17548 return 8;
17549 case 0:
17550 // op: Vyyyy32
17551 return 0;
17552 case 1:
17553 // op: Rx8
17554 return 16;
17555 }
17556 break;
17557 }
17558 case Hexagon::L2_loadalignb_pi:
17559 case Hexagon::L2_loadalignh_pi: {
17560 switch (OpNum) {
17561 case 4:
17562 // op: Ii
17563 return 5;
17564 case 0:
17565 // op: Ryy32
17566 return 0;
17567 case 1:
17568 // op: Rx32
17569 return 16;
17570 }
17571 break;
17572 }
17573 case Hexagon::L2_ploadrbf_pi:
17574 case Hexagon::L2_ploadrbfnew_pi:
17575 case Hexagon::L2_ploadrbt_pi:
17576 case Hexagon::L2_ploadrbtnew_pi:
17577 case Hexagon::L2_ploadrhf_pi:
17578 case Hexagon::L2_ploadrhfnew_pi:
17579 case Hexagon::L2_ploadrht_pi:
17580 case Hexagon::L2_ploadrhtnew_pi:
17581 case Hexagon::L2_ploadrif_pi:
17582 case Hexagon::L2_ploadrifnew_pi:
17583 case Hexagon::L2_ploadrit_pi:
17584 case Hexagon::L2_ploadritnew_pi:
17585 case Hexagon::L2_ploadrubf_pi:
17586 case Hexagon::L2_ploadrubfnew_pi:
17587 case Hexagon::L2_ploadrubt_pi:
17588 case Hexagon::L2_ploadrubtnew_pi:
17589 case Hexagon::L2_ploadruhf_pi:
17590 case Hexagon::L2_ploadruhfnew_pi:
17591 case Hexagon::L2_ploadruht_pi:
17592 case Hexagon::L2_ploadruhtnew_pi: {
17593 switch (OpNum) {
17594 case 4:
17595 // op: Ii
17596 return 5;
17597 case 2:
17598 // op: Pt4
17599 return 9;
17600 case 0:
17601 // op: Rd32
17602 return 0;
17603 case 1:
17604 // op: Rx32
17605 return 16;
17606 }
17607 break;
17608 }
17609 case Hexagon::L2_ploadrdf_pi:
17610 case Hexagon::L2_ploadrdfnew_pi:
17611 case Hexagon::L2_ploadrdt_pi:
17612 case Hexagon::L2_ploadrdtnew_pi: {
17613 switch (OpNum) {
17614 case 4:
17615 // op: Ii
17616 return 5;
17617 case 2:
17618 // op: Pt4
17619 return 9;
17620 case 0:
17621 // op: Rdd32
17622 return 0;
17623 case 1:
17624 // op: Rx32
17625 return 16;
17626 }
17627 break;
17628 }
17629 case Hexagon::S4_vrcrotate_acc: {
17630 switch (OpNum) {
17631 case 4:
17632 // op: Ii
17633 return 5;
17634 case 2:
17635 // op: Rss32
17636 return 16;
17637 case 3:
17638 // op: Rt32
17639 return 8;
17640 case 0:
17641 // op: Rxx32
17642 return 0;
17643 }
17644 break;
17645 }
17646 case Hexagon::V6_vlutvvb_oracci: {
17647 switch (OpNum) {
17648 case 4:
17649 // op: Ii
17650 return 5;
17651 case 2:
17652 // op: Vu32
17653 return 8;
17654 case 3:
17655 // op: Vv32
17656 return 16;
17657 case 0:
17658 // op: Vx32
17659 return 0;
17660 }
17661 break;
17662 }
17663 case Hexagon::V6_vlutvwh_oracci: {
17664 switch (OpNum) {
17665 case 4:
17666 // op: Ii
17667 return 5;
17668 case 2:
17669 // op: Vu32
17670 return 8;
17671 case 3:
17672 // op: Vv32
17673 return 16;
17674 case 0:
17675 // op: Vxx32
17676 return 0;
17677 }
17678 break;
17679 }
17680 case Hexagon::V6_vrmpybusi_acc:
17681 case Hexagon::V6_vrmpyubi_acc:
17682 case Hexagon::V6_vrsadubi_acc: {
17683 switch (OpNum) {
17684 case 4:
17685 // op: Ii
17686 return 5;
17687 case 2:
17688 // op: Vuu32
17689 return 8;
17690 case 3:
17691 // op: Rt32
17692 return 16;
17693 case 0:
17694 // op: Vxx32
17695 return 0;
17696 }
17697 break;
17698 }
17699 case Hexagon::V6_v6mpyhubs10_vxx:
17700 case Hexagon::V6_v6mpyvubs10_vxx: {
17701 switch (OpNum) {
17702 case 4:
17703 // op: Ii
17704 return 5;
17705 case 2:
17706 // op: Vuu32
17707 return 8;
17708 case 3:
17709 // op: Vvv32
17710 return 16;
17711 case 0:
17712 // op: Vxx32
17713 return 0;
17714 }
17715 break;
17716 }
17717 case Hexagon::L2_loadalignb_pci:
17718 case Hexagon::L2_loadalignh_pci: {
17719 switch (OpNum) {
17720 case 4:
17721 // op: Ii
17722 return 5;
17723 case 5:
17724 // op: Mu2
17725 return 13;
17726 case 0:
17727 // op: Ryy32
17728 return 0;
17729 case 1:
17730 // op: Rx32
17731 return 16;
17732 }
17733 break;
17734 }
17735 case Hexagon::L4_ploadrbf_rr:
17736 case Hexagon::L4_ploadrbfnew_rr:
17737 case Hexagon::L4_ploadrbt_rr:
17738 case Hexagon::L4_ploadrbtnew_rr:
17739 case Hexagon::L4_ploadrhf_rr:
17740 case Hexagon::L4_ploadrhfnew_rr:
17741 case Hexagon::L4_ploadrht_rr:
17742 case Hexagon::L4_ploadrhtnew_rr:
17743 case Hexagon::L4_ploadrif_rr:
17744 case Hexagon::L4_ploadrifnew_rr:
17745 case Hexagon::L4_ploadrit_rr:
17746 case Hexagon::L4_ploadritnew_rr:
17747 case Hexagon::L4_ploadrubf_rr:
17748 case Hexagon::L4_ploadrubfnew_rr:
17749 case Hexagon::L4_ploadrubt_rr:
17750 case Hexagon::L4_ploadrubtnew_rr:
17751 case Hexagon::L4_ploadruhf_rr:
17752 case Hexagon::L4_ploadruhfnew_rr:
17753 case Hexagon::L4_ploadruht_rr:
17754 case Hexagon::L4_ploadruhtnew_rr: {
17755 switch (OpNum) {
17756 case 4:
17757 // op: Ii
17758 return 7;
17759 case 1:
17760 // op: Pv4
17761 return 5;
17762 case 2:
17763 // op: Rs32
17764 return 16;
17765 case 3:
17766 // op: Rt32
17767 return 8;
17768 case 0:
17769 // op: Rd32
17770 return 0;
17771 }
17772 break;
17773 }
17774 case Hexagon::L4_ploadrdf_rr:
17775 case Hexagon::L4_ploadrdfnew_rr:
17776 case Hexagon::L4_ploadrdt_rr:
17777 case Hexagon::L4_ploadrdtnew_rr: {
17778 switch (OpNum) {
17779 case 4:
17780 // op: Ii
17781 return 7;
17782 case 1:
17783 // op: Pv4
17784 return 5;
17785 case 2:
17786 // op: Rs32
17787 return 16;
17788 case 3:
17789 // op: Rt32
17790 return 8;
17791 case 0:
17792 // op: Rdd32
17793 return 0;
17794 }
17795 break;
17796 }
17797 case Hexagon::V6_vL32b_cur_npred_pi:
17798 case Hexagon::V6_vL32b_cur_pred_pi:
17799 case Hexagon::V6_vL32b_npred_pi:
17800 case Hexagon::V6_vL32b_nt_cur_npred_pi:
17801 case Hexagon::V6_vL32b_nt_cur_pred_pi:
17802 case Hexagon::V6_vL32b_nt_npred_pi:
17803 case Hexagon::V6_vL32b_nt_pred_pi:
17804 case Hexagon::V6_vL32b_nt_tmp_npred_pi:
17805 case Hexagon::V6_vL32b_nt_tmp_pred_pi:
17806 case Hexagon::V6_vL32b_pred_pi:
17807 case Hexagon::V6_vL32b_tmp_npred_pi:
17808 case Hexagon::V6_vL32b_tmp_pred_pi: {
17809 switch (OpNum) {
17810 case 4:
17811 // op: Ii
17812 return 8;
17813 case 2:
17814 // op: Pv4
17815 return 11;
17816 case 0:
17817 // op: Vd32
17818 return 0;
17819 case 1:
17820 // op: Rx32
17821 return 16;
17822 }
17823 break;
17824 }
17825 case Hexagon::L2_loadalignb_pbr:
17826 case Hexagon::L2_loadalignb_pcr:
17827 case Hexagon::L2_loadalignb_pr:
17828 case Hexagon::L2_loadalignh_pbr:
17829 case Hexagon::L2_loadalignh_pcr:
17830 case Hexagon::L2_loadalignh_pr: {
17831 switch (OpNum) {
17832 case 4:
17833 // op: Mu2
17834 return 13;
17835 case 0:
17836 // op: Ryy32
17837 return 0;
17838 case 1:
17839 // op: Rx32
17840 return 16;
17841 }
17842 break;
17843 }
17844 case Hexagon::V6_vdeal:
17845 case Hexagon::V6_vshuff: {
17846 switch (OpNum) {
17847 case 4:
17848 // op: Rt32
17849 return 16;
17850 case 0:
17851 // op: Vy32
17852 return 8;
17853 case 1:
17854 // op: Vx32
17855 return 0;
17856 }
17857 break;
17858 }
17859 default:
17860 reportUnsupportedInst(MI);
17861 }
17862 reportUnsupportedOperand(MI, OpNum);
17863}
17864
17865#endif // GET_OPERAND_BIT_OFFSET
17866
17867