Merge tag 'pull-loongarch-20241016' of https://gitlab.com/gaosong/qemu into staging
[qemu/armbru.git] / tcg / loongarch64 / tcg-insn-defs.c.inc
blob6bb8656fd896e39902f87b907a58a5434f31575c
1 /* SPDX-License-Identifier: MIT */
2 /*
3  * LoongArch instruction formats, opcodes, and encoders for TCG use.
4  *
5  * This file is auto-generated by genqemutcgdefs from
6  * https://github.com/loongson-community/loongarch-opcodes,
7  * from commit 7f353fb69bd99ce6edfad7ad63948c4bb526f0bf.
8  * DO NOT EDIT.
9  */
11 typedef enum {
12     OPC_MOVGR2SCR = 0x00000800,
13     OPC_MOVSCR2GR = 0x00000c00,
14     OPC_CLZ_W = 0x00001400,
15     OPC_CTZ_W = 0x00001c00,
16     OPC_CLZ_D = 0x00002400,
17     OPC_CTZ_D = 0x00002c00,
18     OPC_REVB_2H = 0x00003000,
19     OPC_REVB_2W = 0x00003800,
20     OPC_REVB_D = 0x00003c00,
21     OPC_SEXT_H = 0x00005800,
22     OPC_SEXT_B = 0x00005c00,
23     OPC_ADD_W = 0x00100000,
24     OPC_ADD_D = 0x00108000,
25     OPC_SUB_W = 0x00110000,
26     OPC_SUB_D = 0x00118000,
27     OPC_SLT = 0x00120000,
28     OPC_SLTU = 0x00128000,
29     OPC_MASKEQZ = 0x00130000,
30     OPC_MASKNEZ = 0x00138000,
31     OPC_NOR = 0x00140000,
32     OPC_AND = 0x00148000,
33     OPC_OR = 0x00150000,
34     OPC_XOR = 0x00158000,
35     OPC_ORN = 0x00160000,
36     OPC_ANDN = 0x00168000,
37     OPC_SLL_W = 0x00170000,
38     OPC_SRL_W = 0x00178000,
39     OPC_SRA_W = 0x00180000,
40     OPC_SLL_D = 0x00188000,
41     OPC_SRL_D = 0x00190000,
42     OPC_SRA_D = 0x00198000,
43     OPC_ROTR_B = 0x001a0000,
44     OPC_ROTR_H = 0x001a8000,
45     OPC_ROTR_W = 0x001b0000,
46     OPC_ROTR_D = 0x001b8000,
47     OPC_MUL_W = 0x001c0000,
48     OPC_MULH_W = 0x001c8000,
49     OPC_MULH_WU = 0x001d0000,
50     OPC_MUL_D = 0x001d8000,
51     OPC_MULH_D = 0x001e0000,
52     OPC_MULH_DU = 0x001e8000,
53     OPC_DIV_W = 0x00200000,
54     OPC_MOD_W = 0x00208000,
55     OPC_DIV_WU = 0x00210000,
56     OPC_MOD_WU = 0x00218000,
57     OPC_DIV_D = 0x00220000,
58     OPC_MOD_D = 0x00228000,
59     OPC_DIV_DU = 0x00230000,
60     OPC_MOD_DU = 0x00238000,
61     OPC_SLLI_W = 0x00408000,
62     OPC_SLLI_D = 0x00410000,
63     OPC_SRLI_W = 0x00448000,
64     OPC_SRLI_D = 0x00450000,
65     OPC_SRAI_W = 0x00488000,
66     OPC_SRAI_D = 0x00490000,
67     OPC_ROTRI_B = 0x004c2000,
68     OPC_ROTRI_H = 0x004c4000,
69     OPC_ROTRI_W = 0x004c8000,
70     OPC_ROTRI_D = 0x004d0000,
71     OPC_BSTRINS_W = 0x00600000,
72     OPC_BSTRPICK_W = 0x00608000,
73     OPC_BSTRINS_D = 0x00800000,
74     OPC_BSTRPICK_D = 0x00c00000,
75     OPC_FMOV_D = 0x01149800,
76     OPC_MOVGR2FR_D = 0x0114a800,
77     OPC_MOVFR2GR_D = 0x0114b800,
78     OPC_SLTI = 0x02000000,
79     OPC_SLTUI = 0x02400000,
80     OPC_ADDI_W = 0x02800000,
81     OPC_ADDI_D = 0x02c00000,
82     OPC_CU52I_D = 0x03000000,
83     OPC_ANDI = 0x03400000,
84     OPC_ORI = 0x03800000,
85     OPC_XORI = 0x03c00000,
86     OPC_VBITSEL_V = 0x0d100000,
87     OPC_XVBITSEL_V = 0x0d200000,
88     OPC_VSHUF_B = 0x0d500000,
89     OPC_XVSHUF_B = 0x0d600000,
90     OPC_ADDU16I_D = 0x10000000,
91     OPC_LU12I_W = 0x14000000,
92     OPC_CU32I_D = 0x16000000,
93     OPC_PCADDU2I = 0x18000000,
94     OPC_PCALAU12I = 0x1a000000,
95     OPC_PCADDU12I = 0x1c000000,
96     OPC_PCADDU18I = 0x1e000000,
97     OPC_LD_B = 0x28000000,
98     OPC_LD_H = 0x28400000,
99     OPC_LD_W = 0x28800000,
100     OPC_LD_D = 0x28c00000,
101     OPC_ST_B = 0x29000000,
102     OPC_ST_H = 0x29400000,
103     OPC_ST_W = 0x29800000,
104     OPC_ST_D = 0x29c00000,
105     OPC_LD_BU = 0x2a000000,
106     OPC_LD_HU = 0x2a400000,
107     OPC_LD_WU = 0x2a800000,
108     OPC_FLD_S = 0x2b000000,
109     OPC_FST_S = 0x2b400000,
110     OPC_FLD_D = 0x2b800000,
111     OPC_FST_D = 0x2bc00000,
112     OPC_VLD = 0x2c000000,
113     OPC_VST = 0x2c400000,
114     OPC_XVLD = 0x2c800000,
115     OPC_XVST = 0x2cc00000,
116     OPC_VLDREPL_D = 0x30100000,
117     OPC_VLDREPL_W = 0x30200000,
118     OPC_VLDREPL_H = 0x30400000,
119     OPC_VLDREPL_B = 0x30800000,
120     OPC_VSTELM_D = 0x31100000,
121     OPC_VSTELM_W = 0x31200000,
122     OPC_VSTELM_H = 0x31400000,
123     OPC_VSTELM_B = 0x31800000,
124     OPC_XVLDREPL_D = 0x32100000,
125     OPC_XVLDREPL_W = 0x32200000,
126     OPC_XVLDREPL_H = 0x32400000,
127     OPC_XVLDREPL_B = 0x32800000,
128     OPC_XVSTELM_D = 0x33100000,
129     OPC_XVSTELM_W = 0x33200000,
130     OPC_XVSTELM_H = 0x33400000,
131     OPC_XVSTELM_B = 0x33800000,
132     OPC_LDX_B = 0x38000000,
133     OPC_LDX_H = 0x38040000,
134     OPC_LDX_W = 0x38080000,
135     OPC_LDX_D = 0x380c0000,
136     OPC_STX_B = 0x38100000,
137     OPC_STX_H = 0x38140000,
138     OPC_STX_W = 0x38180000,
139     OPC_STX_D = 0x381c0000,
140     OPC_LDX_BU = 0x38200000,
141     OPC_LDX_HU = 0x38240000,
142     OPC_LDX_WU = 0x38280000,
143     OPC_FLDX_S = 0x38300000,
144     OPC_FLDX_D = 0x38340000,
145     OPC_FSTX_S = 0x38380000,
146     OPC_FSTX_D = 0x383c0000,
147     OPC_VLDX = 0x38400000,
148     OPC_VSTX = 0x38440000,
149     OPC_XVLDX = 0x38480000,
150     OPC_XVSTX = 0x384c0000,
151     OPC_DBAR = 0x38720000,
152     OPC_JISCR0 = 0x48000200,
153     OPC_JISCR1 = 0x48000300,
154     OPC_JIRL = 0x4c000000,
155     OPC_B = 0x50000000,
156     OPC_BL = 0x54000000,
157     OPC_BEQ = 0x58000000,
158     OPC_BNE = 0x5c000000,
159     OPC_BGT = 0x60000000,
160     OPC_BLE = 0x64000000,
161     OPC_BGTU = 0x68000000,
162     OPC_BLEU = 0x6c000000,
163     OPC_VSEQ_B = 0x70000000,
164     OPC_VSEQ_H = 0x70008000,
165     OPC_VSEQ_W = 0x70010000,
166     OPC_VSEQ_D = 0x70018000,
167     OPC_VSLE_B = 0x70020000,
168     OPC_VSLE_H = 0x70028000,
169     OPC_VSLE_W = 0x70030000,
170     OPC_VSLE_D = 0x70038000,
171     OPC_VSLE_BU = 0x70040000,
172     OPC_VSLE_HU = 0x70048000,
173     OPC_VSLE_WU = 0x70050000,
174     OPC_VSLE_DU = 0x70058000,
175     OPC_VSLT_B = 0x70060000,
176     OPC_VSLT_H = 0x70068000,
177     OPC_VSLT_W = 0x70070000,
178     OPC_VSLT_D = 0x70078000,
179     OPC_VSLT_BU = 0x70080000,
180     OPC_VSLT_HU = 0x70088000,
181     OPC_VSLT_WU = 0x70090000,
182     OPC_VSLT_DU = 0x70098000,
183     OPC_VADD_B = 0x700a0000,
184     OPC_VADD_H = 0x700a8000,
185     OPC_VADD_W = 0x700b0000,
186     OPC_VADD_D = 0x700b8000,
187     OPC_VSUB_B = 0x700c0000,
188     OPC_VSUB_H = 0x700c8000,
189     OPC_VSUB_W = 0x700d0000,
190     OPC_VSUB_D = 0x700d8000,
191     OPC_VSADD_B = 0x70460000,
192     OPC_VSADD_H = 0x70468000,
193     OPC_VSADD_W = 0x70470000,
194     OPC_VSADD_D = 0x70478000,
195     OPC_VSSUB_B = 0x70480000,
196     OPC_VSSUB_H = 0x70488000,
197     OPC_VSSUB_W = 0x70490000,
198     OPC_VSSUB_D = 0x70498000,
199     OPC_VSADD_BU = 0x704a0000,
200     OPC_VSADD_HU = 0x704a8000,
201     OPC_VSADD_WU = 0x704b0000,
202     OPC_VSADD_DU = 0x704b8000,
203     OPC_VSSUB_BU = 0x704c0000,
204     OPC_VSSUB_HU = 0x704c8000,
205     OPC_VSSUB_WU = 0x704d0000,
206     OPC_VSSUB_DU = 0x704d8000,
207     OPC_VMAX_B = 0x70700000,
208     OPC_VMAX_H = 0x70708000,
209     OPC_VMAX_W = 0x70710000,
210     OPC_VMAX_D = 0x70718000,
211     OPC_VMIN_B = 0x70720000,
212     OPC_VMIN_H = 0x70728000,
213     OPC_VMIN_W = 0x70730000,
214     OPC_VMIN_D = 0x70738000,
215     OPC_VMAX_BU = 0x70740000,
216     OPC_VMAX_HU = 0x70748000,
217     OPC_VMAX_WU = 0x70750000,
218     OPC_VMAX_DU = 0x70758000,
219     OPC_VMIN_BU = 0x70760000,
220     OPC_VMIN_HU = 0x70768000,
221     OPC_VMIN_WU = 0x70770000,
222     OPC_VMIN_DU = 0x70778000,
223     OPC_VMUL_B = 0x70840000,
224     OPC_VMUL_H = 0x70848000,
225     OPC_VMUL_W = 0x70850000,
226     OPC_VMUL_D = 0x70858000,
227     OPC_VSLL_B = 0x70e80000,
228     OPC_VSLL_H = 0x70e88000,
229     OPC_VSLL_W = 0x70e90000,
230     OPC_VSLL_D = 0x70e98000,
231     OPC_VSRL_B = 0x70ea0000,
232     OPC_VSRL_H = 0x70ea8000,
233     OPC_VSRL_W = 0x70eb0000,
234     OPC_VSRL_D = 0x70eb8000,
235     OPC_VSRA_B = 0x70ec0000,
236     OPC_VSRA_H = 0x70ec8000,
237     OPC_VSRA_W = 0x70ed0000,
238     OPC_VSRA_D = 0x70ed8000,
239     OPC_VROTR_B = 0x70ee0000,
240     OPC_VROTR_H = 0x70ee8000,
241     OPC_VROTR_W = 0x70ef0000,
242     OPC_VROTR_D = 0x70ef8000,
243     OPC_VREPLVE_B = 0x71220000,
244     OPC_VREPLVE_H = 0x71228000,
245     OPC_VREPLVE_W = 0x71230000,
246     OPC_VREPLVE_D = 0x71238000,
247     OPC_VAND_V = 0x71260000,
248     OPC_VOR_V = 0x71268000,
249     OPC_VXOR_V = 0x71270000,
250     OPC_VNOR_V = 0x71278000,
251     OPC_VANDN_V = 0x71280000,
252     OPC_VORN_V = 0x71288000,
253     OPC_VSEQI_B = 0x72800000,
254     OPC_VSEQI_H = 0x72808000,
255     OPC_VSEQI_W = 0x72810000,
256     OPC_VSEQI_D = 0x72818000,
257     OPC_VSLEI_B = 0x72820000,
258     OPC_VSLEI_H = 0x72828000,
259     OPC_VSLEI_W = 0x72830000,
260     OPC_VSLEI_D = 0x72838000,
261     OPC_VSLEI_BU = 0x72840000,
262     OPC_VSLEI_HU = 0x72848000,
263     OPC_VSLEI_WU = 0x72850000,
264     OPC_VSLEI_DU = 0x72858000,
265     OPC_VSLTI_B = 0x72860000,
266     OPC_VSLTI_H = 0x72868000,
267     OPC_VSLTI_W = 0x72870000,
268     OPC_VSLTI_D = 0x72878000,
269     OPC_VSLTI_BU = 0x72880000,
270     OPC_VSLTI_HU = 0x72888000,
271     OPC_VSLTI_WU = 0x72890000,
272     OPC_VSLTI_DU = 0x72898000,
273     OPC_VADDI_BU = 0x728a0000,
274     OPC_VADDI_HU = 0x728a8000,
275     OPC_VADDI_WU = 0x728b0000,
276     OPC_VADDI_DU = 0x728b8000,
277     OPC_VSUBI_BU = 0x728c0000,
278     OPC_VSUBI_HU = 0x728c8000,
279     OPC_VSUBI_WU = 0x728d0000,
280     OPC_VSUBI_DU = 0x728d8000,
281     OPC_VMAXI_B = 0x72900000,
282     OPC_VMAXI_H = 0x72908000,
283     OPC_VMAXI_W = 0x72910000,
284     OPC_VMAXI_D = 0x72918000,
285     OPC_VMINI_B = 0x72920000,
286     OPC_VMINI_H = 0x72928000,
287     OPC_VMINI_W = 0x72930000,
288     OPC_VMINI_D = 0x72938000,
289     OPC_VMAXI_BU = 0x72940000,
290     OPC_VMAXI_HU = 0x72948000,
291     OPC_VMAXI_WU = 0x72950000,
292     OPC_VMAXI_DU = 0x72958000,
293     OPC_VMINI_BU = 0x72960000,
294     OPC_VMINI_HU = 0x72968000,
295     OPC_VMINI_WU = 0x72970000,
296     OPC_VMINI_DU = 0x72978000,
297     OPC_VNEG_B = 0x729c3000,
298     OPC_VNEG_H = 0x729c3400,
299     OPC_VNEG_W = 0x729c3800,
300     OPC_VNEG_D = 0x729c3c00,
301     OPC_VREPLGR2VR_B = 0x729f0000,
302     OPC_VREPLGR2VR_H = 0x729f0400,
303     OPC_VREPLGR2VR_W = 0x729f0800,
304     OPC_VREPLGR2VR_D = 0x729f0c00,
305     OPC_VROTRI_B = 0x72a02000,
306     OPC_VROTRI_H = 0x72a04000,
307     OPC_VROTRI_W = 0x72a08000,
308     OPC_VROTRI_D = 0x72a10000,
309     OPC_VINSGR2VR_B = 0x72eb8000,
310     OPC_VINSGR2VR_H = 0x72ebc000,
311     OPC_VINSGR2VR_W = 0x72ebe000,
312     OPC_VINSGR2VR_D = 0x72ebf000,
313     OPC_VPICKVE2GR_B = 0x72ef8000,
314     OPC_VPICKVE2GR_H = 0x72efc000,
315     OPC_VPICKVE2GR_W = 0x72efe000,
316     OPC_VPICKVE2GR_D = 0x72eff000,
317     OPC_VPICKVE2GR_BU = 0x72f38000,
318     OPC_VPICKVE2GR_HU = 0x72f3c000,
319     OPC_VPICKVE2GR_WU = 0x72f3e000,
320     OPC_VPICKVE2GR_DU = 0x72f3f000,
321     OPC_VREPLVEI_B = 0x72f78000,
322     OPC_VREPLVEI_H = 0x72f7c000,
323     OPC_VREPLVEI_W = 0x72f7e000,
324     OPC_VREPLVEI_D = 0x72f7f000,
325     OPC_VBITCLRI_B = 0x73102000,
326     OPC_VBITCLRI_H = 0x73104000,
327     OPC_VBITCLRI_W = 0x73108000,
328     OPC_VBITCLRI_D = 0x73110000,
329     OPC_VBITSETI_B = 0x73142000,
330     OPC_VBITSETI_H = 0x73144000,
331     OPC_VBITSETI_W = 0x73148000,
332     OPC_VBITSETI_D = 0x73150000,
333     OPC_VBITREVI_B = 0x73182000,
334     OPC_VBITREVI_H = 0x73184000,
335     OPC_VBITREVI_W = 0x73188000,
336     OPC_VBITREVI_D = 0x73190000,
337     OPC_VSLLI_B = 0x732c2000,
338     OPC_VSLLI_H = 0x732c4000,
339     OPC_VSLLI_W = 0x732c8000,
340     OPC_VSLLI_D = 0x732d0000,
341     OPC_VSRLI_B = 0x73302000,
342     OPC_VSRLI_H = 0x73304000,
343     OPC_VSRLI_W = 0x73308000,
344     OPC_VSRLI_D = 0x73310000,
345     OPC_VSRAI_B = 0x73342000,
346     OPC_VSRAI_H = 0x73344000,
347     OPC_VSRAI_W = 0x73348000,
348     OPC_VSRAI_D = 0x73350000,
349     OPC_VBITSELI_B = 0x73c40000,
350     OPC_VANDI_B = 0x73d00000,
351     OPC_VORI_B = 0x73d40000,
352     OPC_VXORI_B = 0x73d80000,
353     OPC_VNORI_B = 0x73dc0000,
354     OPC_VLDI = 0x73e00000,
355     OPC_XVSEQ_B = 0x74000000,
356     OPC_XVSEQ_H = 0x74008000,
357     OPC_XVSEQ_W = 0x74010000,
358     OPC_XVSEQ_D = 0x74018000,
359     OPC_XVSLE_B = 0x74020000,
360     OPC_XVSLE_H = 0x74028000,
361     OPC_XVSLE_W = 0x74030000,
362     OPC_XVSLE_D = 0x74038000,
363     OPC_XVSLE_BU = 0x74040000,
364     OPC_XVSLE_HU = 0x74048000,
365     OPC_XVSLE_WU = 0x74050000,
366     OPC_XVSLE_DU = 0x74058000,
367     OPC_XVSLT_B = 0x74060000,
368     OPC_XVSLT_H = 0x74068000,
369     OPC_XVSLT_W = 0x74070000,
370     OPC_XVSLT_D = 0x74078000,
371     OPC_XVSLT_BU = 0x74080000,
372     OPC_XVSLT_HU = 0x74088000,
373     OPC_XVSLT_WU = 0x74090000,
374     OPC_XVSLT_DU = 0x74098000,
375     OPC_XVADD_B = 0x740a0000,
376     OPC_XVADD_H = 0x740a8000,
377     OPC_XVADD_W = 0x740b0000,
378     OPC_XVADD_D = 0x740b8000,
379     OPC_XVSUB_B = 0x740c0000,
380     OPC_XVSUB_H = 0x740c8000,
381     OPC_XVSUB_W = 0x740d0000,
382     OPC_XVSUB_D = 0x740d8000,
383     OPC_XVSADD_B = 0x74460000,
384     OPC_XVSADD_H = 0x74468000,
385     OPC_XVSADD_W = 0x74470000,
386     OPC_XVSADD_D = 0x74478000,
387     OPC_XVSSUB_B = 0x74480000,
388     OPC_XVSSUB_H = 0x74488000,
389     OPC_XVSSUB_W = 0x74490000,
390     OPC_XVSSUB_D = 0x74498000,
391     OPC_XVSADD_BU = 0x744a0000,
392     OPC_XVSADD_HU = 0x744a8000,
393     OPC_XVSADD_WU = 0x744b0000,
394     OPC_XVSADD_DU = 0x744b8000,
395     OPC_XVSSUB_BU = 0x744c0000,
396     OPC_XVSSUB_HU = 0x744c8000,
397     OPC_XVSSUB_WU = 0x744d0000,
398     OPC_XVSSUB_DU = 0x744d8000,
399     OPC_XVMAX_B = 0x74700000,
400     OPC_XVMAX_H = 0x74708000,
401     OPC_XVMAX_W = 0x74710000,
402     OPC_XVMAX_D = 0x74718000,
403     OPC_XVMIN_B = 0x74720000,
404     OPC_XVMIN_H = 0x74728000,
405     OPC_XVMIN_W = 0x74730000,
406     OPC_XVMIN_D = 0x74738000,
407     OPC_XVMAX_BU = 0x74740000,
408     OPC_XVMAX_HU = 0x74748000,
409     OPC_XVMAX_WU = 0x74750000,
410     OPC_XVMAX_DU = 0x74758000,
411     OPC_XVMIN_BU = 0x74760000,
412     OPC_XVMIN_HU = 0x74768000,
413     OPC_XVMIN_WU = 0x74770000,
414     OPC_XVMIN_DU = 0x74778000,
415     OPC_XVMUL_B = 0x74840000,
416     OPC_XVMUL_H = 0x74848000,
417     OPC_XVMUL_W = 0x74850000,
418     OPC_XVMUL_D = 0x74858000,
419     OPC_XVSLL_B = 0x74e80000,
420     OPC_XVSLL_H = 0x74e88000,
421     OPC_XVSLL_W = 0x74e90000,
422     OPC_XVSLL_D = 0x74e98000,
423     OPC_XVSRL_B = 0x74ea0000,
424     OPC_XVSRL_H = 0x74ea8000,
425     OPC_XVSRL_W = 0x74eb0000,
426     OPC_XVSRL_D = 0x74eb8000,
427     OPC_XVSRA_B = 0x74ec0000,
428     OPC_XVSRA_H = 0x74ec8000,
429     OPC_XVSRA_W = 0x74ed0000,
430     OPC_XVSRA_D = 0x74ed8000,
431     OPC_XVROTR_B = 0x74ee0000,
432     OPC_XVROTR_H = 0x74ee8000,
433     OPC_XVROTR_W = 0x74ef0000,
434     OPC_XVROTR_D = 0x74ef8000,
435     OPC_XVREPLVE_B = 0x75220000,
436     OPC_XVREPLVE_H = 0x75228000,
437     OPC_XVREPLVE_W = 0x75230000,
438     OPC_XVREPLVE_D = 0x75238000,
439     OPC_XVAND_V = 0x75260000,
440     OPC_XVOR_V = 0x75268000,
441     OPC_XVXOR_V = 0x75270000,
442     OPC_XVNOR_V = 0x75278000,
443     OPC_XVANDN_V = 0x75280000,
444     OPC_XVORN_V = 0x75288000,
445     OPC_XVSEQI_B = 0x76800000,
446     OPC_XVSEQI_H = 0x76808000,
447     OPC_XVSEQI_W = 0x76810000,
448     OPC_XVSEQI_D = 0x76818000,
449     OPC_XVSLEI_B = 0x76820000,
450     OPC_XVSLEI_H = 0x76828000,
451     OPC_XVSLEI_W = 0x76830000,
452     OPC_XVSLEI_D = 0x76838000,
453     OPC_XVSLEI_BU = 0x76840000,
454     OPC_XVSLEI_HU = 0x76848000,
455     OPC_XVSLEI_WU = 0x76850000,
456     OPC_XVSLEI_DU = 0x76858000,
457     OPC_XVSLTI_B = 0x76860000,
458     OPC_XVSLTI_H = 0x76868000,
459     OPC_XVSLTI_W = 0x76870000,
460     OPC_XVSLTI_D = 0x76878000,
461     OPC_XVSLTI_BU = 0x76880000,
462     OPC_XVSLTI_HU = 0x76888000,
463     OPC_XVSLTI_WU = 0x76890000,
464     OPC_XVSLTI_DU = 0x76898000,
465     OPC_XVADDI_BU = 0x768a0000,
466     OPC_XVADDI_HU = 0x768a8000,
467     OPC_XVADDI_WU = 0x768b0000,
468     OPC_XVADDI_DU = 0x768b8000,
469     OPC_XVSUBI_BU = 0x768c0000,
470     OPC_XVSUBI_HU = 0x768c8000,
471     OPC_XVSUBI_WU = 0x768d0000,
472     OPC_XVSUBI_DU = 0x768d8000,
473     OPC_XVMAXI_B = 0x76900000,
474     OPC_XVMAXI_H = 0x76908000,
475     OPC_XVMAXI_W = 0x76910000,
476     OPC_XVMAXI_D = 0x76918000,
477     OPC_XVMINI_B = 0x76920000,
478     OPC_XVMINI_H = 0x76928000,
479     OPC_XVMINI_W = 0x76930000,
480     OPC_XVMINI_D = 0x76938000,
481     OPC_XVMAXI_BU = 0x76940000,
482     OPC_XVMAXI_HU = 0x76948000,
483     OPC_XVMAXI_WU = 0x76950000,
484     OPC_XVMAXI_DU = 0x76958000,
485     OPC_XVMINI_BU = 0x76960000,
486     OPC_XVMINI_HU = 0x76968000,
487     OPC_XVMINI_WU = 0x76970000,
488     OPC_XVMINI_DU = 0x76978000,
489     OPC_XVNEG_B = 0x769c3000,
490     OPC_XVNEG_H = 0x769c3400,
491     OPC_XVNEG_W = 0x769c3800,
492     OPC_XVNEG_D = 0x769c3c00,
493     OPC_XVREPLGR2VR_B = 0x769f0000,
494     OPC_XVREPLGR2VR_H = 0x769f0400,
495     OPC_XVREPLGR2VR_W = 0x769f0800,
496     OPC_XVREPLGR2VR_D = 0x769f0c00,
497     OPC_XVROTRI_B = 0x76a02000,
498     OPC_XVROTRI_H = 0x76a04000,
499     OPC_XVROTRI_W = 0x76a08000,
500     OPC_XVROTRI_D = 0x76a10000,
501     OPC_XVINSGR2VR_W = 0x76ebc000,
502     OPC_XVINSGR2VR_D = 0x76ebe000,
503     OPC_XVPICKVE2GR_W = 0x76efc000,
504     OPC_XVPICKVE2GR_D = 0x76efe000,
505     OPC_XVPICKVE2GR_WU = 0x76f3c000,
506     OPC_XVPICKVE2GR_DU = 0x76f3e000,
507     OPC_XVREPL128VEI_B = 0x76f78000,
508     OPC_XVREPL128VEI_H = 0x76f7c000,
509     OPC_XVREPL128VEI_W = 0x76f7e000,
510     OPC_XVREPL128VEI_D = 0x76f7f000,
511     OPC_XVREPLVE0_B = 0x77070000,
512     OPC_XVREPLVE0_H = 0x77078000,
513     OPC_XVREPLVE0_W = 0x7707c000,
514     OPC_XVREPLVE0_D = 0x7707e000,
515     OPC_XVREPLVE0_Q = 0x7707f000,
516     OPC_XVBITCLRI_B = 0x77102000,
517     OPC_XVBITCLRI_H = 0x77104000,
518     OPC_XVBITCLRI_W = 0x77108000,
519     OPC_XVBITCLRI_D = 0x77110000,
520     OPC_XVBITSETI_B = 0x77142000,
521     OPC_XVBITSETI_H = 0x77144000,
522     OPC_XVBITSETI_W = 0x77148000,
523     OPC_XVBITSETI_D = 0x77150000,
524     OPC_XVBITREVI_B = 0x77182000,
525     OPC_XVBITREVI_H = 0x77184000,
526     OPC_XVBITREVI_W = 0x77188000,
527     OPC_XVBITREVI_D = 0x77190000,
528     OPC_XVSLLI_B = 0x772c2000,
529     OPC_XVSLLI_H = 0x772c4000,
530     OPC_XVSLLI_W = 0x772c8000,
531     OPC_XVSLLI_D = 0x772d0000,
532     OPC_XVSRLI_B = 0x77302000,
533     OPC_XVSRLI_H = 0x77304000,
534     OPC_XVSRLI_W = 0x77308000,
535     OPC_XVSRLI_D = 0x77310000,
536     OPC_XVSRAI_B = 0x77342000,
537     OPC_XVSRAI_H = 0x77344000,
538     OPC_XVSRAI_W = 0x77348000,
539     OPC_XVSRAI_D = 0x77350000,
540     OPC_XVBITSELI_B = 0x77c40000,
541     OPC_XVANDI_B = 0x77d00000,
542     OPC_XVORI_B = 0x77d40000,
543     OPC_XVXORI_B = 0x77d80000,
544     OPC_XVNORI_B = 0x77dc0000,
545     OPC_XVLDI = 0x77e00000,
546 } LoongArchInsn;
548 static int32_t __attribute__((unused))
549 encode_d_slot(LoongArchInsn opc, uint32_t d)
551     return opc | d;
554 static int32_t __attribute__((unused))
555 encode_dj_slots(LoongArchInsn opc, uint32_t d, uint32_t j)
557     return opc | d | j << 5;
560 static int32_t __attribute__((unused))
561 encode_djk_slots(LoongArchInsn opc, uint32_t d, uint32_t j, uint32_t k)
563     return opc | d | j << 5 | k << 10;
566 static int32_t __attribute__((unused))
567 encode_djka_slots(LoongArchInsn opc, uint32_t d, uint32_t j, uint32_t k,
568                   uint32_t a)
570     return opc | d | j << 5 | k << 10 | a << 15;
573 static int32_t __attribute__((unused))
574 encode_djkm_slots(LoongArchInsn opc, uint32_t d, uint32_t j, uint32_t k,
575                   uint32_t m)
577     return opc | d | j << 5 | k << 10 | m << 16;
580 static int32_t __attribute__((unused))
581 encode_djkn_slots(LoongArchInsn opc, uint32_t d, uint32_t j, uint32_t k,
582                   uint32_t n)
584     return opc | d | j << 5 | k << 10 | n << 18;
587 static int32_t __attribute__((unused))
588 encode_dk_slots(LoongArchInsn opc, uint32_t d, uint32_t k)
590     return opc | d | k << 10;
593 static int32_t __attribute__((unused))
594 encode_dfj_insn(LoongArchInsn opc, TCGReg d, TCGReg fj)
596     tcg_debug_assert(d >= 0 && d <= 0x1f);
597     tcg_debug_assert(fj >= 0x20 && fj <= 0x3f);
598     return encode_dj_slots(opc, d, fj & 0x1f);
601 static int32_t __attribute__((unused))
602 encode_dj_insn(LoongArchInsn opc, TCGReg d, TCGReg j)
604     tcg_debug_assert(d >= 0 && d <= 0x1f);
605     tcg_debug_assert(j >= 0 && j <= 0x1f);
606     return encode_dj_slots(opc, d, j);
609 static int32_t __attribute__((unused))
610 encode_djk_insn(LoongArchInsn opc, TCGReg d, TCGReg j, TCGReg k)
612     tcg_debug_assert(d >= 0 && d <= 0x1f);
613     tcg_debug_assert(j >= 0 && j <= 0x1f);
614     tcg_debug_assert(k >= 0 && k <= 0x1f);
615     return encode_djk_slots(opc, d, j, k);
618 static int32_t __attribute__((unused))
619 encode_djsk12_insn(LoongArchInsn opc, TCGReg d, TCGReg j, int32_t sk12)
621     tcg_debug_assert(d >= 0 && d <= 0x1f);
622     tcg_debug_assert(j >= 0 && j <= 0x1f);
623     tcg_debug_assert(sk12 >= -0x800 && sk12 <= 0x7ff);
624     return encode_djk_slots(opc, d, j, sk12 & 0xfff);
627 static int32_t __attribute__((unused))
628 encode_djsk16_insn(LoongArchInsn opc, TCGReg d, TCGReg j, int32_t sk16)
630     tcg_debug_assert(d >= 0 && d <= 0x1f);
631     tcg_debug_assert(j >= 0 && j <= 0x1f);
632     tcg_debug_assert(sk16 >= -0x8000 && sk16 <= 0x7fff);
633     return encode_djk_slots(opc, d, j, sk16 & 0xffff);
636 static int32_t __attribute__((unused))
637 encode_djuk12_insn(LoongArchInsn opc, TCGReg d, TCGReg j, uint32_t uk12)
639     tcg_debug_assert(d >= 0 && d <= 0x1f);
640     tcg_debug_assert(j >= 0 && j <= 0x1f);
641     tcg_debug_assert(uk12 <= 0xfff);
642     return encode_djk_slots(opc, d, j, uk12);
645 static int32_t __attribute__((unused))
646 encode_djuk3_insn(LoongArchInsn opc, TCGReg d, TCGReg j, uint32_t uk3)
648     tcg_debug_assert(d >= 0 && d <= 0x1f);
649     tcg_debug_assert(j >= 0 && j <= 0x1f);
650     tcg_debug_assert(uk3 <= 0x7);
651     return encode_djk_slots(opc, d, j, uk3);
654 static int32_t __attribute__((unused))
655 encode_djuk4_insn(LoongArchInsn opc, TCGReg d, TCGReg j, uint32_t uk4)
657     tcg_debug_assert(d >= 0 && d <= 0x1f);
658     tcg_debug_assert(j >= 0 && j <= 0x1f);
659     tcg_debug_assert(uk4 <= 0xf);
660     return encode_djk_slots(opc, d, j, uk4);
663 static int32_t __attribute__((unused))
664 encode_djuk5_insn(LoongArchInsn opc, TCGReg d, TCGReg j, uint32_t uk5)
666     tcg_debug_assert(d >= 0 && d <= 0x1f);
667     tcg_debug_assert(j >= 0 && j <= 0x1f);
668     tcg_debug_assert(uk5 <= 0x1f);
669     return encode_djk_slots(opc, d, j, uk5);
672 static int32_t __attribute__((unused))
673 encode_djuk5um5_insn(LoongArchInsn opc, TCGReg d, TCGReg j, uint32_t uk5,
674                      uint32_t um5)
676     tcg_debug_assert(d >= 0 && d <= 0x1f);
677     tcg_debug_assert(j >= 0 && j <= 0x1f);
678     tcg_debug_assert(uk5 <= 0x1f);
679     tcg_debug_assert(um5 <= 0x1f);
680     return encode_djkm_slots(opc, d, j, uk5, um5);
683 static int32_t __attribute__((unused))
684 encode_djuk6_insn(LoongArchInsn opc, TCGReg d, TCGReg j, uint32_t uk6)
686     tcg_debug_assert(d >= 0 && d <= 0x1f);
687     tcg_debug_assert(j >= 0 && j <= 0x1f);
688     tcg_debug_assert(uk6 <= 0x3f);
689     return encode_djk_slots(opc, d, j, uk6);
692 static int32_t __attribute__((unused))
693 encode_djuk6um6_insn(LoongArchInsn opc, TCGReg d, TCGReg j, uint32_t uk6,
694                      uint32_t um6)
696     tcg_debug_assert(d >= 0 && d <= 0x1f);
697     tcg_debug_assert(j >= 0 && j <= 0x1f);
698     tcg_debug_assert(uk6 <= 0x3f);
699     tcg_debug_assert(um6 <= 0x3f);
700     return encode_djkm_slots(opc, d, j, uk6, um6);
703 static int32_t __attribute__((unused))
704 encode_dsj20_insn(LoongArchInsn opc, TCGReg d, int32_t sj20)
706     tcg_debug_assert(d >= 0 && d <= 0x1f);
707     tcg_debug_assert(sj20 >= -0x80000 && sj20 <= 0x7ffff);
708     return encode_dj_slots(opc, d, sj20 & 0xfffff);
711 static int32_t __attribute__((unused))
712 encode_dtj_insn(LoongArchInsn opc, TCGReg d, TCGReg tj)
714     tcg_debug_assert(d >= 0 && d <= 0x1f);
715     tcg_debug_assert(tj >= 0 && tj <= 0x3);
716     return encode_dj_slots(opc, d, tj);
719 static int32_t __attribute__((unused))
720 encode_dvjuk1_insn(LoongArchInsn opc, TCGReg d, TCGReg vj, uint32_t uk1)
722     tcg_debug_assert(d >= 0 && d <= 0x1f);
723     tcg_debug_assert(vj >= 0x20 && vj <= 0x3f);
724     tcg_debug_assert(uk1 <= 0x1);
725     return encode_djk_slots(opc, d, vj & 0x1f, uk1);
728 static int32_t __attribute__((unused))
729 encode_dvjuk2_insn(LoongArchInsn opc, TCGReg d, TCGReg vj, uint32_t uk2)
731     tcg_debug_assert(d >= 0 && d <= 0x1f);
732     tcg_debug_assert(vj >= 0x20 && vj <= 0x3f);
733     tcg_debug_assert(uk2 <= 0x3);
734     return encode_djk_slots(opc, d, vj & 0x1f, uk2);
737 static int32_t __attribute__((unused))
738 encode_dvjuk3_insn(LoongArchInsn opc, TCGReg d, TCGReg vj, uint32_t uk3)
740     tcg_debug_assert(d >= 0 && d <= 0x1f);
741     tcg_debug_assert(vj >= 0x20 && vj <= 0x3f);
742     tcg_debug_assert(uk3 <= 0x7);
743     return encode_djk_slots(opc, d, vj & 0x1f, uk3);
746 static int32_t __attribute__((unused))
747 encode_dvjuk4_insn(LoongArchInsn opc, TCGReg d, TCGReg vj, uint32_t uk4)
749     tcg_debug_assert(d >= 0 && d <= 0x1f);
750     tcg_debug_assert(vj >= 0x20 && vj <= 0x3f);
751     tcg_debug_assert(uk4 <= 0xf);
752     return encode_djk_slots(opc, d, vj & 0x1f, uk4);
755 static int32_t __attribute__((unused))
756 encode_dxjuk2_insn(LoongArchInsn opc, TCGReg d, TCGReg xj, uint32_t uk2)
758     tcg_debug_assert(d >= 0 && d <= 0x1f);
759     tcg_debug_assert(xj >= 0x20 && xj <= 0x3f);
760     tcg_debug_assert(uk2 <= 0x3);
761     return encode_djk_slots(opc, d, xj & 0x1f, uk2);
764 static int32_t __attribute__((unused))
765 encode_dxjuk3_insn(LoongArchInsn opc, TCGReg d, TCGReg xj, uint32_t uk3)
767     tcg_debug_assert(d >= 0 && d <= 0x1f);
768     tcg_debug_assert(xj >= 0x20 && xj <= 0x3f);
769     tcg_debug_assert(uk3 <= 0x7);
770     return encode_djk_slots(opc, d, xj & 0x1f, uk3);
773 static int32_t __attribute__((unused))
774 encode_fdfj_insn(LoongArchInsn opc, TCGReg fd, TCGReg fj)
776     tcg_debug_assert(fd >= 0x20 && fd <= 0x3f);
777     tcg_debug_assert(fj >= 0x20 && fj <= 0x3f);
778     return encode_dj_slots(opc, fd & 0x1f, fj & 0x1f);
781 static int32_t __attribute__((unused))
782 encode_fdj_insn(LoongArchInsn opc, TCGReg fd, TCGReg j)
784     tcg_debug_assert(fd >= 0x20 && fd <= 0x3f);
785     tcg_debug_assert(j >= 0 && j <= 0x1f);
786     return encode_dj_slots(opc, fd & 0x1f, j);
789 static int32_t __attribute__((unused))
790 encode_fdjk_insn(LoongArchInsn opc, TCGReg fd, TCGReg j, TCGReg k)
792     tcg_debug_assert(fd >= 0x20 && fd <= 0x3f);
793     tcg_debug_assert(j >= 0 && j <= 0x1f);
794     tcg_debug_assert(k >= 0 && k <= 0x1f);
795     return encode_djk_slots(opc, fd & 0x1f, j, k);
798 static int32_t __attribute__((unused))
799 encode_fdjsk12_insn(LoongArchInsn opc, TCGReg fd, TCGReg j, int32_t sk12)
801     tcg_debug_assert(fd >= 0x20 && fd <= 0x3f);
802     tcg_debug_assert(j >= 0 && j <= 0x1f);
803     tcg_debug_assert(sk12 >= -0x800 && sk12 <= 0x7ff);
804     return encode_djk_slots(opc, fd & 0x1f, j, sk12 & 0xfff);
807 static int32_t __attribute__((unused))
808 encode_sd10k16_insn(LoongArchInsn opc, int32_t sd10k16)
810     tcg_debug_assert(sd10k16 >= -0x2000000 && sd10k16 <= 0x1ffffff);
811     return encode_dk_slots(opc, (sd10k16 >> 16) & 0x3ff, sd10k16 & 0xffff);
814 static int32_t __attribute__((unused))
815 encode_sd5k16_insn(LoongArchInsn opc, int32_t sd5k16)
817     tcg_debug_assert(sd5k16 >= -0x100000 && sd5k16 <= 0xfffff);
818     return encode_dk_slots(opc, (sd5k16 >> 16) & 0x1f, sd5k16 & 0xffff);
821 static int32_t __attribute__((unused))
822 encode_tdj_insn(LoongArchInsn opc, TCGReg td, TCGReg j)
824     tcg_debug_assert(td >= 0 && td <= 0x3);
825     tcg_debug_assert(j >= 0 && j <= 0x1f);
826     return encode_dj_slots(opc, td, j);
829 static int32_t __attribute__((unused))
830 encode_ud15_insn(LoongArchInsn opc, uint32_t ud15)
832     tcg_debug_assert(ud15 <= 0x7fff);
833     return encode_d_slot(opc, ud15);
836 static int32_t __attribute__((unused))
837 encode_vdj_insn(LoongArchInsn opc, TCGReg vd, TCGReg j)
839     tcg_debug_assert(vd >= 0x20 && vd <= 0x3f);
840     tcg_debug_assert(j >= 0 && j <= 0x1f);
841     return encode_dj_slots(opc, vd & 0x1f, j);
844 static int32_t __attribute__((unused))
845 encode_vdjk_insn(LoongArchInsn opc, TCGReg vd, TCGReg j, TCGReg k)
847     tcg_debug_assert(vd >= 0x20 && vd <= 0x3f);
848     tcg_debug_assert(j >= 0 && j <= 0x1f);
849     tcg_debug_assert(k >= 0 && k <= 0x1f);
850     return encode_djk_slots(opc, vd & 0x1f, j, k);
853 static int32_t __attribute__((unused))
854 encode_vdjsk10_insn(LoongArchInsn opc, TCGReg vd, TCGReg j, int32_t sk10)
856     tcg_debug_assert(vd >= 0x20 && vd <= 0x3f);
857     tcg_debug_assert(j >= 0 && j <= 0x1f);
858     tcg_debug_assert(sk10 >= -0x200 && sk10 <= 0x1ff);
859     return encode_djk_slots(opc, vd & 0x1f, j, sk10 & 0x3ff);
862 static int32_t __attribute__((unused))
863 encode_vdjsk11_insn(LoongArchInsn opc, TCGReg vd, TCGReg j, int32_t sk11)
865     tcg_debug_assert(vd >= 0x20 && vd <= 0x3f);
866     tcg_debug_assert(j >= 0 && j <= 0x1f);
867     tcg_debug_assert(sk11 >= -0x400 && sk11 <= 0x3ff);
868     return encode_djk_slots(opc, vd & 0x1f, j, sk11 & 0x7ff);
871 static int32_t __attribute__((unused))
872 encode_vdjsk12_insn(LoongArchInsn opc, TCGReg vd, TCGReg j, int32_t sk12)
874     tcg_debug_assert(vd >= 0x20 && vd <= 0x3f);
875     tcg_debug_assert(j >= 0 && j <= 0x1f);
876     tcg_debug_assert(sk12 >= -0x800 && sk12 <= 0x7ff);
877     return encode_djk_slots(opc, vd & 0x1f, j, sk12 & 0xfff);
880 static int32_t __attribute__((unused))
881 encode_vdjsk8un1_insn(LoongArchInsn opc, TCGReg vd, TCGReg j, int32_t sk8,
882                       uint32_t un1)
884     tcg_debug_assert(vd >= 0x20 && vd <= 0x3f);
885     tcg_debug_assert(j >= 0 && j <= 0x1f);
886     tcg_debug_assert(sk8 >= -0x80 && sk8 <= 0x7f);
887     tcg_debug_assert(un1 <= 0x1);
888     return encode_djkn_slots(opc, vd & 0x1f, j, sk8 & 0xff, un1);
891 static int32_t __attribute__((unused))
892 encode_vdjsk8un2_insn(LoongArchInsn opc, TCGReg vd, TCGReg j, int32_t sk8,
893                       uint32_t un2)
895     tcg_debug_assert(vd >= 0x20 && vd <= 0x3f);
896     tcg_debug_assert(j >= 0 && j <= 0x1f);
897     tcg_debug_assert(sk8 >= -0x80 && sk8 <= 0x7f);
898     tcg_debug_assert(un2 <= 0x3);
899     return encode_djkn_slots(opc, vd & 0x1f, j, sk8 & 0xff, un2);
902 static int32_t __attribute__((unused))
903 encode_vdjsk8un3_insn(LoongArchInsn opc, TCGReg vd, TCGReg j, int32_t sk8,
904                       uint32_t un3)
906     tcg_debug_assert(vd >= 0x20 && vd <= 0x3f);
907     tcg_debug_assert(j >= 0 && j <= 0x1f);
908     tcg_debug_assert(sk8 >= -0x80 && sk8 <= 0x7f);
909     tcg_debug_assert(un3 <= 0x7);
910     return encode_djkn_slots(opc, vd & 0x1f, j, sk8 & 0xff, un3);
913 static int32_t __attribute__((unused))
914 encode_vdjsk8un4_insn(LoongArchInsn opc, TCGReg vd, TCGReg j, int32_t sk8,
915                       uint32_t un4)
917     tcg_debug_assert(vd >= 0x20 && vd <= 0x3f);
918     tcg_debug_assert(j >= 0 && j <= 0x1f);
919     tcg_debug_assert(sk8 >= -0x80 && sk8 <= 0x7f);
920     tcg_debug_assert(un4 <= 0xf);
921     return encode_djkn_slots(opc, vd & 0x1f, j, sk8 & 0xff, un4);
924 static int32_t __attribute__((unused))
925 encode_vdjsk9_insn(LoongArchInsn opc, TCGReg vd, TCGReg j, int32_t sk9)
927     tcg_debug_assert(vd >= 0x20 && vd <= 0x3f);
928     tcg_debug_assert(j >= 0 && j <= 0x1f);
929     tcg_debug_assert(sk9 >= -0x100 && sk9 <= 0xff);
930     return encode_djk_slots(opc, vd & 0x1f, j, sk9 & 0x1ff);
933 static int32_t __attribute__((unused))
934 encode_vdjuk1_insn(LoongArchInsn opc, TCGReg vd, TCGReg j, uint32_t uk1)
936     tcg_debug_assert(vd >= 0x20 && vd <= 0x3f);
937     tcg_debug_assert(j >= 0 && j <= 0x1f);
938     tcg_debug_assert(uk1 <= 0x1);
939     return encode_djk_slots(opc, vd & 0x1f, j, uk1);
942 static int32_t __attribute__((unused))
943 encode_vdjuk2_insn(LoongArchInsn opc, TCGReg vd, TCGReg j, uint32_t uk2)
945     tcg_debug_assert(vd >= 0x20 && vd <= 0x3f);
946     tcg_debug_assert(j >= 0 && j <= 0x1f);
947     tcg_debug_assert(uk2 <= 0x3);
948     return encode_djk_slots(opc, vd & 0x1f, j, uk2);
951 static int32_t __attribute__((unused))
952 encode_vdjuk3_insn(LoongArchInsn opc, TCGReg vd, TCGReg j, uint32_t uk3)
954     tcg_debug_assert(vd >= 0x20 && vd <= 0x3f);
955     tcg_debug_assert(j >= 0 && j <= 0x1f);
956     tcg_debug_assert(uk3 <= 0x7);
957     return encode_djk_slots(opc, vd & 0x1f, j, uk3);
960 static int32_t __attribute__((unused))
961 encode_vdjuk4_insn(LoongArchInsn opc, TCGReg vd, TCGReg j, uint32_t uk4)
963     tcg_debug_assert(vd >= 0x20 && vd <= 0x3f);
964     tcg_debug_assert(j >= 0 && j <= 0x1f);
965     tcg_debug_assert(uk4 <= 0xf);
966     return encode_djk_slots(opc, vd & 0x1f, j, uk4);
969 static int32_t __attribute__((unused))
970 encode_vdsj13_insn(LoongArchInsn opc, TCGReg vd, int32_t sj13)
972     tcg_debug_assert(vd >= 0x20 && vd <= 0x3f);
973     tcg_debug_assert(sj13 >= -0x1000 && sj13 <= 0xfff);
974     return encode_dj_slots(opc, vd & 0x1f, sj13 & 0x1fff);
977 static int32_t __attribute__((unused))
978 encode_vdvj_insn(LoongArchInsn opc, TCGReg vd, TCGReg vj)
980     tcg_debug_assert(vd >= 0x20 && vd <= 0x3f);
981     tcg_debug_assert(vj >= 0x20 && vj <= 0x3f);
982     return encode_dj_slots(opc, vd & 0x1f, vj & 0x1f);
985 static int32_t __attribute__((unused))
986 encode_vdvjk_insn(LoongArchInsn opc, TCGReg vd, TCGReg vj, TCGReg k)
988     tcg_debug_assert(vd >= 0x20 && vd <= 0x3f);
989     tcg_debug_assert(vj >= 0x20 && vj <= 0x3f);
990     tcg_debug_assert(k >= 0 && k <= 0x1f);
991     return encode_djk_slots(opc, vd & 0x1f, vj & 0x1f, k);
994 static int32_t __attribute__((unused))
995 encode_vdvjsk5_insn(LoongArchInsn opc, TCGReg vd, TCGReg vj, int32_t sk5)
997     tcg_debug_assert(vd >= 0x20 && vd <= 0x3f);
998     tcg_debug_assert(vj >= 0x20 && vj <= 0x3f);
999     tcg_debug_assert(sk5 >= -0x10 && sk5 <= 0xf);
1000     return encode_djk_slots(opc, vd & 0x1f, vj & 0x1f, sk5 & 0x1f);
1003 static int32_t __attribute__((unused))
1004 encode_vdvjuk1_insn(LoongArchInsn opc, TCGReg vd, TCGReg vj, uint32_t uk1)
1006     tcg_debug_assert(vd >= 0x20 && vd <= 0x3f);
1007     tcg_debug_assert(vj >= 0x20 && vj <= 0x3f);
1008     tcg_debug_assert(uk1 <= 0x1);
1009     return encode_djk_slots(opc, vd & 0x1f, vj & 0x1f, uk1);
1012 static int32_t __attribute__((unused))
1013 encode_vdvjuk2_insn(LoongArchInsn opc, TCGReg vd, TCGReg vj, uint32_t uk2)
1015     tcg_debug_assert(vd >= 0x20 && vd <= 0x3f);
1016     tcg_debug_assert(vj >= 0x20 && vj <= 0x3f);
1017     tcg_debug_assert(uk2 <= 0x3);
1018     return encode_djk_slots(opc, vd & 0x1f, vj & 0x1f, uk2);
1021 static int32_t __attribute__((unused))
1022 encode_vdvjuk3_insn(LoongArchInsn opc, TCGReg vd, TCGReg vj, uint32_t uk3)
1024     tcg_debug_assert(vd >= 0x20 && vd <= 0x3f);
1025     tcg_debug_assert(vj >= 0x20 && vj <= 0x3f);
1026     tcg_debug_assert(uk3 <= 0x7);
1027     return encode_djk_slots(opc, vd & 0x1f, vj & 0x1f, uk3);
1030 static int32_t __attribute__((unused))
1031 encode_vdvjuk4_insn(LoongArchInsn opc, TCGReg vd, TCGReg vj, uint32_t uk4)
1033     tcg_debug_assert(vd >= 0x20 && vd <= 0x3f);
1034     tcg_debug_assert(vj >= 0x20 && vj <= 0x3f);
1035     tcg_debug_assert(uk4 <= 0xf);
1036     return encode_djk_slots(opc, vd & 0x1f, vj & 0x1f, uk4);
1039 static int32_t __attribute__((unused))
1040 encode_vdvjuk5_insn(LoongArchInsn opc, TCGReg vd, TCGReg vj, uint32_t uk5)
1042     tcg_debug_assert(vd >= 0x20 && vd <= 0x3f);
1043     tcg_debug_assert(vj >= 0x20 && vj <= 0x3f);
1044     tcg_debug_assert(uk5 <= 0x1f);
1045     return encode_djk_slots(opc, vd & 0x1f, vj & 0x1f, uk5);
1048 static int32_t __attribute__((unused))
1049 encode_vdvjuk6_insn(LoongArchInsn opc, TCGReg vd, TCGReg vj, uint32_t uk6)
1051     tcg_debug_assert(vd >= 0x20 && vd <= 0x3f);
1052     tcg_debug_assert(vj >= 0x20 && vj <= 0x3f);
1053     tcg_debug_assert(uk6 <= 0x3f);
1054     return encode_djk_slots(opc, vd & 0x1f, vj & 0x1f, uk6);
1057 static int32_t __attribute__((unused))
1058 encode_vdvjuk8_insn(LoongArchInsn opc, TCGReg vd, TCGReg vj, uint32_t uk8)
1060     tcg_debug_assert(vd >= 0x20 && vd <= 0x3f);
1061     tcg_debug_assert(vj >= 0x20 && vj <= 0x3f);
1062     tcg_debug_assert(uk8 <= 0xff);
1063     return encode_djk_slots(opc, vd & 0x1f, vj & 0x1f, uk8);
1066 static int32_t __attribute__((unused))
1067 encode_vdvjvk_insn(LoongArchInsn opc, TCGReg vd, TCGReg vj, TCGReg vk)
1069     tcg_debug_assert(vd >= 0x20 && vd <= 0x3f);
1070     tcg_debug_assert(vj >= 0x20 && vj <= 0x3f);
1071     tcg_debug_assert(vk >= 0x20 && vk <= 0x3f);
1072     return encode_djk_slots(opc, vd & 0x1f, vj & 0x1f, vk & 0x1f);
1075 static int32_t __attribute__((unused))
1076 encode_vdvjvkva_insn(LoongArchInsn opc, TCGReg vd, TCGReg vj, TCGReg vk,
1077                      TCGReg va)
1079     tcg_debug_assert(vd >= 0x20 && vd <= 0x3f);
1080     tcg_debug_assert(vj >= 0x20 && vj <= 0x3f);
1081     tcg_debug_assert(vk >= 0x20 && vk <= 0x3f);
1082     tcg_debug_assert(va >= 0x20 && va <= 0x3f);
1083     return encode_djka_slots(opc, vd & 0x1f, vj & 0x1f, vk & 0x1f, va & 0x1f);
1086 static int32_t __attribute__((unused))
1087 encode_xdj_insn(LoongArchInsn opc, TCGReg xd, TCGReg j)
1089     tcg_debug_assert(xd >= 0x20 && xd <= 0x3f);
1090     tcg_debug_assert(j >= 0 && j <= 0x1f);
1091     return encode_dj_slots(opc, xd & 0x1f, j);
1094 static int32_t __attribute__((unused))
1095 encode_xdjk_insn(LoongArchInsn opc, TCGReg xd, TCGReg j, TCGReg k)
1097     tcg_debug_assert(xd >= 0x20 && xd <= 0x3f);
1098     tcg_debug_assert(j >= 0 && j <= 0x1f);
1099     tcg_debug_assert(k >= 0 && k <= 0x1f);
1100     return encode_djk_slots(opc, xd & 0x1f, j, k);
1103 static int32_t __attribute__((unused))
1104 encode_xdjsk10_insn(LoongArchInsn opc, TCGReg xd, TCGReg j, int32_t sk10)
1106     tcg_debug_assert(xd >= 0x20 && xd <= 0x3f);
1107     tcg_debug_assert(j >= 0 && j <= 0x1f);
1108     tcg_debug_assert(sk10 >= -0x200 && sk10 <= 0x1ff);
1109     return encode_djk_slots(opc, xd & 0x1f, j, sk10 & 0x3ff);
1112 static int32_t __attribute__((unused))
1113 encode_xdjsk11_insn(LoongArchInsn opc, TCGReg xd, TCGReg j, int32_t sk11)
1115     tcg_debug_assert(xd >= 0x20 && xd <= 0x3f);
1116     tcg_debug_assert(j >= 0 && j <= 0x1f);
1117     tcg_debug_assert(sk11 >= -0x400 && sk11 <= 0x3ff);
1118     return encode_djk_slots(opc, xd & 0x1f, j, sk11 & 0x7ff);
1121 static int32_t __attribute__((unused))
1122 encode_xdjsk12_insn(LoongArchInsn opc, TCGReg xd, TCGReg j, int32_t sk12)
1124     tcg_debug_assert(xd >= 0x20 && xd <= 0x3f);
1125     tcg_debug_assert(j >= 0 && j <= 0x1f);
1126     tcg_debug_assert(sk12 >= -0x800 && sk12 <= 0x7ff);
1127     return encode_djk_slots(opc, xd & 0x1f, j, sk12 & 0xfff);
1130 static int32_t __attribute__((unused))
1131 encode_xdjsk8un2_insn(LoongArchInsn opc, TCGReg xd, TCGReg j, int32_t sk8,
1132                       uint32_t un2)
1134     tcg_debug_assert(xd >= 0x20 && xd <= 0x3f);
1135     tcg_debug_assert(j >= 0 && j <= 0x1f);
1136     tcg_debug_assert(sk8 >= -0x80 && sk8 <= 0x7f);
1137     tcg_debug_assert(un2 <= 0x3);
1138     return encode_djkn_slots(opc, xd & 0x1f, j, sk8 & 0xff, un2);
1141 static int32_t __attribute__((unused))
1142 encode_xdjsk8un3_insn(LoongArchInsn opc, TCGReg xd, TCGReg j, int32_t sk8,
1143                       uint32_t un3)
1145     tcg_debug_assert(xd >= 0x20 && xd <= 0x3f);
1146     tcg_debug_assert(j >= 0 && j <= 0x1f);
1147     tcg_debug_assert(sk8 >= -0x80 && sk8 <= 0x7f);
1148     tcg_debug_assert(un3 <= 0x7);
1149     return encode_djkn_slots(opc, xd & 0x1f, j, sk8 & 0xff, un3);
1152 static int32_t __attribute__((unused))
1153 encode_xdjsk8un4_insn(LoongArchInsn opc, TCGReg xd, TCGReg j, int32_t sk8,
1154                       uint32_t un4)
1156     tcg_debug_assert(xd >= 0x20 && xd <= 0x3f);
1157     tcg_debug_assert(j >= 0 && j <= 0x1f);
1158     tcg_debug_assert(sk8 >= -0x80 && sk8 <= 0x7f);
1159     tcg_debug_assert(un4 <= 0xf);
1160     return encode_djkn_slots(opc, xd & 0x1f, j, sk8 & 0xff, un4);
1163 static int32_t __attribute__((unused))
1164 encode_xdjsk8un5_insn(LoongArchInsn opc, TCGReg xd, TCGReg j, int32_t sk8,
1165                       uint32_t un5)
1167     tcg_debug_assert(xd >= 0x20 && xd <= 0x3f);
1168     tcg_debug_assert(j >= 0 && j <= 0x1f);
1169     tcg_debug_assert(sk8 >= -0x80 && sk8 <= 0x7f);
1170     tcg_debug_assert(un5 <= 0x1f);
1171     return encode_djkn_slots(opc, xd & 0x1f, j, sk8 & 0xff, un5);
1174 static int32_t __attribute__((unused))
1175 encode_xdjsk9_insn(LoongArchInsn opc, TCGReg xd, TCGReg j, int32_t sk9)
1177     tcg_debug_assert(xd >= 0x20 && xd <= 0x3f);
1178     tcg_debug_assert(j >= 0 && j <= 0x1f);
1179     tcg_debug_assert(sk9 >= -0x100 && sk9 <= 0xff);
1180     return encode_djk_slots(opc, xd & 0x1f, j, sk9 & 0x1ff);
1183 static int32_t __attribute__((unused))
1184 encode_xdjuk2_insn(LoongArchInsn opc, TCGReg xd, TCGReg j, uint32_t uk2)
1186     tcg_debug_assert(xd >= 0x20 && xd <= 0x3f);
1187     tcg_debug_assert(j >= 0 && j <= 0x1f);
1188     tcg_debug_assert(uk2 <= 0x3);
1189     return encode_djk_slots(opc, xd & 0x1f, j, uk2);
1192 static int32_t __attribute__((unused))
1193 encode_xdjuk3_insn(LoongArchInsn opc, TCGReg xd, TCGReg j, uint32_t uk3)
1195     tcg_debug_assert(xd >= 0x20 && xd <= 0x3f);
1196     tcg_debug_assert(j >= 0 && j <= 0x1f);
1197     tcg_debug_assert(uk3 <= 0x7);
1198     return encode_djk_slots(opc, xd & 0x1f, j, uk3);
1201 static int32_t __attribute__((unused))
1202 encode_xdsj13_insn(LoongArchInsn opc, TCGReg xd, int32_t sj13)
1204     tcg_debug_assert(xd >= 0x20 && xd <= 0x3f);
1205     tcg_debug_assert(sj13 >= -0x1000 && sj13 <= 0xfff);
1206     return encode_dj_slots(opc, xd & 0x1f, sj13 & 0x1fff);
1209 static int32_t __attribute__((unused))
1210 encode_xdxj_insn(LoongArchInsn opc, TCGReg xd, TCGReg xj)
1212     tcg_debug_assert(xd >= 0x20 && xd <= 0x3f);
1213     tcg_debug_assert(xj >= 0x20 && xj <= 0x3f);
1214     return encode_dj_slots(opc, xd & 0x1f, xj & 0x1f);
1217 static int32_t __attribute__((unused))
1218 encode_xdxjk_insn(LoongArchInsn opc, TCGReg xd, TCGReg xj, TCGReg k)
1220     tcg_debug_assert(xd >= 0x20 && xd <= 0x3f);
1221     tcg_debug_assert(xj >= 0x20 && xj <= 0x3f);
1222     tcg_debug_assert(k >= 0 && k <= 0x1f);
1223     return encode_djk_slots(opc, xd & 0x1f, xj & 0x1f, k);
1226 static int32_t __attribute__((unused))
1227 encode_xdxjsk5_insn(LoongArchInsn opc, TCGReg xd, TCGReg xj, int32_t sk5)
1229     tcg_debug_assert(xd >= 0x20 && xd <= 0x3f);
1230     tcg_debug_assert(xj >= 0x20 && xj <= 0x3f);
1231     tcg_debug_assert(sk5 >= -0x10 && sk5 <= 0xf);
1232     return encode_djk_slots(opc, xd & 0x1f, xj & 0x1f, sk5 & 0x1f);
1235 static int32_t __attribute__((unused))
1236 encode_xdxjuk1_insn(LoongArchInsn opc, TCGReg xd, TCGReg xj, uint32_t uk1)
1238     tcg_debug_assert(xd >= 0x20 && xd <= 0x3f);
1239     tcg_debug_assert(xj >= 0x20 && xj <= 0x3f);
1240     tcg_debug_assert(uk1 <= 0x1);
1241     return encode_djk_slots(opc, xd & 0x1f, xj & 0x1f, uk1);
1244 static int32_t __attribute__((unused))
1245 encode_xdxjuk2_insn(LoongArchInsn opc, TCGReg xd, TCGReg xj, uint32_t uk2)
1247     tcg_debug_assert(xd >= 0x20 && xd <= 0x3f);
1248     tcg_debug_assert(xj >= 0x20 && xj <= 0x3f);
1249     tcg_debug_assert(uk2 <= 0x3);
1250     return encode_djk_slots(opc, xd & 0x1f, xj & 0x1f, uk2);
1253 static int32_t __attribute__((unused))
1254 encode_xdxjuk3_insn(LoongArchInsn opc, TCGReg xd, TCGReg xj, uint32_t uk3)
1256     tcg_debug_assert(xd >= 0x20 && xd <= 0x3f);
1257     tcg_debug_assert(xj >= 0x20 && xj <= 0x3f);
1258     tcg_debug_assert(uk3 <= 0x7);
1259     return encode_djk_slots(opc, xd & 0x1f, xj & 0x1f, uk3);
1262 static int32_t __attribute__((unused))
1263 encode_xdxjuk4_insn(LoongArchInsn opc, TCGReg xd, TCGReg xj, uint32_t uk4)
1265     tcg_debug_assert(xd >= 0x20 && xd <= 0x3f);
1266     tcg_debug_assert(xj >= 0x20 && xj <= 0x3f);
1267     tcg_debug_assert(uk4 <= 0xf);
1268     return encode_djk_slots(opc, xd & 0x1f, xj & 0x1f, uk4);
1271 static int32_t __attribute__((unused))
1272 encode_xdxjuk5_insn(LoongArchInsn opc, TCGReg xd, TCGReg xj, uint32_t uk5)
1274     tcg_debug_assert(xd >= 0x20 && xd <= 0x3f);
1275     tcg_debug_assert(xj >= 0x20 && xj <= 0x3f);
1276     tcg_debug_assert(uk5 <= 0x1f);
1277     return encode_djk_slots(opc, xd & 0x1f, xj & 0x1f, uk5);
1280 static int32_t __attribute__((unused))
1281 encode_xdxjuk6_insn(LoongArchInsn opc, TCGReg xd, TCGReg xj, uint32_t uk6)
1283     tcg_debug_assert(xd >= 0x20 && xd <= 0x3f);
1284     tcg_debug_assert(xj >= 0x20 && xj <= 0x3f);
1285     tcg_debug_assert(uk6 <= 0x3f);
1286     return encode_djk_slots(opc, xd & 0x1f, xj & 0x1f, uk6);
1289 static int32_t __attribute__((unused))
1290 encode_xdxjuk8_insn(LoongArchInsn opc, TCGReg xd, TCGReg xj, uint32_t uk8)
1292     tcg_debug_assert(xd >= 0x20 && xd <= 0x3f);
1293     tcg_debug_assert(xj >= 0x20 && xj <= 0x3f);
1294     tcg_debug_assert(uk8 <= 0xff);
1295     return encode_djk_slots(opc, xd & 0x1f, xj & 0x1f, uk8);
1298 static int32_t __attribute__((unused))
1299 encode_xdxjxk_insn(LoongArchInsn opc, TCGReg xd, TCGReg xj, TCGReg xk)
1301     tcg_debug_assert(xd >= 0x20 && xd <= 0x3f);
1302     tcg_debug_assert(xj >= 0x20 && xj <= 0x3f);
1303     tcg_debug_assert(xk >= 0x20 && xk <= 0x3f);
1304     return encode_djk_slots(opc, xd & 0x1f, xj & 0x1f, xk & 0x1f);
1307 static int32_t __attribute__((unused))
1308 encode_xdxjxkxa_insn(LoongArchInsn opc, TCGReg xd, TCGReg xj, TCGReg xk,
1309                      TCGReg xa)
1311     tcg_debug_assert(xd >= 0x20 && xd <= 0x3f);
1312     tcg_debug_assert(xj >= 0x20 && xj <= 0x3f);
1313     tcg_debug_assert(xk >= 0x20 && xk <= 0x3f);
1314     tcg_debug_assert(xa >= 0x20 && xa <= 0x3f);
1315     return encode_djka_slots(opc, xd & 0x1f, xj & 0x1f, xk & 0x1f, xa & 0x1f);
1318 /* Emits the `movgr2scr td, j` instruction.  */
1319 static void __attribute__((unused))
1320 tcg_out_opc_movgr2scr(TCGContext *s, TCGReg td, TCGReg j)
1322     tcg_out32(s, encode_tdj_insn(OPC_MOVGR2SCR, td, j));
1325 /* Emits the `movscr2gr d, tj` instruction.  */
1326 static void __attribute__((unused))
1327 tcg_out_opc_movscr2gr(TCGContext *s, TCGReg d, TCGReg tj)
1329     tcg_out32(s, encode_dtj_insn(OPC_MOVSCR2GR, d, tj));
1332 /* Emits the `clz.w d, j` instruction.  */
1333 static void __attribute__((unused))
1334 tcg_out_opc_clz_w(TCGContext *s, TCGReg d, TCGReg j)
1336     tcg_out32(s, encode_dj_insn(OPC_CLZ_W, d, j));
1339 /* Emits the `ctz.w d, j` instruction.  */
1340 static void __attribute__((unused))
1341 tcg_out_opc_ctz_w(TCGContext *s, TCGReg d, TCGReg j)
1343     tcg_out32(s, encode_dj_insn(OPC_CTZ_W, d, j));
1346 /* Emits the `clz.d d, j` instruction.  */
1347 static void __attribute__((unused))
1348 tcg_out_opc_clz_d(TCGContext *s, TCGReg d, TCGReg j)
1350     tcg_out32(s, encode_dj_insn(OPC_CLZ_D, d, j));
1353 /* Emits the `ctz.d d, j` instruction.  */
1354 static void __attribute__((unused))
1355 tcg_out_opc_ctz_d(TCGContext *s, TCGReg d, TCGReg j)
1357     tcg_out32(s, encode_dj_insn(OPC_CTZ_D, d, j));
1360 /* Emits the `revb.2h d, j` instruction.  */
1361 static void __attribute__((unused))
1362 tcg_out_opc_revb_2h(TCGContext *s, TCGReg d, TCGReg j)
1364     tcg_out32(s, encode_dj_insn(OPC_REVB_2H, d, j));
1367 /* Emits the `revb.2w d, j` instruction.  */
1368 static void __attribute__((unused))
1369 tcg_out_opc_revb_2w(TCGContext *s, TCGReg d, TCGReg j)
1371     tcg_out32(s, encode_dj_insn(OPC_REVB_2W, d, j));
1374 /* Emits the `revb.d d, j` instruction.  */
1375 static void __attribute__((unused))
1376 tcg_out_opc_revb_d(TCGContext *s, TCGReg d, TCGReg j)
1378     tcg_out32(s, encode_dj_insn(OPC_REVB_D, d, j));
1381 /* Emits the `sext.h d, j` instruction.  */
1382 static void __attribute__((unused))
1383 tcg_out_opc_sext_h(TCGContext *s, TCGReg d, TCGReg j)
1385     tcg_out32(s, encode_dj_insn(OPC_SEXT_H, d, j));
1388 /* Emits the `sext.b d, j` instruction.  */
1389 static void __attribute__((unused))
1390 tcg_out_opc_sext_b(TCGContext *s, TCGReg d, TCGReg j)
1392     tcg_out32(s, encode_dj_insn(OPC_SEXT_B, d, j));
1395 /* Emits the `add.w d, j, k` instruction.  */
1396 static void __attribute__((unused))
1397 tcg_out_opc_add_w(TCGContext *s, TCGReg d, TCGReg j, TCGReg k)
1399     tcg_out32(s, encode_djk_insn(OPC_ADD_W, d, j, k));
1402 /* Emits the `add.d d, j, k` instruction.  */
1403 static void __attribute__((unused))
1404 tcg_out_opc_add_d(TCGContext *s, TCGReg d, TCGReg j, TCGReg k)
1406     tcg_out32(s, encode_djk_insn(OPC_ADD_D, d, j, k));
1409 /* Emits the `sub.w d, j, k` instruction.  */
1410 static void __attribute__((unused))
1411 tcg_out_opc_sub_w(TCGContext *s, TCGReg d, TCGReg j, TCGReg k)
1413     tcg_out32(s, encode_djk_insn(OPC_SUB_W, d, j, k));
1416 /* Emits the `sub.d d, j, k` instruction.  */
1417 static void __attribute__((unused))
1418 tcg_out_opc_sub_d(TCGContext *s, TCGReg d, TCGReg j, TCGReg k)
1420     tcg_out32(s, encode_djk_insn(OPC_SUB_D, d, j, k));
1423 /* Emits the `slt d, j, k` instruction.  */
1424 static void __attribute__((unused))
1425 tcg_out_opc_slt(TCGContext *s, TCGReg d, TCGReg j, TCGReg k)
1427     tcg_out32(s, encode_djk_insn(OPC_SLT, d, j, k));
1430 /* Emits the `sltu d, j, k` instruction.  */
1431 static void __attribute__((unused))
1432 tcg_out_opc_sltu(TCGContext *s, TCGReg d, TCGReg j, TCGReg k)
1434     tcg_out32(s, encode_djk_insn(OPC_SLTU, d, j, k));
1437 /* Emits the `maskeqz d, j, k` instruction.  */
1438 static void __attribute__((unused))
1439 tcg_out_opc_maskeqz(TCGContext *s, TCGReg d, TCGReg j, TCGReg k)
1441     tcg_out32(s, encode_djk_insn(OPC_MASKEQZ, d, j, k));
1444 /* Emits the `masknez d, j, k` instruction.  */
1445 static void __attribute__((unused))
1446 tcg_out_opc_masknez(TCGContext *s, TCGReg d, TCGReg j, TCGReg k)
1448     tcg_out32(s, encode_djk_insn(OPC_MASKNEZ, d, j, k));
1451 /* Emits the `nor d, j, k` instruction.  */
1452 static void __attribute__((unused))
1453 tcg_out_opc_nor(TCGContext *s, TCGReg d, TCGReg j, TCGReg k)
1455     tcg_out32(s, encode_djk_insn(OPC_NOR, d, j, k));
1458 /* Emits the `and d, j, k` instruction.  */
1459 static void __attribute__((unused))
1460 tcg_out_opc_and(TCGContext *s, TCGReg d, TCGReg j, TCGReg k)
1462     tcg_out32(s, encode_djk_insn(OPC_AND, d, j, k));
1465 /* Emits the `or d, j, k` instruction.  */
1466 static void __attribute__((unused))
1467 tcg_out_opc_or(TCGContext *s, TCGReg d, TCGReg j, TCGReg k)
1469     tcg_out32(s, encode_djk_insn(OPC_OR, d, j, k));
1472 /* Emits the `xor d, j, k` instruction.  */
1473 static void __attribute__((unused))
1474 tcg_out_opc_xor(TCGContext *s, TCGReg d, TCGReg j, TCGReg k)
1476     tcg_out32(s, encode_djk_insn(OPC_XOR, d, j, k));
1479 /* Emits the `orn d, j, k` instruction.  */
1480 static void __attribute__((unused))
1481 tcg_out_opc_orn(TCGContext *s, TCGReg d, TCGReg j, TCGReg k)
1483     tcg_out32(s, encode_djk_insn(OPC_ORN, d, j, k));
1486 /* Emits the `andn d, j, k` instruction.  */
1487 static void __attribute__((unused))
1488 tcg_out_opc_andn(TCGContext *s, TCGReg d, TCGReg j, TCGReg k)
1490     tcg_out32(s, encode_djk_insn(OPC_ANDN, d, j, k));
1493 /* Emits the `sll.w d, j, k` instruction.  */
1494 static void __attribute__((unused))
1495 tcg_out_opc_sll_w(TCGContext *s, TCGReg d, TCGReg j, TCGReg k)
1497     tcg_out32(s, encode_djk_insn(OPC_SLL_W, d, j, k));
1500 /* Emits the `srl.w d, j, k` instruction.  */
1501 static void __attribute__((unused))
1502 tcg_out_opc_srl_w(TCGContext *s, TCGReg d, TCGReg j, TCGReg k)
1504     tcg_out32(s, encode_djk_insn(OPC_SRL_W, d, j, k));
1507 /* Emits the `sra.w d, j, k` instruction.  */
1508 static void __attribute__((unused))
1509 tcg_out_opc_sra_w(TCGContext *s, TCGReg d, TCGReg j, TCGReg k)
1511     tcg_out32(s, encode_djk_insn(OPC_SRA_W, d, j, k));
1514 /* Emits the `sll.d d, j, k` instruction.  */
1515 static void __attribute__((unused))
1516 tcg_out_opc_sll_d(TCGContext *s, TCGReg d, TCGReg j, TCGReg k)
1518     tcg_out32(s, encode_djk_insn(OPC_SLL_D, d, j, k));
1521 /* Emits the `srl.d d, j, k` instruction.  */
1522 static void __attribute__((unused))
1523 tcg_out_opc_srl_d(TCGContext *s, TCGReg d, TCGReg j, TCGReg k)
1525     tcg_out32(s, encode_djk_insn(OPC_SRL_D, d, j, k));
1528 /* Emits the `sra.d d, j, k` instruction.  */
1529 static void __attribute__((unused))
1530 tcg_out_opc_sra_d(TCGContext *s, TCGReg d, TCGReg j, TCGReg k)
1532     tcg_out32(s, encode_djk_insn(OPC_SRA_D, d, j, k));
1535 /* Emits the `rotr.b d, j, k` instruction.  */
1536 static void __attribute__((unused))
1537 tcg_out_opc_rotr_b(TCGContext *s, TCGReg d, TCGReg j, TCGReg k)
1539     tcg_out32(s, encode_djk_insn(OPC_ROTR_B, d, j, k));
1542 /* Emits the `rotr.h d, j, k` instruction.  */
1543 static void __attribute__((unused))
1544 tcg_out_opc_rotr_h(TCGContext *s, TCGReg d, TCGReg j, TCGReg k)
1546     tcg_out32(s, encode_djk_insn(OPC_ROTR_H, d, j, k));
1549 /* Emits the `rotr.w d, j, k` instruction.  */
1550 static void __attribute__((unused))
1551 tcg_out_opc_rotr_w(TCGContext *s, TCGReg d, TCGReg j, TCGReg k)
1553     tcg_out32(s, encode_djk_insn(OPC_ROTR_W, d, j, k));
1556 /* Emits the `rotr.d d, j, k` instruction.  */
1557 static void __attribute__((unused))
1558 tcg_out_opc_rotr_d(TCGContext *s, TCGReg d, TCGReg j, TCGReg k)
1560     tcg_out32(s, encode_djk_insn(OPC_ROTR_D, d, j, k));
1563 /* Emits the `mul.w d, j, k` instruction.  */
1564 static void __attribute__((unused))
1565 tcg_out_opc_mul_w(TCGContext *s, TCGReg d, TCGReg j, TCGReg k)
1567     tcg_out32(s, encode_djk_insn(OPC_MUL_W, d, j, k));
1570 /* Emits the `mulh.w d, j, k` instruction.  */
1571 static void __attribute__((unused))
1572 tcg_out_opc_mulh_w(TCGContext *s, TCGReg d, TCGReg j, TCGReg k)
1574     tcg_out32(s, encode_djk_insn(OPC_MULH_W, d, j, k));
1577 /* Emits the `mulh.wu d, j, k` instruction.  */
1578 static void __attribute__((unused))
1579 tcg_out_opc_mulh_wu(TCGContext *s, TCGReg d, TCGReg j, TCGReg k)
1581     tcg_out32(s, encode_djk_insn(OPC_MULH_WU, d, j, k));
1584 /* Emits the `mul.d d, j, k` instruction.  */
1585 static void __attribute__((unused))
1586 tcg_out_opc_mul_d(TCGContext *s, TCGReg d, TCGReg j, TCGReg k)
1588     tcg_out32(s, encode_djk_insn(OPC_MUL_D, d, j, k));
1591 /* Emits the `mulh.d d, j, k` instruction.  */
1592 static void __attribute__((unused))
1593 tcg_out_opc_mulh_d(TCGContext *s, TCGReg d, TCGReg j, TCGReg k)
1595     tcg_out32(s, encode_djk_insn(OPC_MULH_D, d, j, k));
1598 /* Emits the `mulh.du d, j, k` instruction.  */
1599 static void __attribute__((unused))
1600 tcg_out_opc_mulh_du(TCGContext *s, TCGReg d, TCGReg j, TCGReg k)
1602     tcg_out32(s, encode_djk_insn(OPC_MULH_DU, d, j, k));
1605 /* Emits the `div.w d, j, k` instruction.  */
1606 static void __attribute__((unused))
1607 tcg_out_opc_div_w(TCGContext *s, TCGReg d, TCGReg j, TCGReg k)
1609     tcg_out32(s, encode_djk_insn(OPC_DIV_W, d, j, k));
1612 /* Emits the `mod.w d, j, k` instruction.  */
1613 static void __attribute__((unused))
1614 tcg_out_opc_mod_w(TCGContext *s, TCGReg d, TCGReg j, TCGReg k)
1616     tcg_out32(s, encode_djk_insn(OPC_MOD_W, d, j, k));
1619 /* Emits the `div.wu d, j, k` instruction.  */
1620 static void __attribute__((unused))
1621 tcg_out_opc_div_wu(TCGContext *s, TCGReg d, TCGReg j, TCGReg k)
1623     tcg_out32(s, encode_djk_insn(OPC_DIV_WU, d, j, k));
1626 /* Emits the `mod.wu d, j, k` instruction.  */
1627 static void __attribute__((unused))
1628 tcg_out_opc_mod_wu(TCGContext *s, TCGReg d, TCGReg j, TCGReg k)
1630     tcg_out32(s, encode_djk_insn(OPC_MOD_WU, d, j, k));
1633 /* Emits the `div.d d, j, k` instruction.  */
1634 static void __attribute__((unused))
1635 tcg_out_opc_div_d(TCGContext *s, TCGReg d, TCGReg j, TCGReg k)
1637     tcg_out32(s, encode_djk_insn(OPC_DIV_D, d, j, k));
1640 /* Emits the `mod.d d, j, k` instruction.  */
1641 static void __attribute__((unused))
1642 tcg_out_opc_mod_d(TCGContext *s, TCGReg d, TCGReg j, TCGReg k)
1644     tcg_out32(s, encode_djk_insn(OPC_MOD_D, d, j, k));
1647 /* Emits the `div.du d, j, k` instruction.  */
1648 static void __attribute__((unused))
1649 tcg_out_opc_div_du(TCGContext *s, TCGReg d, TCGReg j, TCGReg k)
1651     tcg_out32(s, encode_djk_insn(OPC_DIV_DU, d, j, k));
1654 /* Emits the `mod.du d, j, k` instruction.  */
1655 static void __attribute__((unused))
1656 tcg_out_opc_mod_du(TCGContext *s, TCGReg d, TCGReg j, TCGReg k)
1658     tcg_out32(s, encode_djk_insn(OPC_MOD_DU, d, j, k));
1661 /* Emits the `slli.w d, j, uk5` instruction.  */
1662 static void __attribute__((unused))
1663 tcg_out_opc_slli_w(TCGContext *s, TCGReg d, TCGReg j, uint32_t uk5)
1665     tcg_out32(s, encode_djuk5_insn(OPC_SLLI_W, d, j, uk5));
1668 /* Emits the `slli.d d, j, uk6` instruction.  */
1669 static void __attribute__((unused))
1670 tcg_out_opc_slli_d(TCGContext *s, TCGReg d, TCGReg j, uint32_t uk6)
1672     tcg_out32(s, encode_djuk6_insn(OPC_SLLI_D, d, j, uk6));
1675 /* Emits the `srli.w d, j, uk5` instruction.  */
1676 static void __attribute__((unused))
1677 tcg_out_opc_srli_w(TCGContext *s, TCGReg d, TCGReg j, uint32_t uk5)
1679     tcg_out32(s, encode_djuk5_insn(OPC_SRLI_W, d, j, uk5));
1682 /* Emits the `srli.d d, j, uk6` instruction.  */
1683 static void __attribute__((unused))
1684 tcg_out_opc_srli_d(TCGContext *s, TCGReg d, TCGReg j, uint32_t uk6)
1686     tcg_out32(s, encode_djuk6_insn(OPC_SRLI_D, d, j, uk6));
1689 /* Emits the `srai.w d, j, uk5` instruction.  */
1690 static void __attribute__((unused))
1691 tcg_out_opc_srai_w(TCGContext *s, TCGReg d, TCGReg j, uint32_t uk5)
1693     tcg_out32(s, encode_djuk5_insn(OPC_SRAI_W, d, j, uk5));
1696 /* Emits the `srai.d d, j, uk6` instruction.  */
1697 static void __attribute__((unused))
1698 tcg_out_opc_srai_d(TCGContext *s, TCGReg d, TCGReg j, uint32_t uk6)
1700     tcg_out32(s, encode_djuk6_insn(OPC_SRAI_D, d, j, uk6));
1703 /* Emits the `rotri.b d, j, uk3` instruction.  */
1704 static void __attribute__((unused))
1705 tcg_out_opc_rotri_b(TCGContext *s, TCGReg d, TCGReg j, uint32_t uk3)
1707     tcg_out32(s, encode_djuk3_insn(OPC_ROTRI_B, d, j, uk3));
1710 /* Emits the `rotri.h d, j, uk4` instruction.  */
1711 static void __attribute__((unused))
1712 tcg_out_opc_rotri_h(TCGContext *s, TCGReg d, TCGReg j, uint32_t uk4)
1714     tcg_out32(s, encode_djuk4_insn(OPC_ROTRI_H, d, j, uk4));
1717 /* Emits the `rotri.w d, j, uk5` instruction.  */
1718 static void __attribute__((unused))
1719 tcg_out_opc_rotri_w(TCGContext *s, TCGReg d, TCGReg j, uint32_t uk5)
1721     tcg_out32(s, encode_djuk5_insn(OPC_ROTRI_W, d, j, uk5));
1724 /* Emits the `rotri.d d, j, uk6` instruction.  */
1725 static void __attribute__((unused))
1726 tcg_out_opc_rotri_d(TCGContext *s, TCGReg d, TCGReg j, uint32_t uk6)
1728     tcg_out32(s, encode_djuk6_insn(OPC_ROTRI_D, d, j, uk6));
1731 /* Emits the `bstrins.w d, j, uk5, um5` instruction.  */
1732 static void __attribute__((unused))
1733 tcg_out_opc_bstrins_w(TCGContext *s, TCGReg d, TCGReg j, uint32_t uk5,
1734                       uint32_t um5)
1736     tcg_out32(s, encode_djuk5um5_insn(OPC_BSTRINS_W, d, j, uk5, um5));
1739 /* Emits the `bstrpick.w d, j, uk5, um5` instruction.  */
1740 static void __attribute__((unused))
1741 tcg_out_opc_bstrpick_w(TCGContext *s, TCGReg d, TCGReg j, uint32_t uk5,
1742                        uint32_t um5)
1744     tcg_out32(s, encode_djuk5um5_insn(OPC_BSTRPICK_W, d, j, uk5, um5));
1747 /* Emits the `bstrins.d d, j, uk6, um6` instruction.  */
1748 static void __attribute__((unused))
1749 tcg_out_opc_bstrins_d(TCGContext *s, TCGReg d, TCGReg j, uint32_t uk6,
1750                       uint32_t um6)
1752     tcg_out32(s, encode_djuk6um6_insn(OPC_BSTRINS_D, d, j, uk6, um6));
1755 /* Emits the `bstrpick.d d, j, uk6, um6` instruction.  */
1756 static void __attribute__((unused))
1757 tcg_out_opc_bstrpick_d(TCGContext *s, TCGReg d, TCGReg j, uint32_t uk6,
1758                        uint32_t um6)
1760     tcg_out32(s, encode_djuk6um6_insn(OPC_BSTRPICK_D, d, j, uk6, um6));
1763 /* Emits the `fmov.d fd, fj` instruction.  */
1764 static void __attribute__((unused))
1765 tcg_out_opc_fmov_d(TCGContext *s, TCGReg fd, TCGReg fj)
1767     tcg_out32(s, encode_fdfj_insn(OPC_FMOV_D, fd, fj));
1770 /* Emits the `movgr2fr.d fd, j` instruction.  */
1771 static void __attribute__((unused))
1772 tcg_out_opc_movgr2fr_d(TCGContext *s, TCGReg fd, TCGReg j)
1774     tcg_out32(s, encode_fdj_insn(OPC_MOVGR2FR_D, fd, j));
1777 /* Emits the `movfr2gr.d d, fj` instruction.  */
1778 static void __attribute__((unused))
1779 tcg_out_opc_movfr2gr_d(TCGContext *s, TCGReg d, TCGReg fj)
1781     tcg_out32(s, encode_dfj_insn(OPC_MOVFR2GR_D, d, fj));
1784 /* Emits the `slti d, j, sk12` instruction.  */
1785 static void __attribute__((unused))
1786 tcg_out_opc_slti(TCGContext *s, TCGReg d, TCGReg j, int32_t sk12)
1788     tcg_out32(s, encode_djsk12_insn(OPC_SLTI, d, j, sk12));
1791 /* Emits the `sltui d, j, sk12` instruction.  */
1792 static void __attribute__((unused))
1793 tcg_out_opc_sltui(TCGContext *s, TCGReg d, TCGReg j, int32_t sk12)
1795     tcg_out32(s, encode_djsk12_insn(OPC_SLTUI, d, j, sk12));
1798 /* Emits the `addi.w d, j, sk12` instruction.  */
1799 static void __attribute__((unused))
1800 tcg_out_opc_addi_w(TCGContext *s, TCGReg d, TCGReg j, int32_t sk12)
1802     tcg_out32(s, encode_djsk12_insn(OPC_ADDI_W, d, j, sk12));
1805 /* Emits the `addi.d d, j, sk12` instruction.  */
1806 static void __attribute__((unused))
1807 tcg_out_opc_addi_d(TCGContext *s, TCGReg d, TCGReg j, int32_t sk12)
1809     tcg_out32(s, encode_djsk12_insn(OPC_ADDI_D, d, j, sk12));
1812 /* Emits the `cu52i.d d, j, sk12` instruction.  */
1813 static void __attribute__((unused))
1814 tcg_out_opc_cu52i_d(TCGContext *s, TCGReg d, TCGReg j, int32_t sk12)
1816     tcg_out32(s, encode_djsk12_insn(OPC_CU52I_D, d, j, sk12));
1819 /* Emits the `andi d, j, uk12` instruction.  */
1820 static void __attribute__((unused))
1821 tcg_out_opc_andi(TCGContext *s, TCGReg d, TCGReg j, uint32_t uk12)
1823     tcg_out32(s, encode_djuk12_insn(OPC_ANDI, d, j, uk12));
1826 /* Emits the `ori d, j, uk12` instruction.  */
1827 static void __attribute__((unused))
1828 tcg_out_opc_ori(TCGContext *s, TCGReg d, TCGReg j, uint32_t uk12)
1830     tcg_out32(s, encode_djuk12_insn(OPC_ORI, d, j, uk12));
1833 /* Emits the `xori d, j, uk12` instruction.  */
1834 static void __attribute__((unused))
1835 tcg_out_opc_xori(TCGContext *s, TCGReg d, TCGReg j, uint32_t uk12)
1837     tcg_out32(s, encode_djuk12_insn(OPC_XORI, d, j, uk12));
1840 /* Emits the `vbitsel.v vd, vj, vk, va` instruction.  */
1841 static void __attribute__((unused))
1842 tcg_out_opc_vbitsel_v(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk, TCGReg va)
1844     tcg_out32(s, encode_vdvjvkva_insn(OPC_VBITSEL_V, vd, vj, vk, va));
1847 /* Emits the `xvbitsel.v xd, xj, xk, xa` instruction.  */
1848 static void __attribute__((unused))
1849 tcg_out_opc_xvbitsel_v(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk,
1850                        TCGReg xa)
1852     tcg_out32(s, encode_xdxjxkxa_insn(OPC_XVBITSEL_V, xd, xj, xk, xa));
1855 /* Emits the `vshuf.b vd, vj, vk, va` instruction.  */
1856 static void __attribute__((unused))
1857 tcg_out_opc_vshuf_b(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk, TCGReg va)
1859     tcg_out32(s, encode_vdvjvkva_insn(OPC_VSHUF_B, vd, vj, vk, va));
1862 /* Emits the `xvshuf.b xd, xj, xk, xa` instruction.  */
1863 static void __attribute__((unused))
1864 tcg_out_opc_xvshuf_b(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk, TCGReg xa)
1866     tcg_out32(s, encode_xdxjxkxa_insn(OPC_XVSHUF_B, xd, xj, xk, xa));
1869 /* Emits the `addu16i.d d, j, sk16` instruction.  */
1870 static void __attribute__((unused))
1871 tcg_out_opc_addu16i_d(TCGContext *s, TCGReg d, TCGReg j, int32_t sk16)
1873     tcg_out32(s, encode_djsk16_insn(OPC_ADDU16I_D, d, j, sk16));
1876 /* Emits the `lu12i.w d, sj20` instruction.  */
1877 static void __attribute__((unused))
1878 tcg_out_opc_lu12i_w(TCGContext *s, TCGReg d, int32_t sj20)
1880     tcg_out32(s, encode_dsj20_insn(OPC_LU12I_W, d, sj20));
1883 /* Emits the `cu32i.d d, sj20` instruction.  */
1884 static void __attribute__((unused))
1885 tcg_out_opc_cu32i_d(TCGContext *s, TCGReg d, int32_t sj20)
1887     tcg_out32(s, encode_dsj20_insn(OPC_CU32I_D, d, sj20));
1890 /* Emits the `pcaddu2i d, sj20` instruction.  */
1891 static void __attribute__((unused))
1892 tcg_out_opc_pcaddu2i(TCGContext *s, TCGReg d, int32_t sj20)
1894     tcg_out32(s, encode_dsj20_insn(OPC_PCADDU2I, d, sj20));
1897 /* Emits the `pcalau12i d, sj20` instruction.  */
1898 static void __attribute__((unused))
1899 tcg_out_opc_pcalau12i(TCGContext *s, TCGReg d, int32_t sj20)
1901     tcg_out32(s, encode_dsj20_insn(OPC_PCALAU12I, d, sj20));
1904 /* Emits the `pcaddu12i d, sj20` instruction.  */
1905 static void __attribute__((unused))
1906 tcg_out_opc_pcaddu12i(TCGContext *s, TCGReg d, int32_t sj20)
1908     tcg_out32(s, encode_dsj20_insn(OPC_PCADDU12I, d, sj20));
1911 /* Emits the `pcaddu18i d, sj20` instruction.  */
1912 static void __attribute__((unused))
1913 tcg_out_opc_pcaddu18i(TCGContext *s, TCGReg d, int32_t sj20)
1915     tcg_out32(s, encode_dsj20_insn(OPC_PCADDU18I, d, sj20));
1918 /* Emits the `ld.b d, j, sk12` instruction.  */
1919 static void __attribute__((unused))
1920 tcg_out_opc_ld_b(TCGContext *s, TCGReg d, TCGReg j, int32_t sk12)
1922     tcg_out32(s, encode_djsk12_insn(OPC_LD_B, d, j, sk12));
1925 /* Emits the `ld.h d, j, sk12` instruction.  */
1926 static void __attribute__((unused))
1927 tcg_out_opc_ld_h(TCGContext *s, TCGReg d, TCGReg j, int32_t sk12)
1929     tcg_out32(s, encode_djsk12_insn(OPC_LD_H, d, j, sk12));
1932 /* Emits the `ld.w d, j, sk12` instruction.  */
1933 static void __attribute__((unused))
1934 tcg_out_opc_ld_w(TCGContext *s, TCGReg d, TCGReg j, int32_t sk12)
1936     tcg_out32(s, encode_djsk12_insn(OPC_LD_W, d, j, sk12));
1939 /* Emits the `ld.d d, j, sk12` instruction.  */
1940 static void __attribute__((unused))
1941 tcg_out_opc_ld_d(TCGContext *s, TCGReg d, TCGReg j, int32_t sk12)
1943     tcg_out32(s, encode_djsk12_insn(OPC_LD_D, d, j, sk12));
1946 /* Emits the `st.b d, j, sk12` instruction.  */
1947 static void __attribute__((unused))
1948 tcg_out_opc_st_b(TCGContext *s, TCGReg d, TCGReg j, int32_t sk12)
1950     tcg_out32(s, encode_djsk12_insn(OPC_ST_B, d, j, sk12));
1953 /* Emits the `st.h d, j, sk12` instruction.  */
1954 static void __attribute__((unused))
1955 tcg_out_opc_st_h(TCGContext *s, TCGReg d, TCGReg j, int32_t sk12)
1957     tcg_out32(s, encode_djsk12_insn(OPC_ST_H, d, j, sk12));
1960 /* Emits the `st.w d, j, sk12` instruction.  */
1961 static void __attribute__((unused))
1962 tcg_out_opc_st_w(TCGContext *s, TCGReg d, TCGReg j, int32_t sk12)
1964     tcg_out32(s, encode_djsk12_insn(OPC_ST_W, d, j, sk12));
1967 /* Emits the `st.d d, j, sk12` instruction.  */
1968 static void __attribute__((unused))
1969 tcg_out_opc_st_d(TCGContext *s, TCGReg d, TCGReg j, int32_t sk12)
1971     tcg_out32(s, encode_djsk12_insn(OPC_ST_D, d, j, sk12));
1974 /* Emits the `ld.bu d, j, sk12` instruction.  */
1975 static void __attribute__((unused))
1976 tcg_out_opc_ld_bu(TCGContext *s, TCGReg d, TCGReg j, int32_t sk12)
1978     tcg_out32(s, encode_djsk12_insn(OPC_LD_BU, d, j, sk12));
1981 /* Emits the `ld.hu d, j, sk12` instruction.  */
1982 static void __attribute__((unused))
1983 tcg_out_opc_ld_hu(TCGContext *s, TCGReg d, TCGReg j, int32_t sk12)
1985     tcg_out32(s, encode_djsk12_insn(OPC_LD_HU, d, j, sk12));
1988 /* Emits the `ld.wu d, j, sk12` instruction.  */
1989 static void __attribute__((unused))
1990 tcg_out_opc_ld_wu(TCGContext *s, TCGReg d, TCGReg j, int32_t sk12)
1992     tcg_out32(s, encode_djsk12_insn(OPC_LD_WU, d, j, sk12));
1995 /* Emits the `fld.s fd, j, sk12` instruction.  */
1996 static void __attribute__((unused))
1997 tcg_out_opc_fld_s(TCGContext *s, TCGReg fd, TCGReg j, int32_t sk12)
1999     tcg_out32(s, encode_fdjsk12_insn(OPC_FLD_S, fd, j, sk12));
2002 /* Emits the `fst.s fd, j, sk12` instruction.  */
2003 static void __attribute__((unused))
2004 tcg_out_opc_fst_s(TCGContext *s, TCGReg fd, TCGReg j, int32_t sk12)
2006     tcg_out32(s, encode_fdjsk12_insn(OPC_FST_S, fd, j, sk12));
2009 /* Emits the `fld.d fd, j, sk12` instruction.  */
2010 static void __attribute__((unused))
2011 tcg_out_opc_fld_d(TCGContext *s, TCGReg fd, TCGReg j, int32_t sk12)
2013     tcg_out32(s, encode_fdjsk12_insn(OPC_FLD_D, fd, j, sk12));
2016 /* Emits the `fst.d fd, j, sk12` instruction.  */
2017 static void __attribute__((unused))
2018 tcg_out_opc_fst_d(TCGContext *s, TCGReg fd, TCGReg j, int32_t sk12)
2020     tcg_out32(s, encode_fdjsk12_insn(OPC_FST_D, fd, j, sk12));
2023 /* Emits the `vld vd, j, sk12` instruction.  */
2024 static void __attribute__((unused))
2025 tcg_out_opc_vld(TCGContext *s, TCGReg vd, TCGReg j, int32_t sk12)
2027     tcg_out32(s, encode_vdjsk12_insn(OPC_VLD, vd, j, sk12));
2030 /* Emits the `vst vd, j, sk12` instruction.  */
2031 static void __attribute__((unused))
2032 tcg_out_opc_vst(TCGContext *s, TCGReg vd, TCGReg j, int32_t sk12)
2034     tcg_out32(s, encode_vdjsk12_insn(OPC_VST, vd, j, sk12));
2037 /* Emits the `xvld xd, j, sk12` instruction.  */
2038 static void __attribute__((unused))
2039 tcg_out_opc_xvld(TCGContext *s, TCGReg xd, TCGReg j, int32_t sk12)
2041     tcg_out32(s, encode_xdjsk12_insn(OPC_XVLD, xd, j, sk12));
2044 /* Emits the `xvst xd, j, sk12` instruction.  */
2045 static void __attribute__((unused))
2046 tcg_out_opc_xvst(TCGContext *s, TCGReg xd, TCGReg j, int32_t sk12)
2048     tcg_out32(s, encode_xdjsk12_insn(OPC_XVST, xd, j, sk12));
2051 /* Emits the `vldrepl.d vd, j, sk9` instruction.  */
2052 static void __attribute__((unused))
2053 tcg_out_opc_vldrepl_d(TCGContext *s, TCGReg vd, TCGReg j, int32_t sk9)
2055     tcg_out32(s, encode_vdjsk9_insn(OPC_VLDREPL_D, vd, j, sk9));
2058 /* Emits the `vldrepl.w vd, j, sk10` instruction.  */
2059 static void __attribute__((unused))
2060 tcg_out_opc_vldrepl_w(TCGContext *s, TCGReg vd, TCGReg j, int32_t sk10)
2062     tcg_out32(s, encode_vdjsk10_insn(OPC_VLDREPL_W, vd, j, sk10));
2065 /* Emits the `vldrepl.h vd, j, sk11` instruction.  */
2066 static void __attribute__((unused))
2067 tcg_out_opc_vldrepl_h(TCGContext *s, TCGReg vd, TCGReg j, int32_t sk11)
2069     tcg_out32(s, encode_vdjsk11_insn(OPC_VLDREPL_H, vd, j, sk11));
2072 /* Emits the `vldrepl.b vd, j, sk12` instruction.  */
2073 static void __attribute__((unused))
2074 tcg_out_opc_vldrepl_b(TCGContext *s, TCGReg vd, TCGReg j, int32_t sk12)
2076     tcg_out32(s, encode_vdjsk12_insn(OPC_VLDREPL_B, vd, j, sk12));
2079 /* Emits the `vstelm.d vd, j, sk8, un1` instruction.  */
2080 static void __attribute__((unused))
2081 tcg_out_opc_vstelm_d(TCGContext *s, TCGReg vd, TCGReg j, int32_t sk8,
2082                      uint32_t un1)
2084     tcg_out32(s, encode_vdjsk8un1_insn(OPC_VSTELM_D, vd, j, sk8, un1));
2087 /* Emits the `vstelm.w vd, j, sk8, un2` instruction.  */
2088 static void __attribute__((unused))
2089 tcg_out_opc_vstelm_w(TCGContext *s, TCGReg vd, TCGReg j, int32_t sk8,
2090                      uint32_t un2)
2092     tcg_out32(s, encode_vdjsk8un2_insn(OPC_VSTELM_W, vd, j, sk8, un2));
2095 /* Emits the `vstelm.h vd, j, sk8, un3` instruction.  */
2096 static void __attribute__((unused))
2097 tcg_out_opc_vstelm_h(TCGContext *s, TCGReg vd, TCGReg j, int32_t sk8,
2098                      uint32_t un3)
2100     tcg_out32(s, encode_vdjsk8un3_insn(OPC_VSTELM_H, vd, j, sk8, un3));
2103 /* Emits the `vstelm.b vd, j, sk8, un4` instruction.  */
2104 static void __attribute__((unused))
2105 tcg_out_opc_vstelm_b(TCGContext *s, TCGReg vd, TCGReg j, int32_t sk8,
2106                      uint32_t un4)
2108     tcg_out32(s, encode_vdjsk8un4_insn(OPC_VSTELM_B, vd, j, sk8, un4));
2111 /* Emits the `xvldrepl.d xd, j, sk9` instruction.  */
2112 static void __attribute__((unused))
2113 tcg_out_opc_xvldrepl_d(TCGContext *s, TCGReg xd, TCGReg j, int32_t sk9)
2115     tcg_out32(s, encode_xdjsk9_insn(OPC_XVLDREPL_D, xd, j, sk9));
2118 /* Emits the `xvldrepl.w xd, j, sk10` instruction.  */
2119 static void __attribute__((unused))
2120 tcg_out_opc_xvldrepl_w(TCGContext *s, TCGReg xd, TCGReg j, int32_t sk10)
2122     tcg_out32(s, encode_xdjsk10_insn(OPC_XVLDREPL_W, xd, j, sk10));
2125 /* Emits the `xvldrepl.h xd, j, sk11` instruction.  */
2126 static void __attribute__((unused))
2127 tcg_out_opc_xvldrepl_h(TCGContext *s, TCGReg xd, TCGReg j, int32_t sk11)
2129     tcg_out32(s, encode_xdjsk11_insn(OPC_XVLDREPL_H, xd, j, sk11));
2132 /* Emits the `xvldrepl.b xd, j, sk12` instruction.  */
2133 static void __attribute__((unused))
2134 tcg_out_opc_xvldrepl_b(TCGContext *s, TCGReg xd, TCGReg j, int32_t sk12)
2136     tcg_out32(s, encode_xdjsk12_insn(OPC_XVLDREPL_B, xd, j, sk12));
2139 /* Emits the `xvstelm.d xd, j, sk8, un2` instruction.  */
2140 static void __attribute__((unused))
2141 tcg_out_opc_xvstelm_d(TCGContext *s, TCGReg xd, TCGReg j, int32_t sk8,
2142                       uint32_t un2)
2144     tcg_out32(s, encode_xdjsk8un2_insn(OPC_XVSTELM_D, xd, j, sk8, un2));
2147 /* Emits the `xvstelm.w xd, j, sk8, un3` instruction.  */
2148 static void __attribute__((unused))
2149 tcg_out_opc_xvstelm_w(TCGContext *s, TCGReg xd, TCGReg j, int32_t sk8,
2150                       uint32_t un3)
2152     tcg_out32(s, encode_xdjsk8un3_insn(OPC_XVSTELM_W, xd, j, sk8, un3));
2155 /* Emits the `xvstelm.h xd, j, sk8, un4` instruction.  */
2156 static void __attribute__((unused))
2157 tcg_out_opc_xvstelm_h(TCGContext *s, TCGReg xd, TCGReg j, int32_t sk8,
2158                       uint32_t un4)
2160     tcg_out32(s, encode_xdjsk8un4_insn(OPC_XVSTELM_H, xd, j, sk8, un4));
2163 /* Emits the `xvstelm.b xd, j, sk8, un5` instruction.  */
2164 static void __attribute__((unused))
2165 tcg_out_opc_xvstelm_b(TCGContext *s, TCGReg xd, TCGReg j, int32_t sk8,
2166                       uint32_t un5)
2168     tcg_out32(s, encode_xdjsk8un5_insn(OPC_XVSTELM_B, xd, j, sk8, un5));
2171 /* Emits the `ldx.b d, j, k` instruction.  */
2172 static void __attribute__((unused))
2173 tcg_out_opc_ldx_b(TCGContext *s, TCGReg d, TCGReg j, TCGReg k)
2175     tcg_out32(s, encode_djk_insn(OPC_LDX_B, d, j, k));
2178 /* Emits the `ldx.h d, j, k` instruction.  */
2179 static void __attribute__((unused))
2180 tcg_out_opc_ldx_h(TCGContext *s, TCGReg d, TCGReg j, TCGReg k)
2182     tcg_out32(s, encode_djk_insn(OPC_LDX_H, d, j, k));
2185 /* Emits the `ldx.w d, j, k` instruction.  */
2186 static void __attribute__((unused))
2187 tcg_out_opc_ldx_w(TCGContext *s, TCGReg d, TCGReg j, TCGReg k)
2189     tcg_out32(s, encode_djk_insn(OPC_LDX_W, d, j, k));
2192 /* Emits the `ldx.d d, j, k` instruction.  */
2193 static void __attribute__((unused))
2194 tcg_out_opc_ldx_d(TCGContext *s, TCGReg d, TCGReg j, TCGReg k)
2196     tcg_out32(s, encode_djk_insn(OPC_LDX_D, d, j, k));
2199 /* Emits the `stx.b d, j, k` instruction.  */
2200 static void __attribute__((unused))
2201 tcg_out_opc_stx_b(TCGContext *s, TCGReg d, TCGReg j, TCGReg k)
2203     tcg_out32(s, encode_djk_insn(OPC_STX_B, d, j, k));
2206 /* Emits the `stx.h d, j, k` instruction.  */
2207 static void __attribute__((unused))
2208 tcg_out_opc_stx_h(TCGContext *s, TCGReg d, TCGReg j, TCGReg k)
2210     tcg_out32(s, encode_djk_insn(OPC_STX_H, d, j, k));
2213 /* Emits the `stx.w d, j, k` instruction.  */
2214 static void __attribute__((unused))
2215 tcg_out_opc_stx_w(TCGContext *s, TCGReg d, TCGReg j, TCGReg k)
2217     tcg_out32(s, encode_djk_insn(OPC_STX_W, d, j, k));
2220 /* Emits the `stx.d d, j, k` instruction.  */
2221 static void __attribute__((unused))
2222 tcg_out_opc_stx_d(TCGContext *s, TCGReg d, TCGReg j, TCGReg k)
2224     tcg_out32(s, encode_djk_insn(OPC_STX_D, d, j, k));
2227 /* Emits the `ldx.bu d, j, k` instruction.  */
2228 static void __attribute__((unused))
2229 tcg_out_opc_ldx_bu(TCGContext *s, TCGReg d, TCGReg j, TCGReg k)
2231     tcg_out32(s, encode_djk_insn(OPC_LDX_BU, d, j, k));
2234 /* Emits the `ldx.hu d, j, k` instruction.  */
2235 static void __attribute__((unused))
2236 tcg_out_opc_ldx_hu(TCGContext *s, TCGReg d, TCGReg j, TCGReg k)
2238     tcg_out32(s, encode_djk_insn(OPC_LDX_HU, d, j, k));
2241 /* Emits the `ldx.wu d, j, k` instruction.  */
2242 static void __attribute__((unused))
2243 tcg_out_opc_ldx_wu(TCGContext *s, TCGReg d, TCGReg j, TCGReg k)
2245     tcg_out32(s, encode_djk_insn(OPC_LDX_WU, d, j, k));
2248 /* Emits the `fldx.s fd, j, k` instruction.  */
2249 static void __attribute__((unused))
2250 tcg_out_opc_fldx_s(TCGContext *s, TCGReg fd, TCGReg j, TCGReg k)
2252     tcg_out32(s, encode_fdjk_insn(OPC_FLDX_S, fd, j, k));
2255 /* Emits the `fldx.d fd, j, k` instruction.  */
2256 static void __attribute__((unused))
2257 tcg_out_opc_fldx_d(TCGContext *s, TCGReg fd, TCGReg j, TCGReg k)
2259     tcg_out32(s, encode_fdjk_insn(OPC_FLDX_D, fd, j, k));
2262 /* Emits the `fstx.s fd, j, k` instruction.  */
2263 static void __attribute__((unused))
2264 tcg_out_opc_fstx_s(TCGContext *s, TCGReg fd, TCGReg j, TCGReg k)
2266     tcg_out32(s, encode_fdjk_insn(OPC_FSTX_S, fd, j, k));
2269 /* Emits the `fstx.d fd, j, k` instruction.  */
2270 static void __attribute__((unused))
2271 tcg_out_opc_fstx_d(TCGContext *s, TCGReg fd, TCGReg j, TCGReg k)
2273     tcg_out32(s, encode_fdjk_insn(OPC_FSTX_D, fd, j, k));
2276 /* Emits the `vldx vd, j, k` instruction.  */
2277 static void __attribute__((unused))
2278 tcg_out_opc_vldx(TCGContext *s, TCGReg vd, TCGReg j, TCGReg k)
2280     tcg_out32(s, encode_vdjk_insn(OPC_VLDX, vd, j, k));
2283 /* Emits the `vstx vd, j, k` instruction.  */
2284 static void __attribute__((unused))
2285 tcg_out_opc_vstx(TCGContext *s, TCGReg vd, TCGReg j, TCGReg k)
2287     tcg_out32(s, encode_vdjk_insn(OPC_VSTX, vd, j, k));
2290 /* Emits the `xvldx xd, j, k` instruction.  */
2291 static void __attribute__((unused))
2292 tcg_out_opc_xvldx(TCGContext *s, TCGReg xd, TCGReg j, TCGReg k)
2294     tcg_out32(s, encode_xdjk_insn(OPC_XVLDX, xd, j, k));
2297 /* Emits the `xvstx xd, j, k` instruction.  */
2298 static void __attribute__((unused))
2299 tcg_out_opc_xvstx(TCGContext *s, TCGReg xd, TCGReg j, TCGReg k)
2301     tcg_out32(s, encode_xdjk_insn(OPC_XVSTX, xd, j, k));
2304 /* Emits the `dbar ud15` instruction.  */
2305 static void __attribute__((unused))
2306 tcg_out_opc_dbar(TCGContext *s, uint32_t ud15)
2308     tcg_out32(s, encode_ud15_insn(OPC_DBAR, ud15));
2311 /* Emits the `jiscr0 sd5k16` instruction.  */
2312 static void __attribute__((unused))
2313 tcg_out_opc_jiscr0(TCGContext *s, int32_t sd5k16)
2315     tcg_out32(s, encode_sd5k16_insn(OPC_JISCR0, sd5k16));
2318 /* Emits the `jiscr1 sd5k16` instruction.  */
2319 static void __attribute__((unused))
2320 tcg_out_opc_jiscr1(TCGContext *s, int32_t sd5k16)
2322     tcg_out32(s, encode_sd5k16_insn(OPC_JISCR1, sd5k16));
2325 /* Emits the `jirl d, j, sk16` instruction.  */
2326 static void __attribute__((unused))
2327 tcg_out_opc_jirl(TCGContext *s, TCGReg d, TCGReg j, int32_t sk16)
2329     tcg_out32(s, encode_djsk16_insn(OPC_JIRL, d, j, sk16));
2332 /* Emits the `b sd10k16` instruction.  */
2333 static void __attribute__((unused))
2334 tcg_out_opc_b(TCGContext *s, int32_t sd10k16)
2336     tcg_out32(s, encode_sd10k16_insn(OPC_B, sd10k16));
2339 /* Emits the `bl sd10k16` instruction.  */
2340 static void __attribute__((unused))
2341 tcg_out_opc_bl(TCGContext *s, int32_t sd10k16)
2343     tcg_out32(s, encode_sd10k16_insn(OPC_BL, sd10k16));
2346 /* Emits the `beq d, j, sk16` instruction.  */
2347 static void __attribute__((unused))
2348 tcg_out_opc_beq(TCGContext *s, TCGReg d, TCGReg j, int32_t sk16)
2350     tcg_out32(s, encode_djsk16_insn(OPC_BEQ, d, j, sk16));
2353 /* Emits the `bne d, j, sk16` instruction.  */
2354 static void __attribute__((unused))
2355 tcg_out_opc_bne(TCGContext *s, TCGReg d, TCGReg j, int32_t sk16)
2357     tcg_out32(s, encode_djsk16_insn(OPC_BNE, d, j, sk16));
2360 /* Emits the `bgt d, j, sk16` instruction.  */
2361 static void __attribute__((unused))
2362 tcg_out_opc_bgt(TCGContext *s, TCGReg d, TCGReg j, int32_t sk16)
2364     tcg_out32(s, encode_djsk16_insn(OPC_BGT, d, j, sk16));
2367 /* Emits the `ble d, j, sk16` instruction.  */
2368 static void __attribute__((unused))
2369 tcg_out_opc_ble(TCGContext *s, TCGReg d, TCGReg j, int32_t sk16)
2371     tcg_out32(s, encode_djsk16_insn(OPC_BLE, d, j, sk16));
2374 /* Emits the `bgtu d, j, sk16` instruction.  */
2375 static void __attribute__((unused))
2376 tcg_out_opc_bgtu(TCGContext *s, TCGReg d, TCGReg j, int32_t sk16)
2378     tcg_out32(s, encode_djsk16_insn(OPC_BGTU, d, j, sk16));
2381 /* Emits the `bleu d, j, sk16` instruction.  */
2382 static void __attribute__((unused))
2383 tcg_out_opc_bleu(TCGContext *s, TCGReg d, TCGReg j, int32_t sk16)
2385     tcg_out32(s, encode_djsk16_insn(OPC_BLEU, d, j, sk16));
2388 /* Emits the `vseq.b vd, vj, vk` instruction.  */
2389 static void __attribute__((unused))
2390 tcg_out_opc_vseq_b(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2392     tcg_out32(s, encode_vdvjvk_insn(OPC_VSEQ_B, vd, vj, vk));
2395 /* Emits the `vseq.h vd, vj, vk` instruction.  */
2396 static void __attribute__((unused))
2397 tcg_out_opc_vseq_h(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2399     tcg_out32(s, encode_vdvjvk_insn(OPC_VSEQ_H, vd, vj, vk));
2402 /* Emits the `vseq.w vd, vj, vk` instruction.  */
2403 static void __attribute__((unused))
2404 tcg_out_opc_vseq_w(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2406     tcg_out32(s, encode_vdvjvk_insn(OPC_VSEQ_W, vd, vj, vk));
2409 /* Emits the `vseq.d vd, vj, vk` instruction.  */
2410 static void __attribute__((unused))
2411 tcg_out_opc_vseq_d(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2413     tcg_out32(s, encode_vdvjvk_insn(OPC_VSEQ_D, vd, vj, vk));
2416 /* Emits the `vsle.b vd, vj, vk` instruction.  */
2417 static void __attribute__((unused))
2418 tcg_out_opc_vsle_b(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2420     tcg_out32(s, encode_vdvjvk_insn(OPC_VSLE_B, vd, vj, vk));
2423 /* Emits the `vsle.h vd, vj, vk` instruction.  */
2424 static void __attribute__((unused))
2425 tcg_out_opc_vsle_h(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2427     tcg_out32(s, encode_vdvjvk_insn(OPC_VSLE_H, vd, vj, vk));
2430 /* Emits the `vsle.w vd, vj, vk` instruction.  */
2431 static void __attribute__((unused))
2432 tcg_out_opc_vsle_w(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2434     tcg_out32(s, encode_vdvjvk_insn(OPC_VSLE_W, vd, vj, vk));
2437 /* Emits the `vsle.d vd, vj, vk` instruction.  */
2438 static void __attribute__((unused))
2439 tcg_out_opc_vsle_d(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2441     tcg_out32(s, encode_vdvjvk_insn(OPC_VSLE_D, vd, vj, vk));
2444 /* Emits the `vsle.bu vd, vj, vk` instruction.  */
2445 static void __attribute__((unused))
2446 tcg_out_opc_vsle_bu(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2448     tcg_out32(s, encode_vdvjvk_insn(OPC_VSLE_BU, vd, vj, vk));
2451 /* Emits the `vsle.hu vd, vj, vk` instruction.  */
2452 static void __attribute__((unused))
2453 tcg_out_opc_vsle_hu(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2455     tcg_out32(s, encode_vdvjvk_insn(OPC_VSLE_HU, vd, vj, vk));
2458 /* Emits the `vsle.wu vd, vj, vk` instruction.  */
2459 static void __attribute__((unused))
2460 tcg_out_opc_vsle_wu(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2462     tcg_out32(s, encode_vdvjvk_insn(OPC_VSLE_WU, vd, vj, vk));
2465 /* Emits the `vsle.du vd, vj, vk` instruction.  */
2466 static void __attribute__((unused))
2467 tcg_out_opc_vsle_du(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2469     tcg_out32(s, encode_vdvjvk_insn(OPC_VSLE_DU, vd, vj, vk));
2472 /* Emits the `vslt.b vd, vj, vk` instruction.  */
2473 static void __attribute__((unused))
2474 tcg_out_opc_vslt_b(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2476     tcg_out32(s, encode_vdvjvk_insn(OPC_VSLT_B, vd, vj, vk));
2479 /* Emits the `vslt.h vd, vj, vk` instruction.  */
2480 static void __attribute__((unused))
2481 tcg_out_opc_vslt_h(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2483     tcg_out32(s, encode_vdvjvk_insn(OPC_VSLT_H, vd, vj, vk));
2486 /* Emits the `vslt.w vd, vj, vk` instruction.  */
2487 static void __attribute__((unused))
2488 tcg_out_opc_vslt_w(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2490     tcg_out32(s, encode_vdvjvk_insn(OPC_VSLT_W, vd, vj, vk));
2493 /* Emits the `vslt.d vd, vj, vk` instruction.  */
2494 static void __attribute__((unused))
2495 tcg_out_opc_vslt_d(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2497     tcg_out32(s, encode_vdvjvk_insn(OPC_VSLT_D, vd, vj, vk));
2500 /* Emits the `vslt.bu vd, vj, vk` instruction.  */
2501 static void __attribute__((unused))
2502 tcg_out_opc_vslt_bu(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2504     tcg_out32(s, encode_vdvjvk_insn(OPC_VSLT_BU, vd, vj, vk));
2507 /* Emits the `vslt.hu vd, vj, vk` instruction.  */
2508 static void __attribute__((unused))
2509 tcg_out_opc_vslt_hu(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2511     tcg_out32(s, encode_vdvjvk_insn(OPC_VSLT_HU, vd, vj, vk));
2514 /* Emits the `vslt.wu vd, vj, vk` instruction.  */
2515 static void __attribute__((unused))
2516 tcg_out_opc_vslt_wu(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2518     tcg_out32(s, encode_vdvjvk_insn(OPC_VSLT_WU, vd, vj, vk));
2521 /* Emits the `vslt.du vd, vj, vk` instruction.  */
2522 static void __attribute__((unused))
2523 tcg_out_opc_vslt_du(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2525     tcg_out32(s, encode_vdvjvk_insn(OPC_VSLT_DU, vd, vj, vk));
2528 /* Emits the `vadd.b vd, vj, vk` instruction.  */
2529 static void __attribute__((unused))
2530 tcg_out_opc_vadd_b(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2532     tcg_out32(s, encode_vdvjvk_insn(OPC_VADD_B, vd, vj, vk));
2535 /* Emits the `vadd.h vd, vj, vk` instruction.  */
2536 static void __attribute__((unused))
2537 tcg_out_opc_vadd_h(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2539     tcg_out32(s, encode_vdvjvk_insn(OPC_VADD_H, vd, vj, vk));
2542 /* Emits the `vadd.w vd, vj, vk` instruction.  */
2543 static void __attribute__((unused))
2544 tcg_out_opc_vadd_w(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2546     tcg_out32(s, encode_vdvjvk_insn(OPC_VADD_W, vd, vj, vk));
2549 /* Emits the `vadd.d vd, vj, vk` instruction.  */
2550 static void __attribute__((unused))
2551 tcg_out_opc_vadd_d(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2553     tcg_out32(s, encode_vdvjvk_insn(OPC_VADD_D, vd, vj, vk));
2556 /* Emits the `vsub.b vd, vj, vk` instruction.  */
2557 static void __attribute__((unused))
2558 tcg_out_opc_vsub_b(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2560     tcg_out32(s, encode_vdvjvk_insn(OPC_VSUB_B, vd, vj, vk));
2563 /* Emits the `vsub.h vd, vj, vk` instruction.  */
2564 static void __attribute__((unused))
2565 tcg_out_opc_vsub_h(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2567     tcg_out32(s, encode_vdvjvk_insn(OPC_VSUB_H, vd, vj, vk));
2570 /* Emits the `vsub.w vd, vj, vk` instruction.  */
2571 static void __attribute__((unused))
2572 tcg_out_opc_vsub_w(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2574     tcg_out32(s, encode_vdvjvk_insn(OPC_VSUB_W, vd, vj, vk));
2577 /* Emits the `vsub.d vd, vj, vk` instruction.  */
2578 static void __attribute__((unused))
2579 tcg_out_opc_vsub_d(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2581     tcg_out32(s, encode_vdvjvk_insn(OPC_VSUB_D, vd, vj, vk));
2584 /* Emits the `vsadd.b vd, vj, vk` instruction.  */
2585 static void __attribute__((unused))
2586 tcg_out_opc_vsadd_b(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2588     tcg_out32(s, encode_vdvjvk_insn(OPC_VSADD_B, vd, vj, vk));
2591 /* Emits the `vsadd.h vd, vj, vk` instruction.  */
2592 static void __attribute__((unused))
2593 tcg_out_opc_vsadd_h(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2595     tcg_out32(s, encode_vdvjvk_insn(OPC_VSADD_H, vd, vj, vk));
2598 /* Emits the `vsadd.w vd, vj, vk` instruction.  */
2599 static void __attribute__((unused))
2600 tcg_out_opc_vsadd_w(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2602     tcg_out32(s, encode_vdvjvk_insn(OPC_VSADD_W, vd, vj, vk));
2605 /* Emits the `vsadd.d vd, vj, vk` instruction.  */
2606 static void __attribute__((unused))
2607 tcg_out_opc_vsadd_d(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2609     tcg_out32(s, encode_vdvjvk_insn(OPC_VSADD_D, vd, vj, vk));
2612 /* Emits the `vssub.b vd, vj, vk` instruction.  */
2613 static void __attribute__((unused))
2614 tcg_out_opc_vssub_b(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2616     tcg_out32(s, encode_vdvjvk_insn(OPC_VSSUB_B, vd, vj, vk));
2619 /* Emits the `vssub.h vd, vj, vk` instruction.  */
2620 static void __attribute__((unused))
2621 tcg_out_opc_vssub_h(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2623     tcg_out32(s, encode_vdvjvk_insn(OPC_VSSUB_H, vd, vj, vk));
2626 /* Emits the `vssub.w vd, vj, vk` instruction.  */
2627 static void __attribute__((unused))
2628 tcg_out_opc_vssub_w(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2630     tcg_out32(s, encode_vdvjvk_insn(OPC_VSSUB_W, vd, vj, vk));
2633 /* Emits the `vssub.d vd, vj, vk` instruction.  */
2634 static void __attribute__((unused))
2635 tcg_out_opc_vssub_d(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2637     tcg_out32(s, encode_vdvjvk_insn(OPC_VSSUB_D, vd, vj, vk));
2640 /* Emits the `vsadd.bu vd, vj, vk` instruction.  */
2641 static void __attribute__((unused))
2642 tcg_out_opc_vsadd_bu(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2644     tcg_out32(s, encode_vdvjvk_insn(OPC_VSADD_BU, vd, vj, vk));
2647 /* Emits the `vsadd.hu vd, vj, vk` instruction.  */
2648 static void __attribute__((unused))
2649 tcg_out_opc_vsadd_hu(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2651     tcg_out32(s, encode_vdvjvk_insn(OPC_VSADD_HU, vd, vj, vk));
2654 /* Emits the `vsadd.wu vd, vj, vk` instruction.  */
2655 static void __attribute__((unused))
2656 tcg_out_opc_vsadd_wu(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2658     tcg_out32(s, encode_vdvjvk_insn(OPC_VSADD_WU, vd, vj, vk));
2661 /* Emits the `vsadd.du vd, vj, vk` instruction.  */
2662 static void __attribute__((unused))
2663 tcg_out_opc_vsadd_du(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2665     tcg_out32(s, encode_vdvjvk_insn(OPC_VSADD_DU, vd, vj, vk));
2668 /* Emits the `vssub.bu vd, vj, vk` instruction.  */
2669 static void __attribute__((unused))
2670 tcg_out_opc_vssub_bu(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2672     tcg_out32(s, encode_vdvjvk_insn(OPC_VSSUB_BU, vd, vj, vk));
2675 /* Emits the `vssub.hu vd, vj, vk` instruction.  */
2676 static void __attribute__((unused))
2677 tcg_out_opc_vssub_hu(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2679     tcg_out32(s, encode_vdvjvk_insn(OPC_VSSUB_HU, vd, vj, vk));
2682 /* Emits the `vssub.wu vd, vj, vk` instruction.  */
2683 static void __attribute__((unused))
2684 tcg_out_opc_vssub_wu(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2686     tcg_out32(s, encode_vdvjvk_insn(OPC_VSSUB_WU, vd, vj, vk));
2689 /* Emits the `vssub.du vd, vj, vk` instruction.  */
2690 static void __attribute__((unused))
2691 tcg_out_opc_vssub_du(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2693     tcg_out32(s, encode_vdvjvk_insn(OPC_VSSUB_DU, vd, vj, vk));
2696 /* Emits the `vmax.b vd, vj, vk` instruction.  */
2697 static void __attribute__((unused))
2698 tcg_out_opc_vmax_b(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2700     tcg_out32(s, encode_vdvjvk_insn(OPC_VMAX_B, vd, vj, vk));
2703 /* Emits the `vmax.h vd, vj, vk` instruction.  */
2704 static void __attribute__((unused))
2705 tcg_out_opc_vmax_h(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2707     tcg_out32(s, encode_vdvjvk_insn(OPC_VMAX_H, vd, vj, vk));
2710 /* Emits the `vmax.w vd, vj, vk` instruction.  */
2711 static void __attribute__((unused))
2712 tcg_out_opc_vmax_w(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2714     tcg_out32(s, encode_vdvjvk_insn(OPC_VMAX_W, vd, vj, vk));
2717 /* Emits the `vmax.d vd, vj, vk` instruction.  */
2718 static void __attribute__((unused))
2719 tcg_out_opc_vmax_d(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2721     tcg_out32(s, encode_vdvjvk_insn(OPC_VMAX_D, vd, vj, vk));
2724 /* Emits the `vmin.b vd, vj, vk` instruction.  */
2725 static void __attribute__((unused))
2726 tcg_out_opc_vmin_b(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2728     tcg_out32(s, encode_vdvjvk_insn(OPC_VMIN_B, vd, vj, vk));
2731 /* Emits the `vmin.h vd, vj, vk` instruction.  */
2732 static void __attribute__((unused))
2733 tcg_out_opc_vmin_h(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2735     tcg_out32(s, encode_vdvjvk_insn(OPC_VMIN_H, vd, vj, vk));
2738 /* Emits the `vmin.w vd, vj, vk` instruction.  */
2739 static void __attribute__((unused))
2740 tcg_out_opc_vmin_w(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2742     tcg_out32(s, encode_vdvjvk_insn(OPC_VMIN_W, vd, vj, vk));
2745 /* Emits the `vmin.d vd, vj, vk` instruction.  */
2746 static void __attribute__((unused))
2747 tcg_out_opc_vmin_d(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2749     tcg_out32(s, encode_vdvjvk_insn(OPC_VMIN_D, vd, vj, vk));
2752 /* Emits the `vmax.bu vd, vj, vk` instruction.  */
2753 static void __attribute__((unused))
2754 tcg_out_opc_vmax_bu(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2756     tcg_out32(s, encode_vdvjvk_insn(OPC_VMAX_BU, vd, vj, vk));
2759 /* Emits the `vmax.hu vd, vj, vk` instruction.  */
2760 static void __attribute__((unused))
2761 tcg_out_opc_vmax_hu(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2763     tcg_out32(s, encode_vdvjvk_insn(OPC_VMAX_HU, vd, vj, vk));
2766 /* Emits the `vmax.wu vd, vj, vk` instruction.  */
2767 static void __attribute__((unused))
2768 tcg_out_opc_vmax_wu(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2770     tcg_out32(s, encode_vdvjvk_insn(OPC_VMAX_WU, vd, vj, vk));
2773 /* Emits the `vmax.du vd, vj, vk` instruction.  */
2774 static void __attribute__((unused))
2775 tcg_out_opc_vmax_du(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2777     tcg_out32(s, encode_vdvjvk_insn(OPC_VMAX_DU, vd, vj, vk));
2780 /* Emits the `vmin.bu vd, vj, vk` instruction.  */
2781 static void __attribute__((unused))
2782 tcg_out_opc_vmin_bu(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2784     tcg_out32(s, encode_vdvjvk_insn(OPC_VMIN_BU, vd, vj, vk));
2787 /* Emits the `vmin.hu vd, vj, vk` instruction.  */
2788 static void __attribute__((unused))
2789 tcg_out_opc_vmin_hu(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2791     tcg_out32(s, encode_vdvjvk_insn(OPC_VMIN_HU, vd, vj, vk));
2794 /* Emits the `vmin.wu vd, vj, vk` instruction.  */
2795 static void __attribute__((unused))
2796 tcg_out_opc_vmin_wu(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2798     tcg_out32(s, encode_vdvjvk_insn(OPC_VMIN_WU, vd, vj, vk));
2801 /* Emits the `vmin.du vd, vj, vk` instruction.  */
2802 static void __attribute__((unused))
2803 tcg_out_opc_vmin_du(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2805     tcg_out32(s, encode_vdvjvk_insn(OPC_VMIN_DU, vd, vj, vk));
2808 /* Emits the `vmul.b vd, vj, vk` instruction.  */
2809 static void __attribute__((unused))
2810 tcg_out_opc_vmul_b(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2812     tcg_out32(s, encode_vdvjvk_insn(OPC_VMUL_B, vd, vj, vk));
2815 /* Emits the `vmul.h vd, vj, vk` instruction.  */
2816 static void __attribute__((unused))
2817 tcg_out_opc_vmul_h(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2819     tcg_out32(s, encode_vdvjvk_insn(OPC_VMUL_H, vd, vj, vk));
2822 /* Emits the `vmul.w vd, vj, vk` instruction.  */
2823 static void __attribute__((unused))
2824 tcg_out_opc_vmul_w(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2826     tcg_out32(s, encode_vdvjvk_insn(OPC_VMUL_W, vd, vj, vk));
2829 /* Emits the `vmul.d vd, vj, vk` instruction.  */
2830 static void __attribute__((unused))
2831 tcg_out_opc_vmul_d(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2833     tcg_out32(s, encode_vdvjvk_insn(OPC_VMUL_D, vd, vj, vk));
2836 /* Emits the `vsll.b vd, vj, vk` instruction.  */
2837 static void __attribute__((unused))
2838 tcg_out_opc_vsll_b(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2840     tcg_out32(s, encode_vdvjvk_insn(OPC_VSLL_B, vd, vj, vk));
2843 /* Emits the `vsll.h vd, vj, vk` instruction.  */
2844 static void __attribute__((unused))
2845 tcg_out_opc_vsll_h(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2847     tcg_out32(s, encode_vdvjvk_insn(OPC_VSLL_H, vd, vj, vk));
2850 /* Emits the `vsll.w vd, vj, vk` instruction.  */
2851 static void __attribute__((unused))
2852 tcg_out_opc_vsll_w(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2854     tcg_out32(s, encode_vdvjvk_insn(OPC_VSLL_W, vd, vj, vk));
2857 /* Emits the `vsll.d vd, vj, vk` instruction.  */
2858 static void __attribute__((unused))
2859 tcg_out_opc_vsll_d(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2861     tcg_out32(s, encode_vdvjvk_insn(OPC_VSLL_D, vd, vj, vk));
2864 /* Emits the `vsrl.b vd, vj, vk` instruction.  */
2865 static void __attribute__((unused))
2866 tcg_out_opc_vsrl_b(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2868     tcg_out32(s, encode_vdvjvk_insn(OPC_VSRL_B, vd, vj, vk));
2871 /* Emits the `vsrl.h vd, vj, vk` instruction.  */
2872 static void __attribute__((unused))
2873 tcg_out_opc_vsrl_h(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2875     tcg_out32(s, encode_vdvjvk_insn(OPC_VSRL_H, vd, vj, vk));
2878 /* Emits the `vsrl.w vd, vj, vk` instruction.  */
2879 static void __attribute__((unused))
2880 tcg_out_opc_vsrl_w(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2882     tcg_out32(s, encode_vdvjvk_insn(OPC_VSRL_W, vd, vj, vk));
2885 /* Emits the `vsrl.d vd, vj, vk` instruction.  */
2886 static void __attribute__((unused))
2887 tcg_out_opc_vsrl_d(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2889     tcg_out32(s, encode_vdvjvk_insn(OPC_VSRL_D, vd, vj, vk));
2892 /* Emits the `vsra.b vd, vj, vk` instruction.  */
2893 static void __attribute__((unused))
2894 tcg_out_opc_vsra_b(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2896     tcg_out32(s, encode_vdvjvk_insn(OPC_VSRA_B, vd, vj, vk));
2899 /* Emits the `vsra.h vd, vj, vk` instruction.  */
2900 static void __attribute__((unused))
2901 tcg_out_opc_vsra_h(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2903     tcg_out32(s, encode_vdvjvk_insn(OPC_VSRA_H, vd, vj, vk));
2906 /* Emits the `vsra.w vd, vj, vk` instruction.  */
2907 static void __attribute__((unused))
2908 tcg_out_opc_vsra_w(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2910     tcg_out32(s, encode_vdvjvk_insn(OPC_VSRA_W, vd, vj, vk));
2913 /* Emits the `vsra.d vd, vj, vk` instruction.  */
2914 static void __attribute__((unused))
2915 tcg_out_opc_vsra_d(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2917     tcg_out32(s, encode_vdvjvk_insn(OPC_VSRA_D, vd, vj, vk));
2920 /* Emits the `vrotr.b vd, vj, vk` instruction.  */
2921 static void __attribute__((unused))
2922 tcg_out_opc_vrotr_b(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2924     tcg_out32(s, encode_vdvjvk_insn(OPC_VROTR_B, vd, vj, vk));
2927 /* Emits the `vrotr.h vd, vj, vk` instruction.  */
2928 static void __attribute__((unused))
2929 tcg_out_opc_vrotr_h(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2931     tcg_out32(s, encode_vdvjvk_insn(OPC_VROTR_H, vd, vj, vk));
2934 /* Emits the `vrotr.w vd, vj, vk` instruction.  */
2935 static void __attribute__((unused))
2936 tcg_out_opc_vrotr_w(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2938     tcg_out32(s, encode_vdvjvk_insn(OPC_VROTR_W, vd, vj, vk));
2941 /* Emits the `vrotr.d vd, vj, vk` instruction.  */
2942 static void __attribute__((unused))
2943 tcg_out_opc_vrotr_d(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2945     tcg_out32(s, encode_vdvjvk_insn(OPC_VROTR_D, vd, vj, vk));
2948 /* Emits the `vreplve.b vd, vj, k` instruction.  */
2949 static void __attribute__((unused))
2950 tcg_out_opc_vreplve_b(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg k)
2952     tcg_out32(s, encode_vdvjk_insn(OPC_VREPLVE_B, vd, vj, k));
2955 /* Emits the `vreplve.h vd, vj, k` instruction.  */
2956 static void __attribute__((unused))
2957 tcg_out_opc_vreplve_h(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg k)
2959     tcg_out32(s, encode_vdvjk_insn(OPC_VREPLVE_H, vd, vj, k));
2962 /* Emits the `vreplve.w vd, vj, k` instruction.  */
2963 static void __attribute__((unused))
2964 tcg_out_opc_vreplve_w(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg k)
2966     tcg_out32(s, encode_vdvjk_insn(OPC_VREPLVE_W, vd, vj, k));
2969 /* Emits the `vreplve.d vd, vj, k` instruction.  */
2970 static void __attribute__((unused))
2971 tcg_out_opc_vreplve_d(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg k)
2973     tcg_out32(s, encode_vdvjk_insn(OPC_VREPLVE_D, vd, vj, k));
2976 /* Emits the `vand.v vd, vj, vk` instruction.  */
2977 static void __attribute__((unused))
2978 tcg_out_opc_vand_v(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2980     tcg_out32(s, encode_vdvjvk_insn(OPC_VAND_V, vd, vj, vk));
2983 /* Emits the `vor.v vd, vj, vk` instruction.  */
2984 static void __attribute__((unused))
2985 tcg_out_opc_vor_v(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2987     tcg_out32(s, encode_vdvjvk_insn(OPC_VOR_V, vd, vj, vk));
2990 /* Emits the `vxor.v vd, vj, vk` instruction.  */
2991 static void __attribute__((unused))
2992 tcg_out_opc_vxor_v(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
2994     tcg_out32(s, encode_vdvjvk_insn(OPC_VXOR_V, vd, vj, vk));
2997 /* Emits the `vnor.v vd, vj, vk` instruction.  */
2998 static void __attribute__((unused))
2999 tcg_out_opc_vnor_v(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
3001     tcg_out32(s, encode_vdvjvk_insn(OPC_VNOR_V, vd, vj, vk));
3004 /* Emits the `vandn.v vd, vj, vk` instruction.  */
3005 static void __attribute__((unused))
3006 tcg_out_opc_vandn_v(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
3008     tcg_out32(s, encode_vdvjvk_insn(OPC_VANDN_V, vd, vj, vk));
3011 /* Emits the `vorn.v vd, vj, vk` instruction.  */
3012 static void __attribute__((unused))
3013 tcg_out_opc_vorn_v(TCGContext *s, TCGReg vd, TCGReg vj, TCGReg vk)
3015     tcg_out32(s, encode_vdvjvk_insn(OPC_VORN_V, vd, vj, vk));
3018 /* Emits the `vseqi.b vd, vj, sk5` instruction.  */
3019 static void __attribute__((unused))
3020 tcg_out_opc_vseqi_b(TCGContext *s, TCGReg vd, TCGReg vj, int32_t sk5)
3022     tcg_out32(s, encode_vdvjsk5_insn(OPC_VSEQI_B, vd, vj, sk5));
3025 /* Emits the `vseqi.h vd, vj, sk5` instruction.  */
3026 static void __attribute__((unused))
3027 tcg_out_opc_vseqi_h(TCGContext *s, TCGReg vd, TCGReg vj, int32_t sk5)
3029     tcg_out32(s, encode_vdvjsk5_insn(OPC_VSEQI_H, vd, vj, sk5));
3032 /* Emits the `vseqi.w vd, vj, sk5` instruction.  */
3033 static void __attribute__((unused))
3034 tcg_out_opc_vseqi_w(TCGContext *s, TCGReg vd, TCGReg vj, int32_t sk5)
3036     tcg_out32(s, encode_vdvjsk5_insn(OPC_VSEQI_W, vd, vj, sk5));
3039 /* Emits the `vseqi.d vd, vj, sk5` instruction.  */
3040 static void __attribute__((unused))
3041 tcg_out_opc_vseqi_d(TCGContext *s, TCGReg vd, TCGReg vj, int32_t sk5)
3043     tcg_out32(s, encode_vdvjsk5_insn(OPC_VSEQI_D, vd, vj, sk5));
3046 /* Emits the `vslei.b vd, vj, sk5` instruction.  */
3047 static void __attribute__((unused))
3048 tcg_out_opc_vslei_b(TCGContext *s, TCGReg vd, TCGReg vj, int32_t sk5)
3050     tcg_out32(s, encode_vdvjsk5_insn(OPC_VSLEI_B, vd, vj, sk5));
3053 /* Emits the `vslei.h vd, vj, sk5` instruction.  */
3054 static void __attribute__((unused))
3055 tcg_out_opc_vslei_h(TCGContext *s, TCGReg vd, TCGReg vj, int32_t sk5)
3057     tcg_out32(s, encode_vdvjsk5_insn(OPC_VSLEI_H, vd, vj, sk5));
3060 /* Emits the `vslei.w vd, vj, sk5` instruction.  */
3061 static void __attribute__((unused))
3062 tcg_out_opc_vslei_w(TCGContext *s, TCGReg vd, TCGReg vj, int32_t sk5)
3064     tcg_out32(s, encode_vdvjsk5_insn(OPC_VSLEI_W, vd, vj, sk5));
3067 /* Emits the `vslei.d vd, vj, sk5` instruction.  */
3068 static void __attribute__((unused))
3069 tcg_out_opc_vslei_d(TCGContext *s, TCGReg vd, TCGReg vj, int32_t sk5)
3071     tcg_out32(s, encode_vdvjsk5_insn(OPC_VSLEI_D, vd, vj, sk5));
3074 /* Emits the `vslei.bu vd, vj, uk5` instruction.  */
3075 static void __attribute__((unused))
3076 tcg_out_opc_vslei_bu(TCGContext *s, TCGReg vd, TCGReg vj, uint32_t uk5)
3078     tcg_out32(s, encode_vdvjuk5_insn(OPC_VSLEI_BU, vd, vj, uk5));
3081 /* Emits the `vslei.hu vd, vj, uk5` instruction.  */
3082 static void __attribute__((unused))
3083 tcg_out_opc_vslei_hu(TCGContext *s, TCGReg vd, TCGReg vj, uint32_t uk5)
3085     tcg_out32(s, encode_vdvjuk5_insn(OPC_VSLEI_HU, vd, vj, uk5));
3088 /* Emits the `vslei.wu vd, vj, uk5` instruction.  */
3089 static void __attribute__((unused))
3090 tcg_out_opc_vslei_wu(TCGContext *s, TCGReg vd, TCGReg vj, uint32_t uk5)
3092     tcg_out32(s, encode_vdvjuk5_insn(OPC_VSLEI_WU, vd, vj, uk5));
3095 /* Emits the `vslei.du vd, vj, uk5` instruction.  */
3096 static void __attribute__((unused))
3097 tcg_out_opc_vslei_du(TCGContext *s, TCGReg vd, TCGReg vj, uint32_t uk5)
3099     tcg_out32(s, encode_vdvjuk5_insn(OPC_VSLEI_DU, vd, vj, uk5));
3102 /* Emits the `vslti.b vd, vj, sk5` instruction.  */
3103 static void __attribute__((unused))
3104 tcg_out_opc_vslti_b(TCGContext *s, TCGReg vd, TCGReg vj, int32_t sk5)
3106     tcg_out32(s, encode_vdvjsk5_insn(OPC_VSLTI_B, vd, vj, sk5));
3109 /* Emits the `vslti.h vd, vj, sk5` instruction.  */
3110 static void __attribute__((unused))
3111 tcg_out_opc_vslti_h(TCGContext *s, TCGReg vd, TCGReg vj, int32_t sk5)
3113     tcg_out32(s, encode_vdvjsk5_insn(OPC_VSLTI_H, vd, vj, sk5));
3116 /* Emits the `vslti.w vd, vj, sk5` instruction.  */
3117 static void __attribute__((unused))
3118 tcg_out_opc_vslti_w(TCGContext *s, TCGReg vd, TCGReg vj, int32_t sk5)
3120     tcg_out32(s, encode_vdvjsk5_insn(OPC_VSLTI_W, vd, vj, sk5));
3123 /* Emits the `vslti.d vd, vj, sk5` instruction.  */
3124 static void __attribute__((unused))
3125 tcg_out_opc_vslti_d(TCGContext *s, TCGReg vd, TCGReg vj, int32_t sk5)
3127     tcg_out32(s, encode_vdvjsk5_insn(OPC_VSLTI_D, vd, vj, sk5));
3130 /* Emits the `vslti.bu vd, vj, uk5` instruction.  */
3131 static void __attribute__((unused))
3132 tcg_out_opc_vslti_bu(TCGContext *s, TCGReg vd, TCGReg vj, uint32_t uk5)
3134     tcg_out32(s, encode_vdvjuk5_insn(OPC_VSLTI_BU, vd, vj, uk5));
3137 /* Emits the `vslti.hu vd, vj, uk5` instruction.  */
3138 static void __attribute__((unused))
3139 tcg_out_opc_vslti_hu(TCGContext *s, TCGReg vd, TCGReg vj, uint32_t uk5)
3141     tcg_out32(s, encode_vdvjuk5_insn(OPC_VSLTI_HU, vd, vj, uk5));
3144 /* Emits the `vslti.wu vd, vj, uk5` instruction.  */
3145 static void __attribute__((unused))
3146 tcg_out_opc_vslti_wu(TCGContext *s, TCGReg vd, TCGReg vj, uint32_t uk5)
3148     tcg_out32(s, encode_vdvjuk5_insn(OPC_VSLTI_WU, vd, vj, uk5));
3151 /* Emits the `vslti.du vd, vj, uk5` instruction.  */
3152 static void __attribute__((unused))
3153 tcg_out_opc_vslti_du(TCGContext *s, TCGReg vd, TCGReg vj, uint32_t uk5)
3155     tcg_out32(s, encode_vdvjuk5_insn(OPC_VSLTI_DU, vd, vj, uk5));
3158 /* Emits the `vaddi.bu vd, vj, uk5` instruction.  */
3159 static void __attribute__((unused))
3160 tcg_out_opc_vaddi_bu(TCGContext *s, TCGReg vd, TCGReg vj, uint32_t uk5)
3162     tcg_out32(s, encode_vdvjuk5_insn(OPC_VADDI_BU, vd, vj, uk5));
3165 /* Emits the `vaddi.hu vd, vj, uk5` instruction.  */
3166 static void __attribute__((unused))
3167 tcg_out_opc_vaddi_hu(TCGContext *s, TCGReg vd, TCGReg vj, uint32_t uk5)
3169     tcg_out32(s, encode_vdvjuk5_insn(OPC_VADDI_HU, vd, vj, uk5));
3172 /* Emits the `vaddi.wu vd, vj, uk5` instruction.  */
3173 static void __attribute__((unused))
3174 tcg_out_opc_vaddi_wu(TCGContext *s, TCGReg vd, TCGReg vj, uint32_t uk5)
3176     tcg_out32(s, encode_vdvjuk5_insn(OPC_VADDI_WU, vd, vj, uk5));
3179 /* Emits the `vaddi.du vd, vj, uk5` instruction.  */
3180 static void __attribute__((unused))
3181 tcg_out_opc_vaddi_du(TCGContext *s, TCGReg vd, TCGReg vj, uint32_t uk5)
3183     tcg_out32(s, encode_vdvjuk5_insn(OPC_VADDI_DU, vd, vj, uk5));
3186 /* Emits the `vsubi.bu vd, vj, uk5` instruction.  */
3187 static void __attribute__((unused))
3188 tcg_out_opc_vsubi_bu(TCGContext *s, TCGReg vd, TCGReg vj, uint32_t uk5)
3190     tcg_out32(s, encode_vdvjuk5_insn(OPC_VSUBI_BU, vd, vj, uk5));
3193 /* Emits the `vsubi.hu vd, vj, uk5` instruction.  */
3194 static void __attribute__((unused))
3195 tcg_out_opc_vsubi_hu(TCGContext *s, TCGReg vd, TCGReg vj, uint32_t uk5)
3197     tcg_out32(s, encode_vdvjuk5_insn(OPC_VSUBI_HU, vd, vj, uk5));
3200 /* Emits the `vsubi.wu vd, vj, uk5` instruction.  */
3201 static void __attribute__((unused))
3202 tcg_out_opc_vsubi_wu(TCGContext *s, TCGReg vd, TCGReg vj, uint32_t uk5)
3204     tcg_out32(s, encode_vdvjuk5_insn(OPC_VSUBI_WU, vd, vj, uk5));
3207 /* Emits the `vsubi.du vd, vj, uk5` instruction.  */
3208 static void __attribute__((unused))
3209 tcg_out_opc_vsubi_du(TCGContext *s, TCGReg vd, TCGReg vj, uint32_t uk5)
3211     tcg_out32(s, encode_vdvjuk5_insn(OPC_VSUBI_DU, vd, vj, uk5));
3214 /* Emits the `vmaxi.b vd, vj, sk5` instruction.  */
3215 static void __attribute__((unused))
3216 tcg_out_opc_vmaxi_b(TCGContext *s, TCGReg vd, TCGReg vj, int32_t sk5)
3218     tcg_out32(s, encode_vdvjsk5_insn(OPC_VMAXI_B, vd, vj, sk5));
3221 /* Emits the `vmaxi.h vd, vj, sk5` instruction.  */
3222 static void __attribute__((unused))
3223 tcg_out_opc_vmaxi_h(TCGContext *s, TCGReg vd, TCGReg vj, int32_t sk5)
3225     tcg_out32(s, encode_vdvjsk5_insn(OPC_VMAXI_H, vd, vj, sk5));
3228 /* Emits the `vmaxi.w vd, vj, sk5` instruction.  */
3229 static void __attribute__((unused))
3230 tcg_out_opc_vmaxi_w(TCGContext *s, TCGReg vd, TCGReg vj, int32_t sk5)
3232     tcg_out32(s, encode_vdvjsk5_insn(OPC_VMAXI_W, vd, vj, sk5));
3235 /* Emits the `vmaxi.d vd, vj, sk5` instruction.  */
3236 static void __attribute__((unused))
3237 tcg_out_opc_vmaxi_d(TCGContext *s, TCGReg vd, TCGReg vj, int32_t sk5)
3239     tcg_out32(s, encode_vdvjsk5_insn(OPC_VMAXI_D, vd, vj, sk5));
3242 /* Emits the `vmini.b vd, vj, sk5` instruction.  */
3243 static void __attribute__((unused))
3244 tcg_out_opc_vmini_b(TCGContext *s, TCGReg vd, TCGReg vj, int32_t sk5)
3246     tcg_out32(s, encode_vdvjsk5_insn(OPC_VMINI_B, vd, vj, sk5));
3249 /* Emits the `vmini.h vd, vj, sk5` instruction.  */
3250 static void __attribute__((unused))
3251 tcg_out_opc_vmini_h(TCGContext *s, TCGReg vd, TCGReg vj, int32_t sk5)
3253     tcg_out32(s, encode_vdvjsk5_insn(OPC_VMINI_H, vd, vj, sk5));
3256 /* Emits the `vmini.w vd, vj, sk5` instruction.  */
3257 static void __attribute__((unused))
3258 tcg_out_opc_vmini_w(TCGContext *s, TCGReg vd, TCGReg vj, int32_t sk5)
3260     tcg_out32(s, encode_vdvjsk5_insn(OPC_VMINI_W, vd, vj, sk5));
3263 /* Emits the `vmini.d vd, vj, sk5` instruction.  */
3264 static void __attribute__((unused))
3265 tcg_out_opc_vmini_d(TCGContext *s, TCGReg vd, TCGReg vj, int32_t sk5)
3267     tcg_out32(s, encode_vdvjsk5_insn(OPC_VMINI_D, vd, vj, sk5));
3270 /* Emits the `vmaxi.bu vd, vj, uk5` instruction.  */
3271 static void __attribute__((unused))
3272 tcg_out_opc_vmaxi_bu(TCGContext *s, TCGReg vd, TCGReg vj, uint32_t uk5)
3274     tcg_out32(s, encode_vdvjuk5_insn(OPC_VMAXI_BU, vd, vj, uk5));
3277 /* Emits the `vmaxi.hu vd, vj, uk5` instruction.  */
3278 static void __attribute__((unused))
3279 tcg_out_opc_vmaxi_hu(TCGContext *s, TCGReg vd, TCGReg vj, uint32_t uk5)
3281     tcg_out32(s, encode_vdvjuk5_insn(OPC_VMAXI_HU, vd, vj, uk5));
3284 /* Emits the `vmaxi.wu vd, vj, uk5` instruction.  */
3285 static void __attribute__((unused))
3286 tcg_out_opc_vmaxi_wu(TCGContext *s, TCGReg vd, TCGReg vj, uint32_t uk5)
3288     tcg_out32(s, encode_vdvjuk5_insn(OPC_VMAXI_WU, vd, vj, uk5));
3291 /* Emits the `vmaxi.du vd, vj, uk5` instruction.  */
3292 static void __attribute__((unused))
3293 tcg_out_opc_vmaxi_du(TCGContext *s, TCGReg vd, TCGReg vj, uint32_t uk5)
3295     tcg_out32(s, encode_vdvjuk5_insn(OPC_VMAXI_DU, vd, vj, uk5));
3298 /* Emits the `vmini.bu vd, vj, uk5` instruction.  */
3299 static void __attribute__((unused))
3300 tcg_out_opc_vmini_bu(TCGContext *s, TCGReg vd, TCGReg vj, uint32_t uk5)
3302     tcg_out32(s, encode_vdvjuk5_insn(OPC_VMINI_BU, vd, vj, uk5));
3305 /* Emits the `vmini.hu vd, vj, uk5` instruction.  */
3306 static void __attribute__((unused))
3307 tcg_out_opc_vmini_hu(TCGContext *s, TCGReg vd, TCGReg vj, uint32_t uk5)
3309     tcg_out32(s, encode_vdvjuk5_insn(OPC_VMINI_HU, vd, vj, uk5));
3312 /* Emits the `vmini.wu vd, vj, uk5` instruction.  */
3313 static void __attribute__((unused))
3314 tcg_out_opc_vmini_wu(TCGContext *s, TCGReg vd, TCGReg vj, uint32_t uk5)
3316     tcg_out32(s, encode_vdvjuk5_insn(OPC_VMINI_WU, vd, vj, uk5));
3319 /* Emits the `vmini.du vd, vj, uk5` instruction.  */
3320 static void __attribute__((unused))
3321 tcg_out_opc_vmini_du(TCGContext *s, TCGReg vd, TCGReg vj, uint32_t uk5)
3323     tcg_out32(s, encode_vdvjuk5_insn(OPC_VMINI_DU, vd, vj, uk5));
3326 /* Emits the `vneg.b vd, vj` instruction.  */
3327 static void __attribute__((unused))
3328 tcg_out_opc_vneg_b(TCGContext *s, TCGReg vd, TCGReg vj)
3330     tcg_out32(s, encode_vdvj_insn(OPC_VNEG_B, vd, vj));
3333 /* Emits the `vneg.h vd, vj` instruction.  */
3334 static void __attribute__((unused))
3335 tcg_out_opc_vneg_h(TCGContext *s, TCGReg vd, TCGReg vj)
3337     tcg_out32(s, encode_vdvj_insn(OPC_VNEG_H, vd, vj));
3340 /* Emits the `vneg.w vd, vj` instruction.  */
3341 static void __attribute__((unused))
3342 tcg_out_opc_vneg_w(TCGContext *s, TCGReg vd, TCGReg vj)
3344     tcg_out32(s, encode_vdvj_insn(OPC_VNEG_W, vd, vj));
3347 /* Emits the `vneg.d vd, vj` instruction.  */
3348 static void __attribute__((unused))
3349 tcg_out_opc_vneg_d(TCGContext *s, TCGReg vd, TCGReg vj)
3351     tcg_out32(s, encode_vdvj_insn(OPC_VNEG_D, vd, vj));
3354 /* Emits the `vreplgr2vr.b vd, j` instruction.  */
3355 static void __attribute__((unused))
3356 tcg_out_opc_vreplgr2vr_b(TCGContext *s, TCGReg vd, TCGReg j)
3358     tcg_out32(s, encode_vdj_insn(OPC_VREPLGR2VR_B, vd, j));
3361 /* Emits the `vreplgr2vr.h vd, j` instruction.  */
3362 static void __attribute__((unused))
3363 tcg_out_opc_vreplgr2vr_h(TCGContext *s, TCGReg vd, TCGReg j)
3365     tcg_out32(s, encode_vdj_insn(OPC_VREPLGR2VR_H, vd, j));
3368 /* Emits the `vreplgr2vr.w vd, j` instruction.  */
3369 static void __attribute__((unused))
3370 tcg_out_opc_vreplgr2vr_w(TCGContext *s, TCGReg vd, TCGReg j)
3372     tcg_out32(s, encode_vdj_insn(OPC_VREPLGR2VR_W, vd, j));
3375 /* Emits the `vreplgr2vr.d vd, j` instruction.  */
3376 static void __attribute__((unused))
3377 tcg_out_opc_vreplgr2vr_d(TCGContext *s, TCGReg vd, TCGReg j)
3379     tcg_out32(s, encode_vdj_insn(OPC_VREPLGR2VR_D, vd, j));
3382 /* Emits the `vrotri.b vd, vj, uk3` instruction.  */
3383 static void __attribute__((unused))
3384 tcg_out_opc_vrotri_b(TCGContext *s, TCGReg vd, TCGReg vj, uint32_t uk3)
3386     tcg_out32(s, encode_vdvjuk3_insn(OPC_VROTRI_B, vd, vj, uk3));
3389 /* Emits the `vrotri.h vd, vj, uk4` instruction.  */
3390 static void __attribute__((unused))
3391 tcg_out_opc_vrotri_h(TCGContext *s, TCGReg vd, TCGReg vj, uint32_t uk4)
3393     tcg_out32(s, encode_vdvjuk4_insn(OPC_VROTRI_H, vd, vj, uk4));
3396 /* Emits the `vrotri.w vd, vj, uk5` instruction.  */
3397 static void __attribute__((unused))
3398 tcg_out_opc_vrotri_w(TCGContext *s, TCGReg vd, TCGReg vj, uint32_t uk5)
3400     tcg_out32(s, encode_vdvjuk5_insn(OPC_VROTRI_W, vd, vj, uk5));
3403 /* Emits the `vrotri.d vd, vj, uk6` instruction.  */
3404 static void __attribute__((unused))
3405 tcg_out_opc_vrotri_d(TCGContext *s, TCGReg vd, TCGReg vj, uint32_t uk6)
3407     tcg_out32(s, encode_vdvjuk6_insn(OPC_VROTRI_D, vd, vj, uk6));
3410 /* Emits the `vinsgr2vr.b vd, j, uk4` instruction.  */
3411 static void __attribute__((unused))
3412 tcg_out_opc_vinsgr2vr_b(TCGContext *s, TCGReg vd, TCGReg j, uint32_t uk4)
3414     tcg_out32(s, encode_vdjuk4_insn(OPC_VINSGR2VR_B, vd, j, uk4));
3417 /* Emits the `vinsgr2vr.h vd, j, uk3` instruction.  */
3418 static void __attribute__((unused))
3419 tcg_out_opc_vinsgr2vr_h(TCGContext *s, TCGReg vd, TCGReg j, uint32_t uk3)
3421     tcg_out32(s, encode_vdjuk3_insn(OPC_VINSGR2VR_H, vd, j, uk3));
3424 /* Emits the `vinsgr2vr.w vd, j, uk2` instruction.  */
3425 static void __attribute__((unused))
3426 tcg_out_opc_vinsgr2vr_w(TCGContext *s, TCGReg vd, TCGReg j, uint32_t uk2)
3428     tcg_out32(s, encode_vdjuk2_insn(OPC_VINSGR2VR_W, vd, j, uk2));
3431 /* Emits the `vinsgr2vr.d vd, j, uk1` instruction.  */
3432 static void __attribute__((unused))
3433 tcg_out_opc_vinsgr2vr_d(TCGContext *s, TCGReg vd, TCGReg j, uint32_t uk1)
3435     tcg_out32(s, encode_vdjuk1_insn(OPC_VINSGR2VR_D, vd, j, uk1));
3438 /* Emits the `vpickve2gr.b d, vj, uk4` instruction.  */
3439 static void __attribute__((unused))
3440 tcg_out_opc_vpickve2gr_b(TCGContext *s, TCGReg d, TCGReg vj, uint32_t uk4)
3442     tcg_out32(s, encode_dvjuk4_insn(OPC_VPICKVE2GR_B, d, vj, uk4));
3445 /* Emits the `vpickve2gr.h d, vj, uk3` instruction.  */
3446 static void __attribute__((unused))
3447 tcg_out_opc_vpickve2gr_h(TCGContext *s, TCGReg d, TCGReg vj, uint32_t uk3)
3449     tcg_out32(s, encode_dvjuk3_insn(OPC_VPICKVE2GR_H, d, vj, uk3));
3452 /* Emits the `vpickve2gr.w d, vj, uk2` instruction.  */
3453 static void __attribute__((unused))
3454 tcg_out_opc_vpickve2gr_w(TCGContext *s, TCGReg d, TCGReg vj, uint32_t uk2)
3456     tcg_out32(s, encode_dvjuk2_insn(OPC_VPICKVE2GR_W, d, vj, uk2));
3459 /* Emits the `vpickve2gr.d d, vj, uk1` instruction.  */
3460 static void __attribute__((unused))
3461 tcg_out_opc_vpickve2gr_d(TCGContext *s, TCGReg d, TCGReg vj, uint32_t uk1)
3463     tcg_out32(s, encode_dvjuk1_insn(OPC_VPICKVE2GR_D, d, vj, uk1));
3466 /* Emits the `vpickve2gr.bu d, vj, uk4` instruction.  */
3467 static void __attribute__((unused))
3468 tcg_out_opc_vpickve2gr_bu(TCGContext *s, TCGReg d, TCGReg vj, uint32_t uk4)
3470     tcg_out32(s, encode_dvjuk4_insn(OPC_VPICKVE2GR_BU, d, vj, uk4));
3473 /* Emits the `vpickve2gr.hu d, vj, uk3` instruction.  */
3474 static void __attribute__((unused))
3475 tcg_out_opc_vpickve2gr_hu(TCGContext *s, TCGReg d, TCGReg vj, uint32_t uk3)
3477     tcg_out32(s, encode_dvjuk3_insn(OPC_VPICKVE2GR_HU, d, vj, uk3));
3480 /* Emits the `vpickve2gr.wu d, vj, uk2` instruction.  */
3481 static void __attribute__((unused))
3482 tcg_out_opc_vpickve2gr_wu(TCGContext *s, TCGReg d, TCGReg vj, uint32_t uk2)
3484     tcg_out32(s, encode_dvjuk2_insn(OPC_VPICKVE2GR_WU, d, vj, uk2));
3487 /* Emits the `vpickve2gr.du d, vj, uk1` instruction.  */
3488 static void __attribute__((unused))
3489 tcg_out_opc_vpickve2gr_du(TCGContext *s, TCGReg d, TCGReg vj, uint32_t uk1)
3491     tcg_out32(s, encode_dvjuk1_insn(OPC_VPICKVE2GR_DU, d, vj, uk1));
3494 /* Emits the `vreplvei.b vd, vj, uk4` instruction.  */
3495 static void __attribute__((unused))
3496 tcg_out_opc_vreplvei_b(TCGContext *s, TCGReg vd, TCGReg vj, uint32_t uk4)
3498     tcg_out32(s, encode_vdvjuk4_insn(OPC_VREPLVEI_B, vd, vj, uk4));
3501 /* Emits the `vreplvei.h vd, vj, uk3` instruction.  */
3502 static void __attribute__((unused))
3503 tcg_out_opc_vreplvei_h(TCGContext *s, TCGReg vd, TCGReg vj, uint32_t uk3)
3505     tcg_out32(s, encode_vdvjuk3_insn(OPC_VREPLVEI_H, vd, vj, uk3));
3508 /* Emits the `vreplvei.w vd, vj, uk2` instruction.  */
3509 static void __attribute__((unused))
3510 tcg_out_opc_vreplvei_w(TCGContext *s, TCGReg vd, TCGReg vj, uint32_t uk2)
3512     tcg_out32(s, encode_vdvjuk2_insn(OPC_VREPLVEI_W, vd, vj, uk2));
3515 /* Emits the `vreplvei.d vd, vj, uk1` instruction.  */
3516 static void __attribute__((unused))
3517 tcg_out_opc_vreplvei_d(TCGContext *s, TCGReg vd, TCGReg vj, uint32_t uk1)
3519     tcg_out32(s, encode_vdvjuk1_insn(OPC_VREPLVEI_D, vd, vj, uk1));
3522 /* Emits the `vbitclri.b vd, vj, uk3` instruction.  */
3523 static void __attribute__((unused))
3524 tcg_out_opc_vbitclri_b(TCGContext *s, TCGReg vd, TCGReg vj, uint32_t uk3)
3526     tcg_out32(s, encode_vdvjuk3_insn(OPC_VBITCLRI_B, vd, vj, uk3));
3529 /* Emits the `vbitclri.h vd, vj, uk4` instruction.  */
3530 static void __attribute__((unused))
3531 tcg_out_opc_vbitclri_h(TCGContext *s, TCGReg vd, TCGReg vj, uint32_t uk4)
3533     tcg_out32(s, encode_vdvjuk4_insn(OPC_VBITCLRI_H, vd, vj, uk4));
3536 /* Emits the `vbitclri.w vd, vj, uk5` instruction.  */
3537 static void __attribute__((unused))
3538 tcg_out_opc_vbitclri_w(TCGContext *s, TCGReg vd, TCGReg vj, uint32_t uk5)
3540     tcg_out32(s, encode_vdvjuk5_insn(OPC_VBITCLRI_W, vd, vj, uk5));
3543 /* Emits the `vbitclri.d vd, vj, uk6` instruction.  */
3544 static void __attribute__((unused))
3545 tcg_out_opc_vbitclri_d(TCGContext *s, TCGReg vd, TCGReg vj, uint32_t uk6)
3547     tcg_out32(s, encode_vdvjuk6_insn(OPC_VBITCLRI_D, vd, vj, uk6));
3550 /* Emits the `vbitseti.b vd, vj, uk3` instruction.  */
3551 static void __attribute__((unused))
3552 tcg_out_opc_vbitseti_b(TCGContext *s, TCGReg vd, TCGReg vj, uint32_t uk3)
3554     tcg_out32(s, encode_vdvjuk3_insn(OPC_VBITSETI_B, vd, vj, uk3));
3557 /* Emits the `vbitseti.h vd, vj, uk4` instruction.  */
3558 static void __attribute__((unused))
3559 tcg_out_opc_vbitseti_h(TCGContext *s, TCGReg vd, TCGReg vj, uint32_t uk4)
3561     tcg_out32(s, encode_vdvjuk4_insn(OPC_VBITSETI_H, vd, vj, uk4));
3564 /* Emits the `vbitseti.w vd, vj, uk5` instruction.  */
3565 static void __attribute__((unused))
3566 tcg_out_opc_vbitseti_w(TCGContext *s, TCGReg vd, TCGReg vj, uint32_t uk5)
3568     tcg_out32(s, encode_vdvjuk5_insn(OPC_VBITSETI_W, vd, vj, uk5));
3571 /* Emits the `vbitseti.d vd, vj, uk6` instruction.  */
3572 static void __attribute__((unused))
3573 tcg_out_opc_vbitseti_d(TCGContext *s, TCGReg vd, TCGReg vj, uint32_t uk6)
3575     tcg_out32(s, encode_vdvjuk6_insn(OPC_VBITSETI_D, vd, vj, uk6));
3578 /* Emits the `vbitrevi.b vd, vj, uk3` instruction.  */
3579 static void __attribute__((unused))
3580 tcg_out_opc_vbitrevi_b(TCGContext *s, TCGReg vd, TCGReg vj, uint32_t uk3)
3582     tcg_out32(s, encode_vdvjuk3_insn(OPC_VBITREVI_B, vd, vj, uk3));
3585 /* Emits the `vbitrevi.h vd, vj, uk4` instruction.  */
3586 static void __attribute__((unused))
3587 tcg_out_opc_vbitrevi_h(TCGContext *s, TCGReg vd, TCGReg vj, uint32_t uk4)
3589     tcg_out32(s, encode_vdvjuk4_insn(OPC_VBITREVI_H, vd, vj, uk4));
3592 /* Emits the `vbitrevi.w vd, vj, uk5` instruction.  */
3593 static void __attribute__((unused))
3594 tcg_out_opc_vbitrevi_w(TCGContext *s, TCGReg vd, TCGReg vj, uint32_t uk5)
3596     tcg_out32(s, encode_vdvjuk5_insn(OPC_VBITREVI_W, vd, vj, uk5));
3599 /* Emits the `vbitrevi.d vd, vj, uk6` instruction.  */
3600 static void __attribute__((unused))
3601 tcg_out_opc_vbitrevi_d(TCGContext *s, TCGReg vd, TCGReg vj, uint32_t uk6)
3603     tcg_out32(s, encode_vdvjuk6_insn(OPC_VBITREVI_D, vd, vj, uk6));
3606 /* Emits the `vslli.b vd, vj, uk3` instruction.  */
3607 static void __attribute__((unused))
3608 tcg_out_opc_vslli_b(TCGContext *s, TCGReg vd, TCGReg vj, uint32_t uk3)
3610     tcg_out32(s, encode_vdvjuk3_insn(OPC_VSLLI_B, vd, vj, uk3));
3613 /* Emits the `vslli.h vd, vj, uk4` instruction.  */
3614 static void __attribute__((unused))
3615 tcg_out_opc_vslli_h(TCGContext *s, TCGReg vd, TCGReg vj, uint32_t uk4)
3617     tcg_out32(s, encode_vdvjuk4_insn(OPC_VSLLI_H, vd, vj, uk4));
3620 /* Emits the `vslli.w vd, vj, uk5` instruction.  */
3621 static void __attribute__((unused))
3622 tcg_out_opc_vslli_w(TCGContext *s, TCGReg vd, TCGReg vj, uint32_t uk5)
3624     tcg_out32(s, encode_vdvjuk5_insn(OPC_VSLLI_W, vd, vj, uk5));
3627 /* Emits the `vslli.d vd, vj, uk6` instruction.  */
3628 static void __attribute__((unused))
3629 tcg_out_opc_vslli_d(TCGContext *s, TCGReg vd, TCGReg vj, uint32_t uk6)
3631     tcg_out32(s, encode_vdvjuk6_insn(OPC_VSLLI_D, vd, vj, uk6));
3634 /* Emits the `vsrli.b vd, vj, uk3` instruction.  */
3635 static void __attribute__((unused))
3636 tcg_out_opc_vsrli_b(TCGContext *s, TCGReg vd, TCGReg vj, uint32_t uk3)
3638     tcg_out32(s, encode_vdvjuk3_insn(OPC_VSRLI_B, vd, vj, uk3));
3641 /* Emits the `vsrli.h vd, vj, uk4` instruction.  */
3642 static void __attribute__((unused))
3643 tcg_out_opc_vsrli_h(TCGContext *s, TCGReg vd, TCGReg vj, uint32_t uk4)
3645     tcg_out32(s, encode_vdvjuk4_insn(OPC_VSRLI_H, vd, vj, uk4));
3648 /* Emits the `vsrli.w vd, vj, uk5` instruction.  */
3649 static void __attribute__((unused))
3650 tcg_out_opc_vsrli_w(TCGContext *s, TCGReg vd, TCGReg vj, uint32_t uk5)
3652     tcg_out32(s, encode_vdvjuk5_insn(OPC_VSRLI_W, vd, vj, uk5));
3655 /* Emits the `vsrli.d vd, vj, uk6` instruction.  */
3656 static void __attribute__((unused))
3657 tcg_out_opc_vsrli_d(TCGContext *s, TCGReg vd, TCGReg vj, uint32_t uk6)
3659     tcg_out32(s, encode_vdvjuk6_insn(OPC_VSRLI_D, vd, vj, uk6));
3662 /* Emits the `vsrai.b vd, vj, uk3` instruction.  */
3663 static void __attribute__((unused))
3664 tcg_out_opc_vsrai_b(TCGContext *s, TCGReg vd, TCGReg vj, uint32_t uk3)
3666     tcg_out32(s, encode_vdvjuk3_insn(OPC_VSRAI_B, vd, vj, uk3));
3669 /* Emits the `vsrai.h vd, vj, uk4` instruction.  */
3670 static void __attribute__((unused))
3671 tcg_out_opc_vsrai_h(TCGContext *s, TCGReg vd, TCGReg vj, uint32_t uk4)
3673     tcg_out32(s, encode_vdvjuk4_insn(OPC_VSRAI_H, vd, vj, uk4));
3676 /* Emits the `vsrai.w vd, vj, uk5` instruction.  */
3677 static void __attribute__((unused))
3678 tcg_out_opc_vsrai_w(TCGContext *s, TCGReg vd, TCGReg vj, uint32_t uk5)
3680     tcg_out32(s, encode_vdvjuk5_insn(OPC_VSRAI_W, vd, vj, uk5));
3683 /* Emits the `vsrai.d vd, vj, uk6` instruction.  */
3684 static void __attribute__((unused))
3685 tcg_out_opc_vsrai_d(TCGContext *s, TCGReg vd, TCGReg vj, uint32_t uk6)
3687     tcg_out32(s, encode_vdvjuk6_insn(OPC_VSRAI_D, vd, vj, uk6));
3690 /* Emits the `vbitseli.b vd, vj, uk8` instruction.  */
3691 static void __attribute__((unused))
3692 tcg_out_opc_vbitseli_b(TCGContext *s, TCGReg vd, TCGReg vj, uint32_t uk8)
3694     tcg_out32(s, encode_vdvjuk8_insn(OPC_VBITSELI_B, vd, vj, uk8));
3697 /* Emits the `vandi.b vd, vj, uk8` instruction.  */
3698 static void __attribute__((unused))
3699 tcg_out_opc_vandi_b(TCGContext *s, TCGReg vd, TCGReg vj, uint32_t uk8)
3701     tcg_out32(s, encode_vdvjuk8_insn(OPC_VANDI_B, vd, vj, uk8));
3704 /* Emits the `vori.b vd, vj, uk8` instruction.  */
3705 static void __attribute__((unused))
3706 tcg_out_opc_vori_b(TCGContext *s, TCGReg vd, TCGReg vj, uint32_t uk8)
3708     tcg_out32(s, encode_vdvjuk8_insn(OPC_VORI_B, vd, vj, uk8));
3711 /* Emits the `vxori.b vd, vj, uk8` instruction.  */
3712 static void __attribute__((unused))
3713 tcg_out_opc_vxori_b(TCGContext *s, TCGReg vd, TCGReg vj, uint32_t uk8)
3715     tcg_out32(s, encode_vdvjuk8_insn(OPC_VXORI_B, vd, vj, uk8));
3718 /* Emits the `vnori.b vd, vj, uk8` instruction.  */
3719 static void __attribute__((unused))
3720 tcg_out_opc_vnori_b(TCGContext *s, TCGReg vd, TCGReg vj, uint32_t uk8)
3722     tcg_out32(s, encode_vdvjuk8_insn(OPC_VNORI_B, vd, vj, uk8));
3725 /* Emits the `vldi vd, sj13` instruction.  */
3726 static void __attribute__((unused))
3727 tcg_out_opc_vldi(TCGContext *s, TCGReg vd, int32_t sj13)
3729     tcg_out32(s, encode_vdsj13_insn(OPC_VLDI, vd, sj13));
3732 /* Emits the `xvseq.b xd, xj, xk` instruction.  */
3733 static void __attribute__((unused))
3734 tcg_out_opc_xvseq_b(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
3736     tcg_out32(s, encode_xdxjxk_insn(OPC_XVSEQ_B, xd, xj, xk));
3739 /* Emits the `xvseq.h xd, xj, xk` instruction.  */
3740 static void __attribute__((unused))
3741 tcg_out_opc_xvseq_h(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
3743     tcg_out32(s, encode_xdxjxk_insn(OPC_XVSEQ_H, xd, xj, xk));
3746 /* Emits the `xvseq.w xd, xj, xk` instruction.  */
3747 static void __attribute__((unused))
3748 tcg_out_opc_xvseq_w(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
3750     tcg_out32(s, encode_xdxjxk_insn(OPC_XVSEQ_W, xd, xj, xk));
3753 /* Emits the `xvseq.d xd, xj, xk` instruction.  */
3754 static void __attribute__((unused))
3755 tcg_out_opc_xvseq_d(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
3757     tcg_out32(s, encode_xdxjxk_insn(OPC_XVSEQ_D, xd, xj, xk));
3760 /* Emits the `xvsle.b xd, xj, xk` instruction.  */
3761 static void __attribute__((unused))
3762 tcg_out_opc_xvsle_b(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
3764     tcg_out32(s, encode_xdxjxk_insn(OPC_XVSLE_B, xd, xj, xk));
3767 /* Emits the `xvsle.h xd, xj, xk` instruction.  */
3768 static void __attribute__((unused))
3769 tcg_out_opc_xvsle_h(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
3771     tcg_out32(s, encode_xdxjxk_insn(OPC_XVSLE_H, xd, xj, xk));
3774 /* Emits the `xvsle.w xd, xj, xk` instruction.  */
3775 static void __attribute__((unused))
3776 tcg_out_opc_xvsle_w(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
3778     tcg_out32(s, encode_xdxjxk_insn(OPC_XVSLE_W, xd, xj, xk));
3781 /* Emits the `xvsle.d xd, xj, xk` instruction.  */
3782 static void __attribute__((unused))
3783 tcg_out_opc_xvsle_d(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
3785     tcg_out32(s, encode_xdxjxk_insn(OPC_XVSLE_D, xd, xj, xk));
3788 /* Emits the `xvsle.bu xd, xj, xk` instruction.  */
3789 static void __attribute__((unused))
3790 tcg_out_opc_xvsle_bu(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
3792     tcg_out32(s, encode_xdxjxk_insn(OPC_XVSLE_BU, xd, xj, xk));
3795 /* Emits the `xvsle.hu xd, xj, xk` instruction.  */
3796 static void __attribute__((unused))
3797 tcg_out_opc_xvsle_hu(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
3799     tcg_out32(s, encode_xdxjxk_insn(OPC_XVSLE_HU, xd, xj, xk));
3802 /* Emits the `xvsle.wu xd, xj, xk` instruction.  */
3803 static void __attribute__((unused))
3804 tcg_out_opc_xvsle_wu(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
3806     tcg_out32(s, encode_xdxjxk_insn(OPC_XVSLE_WU, xd, xj, xk));
3809 /* Emits the `xvsle.du xd, xj, xk` instruction.  */
3810 static void __attribute__((unused))
3811 tcg_out_opc_xvsle_du(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
3813     tcg_out32(s, encode_xdxjxk_insn(OPC_XVSLE_DU, xd, xj, xk));
3816 /* Emits the `xvslt.b xd, xj, xk` instruction.  */
3817 static void __attribute__((unused))
3818 tcg_out_opc_xvslt_b(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
3820     tcg_out32(s, encode_xdxjxk_insn(OPC_XVSLT_B, xd, xj, xk));
3823 /* Emits the `xvslt.h xd, xj, xk` instruction.  */
3824 static void __attribute__((unused))
3825 tcg_out_opc_xvslt_h(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
3827     tcg_out32(s, encode_xdxjxk_insn(OPC_XVSLT_H, xd, xj, xk));
3830 /* Emits the `xvslt.w xd, xj, xk` instruction.  */
3831 static void __attribute__((unused))
3832 tcg_out_opc_xvslt_w(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
3834     tcg_out32(s, encode_xdxjxk_insn(OPC_XVSLT_W, xd, xj, xk));
3837 /* Emits the `xvslt.d xd, xj, xk` instruction.  */
3838 static void __attribute__((unused))
3839 tcg_out_opc_xvslt_d(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
3841     tcg_out32(s, encode_xdxjxk_insn(OPC_XVSLT_D, xd, xj, xk));
3844 /* Emits the `xvslt.bu xd, xj, xk` instruction.  */
3845 static void __attribute__((unused))
3846 tcg_out_opc_xvslt_bu(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
3848     tcg_out32(s, encode_xdxjxk_insn(OPC_XVSLT_BU, xd, xj, xk));
3851 /* Emits the `xvslt.hu xd, xj, xk` instruction.  */
3852 static void __attribute__((unused))
3853 tcg_out_opc_xvslt_hu(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
3855     tcg_out32(s, encode_xdxjxk_insn(OPC_XVSLT_HU, xd, xj, xk));
3858 /* Emits the `xvslt.wu xd, xj, xk` instruction.  */
3859 static void __attribute__((unused))
3860 tcg_out_opc_xvslt_wu(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
3862     tcg_out32(s, encode_xdxjxk_insn(OPC_XVSLT_WU, xd, xj, xk));
3865 /* Emits the `xvslt.du xd, xj, xk` instruction.  */
3866 static void __attribute__((unused))
3867 tcg_out_opc_xvslt_du(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
3869     tcg_out32(s, encode_xdxjxk_insn(OPC_XVSLT_DU, xd, xj, xk));
3872 /* Emits the `xvadd.b xd, xj, xk` instruction.  */
3873 static void __attribute__((unused))
3874 tcg_out_opc_xvadd_b(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
3876     tcg_out32(s, encode_xdxjxk_insn(OPC_XVADD_B, xd, xj, xk));
3879 /* Emits the `xvadd.h xd, xj, xk` instruction.  */
3880 static void __attribute__((unused))
3881 tcg_out_opc_xvadd_h(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
3883     tcg_out32(s, encode_xdxjxk_insn(OPC_XVADD_H, xd, xj, xk));
3886 /* Emits the `xvadd.w xd, xj, xk` instruction.  */
3887 static void __attribute__((unused))
3888 tcg_out_opc_xvadd_w(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
3890     tcg_out32(s, encode_xdxjxk_insn(OPC_XVADD_W, xd, xj, xk));
3893 /* Emits the `xvadd.d xd, xj, xk` instruction.  */
3894 static void __attribute__((unused))
3895 tcg_out_opc_xvadd_d(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
3897     tcg_out32(s, encode_xdxjxk_insn(OPC_XVADD_D, xd, xj, xk));
3900 /* Emits the `xvsub.b xd, xj, xk` instruction.  */
3901 static void __attribute__((unused))
3902 tcg_out_opc_xvsub_b(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
3904     tcg_out32(s, encode_xdxjxk_insn(OPC_XVSUB_B, xd, xj, xk));
3907 /* Emits the `xvsub.h xd, xj, xk` instruction.  */
3908 static void __attribute__((unused))
3909 tcg_out_opc_xvsub_h(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
3911     tcg_out32(s, encode_xdxjxk_insn(OPC_XVSUB_H, xd, xj, xk));
3914 /* Emits the `xvsub.w xd, xj, xk` instruction.  */
3915 static void __attribute__((unused))
3916 tcg_out_opc_xvsub_w(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
3918     tcg_out32(s, encode_xdxjxk_insn(OPC_XVSUB_W, xd, xj, xk));
3921 /* Emits the `xvsub.d xd, xj, xk` instruction.  */
3922 static void __attribute__((unused))
3923 tcg_out_opc_xvsub_d(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
3925     tcg_out32(s, encode_xdxjxk_insn(OPC_XVSUB_D, xd, xj, xk));
3928 /* Emits the `xvsadd.b xd, xj, xk` instruction.  */
3929 static void __attribute__((unused))
3930 tcg_out_opc_xvsadd_b(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
3932     tcg_out32(s, encode_xdxjxk_insn(OPC_XVSADD_B, xd, xj, xk));
3935 /* Emits the `xvsadd.h xd, xj, xk` instruction.  */
3936 static void __attribute__((unused))
3937 tcg_out_opc_xvsadd_h(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
3939     tcg_out32(s, encode_xdxjxk_insn(OPC_XVSADD_H, xd, xj, xk));
3942 /* Emits the `xvsadd.w xd, xj, xk` instruction.  */
3943 static void __attribute__((unused))
3944 tcg_out_opc_xvsadd_w(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
3946     tcg_out32(s, encode_xdxjxk_insn(OPC_XVSADD_W, xd, xj, xk));
3949 /* Emits the `xvsadd.d xd, xj, xk` instruction.  */
3950 static void __attribute__((unused))
3951 tcg_out_opc_xvsadd_d(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
3953     tcg_out32(s, encode_xdxjxk_insn(OPC_XVSADD_D, xd, xj, xk));
3956 /* Emits the `xvssub.b xd, xj, xk` instruction.  */
3957 static void __attribute__((unused))
3958 tcg_out_opc_xvssub_b(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
3960     tcg_out32(s, encode_xdxjxk_insn(OPC_XVSSUB_B, xd, xj, xk));
3963 /* Emits the `xvssub.h xd, xj, xk` instruction.  */
3964 static void __attribute__((unused))
3965 tcg_out_opc_xvssub_h(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
3967     tcg_out32(s, encode_xdxjxk_insn(OPC_XVSSUB_H, xd, xj, xk));
3970 /* Emits the `xvssub.w xd, xj, xk` instruction.  */
3971 static void __attribute__((unused))
3972 tcg_out_opc_xvssub_w(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
3974     tcg_out32(s, encode_xdxjxk_insn(OPC_XVSSUB_W, xd, xj, xk));
3977 /* Emits the `xvssub.d xd, xj, xk` instruction.  */
3978 static void __attribute__((unused))
3979 tcg_out_opc_xvssub_d(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
3981     tcg_out32(s, encode_xdxjxk_insn(OPC_XVSSUB_D, xd, xj, xk));
3984 /* Emits the `xvsadd.bu xd, xj, xk` instruction.  */
3985 static void __attribute__((unused))
3986 tcg_out_opc_xvsadd_bu(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
3988     tcg_out32(s, encode_xdxjxk_insn(OPC_XVSADD_BU, xd, xj, xk));
3991 /* Emits the `xvsadd.hu xd, xj, xk` instruction.  */
3992 static void __attribute__((unused))
3993 tcg_out_opc_xvsadd_hu(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
3995     tcg_out32(s, encode_xdxjxk_insn(OPC_XVSADD_HU, xd, xj, xk));
3998 /* Emits the `xvsadd.wu xd, xj, xk` instruction.  */
3999 static void __attribute__((unused))
4000 tcg_out_opc_xvsadd_wu(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
4002     tcg_out32(s, encode_xdxjxk_insn(OPC_XVSADD_WU, xd, xj, xk));
4005 /* Emits the `xvsadd.du xd, xj, xk` instruction.  */
4006 static void __attribute__((unused))
4007 tcg_out_opc_xvsadd_du(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
4009     tcg_out32(s, encode_xdxjxk_insn(OPC_XVSADD_DU, xd, xj, xk));
4012 /* Emits the `xvssub.bu xd, xj, xk` instruction.  */
4013 static void __attribute__((unused))
4014 tcg_out_opc_xvssub_bu(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
4016     tcg_out32(s, encode_xdxjxk_insn(OPC_XVSSUB_BU, xd, xj, xk));
4019 /* Emits the `xvssub.hu xd, xj, xk` instruction.  */
4020 static void __attribute__((unused))
4021 tcg_out_opc_xvssub_hu(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
4023     tcg_out32(s, encode_xdxjxk_insn(OPC_XVSSUB_HU, xd, xj, xk));
4026 /* Emits the `xvssub.wu xd, xj, xk` instruction.  */
4027 static void __attribute__((unused))
4028 tcg_out_opc_xvssub_wu(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
4030     tcg_out32(s, encode_xdxjxk_insn(OPC_XVSSUB_WU, xd, xj, xk));
4033 /* Emits the `xvssub.du xd, xj, xk` instruction.  */
4034 static void __attribute__((unused))
4035 tcg_out_opc_xvssub_du(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
4037     tcg_out32(s, encode_xdxjxk_insn(OPC_XVSSUB_DU, xd, xj, xk));
4040 /* Emits the `xvmax.b xd, xj, xk` instruction.  */
4041 static void __attribute__((unused))
4042 tcg_out_opc_xvmax_b(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
4044     tcg_out32(s, encode_xdxjxk_insn(OPC_XVMAX_B, xd, xj, xk));
4047 /* Emits the `xvmax.h xd, xj, xk` instruction.  */
4048 static void __attribute__((unused))
4049 tcg_out_opc_xvmax_h(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
4051     tcg_out32(s, encode_xdxjxk_insn(OPC_XVMAX_H, xd, xj, xk));
4054 /* Emits the `xvmax.w xd, xj, xk` instruction.  */
4055 static void __attribute__((unused))
4056 tcg_out_opc_xvmax_w(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
4058     tcg_out32(s, encode_xdxjxk_insn(OPC_XVMAX_W, xd, xj, xk));
4061 /* Emits the `xvmax.d xd, xj, xk` instruction.  */
4062 static void __attribute__((unused))
4063 tcg_out_opc_xvmax_d(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
4065     tcg_out32(s, encode_xdxjxk_insn(OPC_XVMAX_D, xd, xj, xk));
4068 /* Emits the `xvmin.b xd, xj, xk` instruction.  */
4069 static void __attribute__((unused))
4070 tcg_out_opc_xvmin_b(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
4072     tcg_out32(s, encode_xdxjxk_insn(OPC_XVMIN_B, xd, xj, xk));
4075 /* Emits the `xvmin.h xd, xj, xk` instruction.  */
4076 static void __attribute__((unused))
4077 tcg_out_opc_xvmin_h(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
4079     tcg_out32(s, encode_xdxjxk_insn(OPC_XVMIN_H, xd, xj, xk));
4082 /* Emits the `xvmin.w xd, xj, xk` instruction.  */
4083 static void __attribute__((unused))
4084 tcg_out_opc_xvmin_w(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
4086     tcg_out32(s, encode_xdxjxk_insn(OPC_XVMIN_W, xd, xj, xk));
4089 /* Emits the `xvmin.d xd, xj, xk` instruction.  */
4090 static void __attribute__((unused))
4091 tcg_out_opc_xvmin_d(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
4093     tcg_out32(s, encode_xdxjxk_insn(OPC_XVMIN_D, xd, xj, xk));
4096 /* Emits the `xvmax.bu xd, xj, xk` instruction.  */
4097 static void __attribute__((unused))
4098 tcg_out_opc_xvmax_bu(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
4100     tcg_out32(s, encode_xdxjxk_insn(OPC_XVMAX_BU, xd, xj, xk));
4103 /* Emits the `xvmax.hu xd, xj, xk` instruction.  */
4104 static void __attribute__((unused))
4105 tcg_out_opc_xvmax_hu(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
4107     tcg_out32(s, encode_xdxjxk_insn(OPC_XVMAX_HU, xd, xj, xk));
4110 /* Emits the `xvmax.wu xd, xj, xk` instruction.  */
4111 static void __attribute__((unused))
4112 tcg_out_opc_xvmax_wu(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
4114     tcg_out32(s, encode_xdxjxk_insn(OPC_XVMAX_WU, xd, xj, xk));
4117 /* Emits the `xvmax.du xd, xj, xk` instruction.  */
4118 static void __attribute__((unused))
4119 tcg_out_opc_xvmax_du(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
4121     tcg_out32(s, encode_xdxjxk_insn(OPC_XVMAX_DU, xd, xj, xk));
4124 /* Emits the `xvmin.bu xd, xj, xk` instruction.  */
4125 static void __attribute__((unused))
4126 tcg_out_opc_xvmin_bu(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
4128     tcg_out32(s, encode_xdxjxk_insn(OPC_XVMIN_BU, xd, xj, xk));
4131 /* Emits the `xvmin.hu xd, xj, xk` instruction.  */
4132 static void __attribute__((unused))
4133 tcg_out_opc_xvmin_hu(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
4135     tcg_out32(s, encode_xdxjxk_insn(OPC_XVMIN_HU, xd, xj, xk));
4138 /* Emits the `xvmin.wu xd, xj, xk` instruction.  */
4139 static void __attribute__((unused))
4140 tcg_out_opc_xvmin_wu(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
4142     tcg_out32(s, encode_xdxjxk_insn(OPC_XVMIN_WU, xd, xj, xk));
4145 /* Emits the `xvmin.du xd, xj, xk` instruction.  */
4146 static void __attribute__((unused))
4147 tcg_out_opc_xvmin_du(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
4149     tcg_out32(s, encode_xdxjxk_insn(OPC_XVMIN_DU, xd, xj, xk));
4152 /* Emits the `xvmul.b xd, xj, xk` instruction.  */
4153 static void __attribute__((unused))
4154 tcg_out_opc_xvmul_b(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
4156     tcg_out32(s, encode_xdxjxk_insn(OPC_XVMUL_B, xd, xj, xk));
4159 /* Emits the `xvmul.h xd, xj, xk` instruction.  */
4160 static void __attribute__((unused))
4161 tcg_out_opc_xvmul_h(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
4163     tcg_out32(s, encode_xdxjxk_insn(OPC_XVMUL_H, xd, xj, xk));
4166 /* Emits the `xvmul.w xd, xj, xk` instruction.  */
4167 static void __attribute__((unused))
4168 tcg_out_opc_xvmul_w(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
4170     tcg_out32(s, encode_xdxjxk_insn(OPC_XVMUL_W, xd, xj, xk));
4173 /* Emits the `xvmul.d xd, xj, xk` instruction.  */
4174 static void __attribute__((unused))
4175 tcg_out_opc_xvmul_d(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
4177     tcg_out32(s, encode_xdxjxk_insn(OPC_XVMUL_D, xd, xj, xk));
4180 /* Emits the `xvsll.b xd, xj, xk` instruction.  */
4181 static void __attribute__((unused))
4182 tcg_out_opc_xvsll_b(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
4184     tcg_out32(s, encode_xdxjxk_insn(OPC_XVSLL_B, xd, xj, xk));
4187 /* Emits the `xvsll.h xd, xj, xk` instruction.  */
4188 static void __attribute__((unused))
4189 tcg_out_opc_xvsll_h(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
4191     tcg_out32(s, encode_xdxjxk_insn(OPC_XVSLL_H, xd, xj, xk));
4194 /* Emits the `xvsll.w xd, xj, xk` instruction.  */
4195 static void __attribute__((unused))
4196 tcg_out_opc_xvsll_w(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
4198     tcg_out32(s, encode_xdxjxk_insn(OPC_XVSLL_W, xd, xj, xk));
4201 /* Emits the `xvsll.d xd, xj, xk` instruction.  */
4202 static void __attribute__((unused))
4203 tcg_out_opc_xvsll_d(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
4205     tcg_out32(s, encode_xdxjxk_insn(OPC_XVSLL_D, xd, xj, xk));
4208 /* Emits the `xvsrl.b xd, xj, xk` instruction.  */
4209 static void __attribute__((unused))
4210 tcg_out_opc_xvsrl_b(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
4212     tcg_out32(s, encode_xdxjxk_insn(OPC_XVSRL_B, xd, xj, xk));
4215 /* Emits the `xvsrl.h xd, xj, xk` instruction.  */
4216 static void __attribute__((unused))
4217 tcg_out_opc_xvsrl_h(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
4219     tcg_out32(s, encode_xdxjxk_insn(OPC_XVSRL_H, xd, xj, xk));
4222 /* Emits the `xvsrl.w xd, xj, xk` instruction.  */
4223 static void __attribute__((unused))
4224 tcg_out_opc_xvsrl_w(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
4226     tcg_out32(s, encode_xdxjxk_insn(OPC_XVSRL_W, xd, xj, xk));
4229 /* Emits the `xvsrl.d xd, xj, xk` instruction.  */
4230 static void __attribute__((unused))
4231 tcg_out_opc_xvsrl_d(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
4233     tcg_out32(s, encode_xdxjxk_insn(OPC_XVSRL_D, xd, xj, xk));
4236 /* Emits the `xvsra.b xd, xj, xk` instruction.  */
4237 static void __attribute__((unused))
4238 tcg_out_opc_xvsra_b(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
4240     tcg_out32(s, encode_xdxjxk_insn(OPC_XVSRA_B, xd, xj, xk));
4243 /* Emits the `xvsra.h xd, xj, xk` instruction.  */
4244 static void __attribute__((unused))
4245 tcg_out_opc_xvsra_h(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
4247     tcg_out32(s, encode_xdxjxk_insn(OPC_XVSRA_H, xd, xj, xk));
4250 /* Emits the `xvsra.w xd, xj, xk` instruction.  */
4251 static void __attribute__((unused))
4252 tcg_out_opc_xvsra_w(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
4254     tcg_out32(s, encode_xdxjxk_insn(OPC_XVSRA_W, xd, xj, xk));
4257 /* Emits the `xvsra.d xd, xj, xk` instruction.  */
4258 static void __attribute__((unused))
4259 tcg_out_opc_xvsra_d(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
4261     tcg_out32(s, encode_xdxjxk_insn(OPC_XVSRA_D, xd, xj, xk));
4264 /* Emits the `xvrotr.b xd, xj, xk` instruction.  */
4265 static void __attribute__((unused))
4266 tcg_out_opc_xvrotr_b(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
4268     tcg_out32(s, encode_xdxjxk_insn(OPC_XVROTR_B, xd, xj, xk));
4271 /* Emits the `xvrotr.h xd, xj, xk` instruction.  */
4272 static void __attribute__((unused))
4273 tcg_out_opc_xvrotr_h(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
4275     tcg_out32(s, encode_xdxjxk_insn(OPC_XVROTR_H, xd, xj, xk));
4278 /* Emits the `xvrotr.w xd, xj, xk` instruction.  */
4279 static void __attribute__((unused))
4280 tcg_out_opc_xvrotr_w(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
4282     tcg_out32(s, encode_xdxjxk_insn(OPC_XVROTR_W, xd, xj, xk));
4285 /* Emits the `xvrotr.d xd, xj, xk` instruction.  */
4286 static void __attribute__((unused))
4287 tcg_out_opc_xvrotr_d(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
4289     tcg_out32(s, encode_xdxjxk_insn(OPC_XVROTR_D, xd, xj, xk));
4292 /* Emits the `xvreplve.b xd, xj, k` instruction.  */
4293 static void __attribute__((unused))
4294 tcg_out_opc_xvreplve_b(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg k)
4296     tcg_out32(s, encode_xdxjk_insn(OPC_XVREPLVE_B, xd, xj, k));
4299 /* Emits the `xvreplve.h xd, xj, k` instruction.  */
4300 static void __attribute__((unused))
4301 tcg_out_opc_xvreplve_h(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg k)
4303     tcg_out32(s, encode_xdxjk_insn(OPC_XVREPLVE_H, xd, xj, k));
4306 /* Emits the `xvreplve.w xd, xj, k` instruction.  */
4307 static void __attribute__((unused))
4308 tcg_out_opc_xvreplve_w(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg k)
4310     tcg_out32(s, encode_xdxjk_insn(OPC_XVREPLVE_W, xd, xj, k));
4313 /* Emits the `xvreplve.d xd, xj, k` instruction.  */
4314 static void __attribute__((unused))
4315 tcg_out_opc_xvreplve_d(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg k)
4317     tcg_out32(s, encode_xdxjk_insn(OPC_XVREPLVE_D, xd, xj, k));
4320 /* Emits the `xvand.v xd, xj, xk` instruction.  */
4321 static void __attribute__((unused))
4322 tcg_out_opc_xvand_v(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
4324     tcg_out32(s, encode_xdxjxk_insn(OPC_XVAND_V, xd, xj, xk));
4327 /* Emits the `xvor.v xd, xj, xk` instruction.  */
4328 static void __attribute__((unused))
4329 tcg_out_opc_xvor_v(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
4331     tcg_out32(s, encode_xdxjxk_insn(OPC_XVOR_V, xd, xj, xk));
4334 /* Emits the `xvxor.v xd, xj, xk` instruction.  */
4335 static void __attribute__((unused))
4336 tcg_out_opc_xvxor_v(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
4338     tcg_out32(s, encode_xdxjxk_insn(OPC_XVXOR_V, xd, xj, xk));
4341 /* Emits the `xvnor.v xd, xj, xk` instruction.  */
4342 static void __attribute__((unused))
4343 tcg_out_opc_xvnor_v(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
4345     tcg_out32(s, encode_xdxjxk_insn(OPC_XVNOR_V, xd, xj, xk));
4348 /* Emits the `xvandn.v xd, xj, xk` instruction.  */
4349 static void __attribute__((unused))
4350 tcg_out_opc_xvandn_v(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
4352     tcg_out32(s, encode_xdxjxk_insn(OPC_XVANDN_V, xd, xj, xk));
4355 /* Emits the `xvorn.v xd, xj, xk` instruction.  */
4356 static void __attribute__((unused))
4357 tcg_out_opc_xvorn_v(TCGContext *s, TCGReg xd, TCGReg xj, TCGReg xk)
4359     tcg_out32(s, encode_xdxjxk_insn(OPC_XVORN_V, xd, xj, xk));
4362 /* Emits the `xvseqi.b xd, xj, sk5` instruction.  */
4363 static void __attribute__((unused))
4364 tcg_out_opc_xvseqi_b(TCGContext *s, TCGReg xd, TCGReg xj, int32_t sk5)
4366     tcg_out32(s, encode_xdxjsk5_insn(OPC_XVSEQI_B, xd, xj, sk5));
4369 /* Emits the `xvseqi.h xd, xj, sk5` instruction.  */
4370 static void __attribute__((unused))
4371 tcg_out_opc_xvseqi_h(TCGContext *s, TCGReg xd, TCGReg xj, int32_t sk5)
4373     tcg_out32(s, encode_xdxjsk5_insn(OPC_XVSEQI_H, xd, xj, sk5));
4376 /* Emits the `xvseqi.w xd, xj, sk5` instruction.  */
4377 static void __attribute__((unused))
4378 tcg_out_opc_xvseqi_w(TCGContext *s, TCGReg xd, TCGReg xj, int32_t sk5)
4380     tcg_out32(s, encode_xdxjsk5_insn(OPC_XVSEQI_W, xd, xj, sk5));
4383 /* Emits the `xvseqi.d xd, xj, sk5` instruction.  */
4384 static void __attribute__((unused))
4385 tcg_out_opc_xvseqi_d(TCGContext *s, TCGReg xd, TCGReg xj, int32_t sk5)
4387     tcg_out32(s, encode_xdxjsk5_insn(OPC_XVSEQI_D, xd, xj, sk5));
4390 /* Emits the `xvslei.b xd, xj, sk5` instruction.  */
4391 static void __attribute__((unused))
4392 tcg_out_opc_xvslei_b(TCGContext *s, TCGReg xd, TCGReg xj, int32_t sk5)
4394     tcg_out32(s, encode_xdxjsk5_insn(OPC_XVSLEI_B, xd, xj, sk5));
4397 /* Emits the `xvslei.h xd, xj, sk5` instruction.  */
4398 static void __attribute__((unused))
4399 tcg_out_opc_xvslei_h(TCGContext *s, TCGReg xd, TCGReg xj, int32_t sk5)
4401     tcg_out32(s, encode_xdxjsk5_insn(OPC_XVSLEI_H, xd, xj, sk5));
4404 /* Emits the `xvslei.w xd, xj, sk5` instruction.  */
4405 static void __attribute__((unused))
4406 tcg_out_opc_xvslei_w(TCGContext *s, TCGReg xd, TCGReg xj, int32_t sk5)
4408     tcg_out32(s, encode_xdxjsk5_insn(OPC_XVSLEI_W, xd, xj, sk5));
4411 /* Emits the `xvslei.d xd, xj, sk5` instruction.  */
4412 static void __attribute__((unused))
4413 tcg_out_opc_xvslei_d(TCGContext *s, TCGReg xd, TCGReg xj, int32_t sk5)
4415     tcg_out32(s, encode_xdxjsk5_insn(OPC_XVSLEI_D, xd, xj, sk5));
4418 /* Emits the `xvslei.bu xd, xj, uk5` instruction.  */
4419 static void __attribute__((unused))
4420 tcg_out_opc_xvslei_bu(TCGContext *s, TCGReg xd, TCGReg xj, uint32_t uk5)
4422     tcg_out32(s, encode_xdxjuk5_insn(OPC_XVSLEI_BU, xd, xj, uk5));
4425 /* Emits the `xvslei.hu xd, xj, uk5` instruction.  */
4426 static void __attribute__((unused))
4427 tcg_out_opc_xvslei_hu(TCGContext *s, TCGReg xd, TCGReg xj, uint32_t uk5)
4429     tcg_out32(s, encode_xdxjuk5_insn(OPC_XVSLEI_HU, xd, xj, uk5));
4432 /* Emits the `xvslei.wu xd, xj, uk5` instruction.  */
4433 static void __attribute__((unused))
4434 tcg_out_opc_xvslei_wu(TCGContext *s, TCGReg xd, TCGReg xj, uint32_t uk5)
4436     tcg_out32(s, encode_xdxjuk5_insn(OPC_XVSLEI_WU, xd, xj, uk5));
4439 /* Emits the `xvslei.du xd, xj, uk5` instruction.  */
4440 static void __attribute__((unused))
4441 tcg_out_opc_xvslei_du(TCGContext *s, TCGReg xd, TCGReg xj, uint32_t uk5)
4443     tcg_out32(s, encode_xdxjuk5_insn(OPC_XVSLEI_DU, xd, xj, uk5));
4446 /* Emits the `xvslti.b xd, xj, sk5` instruction.  */
4447 static void __attribute__((unused))
4448 tcg_out_opc_xvslti_b(TCGContext *s, TCGReg xd, TCGReg xj, int32_t sk5)
4450     tcg_out32(s, encode_xdxjsk5_insn(OPC_XVSLTI_B, xd, xj, sk5));
4453 /* Emits the `xvslti.h xd, xj, sk5` instruction.  */
4454 static void __attribute__((unused))
4455 tcg_out_opc_xvslti_h(TCGContext *s, TCGReg xd, TCGReg xj, int32_t sk5)
4457     tcg_out32(s, encode_xdxjsk5_insn(OPC_XVSLTI_H, xd, xj, sk5));
4460 /* Emits the `xvslti.w xd, xj, sk5` instruction.  */
4461 static void __attribute__((unused))
4462 tcg_out_opc_xvslti_w(TCGContext *s, TCGReg xd, TCGReg xj, int32_t sk5)
4464     tcg_out32(s, encode_xdxjsk5_insn(OPC_XVSLTI_W, xd, xj, sk5));
4467 /* Emits the `xvslti.d xd, xj, sk5` instruction.  */
4468 static void __attribute__((unused))
4469 tcg_out_opc_xvslti_d(TCGContext *s, TCGReg xd, TCGReg xj, int32_t sk5)
4471     tcg_out32(s, encode_xdxjsk5_insn(OPC_XVSLTI_D, xd, xj, sk5));
4474 /* Emits the `xvslti.bu xd, xj, uk5` instruction.  */
4475 static void __attribute__((unused))
4476 tcg_out_opc_xvslti_bu(TCGContext *s, TCGReg xd, TCGReg xj, uint32_t uk5)
4478     tcg_out32(s, encode_xdxjuk5_insn(OPC_XVSLTI_BU, xd, xj, uk5));
4481 /* Emits the `xvslti.hu xd, xj, uk5` instruction.  */
4482 static void __attribute__((unused))
4483 tcg_out_opc_xvslti_hu(TCGContext *s, TCGReg xd, TCGReg xj, uint32_t uk5)
4485     tcg_out32(s, encode_xdxjuk5_insn(OPC_XVSLTI_HU, xd, xj, uk5));
4488 /* Emits the `xvslti.wu xd, xj, uk5` instruction.  */
4489 static void __attribute__((unused))
4490 tcg_out_opc_xvslti_wu(TCGContext *s, TCGReg xd, TCGReg xj, uint32_t uk5)
4492     tcg_out32(s, encode_xdxjuk5_insn(OPC_XVSLTI_WU, xd, xj, uk5));
4495 /* Emits the `xvslti.du xd, xj, uk5` instruction.  */
4496 static void __attribute__((unused))
4497 tcg_out_opc_xvslti_du(TCGContext *s, TCGReg xd, TCGReg xj, uint32_t uk5)
4499     tcg_out32(s, encode_xdxjuk5_insn(OPC_XVSLTI_DU, xd, xj, uk5));
4502 /* Emits the `xvaddi.bu xd, xj, uk5` instruction.  */
4503 static void __attribute__((unused))
4504 tcg_out_opc_xvaddi_bu(TCGContext *s, TCGReg xd, TCGReg xj, uint32_t uk5)
4506     tcg_out32(s, encode_xdxjuk5_insn(OPC_XVADDI_BU, xd, xj, uk5));
4509 /* Emits the `xvaddi.hu xd, xj, uk5` instruction.  */
4510 static void __attribute__((unused))
4511 tcg_out_opc_xvaddi_hu(TCGContext *s, TCGReg xd, TCGReg xj, uint32_t uk5)
4513     tcg_out32(s, encode_xdxjuk5_insn(OPC_XVADDI_HU, xd, xj, uk5));
4516 /* Emits the `xvaddi.wu xd, xj, uk5` instruction.  */
4517 static void __attribute__((unused))
4518 tcg_out_opc_xvaddi_wu(TCGContext *s, TCGReg xd, TCGReg xj, uint32_t uk5)
4520     tcg_out32(s, encode_xdxjuk5_insn(OPC_XVADDI_WU, xd, xj, uk5));
4523 /* Emits the `xvaddi.du xd, xj, uk5` instruction.  */
4524 static void __attribute__((unused))
4525 tcg_out_opc_xvaddi_du(TCGContext *s, TCGReg xd, TCGReg xj, uint32_t uk5)
4527     tcg_out32(s, encode_xdxjuk5_insn(OPC_XVADDI_DU, xd, xj, uk5));
4530 /* Emits the `xvsubi.bu xd, xj, uk5` instruction.  */
4531 static void __attribute__((unused))
4532 tcg_out_opc_xvsubi_bu(TCGContext *s, TCGReg xd, TCGReg xj, uint32_t uk5)
4534     tcg_out32(s, encode_xdxjuk5_insn(OPC_XVSUBI_BU, xd, xj, uk5));
4537 /* Emits the `xvsubi.hu xd, xj, uk5` instruction.  */
4538 static void __attribute__((unused))
4539 tcg_out_opc_xvsubi_hu(TCGContext *s, TCGReg xd, TCGReg xj, uint32_t uk5)
4541     tcg_out32(s, encode_xdxjuk5_insn(OPC_XVSUBI_HU, xd, xj, uk5));
4544 /* Emits the `xvsubi.wu xd, xj, uk5` instruction.  */
4545 static void __attribute__((unused))
4546 tcg_out_opc_xvsubi_wu(TCGContext *s, TCGReg xd, TCGReg xj, uint32_t uk5)
4548     tcg_out32(s, encode_xdxjuk5_insn(OPC_XVSUBI_WU, xd, xj, uk5));
4551 /* Emits the `xvsubi.du xd, xj, uk5` instruction.  */
4552 static void __attribute__((unused))
4553 tcg_out_opc_xvsubi_du(TCGContext *s, TCGReg xd, TCGReg xj, uint32_t uk5)
4555     tcg_out32(s, encode_xdxjuk5_insn(OPC_XVSUBI_DU, xd, xj, uk5));
4558 /* Emits the `xvmaxi.b xd, xj, sk5` instruction.  */
4559 static void __attribute__((unused))
4560 tcg_out_opc_xvmaxi_b(TCGContext *s, TCGReg xd, TCGReg xj, int32_t sk5)
4562     tcg_out32(s, encode_xdxjsk5_insn(OPC_XVMAXI_B, xd, xj, sk5));
4565 /* Emits the `xvmaxi.h xd, xj, sk5` instruction.  */
4566 static void __attribute__((unused))
4567 tcg_out_opc_xvmaxi_h(TCGContext *s, TCGReg xd, TCGReg xj, int32_t sk5)
4569     tcg_out32(s, encode_xdxjsk5_insn(OPC_XVMAXI_H, xd, xj, sk5));
4572 /* Emits the `xvmaxi.w xd, xj, sk5` instruction.  */
4573 static void __attribute__((unused))
4574 tcg_out_opc_xvmaxi_w(TCGContext *s, TCGReg xd, TCGReg xj, int32_t sk5)
4576     tcg_out32(s, encode_xdxjsk5_insn(OPC_XVMAXI_W, xd, xj, sk5));
4579 /* Emits the `xvmaxi.d xd, xj, sk5` instruction.  */
4580 static void __attribute__((unused))
4581 tcg_out_opc_xvmaxi_d(TCGContext *s, TCGReg xd, TCGReg xj, int32_t sk5)
4583     tcg_out32(s, encode_xdxjsk5_insn(OPC_XVMAXI_D, xd, xj, sk5));
4586 /* Emits the `xvmini.b xd, xj, sk5` instruction.  */
4587 static void __attribute__((unused))
4588 tcg_out_opc_xvmini_b(TCGContext *s, TCGReg xd, TCGReg xj, int32_t sk5)
4590     tcg_out32(s, encode_xdxjsk5_insn(OPC_XVMINI_B, xd, xj, sk5));
4593 /* Emits the `xvmini.h xd, xj, sk5` instruction.  */
4594 static void __attribute__((unused))
4595 tcg_out_opc_xvmini_h(TCGContext *s, TCGReg xd, TCGReg xj, int32_t sk5)
4597     tcg_out32(s, encode_xdxjsk5_insn(OPC_XVMINI_H, xd, xj, sk5));
4600 /* Emits the `xvmini.w xd, xj, sk5` instruction.  */
4601 static void __attribute__((unused))
4602 tcg_out_opc_xvmini_w(TCGContext *s, TCGReg xd, TCGReg xj, int32_t sk5)
4604     tcg_out32(s, encode_xdxjsk5_insn(OPC_XVMINI_W, xd, xj, sk5));
4607 /* Emits the `xvmini.d xd, xj, sk5` instruction.  */
4608 static void __attribute__((unused))
4609 tcg_out_opc_xvmini_d(TCGContext *s, TCGReg xd, TCGReg xj, int32_t sk5)
4611     tcg_out32(s, encode_xdxjsk5_insn(OPC_XVMINI_D, xd, xj, sk5));
4614 /* Emits the `xvmaxi.bu xd, xj, uk5` instruction.  */
4615 static void __attribute__((unused))
4616 tcg_out_opc_xvmaxi_bu(TCGContext *s, TCGReg xd, TCGReg xj, uint32_t uk5)
4618     tcg_out32(s, encode_xdxjuk5_insn(OPC_XVMAXI_BU, xd, xj, uk5));
4621 /* Emits the `xvmaxi.hu xd, xj, uk5` instruction.  */
4622 static void __attribute__((unused))
4623 tcg_out_opc_xvmaxi_hu(TCGContext *s, TCGReg xd, TCGReg xj, uint32_t uk5)
4625     tcg_out32(s, encode_xdxjuk5_insn(OPC_XVMAXI_HU, xd, xj, uk5));
4628 /* Emits the `xvmaxi.wu xd, xj, uk5` instruction.  */
4629 static void __attribute__((unused))
4630 tcg_out_opc_xvmaxi_wu(TCGContext *s, TCGReg xd, TCGReg xj, uint32_t uk5)
4632     tcg_out32(s, encode_xdxjuk5_insn(OPC_XVMAXI_WU, xd, xj, uk5));
4635 /* Emits the `xvmaxi.du xd, xj, uk5` instruction.  */
4636 static void __attribute__((unused))
4637 tcg_out_opc_xvmaxi_du(TCGContext *s, TCGReg xd, TCGReg xj, uint32_t uk5)
4639     tcg_out32(s, encode_xdxjuk5_insn(OPC_XVMAXI_DU, xd, xj, uk5));
4642 /* Emits the `xvmini.bu xd, xj, uk5` instruction.  */
4643 static void __attribute__((unused))
4644 tcg_out_opc_xvmini_bu(TCGContext *s, TCGReg xd, TCGReg xj, uint32_t uk5)
4646     tcg_out32(s, encode_xdxjuk5_insn(OPC_XVMINI_BU, xd, xj, uk5));
4649 /* Emits the `xvmini.hu xd, xj, uk5` instruction.  */
4650 static void __attribute__((unused))
4651 tcg_out_opc_xvmini_hu(TCGContext *s, TCGReg xd, TCGReg xj, uint32_t uk5)
4653     tcg_out32(s, encode_xdxjuk5_insn(OPC_XVMINI_HU, xd, xj, uk5));
4656 /* Emits the `xvmini.wu xd, xj, uk5` instruction.  */
4657 static void __attribute__((unused))
4658 tcg_out_opc_xvmini_wu(TCGContext *s, TCGReg xd, TCGReg xj, uint32_t uk5)
4660     tcg_out32(s, encode_xdxjuk5_insn(OPC_XVMINI_WU, xd, xj, uk5));
4663 /* Emits the `xvmini.du xd, xj, uk5` instruction.  */
4664 static void __attribute__((unused))
4665 tcg_out_opc_xvmini_du(TCGContext *s, TCGReg xd, TCGReg xj, uint32_t uk5)
4667     tcg_out32(s, encode_xdxjuk5_insn(OPC_XVMINI_DU, xd, xj, uk5));
4670 /* Emits the `xvneg.b xd, xj` instruction.  */
4671 static void __attribute__((unused))
4672 tcg_out_opc_xvneg_b(TCGContext *s, TCGReg xd, TCGReg xj)
4674     tcg_out32(s, encode_xdxj_insn(OPC_XVNEG_B, xd, xj));
4677 /* Emits the `xvneg.h xd, xj` instruction.  */
4678 static void __attribute__((unused))
4679 tcg_out_opc_xvneg_h(TCGContext *s, TCGReg xd, TCGReg xj)
4681     tcg_out32(s, encode_xdxj_insn(OPC_XVNEG_H, xd, xj));
4684 /* Emits the `xvneg.w xd, xj` instruction.  */
4685 static void __attribute__((unused))
4686 tcg_out_opc_xvneg_w(TCGContext *s, TCGReg xd, TCGReg xj)
4688     tcg_out32(s, encode_xdxj_insn(OPC_XVNEG_W, xd, xj));
4691 /* Emits the `xvneg.d xd, xj` instruction.  */
4692 static void __attribute__((unused))
4693 tcg_out_opc_xvneg_d(TCGContext *s, TCGReg xd, TCGReg xj)
4695     tcg_out32(s, encode_xdxj_insn(OPC_XVNEG_D, xd, xj));
4698 /* Emits the `xvreplgr2vr.b xd, j` instruction.  */
4699 static void __attribute__((unused))
4700 tcg_out_opc_xvreplgr2vr_b(TCGContext *s, TCGReg xd, TCGReg j)
4702     tcg_out32(s, encode_xdj_insn(OPC_XVREPLGR2VR_B, xd, j));
4705 /* Emits the `xvreplgr2vr.h xd, j` instruction.  */
4706 static void __attribute__((unused))
4707 tcg_out_opc_xvreplgr2vr_h(TCGContext *s, TCGReg xd, TCGReg j)
4709     tcg_out32(s, encode_xdj_insn(OPC_XVREPLGR2VR_H, xd, j));
4712 /* Emits the `xvreplgr2vr.w xd, j` instruction.  */
4713 static void __attribute__((unused))
4714 tcg_out_opc_xvreplgr2vr_w(TCGContext *s, TCGReg xd, TCGReg j)
4716     tcg_out32(s, encode_xdj_insn(OPC_XVREPLGR2VR_W, xd, j));
4719 /* Emits the `xvreplgr2vr.d xd, j` instruction.  */
4720 static void __attribute__((unused))
4721 tcg_out_opc_xvreplgr2vr_d(TCGContext *s, TCGReg xd, TCGReg j)
4723     tcg_out32(s, encode_xdj_insn(OPC_XVREPLGR2VR_D, xd, j));
4726 /* Emits the `xvrotri.b xd, xj, uk3` instruction.  */
4727 static void __attribute__((unused))
4728 tcg_out_opc_xvrotri_b(TCGContext *s, TCGReg xd, TCGReg xj, uint32_t uk3)
4730     tcg_out32(s, encode_xdxjuk3_insn(OPC_XVROTRI_B, xd, xj, uk3));
4733 /* Emits the `xvrotri.h xd, xj, uk4` instruction.  */
4734 static void __attribute__((unused))
4735 tcg_out_opc_xvrotri_h(TCGContext *s, TCGReg xd, TCGReg xj, uint32_t uk4)
4737     tcg_out32(s, encode_xdxjuk4_insn(OPC_XVROTRI_H, xd, xj, uk4));
4740 /* Emits the `xvrotri.w xd, xj, uk5` instruction.  */
4741 static void __attribute__((unused))
4742 tcg_out_opc_xvrotri_w(TCGContext *s, TCGReg xd, TCGReg xj, uint32_t uk5)
4744     tcg_out32(s, encode_xdxjuk5_insn(OPC_XVROTRI_W, xd, xj, uk5));
4747 /* Emits the `xvrotri.d xd, xj, uk6` instruction.  */
4748 static void __attribute__((unused))
4749 tcg_out_opc_xvrotri_d(TCGContext *s, TCGReg xd, TCGReg xj, uint32_t uk6)
4751     tcg_out32(s, encode_xdxjuk6_insn(OPC_XVROTRI_D, xd, xj, uk6));
4754 /* Emits the `xvinsgr2vr.w xd, j, uk3` instruction.  */
4755 static void __attribute__((unused))
4756 tcg_out_opc_xvinsgr2vr_w(TCGContext *s, TCGReg xd, TCGReg j, uint32_t uk3)
4758     tcg_out32(s, encode_xdjuk3_insn(OPC_XVINSGR2VR_W, xd, j, uk3));
4761 /* Emits the `xvinsgr2vr.d xd, j, uk2` instruction.  */
4762 static void __attribute__((unused))
4763 tcg_out_opc_xvinsgr2vr_d(TCGContext *s, TCGReg xd, TCGReg j, uint32_t uk2)
4765     tcg_out32(s, encode_xdjuk2_insn(OPC_XVINSGR2VR_D, xd, j, uk2));
4768 /* Emits the `xvpickve2gr.w d, xj, uk3` instruction.  */
4769 static void __attribute__((unused))
4770 tcg_out_opc_xvpickve2gr_w(TCGContext *s, TCGReg d, TCGReg xj, uint32_t uk3)
4772     tcg_out32(s, encode_dxjuk3_insn(OPC_XVPICKVE2GR_W, d, xj, uk3));
4775 /* Emits the `xvpickve2gr.d d, xj, uk2` instruction.  */
4776 static void __attribute__((unused))
4777 tcg_out_opc_xvpickve2gr_d(TCGContext *s, TCGReg d, TCGReg xj, uint32_t uk2)
4779     tcg_out32(s, encode_dxjuk2_insn(OPC_XVPICKVE2GR_D, d, xj, uk2));
4782 /* Emits the `xvpickve2gr.wu d, xj, uk3` instruction.  */
4783 static void __attribute__((unused))
4784 tcg_out_opc_xvpickve2gr_wu(TCGContext *s, TCGReg d, TCGReg xj, uint32_t uk3)
4786     tcg_out32(s, encode_dxjuk3_insn(OPC_XVPICKVE2GR_WU, d, xj, uk3));
4789 /* Emits the `xvpickve2gr.du d, xj, uk2` instruction.  */
4790 static void __attribute__((unused))
4791 tcg_out_opc_xvpickve2gr_du(TCGContext *s, TCGReg d, TCGReg xj, uint32_t uk2)
4793     tcg_out32(s, encode_dxjuk2_insn(OPC_XVPICKVE2GR_DU, d, xj, uk2));
4796 /* Emits the `xvrepl128vei.b xd, xj, uk4` instruction.  */
4797 static void __attribute__((unused))
4798 tcg_out_opc_xvrepl128vei_b(TCGContext *s, TCGReg xd, TCGReg xj, uint32_t uk4)
4800     tcg_out32(s, encode_xdxjuk4_insn(OPC_XVREPL128VEI_B, xd, xj, uk4));
4803 /* Emits the `xvrepl128vei.h xd, xj, uk3` instruction.  */
4804 static void __attribute__((unused))
4805 tcg_out_opc_xvrepl128vei_h(TCGContext *s, TCGReg xd, TCGReg xj, uint32_t uk3)
4807     tcg_out32(s, encode_xdxjuk3_insn(OPC_XVREPL128VEI_H, xd, xj, uk3));
4810 /* Emits the `xvrepl128vei.w xd, xj, uk2` instruction.  */
4811 static void __attribute__((unused))
4812 tcg_out_opc_xvrepl128vei_w(TCGContext *s, TCGReg xd, TCGReg xj, uint32_t uk2)
4814     tcg_out32(s, encode_xdxjuk2_insn(OPC_XVREPL128VEI_W, xd, xj, uk2));
4817 /* Emits the `xvrepl128vei.d xd, xj, uk1` instruction.  */
4818 static void __attribute__((unused))
4819 tcg_out_opc_xvrepl128vei_d(TCGContext *s, TCGReg xd, TCGReg xj, uint32_t uk1)
4821     tcg_out32(s, encode_xdxjuk1_insn(OPC_XVREPL128VEI_D, xd, xj, uk1));
4824 /* Emits the `xvreplve0.b xd, xj` instruction.  */
4825 static void __attribute__((unused))
4826 tcg_out_opc_xvreplve0_b(TCGContext *s, TCGReg xd, TCGReg xj)
4828     tcg_out32(s, encode_xdxj_insn(OPC_XVREPLVE0_B, xd, xj));
4831 /* Emits the `xvreplve0.h xd, xj` instruction.  */
4832 static void __attribute__((unused))
4833 tcg_out_opc_xvreplve0_h(TCGContext *s, TCGReg xd, TCGReg xj)
4835     tcg_out32(s, encode_xdxj_insn(OPC_XVREPLVE0_H, xd, xj));
4838 /* Emits the `xvreplve0.w xd, xj` instruction.  */
4839 static void __attribute__((unused))
4840 tcg_out_opc_xvreplve0_w(TCGContext *s, TCGReg xd, TCGReg xj)
4842     tcg_out32(s, encode_xdxj_insn(OPC_XVREPLVE0_W, xd, xj));
4845 /* Emits the `xvreplve0.d xd, xj` instruction.  */
4846 static void __attribute__((unused))
4847 tcg_out_opc_xvreplve0_d(TCGContext *s, TCGReg xd, TCGReg xj)
4849     tcg_out32(s, encode_xdxj_insn(OPC_XVREPLVE0_D, xd, xj));
4852 /* Emits the `xvreplve0.q xd, xj` instruction.  */
4853 static void __attribute__((unused))
4854 tcg_out_opc_xvreplve0_q(TCGContext *s, TCGReg xd, TCGReg xj)
4856     tcg_out32(s, encode_xdxj_insn(OPC_XVREPLVE0_Q, xd, xj));
4859 /* Emits the `xvbitclri.b xd, xj, uk3` instruction.  */
4860 static void __attribute__((unused))
4861 tcg_out_opc_xvbitclri_b(TCGContext *s, TCGReg xd, TCGReg xj, uint32_t uk3)
4863     tcg_out32(s, encode_xdxjuk3_insn(OPC_XVBITCLRI_B, xd, xj, uk3));
4866 /* Emits the `xvbitclri.h xd, xj, uk4` instruction.  */
4867 static void __attribute__((unused))
4868 tcg_out_opc_xvbitclri_h(TCGContext *s, TCGReg xd, TCGReg xj, uint32_t uk4)
4870     tcg_out32(s, encode_xdxjuk4_insn(OPC_XVBITCLRI_H, xd, xj, uk4));
4873 /* Emits the `xvbitclri.w xd, xj, uk5` instruction.  */
4874 static void __attribute__((unused))
4875 tcg_out_opc_xvbitclri_w(TCGContext *s, TCGReg xd, TCGReg xj, uint32_t uk5)
4877     tcg_out32(s, encode_xdxjuk5_insn(OPC_XVBITCLRI_W, xd, xj, uk5));
4880 /* Emits the `xvbitclri.d xd, xj, uk6` instruction.  */
4881 static void __attribute__((unused))
4882 tcg_out_opc_xvbitclri_d(TCGContext *s, TCGReg xd, TCGReg xj, uint32_t uk6)
4884     tcg_out32(s, encode_xdxjuk6_insn(OPC_XVBITCLRI_D, xd, xj, uk6));
4887 /* Emits the `xvbitseti.b xd, xj, uk3` instruction.  */
4888 static void __attribute__((unused))
4889 tcg_out_opc_xvbitseti_b(TCGContext *s, TCGReg xd, TCGReg xj, uint32_t uk3)
4891     tcg_out32(s, encode_xdxjuk3_insn(OPC_XVBITSETI_B, xd, xj, uk3));
4894 /* Emits the `xvbitseti.h xd, xj, uk4` instruction.  */
4895 static void __attribute__((unused))
4896 tcg_out_opc_xvbitseti_h(TCGContext *s, TCGReg xd, TCGReg xj, uint32_t uk4)
4898     tcg_out32(s, encode_xdxjuk4_insn(OPC_XVBITSETI_H, xd, xj, uk4));
4901 /* Emits the `xvbitseti.w xd, xj, uk5` instruction.  */
4902 static void __attribute__((unused))
4903 tcg_out_opc_xvbitseti_w(TCGContext *s, TCGReg xd, TCGReg xj, uint32_t uk5)
4905     tcg_out32(s, encode_xdxjuk5_insn(OPC_XVBITSETI_W, xd, xj, uk5));
4908 /* Emits the `xvbitseti.d xd, xj, uk6` instruction.  */
4909 static void __attribute__((unused))
4910 tcg_out_opc_xvbitseti_d(TCGContext *s, TCGReg xd, TCGReg xj, uint32_t uk6)
4912     tcg_out32(s, encode_xdxjuk6_insn(OPC_XVBITSETI_D, xd, xj, uk6));
4915 /* Emits the `xvbitrevi.b xd, xj, uk3` instruction.  */
4916 static void __attribute__((unused))
4917 tcg_out_opc_xvbitrevi_b(TCGContext *s, TCGReg xd, TCGReg xj, uint32_t uk3)
4919     tcg_out32(s, encode_xdxjuk3_insn(OPC_XVBITREVI_B, xd, xj, uk3));
4922 /* Emits the `xvbitrevi.h xd, xj, uk4` instruction.  */
4923 static void __attribute__((unused))
4924 tcg_out_opc_xvbitrevi_h(TCGContext *s, TCGReg xd, TCGReg xj, uint32_t uk4)
4926     tcg_out32(s, encode_xdxjuk4_insn(OPC_XVBITREVI_H, xd, xj, uk4));
4929 /* Emits the `xvbitrevi.w xd, xj, uk5` instruction.  */
4930 static void __attribute__((unused))
4931 tcg_out_opc_xvbitrevi_w(TCGContext *s, TCGReg xd, TCGReg xj, uint32_t uk5)
4933     tcg_out32(s, encode_xdxjuk5_insn(OPC_XVBITREVI_W, xd, xj, uk5));
4936 /* Emits the `xvbitrevi.d xd, xj, uk6` instruction.  */
4937 static void __attribute__((unused))
4938 tcg_out_opc_xvbitrevi_d(TCGContext *s, TCGReg xd, TCGReg xj, uint32_t uk6)
4940     tcg_out32(s, encode_xdxjuk6_insn(OPC_XVBITREVI_D, xd, xj, uk6));
4943 /* Emits the `xvslli.b xd, xj, uk3` instruction.  */
4944 static void __attribute__((unused))
4945 tcg_out_opc_xvslli_b(TCGContext *s, TCGReg xd, TCGReg xj, uint32_t uk3)
4947     tcg_out32(s, encode_xdxjuk3_insn(OPC_XVSLLI_B, xd, xj, uk3));
4950 /* Emits the `xvslli.h xd, xj, uk4` instruction.  */
4951 static void __attribute__((unused))
4952 tcg_out_opc_xvslli_h(TCGContext *s, TCGReg xd, TCGReg xj, uint32_t uk4)
4954     tcg_out32(s, encode_xdxjuk4_insn(OPC_XVSLLI_H, xd, xj, uk4));
4957 /* Emits the `xvslli.w xd, xj, uk5` instruction.  */
4958 static void __attribute__((unused))
4959 tcg_out_opc_xvslli_w(TCGContext *s, TCGReg xd, TCGReg xj, uint32_t uk5)
4961     tcg_out32(s, encode_xdxjuk5_insn(OPC_XVSLLI_W, xd, xj, uk5));
4964 /* Emits the `xvslli.d xd, xj, uk6` instruction.  */
4965 static void __attribute__((unused))
4966 tcg_out_opc_xvslli_d(TCGContext *s, TCGReg xd, TCGReg xj, uint32_t uk6)
4968     tcg_out32(s, encode_xdxjuk6_insn(OPC_XVSLLI_D, xd, xj, uk6));
4971 /* Emits the `xvsrli.b xd, xj, uk3` instruction.  */
4972 static void __attribute__((unused))
4973 tcg_out_opc_xvsrli_b(TCGContext *s, TCGReg xd, TCGReg xj, uint32_t uk3)
4975     tcg_out32(s, encode_xdxjuk3_insn(OPC_XVSRLI_B, xd, xj, uk3));
4978 /* Emits the `xvsrli.h xd, xj, uk4` instruction.  */
4979 static void __attribute__((unused))
4980 tcg_out_opc_xvsrli_h(TCGContext *s, TCGReg xd, TCGReg xj, uint32_t uk4)
4982     tcg_out32(s, encode_xdxjuk4_insn(OPC_XVSRLI_H, xd, xj, uk4));
4985 /* Emits the `xvsrli.w xd, xj, uk5` instruction.  */
4986 static void __attribute__((unused))
4987 tcg_out_opc_xvsrli_w(TCGContext *s, TCGReg xd, TCGReg xj, uint32_t uk5)
4989     tcg_out32(s, encode_xdxjuk5_insn(OPC_XVSRLI_W, xd, xj, uk5));
4992 /* Emits the `xvsrli.d xd, xj, uk6` instruction.  */
4993 static void __attribute__((unused))
4994 tcg_out_opc_xvsrli_d(TCGContext *s, TCGReg xd, TCGReg xj, uint32_t uk6)
4996     tcg_out32(s, encode_xdxjuk6_insn(OPC_XVSRLI_D, xd, xj, uk6));
4999 /* Emits the `xvsrai.b xd, xj, uk3` instruction.  */
5000 static void __attribute__((unused))
5001 tcg_out_opc_xvsrai_b(TCGContext *s, TCGReg xd, TCGReg xj, uint32_t uk3)
5003     tcg_out32(s, encode_xdxjuk3_insn(OPC_XVSRAI_B, xd, xj, uk3));
5006 /* Emits the `xvsrai.h xd, xj, uk4` instruction.  */
5007 static void __attribute__((unused))
5008 tcg_out_opc_xvsrai_h(TCGContext *s, TCGReg xd, TCGReg xj, uint32_t uk4)
5010     tcg_out32(s, encode_xdxjuk4_insn(OPC_XVSRAI_H, xd, xj, uk4));
5013 /* Emits the `xvsrai.w xd, xj, uk5` instruction.  */
5014 static void __attribute__((unused))
5015 tcg_out_opc_xvsrai_w(TCGContext *s, TCGReg xd, TCGReg xj, uint32_t uk5)
5017     tcg_out32(s, encode_xdxjuk5_insn(OPC_XVSRAI_W, xd, xj, uk5));
5020 /* Emits the `xvsrai.d xd, xj, uk6` instruction.  */
5021 static void __attribute__((unused))
5022 tcg_out_opc_xvsrai_d(TCGContext *s, TCGReg xd, TCGReg xj, uint32_t uk6)
5024     tcg_out32(s, encode_xdxjuk6_insn(OPC_XVSRAI_D, xd, xj, uk6));
5027 /* Emits the `xvbitseli.b xd, xj, uk8` instruction.  */
5028 static void __attribute__((unused))
5029 tcg_out_opc_xvbitseli_b(TCGContext *s, TCGReg xd, TCGReg xj, uint32_t uk8)
5031     tcg_out32(s, encode_xdxjuk8_insn(OPC_XVBITSELI_B, xd, xj, uk8));
5034 /* Emits the `xvandi.b xd, xj, uk8` instruction.  */
5035 static void __attribute__((unused))
5036 tcg_out_opc_xvandi_b(TCGContext *s, TCGReg xd, TCGReg xj, uint32_t uk8)
5038     tcg_out32(s, encode_xdxjuk8_insn(OPC_XVANDI_B, xd, xj, uk8));
5041 /* Emits the `xvori.b xd, xj, uk8` instruction.  */
5042 static void __attribute__((unused))
5043 tcg_out_opc_xvori_b(TCGContext *s, TCGReg xd, TCGReg xj, uint32_t uk8)
5045     tcg_out32(s, encode_xdxjuk8_insn(OPC_XVORI_B, xd, xj, uk8));
5048 /* Emits the `xvxori.b xd, xj, uk8` instruction.  */
5049 static void __attribute__((unused))
5050 tcg_out_opc_xvxori_b(TCGContext *s, TCGReg xd, TCGReg xj, uint32_t uk8)
5052     tcg_out32(s, encode_xdxjuk8_insn(OPC_XVXORI_B, xd, xj, uk8));
5055 /* Emits the `xvnori.b xd, xj, uk8` instruction.  */
5056 static void __attribute__((unused))
5057 tcg_out_opc_xvnori_b(TCGContext *s, TCGReg xd, TCGReg xj, uint32_t uk8)
5059     tcg_out32(s, encode_xdxjuk8_insn(OPC_XVNORI_B, xd, xj, uk8));
5062 /* Emits the `xvldi xd, sj13` instruction.  */
5063 static void __attribute__((unused))
5064 tcg_out_opc_xvldi(TCGContext *s, TCGReg xd, int32_t sj13)
5066     tcg_out32(s, encode_xdsj13_insn(OPC_XVLDI, xd, sj13));
5069 /* End of generated code.  */