meson: rename included C source files to .c.inc
[qemu/ar7.git] / target / xtensa / core-sample_controller / xtensa-modules.c.inc
blob7e87d216bd1b0882b810eaadfd3eaa44156482b8
1 /* Xtensa configuration-specific ISA information.
3    Copyright (c) 2003-2016 Tensilica Inc.
5    Permission is hereby granted, free of charge, to any person obtaining
6    a copy of this software and associated documentation files (the
7    "Software"), to deal in the Software without restriction, including
8    without limitation the rights to use, copy, modify, merge, publish,
9    distribute, sublicense, and/or sell copies of the Software, and to
10    permit persons to whom the Software is furnished to do so, subject to
11    the following conditions:
13    The above copyright notice and this permission notice shall be included
14    in all copies or substantial portions of the Software.
16    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17    EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18    MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19    IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20    CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21    TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22    SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.  */
24 #include "qemu/osdep.h"
25 #include "xtensa-isa.h"
26 #include "xtensa-isa-internal.h"
29 /* Sysregs.  */
31 static xtensa_sysreg_internal sysregs[] = {
32   { "MMID", 89, 0 },
33   { "DDR", 104, 0 },
34   { "CONFIGID0", 176, 0 },
35   { "CONFIGID1", 208, 0 },
36   { "INTERRUPT", 226, 0 },
37   { "INTCLEAR", 227, 0 },
38   { "CCOUNT", 234, 0 },
39   { "PRID", 235, 0 },
40   { "ICOUNT", 236, 0 },
41   { "CCOMPARE0", 240, 0 },
42   { "CCOMPARE1", 241, 0 },
43   { "CCOMPARE2", 242, 0 },
44   { "VECBASE", 231, 0 },
45   { "EPC1", 177, 0 },
46   { "EPC2", 178, 0 },
47   { "EPC3", 179, 0 },
48   { "EPC4", 180, 0 },
49   { "EPC5", 181, 0 },
50   { "EPC6", 182, 0 },
51   { "EPC7", 183, 0 },
52   { "EXCSAVE1", 209, 0 },
53   { "EXCSAVE2", 210, 0 },
54   { "EXCSAVE3", 211, 0 },
55   { "EXCSAVE4", 212, 0 },
56   { "EXCSAVE5", 213, 0 },
57   { "EXCSAVE6", 214, 0 },
58   { "EXCSAVE7", 215, 0 },
59   { "EPS2", 194, 0 },
60   { "EPS3", 195, 0 },
61   { "EPS4", 196, 0 },
62   { "EPS5", 197, 0 },
63   { "EPS6", 198, 0 },
64   { "EPS7", 199, 0 },
65   { "EXCCAUSE", 232, 0 },
66   { "DEPC", 192, 0 },
67   { "EXCVADDR", 238, 0 },
68   { "WINDOWBASE", 72, 0 },
69   { "WINDOWSTART", 73, 0 },
70   { "SAR", 3, 0 },
71   { "PS", 230, 0 },
72   { "MISC0", 244, 0 },
73   { "MISC1", 245, 0 },
74   { "INTENABLE", 228, 0 },
75   { "DBREAKA0", 144, 0 },
76   { "DBREAKC0", 160, 0 },
77   { "DBREAKA1", 145, 0 },
78   { "DBREAKC1", 161, 0 },
79   { "IBREAKA0", 128, 0 },
80   { "IBREAKA1", 129, 0 },
81   { "IBREAKENABLE", 96, 0 },
82   { "ICOUNTLEVEL", 237, 0 },
83   { "DEBUGCAUSE", 233, 0 },
84   { "SCOMPARE1", 12, 0 },
85   { "ATOMCTL", 99, 0 },
86   { "EXPSTATE", 230, 1 }
89 #define NUM_SYSREGS 55
90 #define MAX_SPECIAL_REG 245
91 #define MAX_USER_REG 230
94 /* Processor states.  */
96 static xtensa_state_internal states[] = {
97   { "PC", 32, 0 },
98   { "ICOUNT", 32, 0 },
99   { "DDR", 32, 0 },
100   { "INTERRUPT", 22, 0 },
101   { "CCOUNT", 32, 0 },
102   { "XTSYNC", 1, 0 },
103   { "VECBASE", 22, 0 },
104   { "EPC1", 32, 0 },
105   { "EPC2", 32, 0 },
106   { "EPC3", 32, 0 },
107   { "EPC4", 32, 0 },
108   { "EPC5", 32, 0 },
109   { "EPC6", 32, 0 },
110   { "EPC7", 32, 0 },
111   { "EXCSAVE1", 32, 0 },
112   { "EXCSAVE2", 32, 0 },
113   { "EXCSAVE3", 32, 0 },
114   { "EXCSAVE4", 32, 0 },
115   { "EXCSAVE5", 32, 0 },
116   { "EXCSAVE6", 32, 0 },
117   { "EXCSAVE7", 32, 0 },
118   { "EPS2", 13, 0 },
119   { "EPS3", 13, 0 },
120   { "EPS4", 13, 0 },
121   { "EPS5", 13, 0 },
122   { "EPS6", 13, 0 },
123   { "EPS7", 13, 0 },
124   { "EXCCAUSE", 6, 0 },
125   { "PSINTLEVEL", 4, 0 },
126   { "PSUM", 1, 0 },
127   { "PSWOE", 1, 0 },
128   { "PSEXCM", 1, 0 },
129   { "DEPC", 32, 0 },
130   { "EXCVADDR", 32, 0 },
131   { "WindowBase", 3, 0 },
132   { "WindowStart", 8, 0 },
133   { "PSCALLINC", 2, 0 },
134   { "PSOWB", 4, 0 },
135   { "SAR", 6, 0 },
136   { "MISC0", 32, 0 },
137   { "MISC1", 32, 0 },
138   { "InOCDMode", 1, 0 },
139   { "INTENABLE", 22, 0 },
140   { "DBREAKA0", 32, 0 },
141   { "DBREAKC0", 8, 0 },
142   { "DBREAKA1", 32, 0 },
143   { "DBREAKC1", 8, 0 },
144   { "IBREAKA0", 32, 0 },
145   { "IBREAKA1", 32, 0 },
146   { "IBREAKENABLE", 2, 0 },
147   { "ICOUNTLEVEL", 4, 0 },
148   { "DEBUGCAUSE", 6, 0 },
149   { "DBNUM", 4, 0 },
150   { "CCOMPARE0", 32, 0 },
151   { "CCOMPARE1", 32, 0 },
152   { "CCOMPARE2", 32, 0 },
153   { "SCOMPARE1", 32, 0 },
154   { "ATOMCTL", 6, 0 },
155   { "EXPSTATE", 32, XTENSA_STATE_IS_EXPORTED }
158 #define NUM_STATES 59
160 enum xtensa_state_id {
161   STATE_PC,
162   STATE_ICOUNT,
163   STATE_DDR,
164   STATE_INTERRUPT,
165   STATE_CCOUNT,
166   STATE_XTSYNC,
167   STATE_VECBASE,
168   STATE_EPC1,
169   STATE_EPC2,
170   STATE_EPC3,
171   STATE_EPC4,
172   STATE_EPC5,
173   STATE_EPC6,
174   STATE_EPC7,
175   STATE_EXCSAVE1,
176   STATE_EXCSAVE2,
177   STATE_EXCSAVE3,
178   STATE_EXCSAVE4,
179   STATE_EXCSAVE5,
180   STATE_EXCSAVE6,
181   STATE_EXCSAVE7,
182   STATE_EPS2,
183   STATE_EPS3,
184   STATE_EPS4,
185   STATE_EPS5,
186   STATE_EPS6,
187   STATE_EPS7,
188   STATE_EXCCAUSE,
189   STATE_PSINTLEVEL,
190   STATE_PSUM,
191   STATE_PSWOE,
192   STATE_PSEXCM,
193   STATE_DEPC,
194   STATE_EXCVADDR,
195   STATE_WindowBase,
196   STATE_WindowStart,
197   STATE_PSCALLINC,
198   STATE_PSOWB,
199   STATE_SAR,
200   STATE_MISC0,
201   STATE_MISC1,
202   STATE_InOCDMode,
203   STATE_INTENABLE,
204   STATE_DBREAKA0,
205   STATE_DBREAKC0,
206   STATE_DBREAKA1,
207   STATE_DBREAKC1,
208   STATE_IBREAKA0,
209   STATE_IBREAKA1,
210   STATE_IBREAKENABLE,
211   STATE_ICOUNTLEVEL,
212   STATE_DEBUGCAUSE,
213   STATE_DBNUM,
214   STATE_CCOMPARE0,
215   STATE_CCOMPARE1,
216   STATE_CCOMPARE2,
217   STATE_SCOMPARE1,
218   STATE_ATOMCTL,
219   STATE_EXPSTATE
223 /* Field definitions.  */
225 static unsigned
226 Field_t_Slot_inst_get (const xtensa_insnbuf insn)
228   unsigned tie_t = 0;
229   tie_t = (tie_t << 4) | ((insn[0] << 24) >> 28);
230   return tie_t;
233 static void
234 Field_t_Slot_inst_set (xtensa_insnbuf insn, uint32 val)
236   uint32 tie_t;
237   tie_t = (val << 28) >> 28;
238   insn[0] = (insn[0] & ~0xf0) | (tie_t << 4);
241 static unsigned
242 Field_s_Slot_inst_get (const xtensa_insnbuf insn)
244   unsigned tie_t = 0;
245   tie_t = (tie_t << 4) | ((insn[0] << 20) >> 28);
246   return tie_t;
249 static void
250 Field_s_Slot_inst_set (xtensa_insnbuf insn, uint32 val)
252   uint32 tie_t;
253   tie_t = (val << 28) >> 28;
254   insn[0] = (insn[0] & ~0xf00) | (tie_t << 8);
257 static unsigned
258 Field_r_Slot_inst_get (const xtensa_insnbuf insn)
260   unsigned tie_t = 0;
261   tie_t = (tie_t << 4) | ((insn[0] << 16) >> 28);
262   return tie_t;
265 static void
266 Field_r_Slot_inst_set (xtensa_insnbuf insn, uint32 val)
268   uint32 tie_t;
269   tie_t = (val << 28) >> 28;
270   insn[0] = (insn[0] & ~0xf000) | (tie_t << 12);
273 static unsigned
274 Field_op2_Slot_inst_get (const xtensa_insnbuf insn)
276   unsigned tie_t = 0;
277   tie_t = (tie_t << 4) | ((insn[0] << 8) >> 28);
278   return tie_t;
281 static void
282 Field_op2_Slot_inst_set (xtensa_insnbuf insn, uint32 val)
284   uint32 tie_t;
285   tie_t = (val << 28) >> 28;
286   insn[0] = (insn[0] & ~0xf00000) | (tie_t << 20);
289 static unsigned
290 Field_op1_Slot_inst_get (const xtensa_insnbuf insn)
292   unsigned tie_t = 0;
293   tie_t = (tie_t << 4) | ((insn[0] << 12) >> 28);
294   return tie_t;
297 static void
298 Field_op1_Slot_inst_set (xtensa_insnbuf insn, uint32 val)
300   uint32 tie_t;
301   tie_t = (val << 28) >> 28;
302   insn[0] = (insn[0] & ~0xf0000) | (tie_t << 16);
305 static unsigned
306 Field_op0_Slot_inst_get (const xtensa_insnbuf insn)
308   unsigned tie_t = 0;
309   tie_t = (tie_t << 4) | ((insn[0] << 28) >> 28);
310   return tie_t;
313 static void
314 Field_op0_Slot_inst_set (xtensa_insnbuf insn, uint32 val)
316   uint32 tie_t;
317   tie_t = (val << 28) >> 28;
318   insn[0] = (insn[0] & ~0xf) | (tie_t << 0);
321 static unsigned
322 Field_n_Slot_inst_get (const xtensa_insnbuf insn)
324   unsigned tie_t = 0;
325   tie_t = (tie_t << 2) | ((insn[0] << 26) >> 30);
326   return tie_t;
329 static void
330 Field_n_Slot_inst_set (xtensa_insnbuf insn, uint32 val)
332   uint32 tie_t;
333   tie_t = (val << 30) >> 30;
334   insn[0] = (insn[0] & ~0x30) | (tie_t << 4);
337 static unsigned
338 Field_m_Slot_inst_get (const xtensa_insnbuf insn)
340   unsigned tie_t = 0;
341   tie_t = (tie_t << 2) | ((insn[0] << 24) >> 30);
342   return tie_t;
345 static void
346 Field_m_Slot_inst_set (xtensa_insnbuf insn, uint32 val)
348   uint32 tie_t;
349   tie_t = (val << 30) >> 30;
350   insn[0] = (insn[0] & ~0xc0) | (tie_t << 6);
353 static unsigned
354 Field_sr_Slot_inst_get (const xtensa_insnbuf insn)
356   unsigned tie_t = 0;
357   tie_t = (tie_t << 4) | ((insn[0] << 16) >> 28);
358   tie_t = (tie_t << 4) | ((insn[0] << 20) >> 28);
359   return tie_t;
362 static void
363 Field_sr_Slot_inst_set (xtensa_insnbuf insn, uint32 val)
365   uint32 tie_t;
366   tie_t = (val << 28) >> 28;
367   insn[0] = (insn[0] & ~0xf00) | (tie_t << 8);
368   tie_t = (val << 24) >> 28;
369   insn[0] = (insn[0] & ~0xf000) | (tie_t << 12);
372 static unsigned
373 Field_thi3_Slot_inst_get (const xtensa_insnbuf insn)
375   unsigned tie_t = 0;
376   tie_t = (tie_t << 3) | ((insn[0] << 24) >> 29);
377   return tie_t;
380 static void
381 Field_thi3_Slot_inst_set (xtensa_insnbuf insn, uint32 val)
383   uint32 tie_t;
384   tie_t = (val << 29) >> 29;
385   insn[0] = (insn[0] & ~0xe0) | (tie_t << 5);
388 static unsigned
389 Field_st_Slot_inst_get (const xtensa_insnbuf insn)
391   unsigned tie_t = 0;
392   tie_t = (tie_t << 4) | ((insn[0] << 20) >> 28);
393   tie_t = (tie_t << 4) | ((insn[0] << 24) >> 28);
394   return tie_t;
397 static void
398 Field_st_Slot_inst_set (xtensa_insnbuf insn, uint32 val)
400   uint32 tie_t;
401   tie_t = (val << 28) >> 28;
402   insn[0] = (insn[0] & ~0xf0) | (tie_t << 4);
403   tie_t = (val << 24) >> 28;
404   insn[0] = (insn[0] & ~0xf00) | (tie_t << 8);
407 static unsigned
408 Field_s3to1_Slot_inst_get (const xtensa_insnbuf insn)
410   unsigned tie_t = 0;
411   tie_t = (tie_t << 3) | ((insn[0] << 20) >> 29);
412   return tie_t;
415 static void
416 Field_s3to1_Slot_inst_set (xtensa_insnbuf insn, uint32 val)
418   uint32 tie_t;
419   tie_t = (val << 29) >> 29;
420   insn[0] = (insn[0] & ~0xe00) | (tie_t << 9);
423 static unsigned
424 Field_op0_Slot_inst16a_get (const xtensa_insnbuf insn)
426   unsigned tie_t = 0;
427   tie_t = (tie_t << 4) | ((insn[0] << 28) >> 28);
428   return tie_t;
431 static void
432 Field_op0_Slot_inst16a_set (xtensa_insnbuf insn, uint32 val)
434   uint32 tie_t;
435   tie_t = (val << 28) >> 28;
436   insn[0] = (insn[0] & ~0xf) | (tie_t << 0);
439 static unsigned
440 Field_t_Slot_inst16b_get (const xtensa_insnbuf insn)
442   unsigned tie_t = 0;
443   tie_t = (tie_t << 4) | ((insn[0] << 24) >> 28);
444   return tie_t;
447 static void
448 Field_t_Slot_inst16b_set (xtensa_insnbuf insn, uint32 val)
450   uint32 tie_t;
451   tie_t = (val << 28) >> 28;
452   insn[0] = (insn[0] & ~0xf0) | (tie_t << 4);
455 static unsigned
456 Field_r_Slot_inst16b_get (const xtensa_insnbuf insn)
458   unsigned tie_t = 0;
459   tie_t = (tie_t << 4) | ((insn[0] << 16) >> 28);
460   return tie_t;
463 static void
464 Field_r_Slot_inst16b_set (xtensa_insnbuf insn, uint32 val)
466   uint32 tie_t;
467   tie_t = (val << 28) >> 28;
468   insn[0] = (insn[0] & ~0xf000) | (tie_t << 12);
471 static unsigned
472 Field_op0_Slot_inst16b_get (const xtensa_insnbuf insn)
474   unsigned tie_t = 0;
475   tie_t = (tie_t << 4) | ((insn[0] << 28) >> 28);
476   return tie_t;
479 static void
480 Field_op0_Slot_inst16b_set (xtensa_insnbuf insn, uint32 val)
482   uint32 tie_t;
483   tie_t = (val << 28) >> 28;
484   insn[0] = (insn[0] & ~0xf) | (tie_t << 0);
487 static unsigned
488 Field_z_Slot_inst16b_get (const xtensa_insnbuf insn)
490   unsigned tie_t = 0;
491   tie_t = (tie_t << 1) | ((insn[0] << 25) >> 31);
492   return tie_t;
495 static void
496 Field_z_Slot_inst16b_set (xtensa_insnbuf insn, uint32 val)
498   uint32 tie_t;
499   tie_t = (val << 31) >> 31;
500   insn[0] = (insn[0] & ~0x40) | (tie_t << 6);
503 static unsigned
504 Field_i_Slot_inst16b_get (const xtensa_insnbuf insn)
506   unsigned tie_t = 0;
507   tie_t = (tie_t << 1) | ((insn[0] << 24) >> 31);
508   return tie_t;
511 static void
512 Field_i_Slot_inst16b_set (xtensa_insnbuf insn, uint32 val)
514   uint32 tie_t;
515   tie_t = (val << 31) >> 31;
516   insn[0] = (insn[0] & ~0x80) | (tie_t << 7);
519 static unsigned
520 Field_s_Slot_inst16b_get (const xtensa_insnbuf insn)
522   unsigned tie_t = 0;
523   tie_t = (tie_t << 4) | ((insn[0] << 20) >> 28);
524   return tie_t;
527 static void
528 Field_s_Slot_inst16b_set (xtensa_insnbuf insn, uint32 val)
530   uint32 tie_t;
531   tie_t = (val << 28) >> 28;
532   insn[0] = (insn[0] & ~0xf00) | (tie_t << 8);
535 static unsigned
536 Field_t_Slot_inst16a_get (const xtensa_insnbuf insn)
538   unsigned tie_t = 0;
539   tie_t = (tie_t << 4) | ((insn[0] << 24) >> 28);
540   return tie_t;
543 static void
544 Field_t_Slot_inst16a_set (xtensa_insnbuf insn, uint32 val)
546   uint32 tie_t;
547   tie_t = (val << 28) >> 28;
548   insn[0] = (insn[0] & ~0xf0) | (tie_t << 4);
551 static unsigned
552 Field_bbi4_Slot_inst_get (const xtensa_insnbuf insn)
554   unsigned tie_t = 0;
555   tie_t = (tie_t << 1) | ((insn[0] << 19) >> 31);
556   return tie_t;
559 static void
560 Field_bbi4_Slot_inst_set (xtensa_insnbuf insn, uint32 val)
562   uint32 tie_t;
563   tie_t = (val << 31) >> 31;
564   insn[0] = (insn[0] & ~0x1000) | (tie_t << 12);
567 static unsigned
568 Field_bbi_Slot_inst_get (const xtensa_insnbuf insn)
570   unsigned tie_t = 0;
571   tie_t = (tie_t << 1) | ((insn[0] << 19) >> 31);
572   tie_t = (tie_t << 4) | ((insn[0] << 24) >> 28);
573   return tie_t;
576 static void
577 Field_bbi_Slot_inst_set (xtensa_insnbuf insn, uint32 val)
579   uint32 tie_t;
580   tie_t = (val << 28) >> 28;
581   insn[0] = (insn[0] & ~0xf0) | (tie_t << 4);
582   tie_t = (val << 27) >> 31;
583   insn[0] = (insn[0] & ~0x1000) | (tie_t << 12);
586 static unsigned
587 Field_imm12_Slot_inst_get (const xtensa_insnbuf insn)
589   unsigned tie_t = 0;
590   tie_t = (tie_t << 12) | ((insn[0] << 8) >> 20);
591   return tie_t;
594 static void
595 Field_imm12_Slot_inst_set (xtensa_insnbuf insn, uint32 val)
597   uint32 tie_t;
598   tie_t = (val << 20) >> 20;
599   insn[0] = (insn[0] & ~0xfff000) | (tie_t << 12);
602 static unsigned
603 Field_imm8_Slot_inst_get (const xtensa_insnbuf insn)
605   unsigned tie_t = 0;
606   tie_t = (tie_t << 8) | ((insn[0] << 8) >> 24);
607   return tie_t;
610 static void
611 Field_imm8_Slot_inst_set (xtensa_insnbuf insn, uint32 val)
613   uint32 tie_t;
614   tie_t = (val << 24) >> 24;
615   insn[0] = (insn[0] & ~0xff0000) | (tie_t << 16);
618 static unsigned
619 Field_s_Slot_inst16a_get (const xtensa_insnbuf insn)
621   unsigned tie_t = 0;
622   tie_t = (tie_t << 4) | ((insn[0] << 20) >> 28);
623   return tie_t;
626 static void
627 Field_s_Slot_inst16a_set (xtensa_insnbuf insn, uint32 val)
629   uint32 tie_t;
630   tie_t = (val << 28) >> 28;
631   insn[0] = (insn[0] & ~0xf00) | (tie_t << 8);
634 static unsigned
635 Field_imm12b_Slot_inst_get (const xtensa_insnbuf insn)
637   unsigned tie_t = 0;
638   tie_t = (tie_t << 4) | ((insn[0] << 20) >> 28);
639   tie_t = (tie_t << 8) | ((insn[0] << 8) >> 24);
640   return tie_t;
643 static void
644 Field_imm12b_Slot_inst_set (xtensa_insnbuf insn, uint32 val)
646   uint32 tie_t;
647   tie_t = (val << 24) >> 24;
648   insn[0] = (insn[0] & ~0xff0000) | (tie_t << 16);
649   tie_t = (val << 20) >> 28;
650   insn[0] = (insn[0] & ~0xf00) | (tie_t << 8);
653 static unsigned
654 Field_imm16_Slot_inst_get (const xtensa_insnbuf insn)
656   unsigned tie_t = 0;
657   tie_t = (tie_t << 16) | ((insn[0] << 8) >> 16);
658   return tie_t;
661 static void
662 Field_imm16_Slot_inst_set (xtensa_insnbuf insn, uint32 val)
664   uint32 tie_t;
665   tie_t = (val << 16) >> 16;
666   insn[0] = (insn[0] & ~0xffff00) | (tie_t << 8);
669 static unsigned
670 Field_offset_Slot_inst_get (const xtensa_insnbuf insn)
672   unsigned tie_t = 0;
673   tie_t = (tie_t << 18) | ((insn[0] << 8) >> 14);
674   return tie_t;
677 static void
678 Field_offset_Slot_inst_set (xtensa_insnbuf insn, uint32 val)
680   uint32 tie_t;
681   tie_t = (val << 14) >> 14;
682   insn[0] = (insn[0] & ~0xffffc0) | (tie_t << 6);
685 static unsigned
686 Field_r_Slot_inst16a_get (const xtensa_insnbuf insn)
688   unsigned tie_t = 0;
689   tie_t = (tie_t << 4) | ((insn[0] << 16) >> 28);
690   return tie_t;
693 static void
694 Field_r_Slot_inst16a_set (xtensa_insnbuf insn, uint32 val)
696   uint32 tie_t;
697   tie_t = (val << 28) >> 28;
698   insn[0] = (insn[0] & ~0xf000) | (tie_t << 12);
701 static unsigned
702 Field_sa4_Slot_inst_get (const xtensa_insnbuf insn)
704   unsigned tie_t = 0;
705   tie_t = (tie_t << 1) | ((insn[0] << 11) >> 31);
706   return tie_t;
709 static void
710 Field_sa4_Slot_inst_set (xtensa_insnbuf insn, uint32 val)
712   uint32 tie_t;
713   tie_t = (val << 31) >> 31;
714   insn[0] = (insn[0] & ~0x100000) | (tie_t << 20);
717 static unsigned
718 Field_sae4_Slot_inst_get (const xtensa_insnbuf insn)
720   unsigned tie_t = 0;
721   tie_t = (tie_t << 1) | ((insn[0] << 15) >> 31);
722   return tie_t;
725 static void
726 Field_sae4_Slot_inst_set (xtensa_insnbuf insn, uint32 val)
728   uint32 tie_t;
729   tie_t = (val << 31) >> 31;
730   insn[0] = (insn[0] & ~0x10000) | (tie_t << 16);
733 static unsigned
734 Field_sae_Slot_inst_get (const xtensa_insnbuf insn)
736   unsigned tie_t = 0;
737   tie_t = (tie_t << 1) | ((insn[0] << 15) >> 31);
738   tie_t = (tie_t << 4) | ((insn[0] << 20) >> 28);
739   return tie_t;
742 static void
743 Field_sae_Slot_inst_set (xtensa_insnbuf insn, uint32 val)
745   uint32 tie_t;
746   tie_t = (val << 28) >> 28;
747   insn[0] = (insn[0] & ~0xf00) | (tie_t << 8);
748   tie_t = (val << 27) >> 31;
749   insn[0] = (insn[0] & ~0x10000) | (tie_t << 16);
752 static unsigned
753 Field_sal_Slot_inst_get (const xtensa_insnbuf insn)
755   unsigned tie_t = 0;
756   tie_t = (tie_t << 1) | ((insn[0] << 11) >> 31);
757   tie_t = (tie_t << 4) | ((insn[0] << 24) >> 28);
758   return tie_t;
761 static void
762 Field_sal_Slot_inst_set (xtensa_insnbuf insn, uint32 val)
764   uint32 tie_t;
765   tie_t = (val << 28) >> 28;
766   insn[0] = (insn[0] & ~0xf0) | (tie_t << 4);
767   tie_t = (val << 27) >> 31;
768   insn[0] = (insn[0] & ~0x100000) | (tie_t << 20);
771 static unsigned
772 Field_sargt_Slot_inst_get (const xtensa_insnbuf insn)
774   unsigned tie_t = 0;
775   tie_t = (tie_t << 1) | ((insn[0] << 11) >> 31);
776   tie_t = (tie_t << 4) | ((insn[0] << 20) >> 28);
777   return tie_t;
780 static void
781 Field_sargt_Slot_inst_set (xtensa_insnbuf insn, uint32 val)
783   uint32 tie_t;
784   tie_t = (val << 28) >> 28;
785   insn[0] = (insn[0] & ~0xf00) | (tie_t << 8);
786   tie_t = (val << 27) >> 31;
787   insn[0] = (insn[0] & ~0x100000) | (tie_t << 20);
790 static unsigned
791 Field_sas4_Slot_inst_get (const xtensa_insnbuf insn)
793   unsigned tie_t = 0;
794   tie_t = (tie_t << 1) | ((insn[0] << 27) >> 31);
795   return tie_t;
798 static void
799 Field_sas4_Slot_inst_set (xtensa_insnbuf insn, uint32 val)
801   uint32 tie_t;
802   tie_t = (val << 31) >> 31;
803   insn[0] = (insn[0] & ~0x10) | (tie_t << 4);
806 static unsigned
807 Field_sas_Slot_inst_get (const xtensa_insnbuf insn)
809   unsigned tie_t = 0;
810   tie_t = (tie_t << 1) | ((insn[0] << 27) >> 31);
811   tie_t = (tie_t << 4) | ((insn[0] << 20) >> 28);
812   return tie_t;
815 static void
816 Field_sas_Slot_inst_set (xtensa_insnbuf insn, uint32 val)
818   uint32 tie_t;
819   tie_t = (val << 28) >> 28;
820   insn[0] = (insn[0] & ~0xf00) | (tie_t << 8);
821   tie_t = (val << 27) >> 31;
822   insn[0] = (insn[0] & ~0x10) | (tie_t << 4);
825 static unsigned
826 Field_sr_Slot_inst16a_get (const xtensa_insnbuf insn)
828   unsigned tie_t = 0;
829   tie_t = (tie_t << 4) | ((insn[0] << 16) >> 28);
830   tie_t = (tie_t << 4) | ((insn[0] << 20) >> 28);
831   return tie_t;
834 static void
835 Field_sr_Slot_inst16a_set (xtensa_insnbuf insn, uint32 val)
837   uint32 tie_t;
838   tie_t = (val << 28) >> 28;
839   insn[0] = (insn[0] & ~0xf00) | (tie_t << 8);
840   tie_t = (val << 24) >> 28;
841   insn[0] = (insn[0] & ~0xf000) | (tie_t << 12);
844 static unsigned
845 Field_sr_Slot_inst16b_get (const xtensa_insnbuf insn)
847   unsigned tie_t = 0;
848   tie_t = (tie_t << 4) | ((insn[0] << 16) >> 28);
849   tie_t = (tie_t << 4) | ((insn[0] << 20) >> 28);
850   return tie_t;
853 static void
854 Field_sr_Slot_inst16b_set (xtensa_insnbuf insn, uint32 val)
856   uint32 tie_t;
857   tie_t = (val << 28) >> 28;
858   insn[0] = (insn[0] & ~0xf00) | (tie_t << 8);
859   tie_t = (val << 24) >> 28;
860   insn[0] = (insn[0] & ~0xf000) | (tie_t << 12);
863 static unsigned
864 Field_st_Slot_inst16a_get (const xtensa_insnbuf insn)
866   unsigned tie_t = 0;
867   tie_t = (tie_t << 4) | ((insn[0] << 20) >> 28);
868   tie_t = (tie_t << 4) | ((insn[0] << 24) >> 28);
869   return tie_t;
872 static void
873 Field_st_Slot_inst16a_set (xtensa_insnbuf insn, uint32 val)
875   uint32 tie_t;
876   tie_t = (val << 28) >> 28;
877   insn[0] = (insn[0] & ~0xf0) | (tie_t << 4);
878   tie_t = (val << 24) >> 28;
879   insn[0] = (insn[0] & ~0xf00) | (tie_t << 8);
882 static unsigned
883 Field_st_Slot_inst16b_get (const xtensa_insnbuf insn)
885   unsigned tie_t = 0;
886   tie_t = (tie_t << 4) | ((insn[0] << 20) >> 28);
887   tie_t = (tie_t << 4) | ((insn[0] << 24) >> 28);
888   return tie_t;
891 static void
892 Field_st_Slot_inst16b_set (xtensa_insnbuf insn, uint32 val)
894   uint32 tie_t;
895   tie_t = (val << 28) >> 28;
896   insn[0] = (insn[0] & ~0xf0) | (tie_t << 4);
897   tie_t = (val << 24) >> 28;
898   insn[0] = (insn[0] & ~0xf00) | (tie_t << 8);
901 static unsigned
902 Field_imm4_Slot_inst_get (const xtensa_insnbuf insn)
904   unsigned tie_t = 0;
905   tie_t = (tie_t << 4) | ((insn[0] << 16) >> 28);
906   return tie_t;
909 static void
910 Field_imm4_Slot_inst_set (xtensa_insnbuf insn, uint32 val)
912   uint32 tie_t;
913   tie_t = (val << 28) >> 28;
914   insn[0] = (insn[0] & ~0xf000) | (tie_t << 12);
917 static unsigned
918 Field_imm4_Slot_inst16a_get (const xtensa_insnbuf insn)
920   unsigned tie_t = 0;
921   tie_t = (tie_t << 4) | ((insn[0] << 16) >> 28);
922   return tie_t;
925 static void
926 Field_imm4_Slot_inst16a_set (xtensa_insnbuf insn, uint32 val)
928   uint32 tie_t;
929   tie_t = (val << 28) >> 28;
930   insn[0] = (insn[0] & ~0xf000) | (tie_t << 12);
933 static unsigned
934 Field_imm4_Slot_inst16b_get (const xtensa_insnbuf insn)
936   unsigned tie_t = 0;
937   tie_t = (tie_t << 4) | ((insn[0] << 16) >> 28);
938   return tie_t;
941 static void
942 Field_imm4_Slot_inst16b_set (xtensa_insnbuf insn, uint32 val)
944   uint32 tie_t;
945   tie_t = (val << 28) >> 28;
946   insn[0] = (insn[0] & ~0xf000) | (tie_t << 12);
949 static unsigned
950 Field_mn_Slot_inst_get (const xtensa_insnbuf insn)
952   unsigned tie_t = 0;
953   tie_t = (tie_t << 2) | ((insn[0] << 24) >> 30);
954   tie_t = (tie_t << 2) | ((insn[0] << 26) >> 30);
955   return tie_t;
958 static void
959 Field_mn_Slot_inst_set (xtensa_insnbuf insn, uint32 val)
961   uint32 tie_t;
962   tie_t = (val << 30) >> 30;
963   insn[0] = (insn[0] & ~0x30) | (tie_t << 4);
964   tie_t = (val << 28) >> 30;
965   insn[0] = (insn[0] & ~0xc0) | (tie_t << 6);
968 static unsigned
969 Field_i_Slot_inst16a_get (const xtensa_insnbuf insn)
971   unsigned tie_t = 0;
972   tie_t = (tie_t << 1) | ((insn[0] << 24) >> 31);
973   return tie_t;
976 static void
977 Field_i_Slot_inst16a_set (xtensa_insnbuf insn, uint32 val)
979   uint32 tie_t;
980   tie_t = (val << 31) >> 31;
981   insn[0] = (insn[0] & ~0x80) | (tie_t << 7);
984 static unsigned
985 Field_imm6lo_Slot_inst16a_get (const xtensa_insnbuf insn)
987   unsigned tie_t = 0;
988   tie_t = (tie_t << 4) | ((insn[0] << 16) >> 28);
989   return tie_t;
992 static void
993 Field_imm6lo_Slot_inst16a_set (xtensa_insnbuf insn, uint32 val)
995   uint32 tie_t;
996   tie_t = (val << 28) >> 28;
997   insn[0] = (insn[0] & ~0xf000) | (tie_t << 12);
1000 static unsigned
1001 Field_imm6lo_Slot_inst16b_get (const xtensa_insnbuf insn)
1003   unsigned tie_t = 0;
1004   tie_t = (tie_t << 4) | ((insn[0] << 16) >> 28);
1005   return tie_t;
1008 static void
1009 Field_imm6lo_Slot_inst16b_set (xtensa_insnbuf insn, uint32 val)
1011   uint32 tie_t;
1012   tie_t = (val << 28) >> 28;
1013   insn[0] = (insn[0] & ~0xf000) | (tie_t << 12);
1016 static unsigned
1017 Field_imm6hi_Slot_inst16a_get (const xtensa_insnbuf insn)
1019   unsigned tie_t = 0;
1020   tie_t = (tie_t << 2) | ((insn[0] << 26) >> 30);
1021   return tie_t;
1024 static void
1025 Field_imm6hi_Slot_inst16a_set (xtensa_insnbuf insn, uint32 val)
1027   uint32 tie_t;
1028   tie_t = (val << 30) >> 30;
1029   insn[0] = (insn[0] & ~0x30) | (tie_t << 4);
1032 static unsigned
1033 Field_imm6hi_Slot_inst16b_get (const xtensa_insnbuf insn)
1035   unsigned tie_t = 0;
1036   tie_t = (tie_t << 2) | ((insn[0] << 26) >> 30);
1037   return tie_t;
1040 static void
1041 Field_imm6hi_Slot_inst16b_set (xtensa_insnbuf insn, uint32 val)
1043   uint32 tie_t;
1044   tie_t = (val << 30) >> 30;
1045   insn[0] = (insn[0] & ~0x30) | (tie_t << 4);
1048 static unsigned
1049 Field_imm7lo_Slot_inst16a_get (const xtensa_insnbuf insn)
1051   unsigned tie_t = 0;
1052   tie_t = (tie_t << 4) | ((insn[0] << 16) >> 28);
1053   return tie_t;
1056 static void
1057 Field_imm7lo_Slot_inst16a_set (xtensa_insnbuf insn, uint32 val)
1059   uint32 tie_t;
1060   tie_t = (val << 28) >> 28;
1061   insn[0] = (insn[0] & ~0xf000) | (tie_t << 12);
1064 static unsigned
1065 Field_imm7lo_Slot_inst16b_get (const xtensa_insnbuf insn)
1067   unsigned tie_t = 0;
1068   tie_t = (tie_t << 4) | ((insn[0] << 16) >> 28);
1069   return tie_t;
1072 static void
1073 Field_imm7lo_Slot_inst16b_set (xtensa_insnbuf insn, uint32 val)
1075   uint32 tie_t;
1076   tie_t = (val << 28) >> 28;
1077   insn[0] = (insn[0] & ~0xf000) | (tie_t << 12);
1080 static unsigned
1081 Field_imm7hi_Slot_inst16a_get (const xtensa_insnbuf insn)
1083   unsigned tie_t = 0;
1084   tie_t = (tie_t << 3) | ((insn[0] << 25) >> 29);
1085   return tie_t;
1088 static void
1089 Field_imm7hi_Slot_inst16a_set (xtensa_insnbuf insn, uint32 val)
1091   uint32 tie_t;
1092   tie_t = (val << 29) >> 29;
1093   insn[0] = (insn[0] & ~0x70) | (tie_t << 4);
1096 static unsigned
1097 Field_imm7hi_Slot_inst16b_get (const xtensa_insnbuf insn)
1099   unsigned tie_t = 0;
1100   tie_t = (tie_t << 3) | ((insn[0] << 25) >> 29);
1101   return tie_t;
1104 static void
1105 Field_imm7hi_Slot_inst16b_set (xtensa_insnbuf insn, uint32 val)
1107   uint32 tie_t;
1108   tie_t = (val << 29) >> 29;
1109   insn[0] = (insn[0] & ~0x70) | (tie_t << 4);
1112 static unsigned
1113 Field_z_Slot_inst16a_get (const xtensa_insnbuf insn)
1115   unsigned tie_t = 0;
1116   tie_t = (tie_t << 1) | ((insn[0] << 25) >> 31);
1117   return tie_t;
1120 static void
1121 Field_z_Slot_inst16a_set (xtensa_insnbuf insn, uint32 val)
1123   uint32 tie_t;
1124   tie_t = (val << 31) >> 31;
1125   insn[0] = (insn[0] & ~0x40) | (tie_t << 6);
1128 static unsigned
1129 Field_imm6_Slot_inst16a_get (const xtensa_insnbuf insn)
1131   unsigned tie_t = 0;
1132   tie_t = (tie_t << 2) | ((insn[0] << 26) >> 30);
1133   tie_t = (tie_t << 4) | ((insn[0] << 16) >> 28);
1134   return tie_t;
1137 static void
1138 Field_imm6_Slot_inst16a_set (xtensa_insnbuf insn, uint32 val)
1140   uint32 tie_t;
1141   tie_t = (val << 28) >> 28;
1142   insn[0] = (insn[0] & ~0xf000) | (tie_t << 12);
1143   tie_t = (val << 26) >> 30;
1144   insn[0] = (insn[0] & ~0x30) | (tie_t << 4);
1147 static unsigned
1148 Field_imm6_Slot_inst16b_get (const xtensa_insnbuf insn)
1150   unsigned tie_t = 0;
1151   tie_t = (tie_t << 2) | ((insn[0] << 26) >> 30);
1152   tie_t = (tie_t << 4) | ((insn[0] << 16) >> 28);
1153   return tie_t;
1156 static void
1157 Field_imm6_Slot_inst16b_set (xtensa_insnbuf insn, uint32 val)
1159   uint32 tie_t;
1160   tie_t = (val << 28) >> 28;
1161   insn[0] = (insn[0] & ~0xf000) | (tie_t << 12);
1162   tie_t = (val << 26) >> 30;
1163   insn[0] = (insn[0] & ~0x30) | (tie_t << 4);
1166 static unsigned
1167 Field_imm7_Slot_inst16a_get (const xtensa_insnbuf insn)
1169   unsigned tie_t = 0;
1170   tie_t = (tie_t << 3) | ((insn[0] << 25) >> 29);
1171   tie_t = (tie_t << 4) | ((insn[0] << 16) >> 28);
1172   return tie_t;
1175 static void
1176 Field_imm7_Slot_inst16a_set (xtensa_insnbuf insn, uint32 val)
1178   uint32 tie_t;
1179   tie_t = (val << 28) >> 28;
1180   insn[0] = (insn[0] & ~0xf000) | (tie_t << 12);
1181   tie_t = (val << 25) >> 29;
1182   insn[0] = (insn[0] & ~0x70) | (tie_t << 4);
1185 static unsigned
1186 Field_imm7_Slot_inst16b_get (const xtensa_insnbuf insn)
1188   unsigned tie_t = 0;
1189   tie_t = (tie_t << 3) | ((insn[0] << 25) >> 29);
1190   tie_t = (tie_t << 4) | ((insn[0] << 16) >> 28);
1191   return tie_t;
1194 static void
1195 Field_imm7_Slot_inst16b_set (xtensa_insnbuf insn, uint32 val)
1197   uint32 tie_t;
1198   tie_t = (val << 28) >> 28;
1199   insn[0] = (insn[0] & ~0xf000) | (tie_t << 12);
1200   tie_t = (val << 25) >> 29;
1201   insn[0] = (insn[0] & ~0x70) | (tie_t << 4);
1204 static unsigned
1205 Field_xt_wbr15_imm_Slot_inst_get (const xtensa_insnbuf insn)
1207   unsigned tie_t = 0;
1208   tie_t = (tie_t << 15) | ((insn[0] << 8) >> 17);
1209   return tie_t;
1212 static void
1213 Field_xt_wbr15_imm_Slot_inst_set (xtensa_insnbuf insn, uint32 val)
1215   uint32 tie_t;
1216   tie_t = (val << 17) >> 17;
1217   insn[0] = (insn[0] & ~0xfffe00) | (tie_t << 9);
1220 static unsigned
1221 Field_xt_wbr18_imm_Slot_inst_get (const xtensa_insnbuf insn)
1223   unsigned tie_t = 0;
1224   tie_t = (tie_t << 18) | ((insn[0] << 8) >> 14);
1225   return tie_t;
1228 static void
1229 Field_xt_wbr18_imm_Slot_inst_set (xtensa_insnbuf insn, uint32 val)
1231   uint32 tie_t;
1232   tie_t = (val << 14) >> 14;
1233   insn[0] = (insn[0] & ~0xffffc0) | (tie_t << 6);
1236 static unsigned
1237 Field_bitindex_Slot_inst_get (const xtensa_insnbuf insn)
1239   unsigned tie_t = 0;
1240   tie_t = (tie_t << 1) | ((insn[0] << 23) >> 31);
1241   tie_t = (tie_t << 4) | ((insn[0] << 24) >> 28);
1242   return tie_t;
1245 static void
1246 Field_bitindex_Slot_inst_set (xtensa_insnbuf insn, uint32 val)
1248   uint32 tie_t;
1249   tie_t = (val << 28) >> 28;
1250   insn[0] = (insn[0] & ~0xf0) | (tie_t << 4);
1251   tie_t = (val << 27) >> 31;
1252   insn[0] = (insn[0] & ~0x100) | (tie_t << 8);
1255 static unsigned
1256 Field_bitindex_Slot_inst16a_get (const xtensa_insnbuf insn)
1258   unsigned tie_t = 0;
1259   tie_t = (tie_t << 1) | ((insn[0] << 23) >> 31);
1260   tie_t = (tie_t << 4) | ((insn[0] << 24) >> 28);
1261   return tie_t;
1264 static void
1265 Field_bitindex_Slot_inst16a_set (xtensa_insnbuf insn, uint32 val)
1267   uint32 tie_t;
1268   tie_t = (val << 28) >> 28;
1269   insn[0] = (insn[0] & ~0xf0) | (tie_t << 4);
1270   tie_t = (val << 27) >> 31;
1271   insn[0] = (insn[0] & ~0x100) | (tie_t << 8);
1274 static unsigned
1275 Field_bitindex_Slot_inst16b_get (const xtensa_insnbuf insn)
1277   unsigned tie_t = 0;
1278   tie_t = (tie_t << 1) | ((insn[0] << 23) >> 31);
1279   tie_t = (tie_t << 4) | ((insn[0] << 24) >> 28);
1280   return tie_t;
1283 static void
1284 Field_bitindex_Slot_inst16b_set (xtensa_insnbuf insn, uint32 val)
1286   uint32 tie_t;
1287   tie_t = (val << 28) >> 28;
1288   insn[0] = (insn[0] & ~0xf0) | (tie_t << 4);
1289   tie_t = (val << 27) >> 31;
1290   insn[0] = (insn[0] & ~0x100) | (tie_t << 8);
1293 static unsigned
1294 Field_s3to1_Slot_inst16a_get (const xtensa_insnbuf insn)
1296   unsigned tie_t = 0;
1297   tie_t = (tie_t << 3) | ((insn[0] << 20) >> 29);
1298   return tie_t;
1301 static void
1302 Field_s3to1_Slot_inst16a_set (xtensa_insnbuf insn, uint32 val)
1304   uint32 tie_t;
1305   tie_t = (val << 29) >> 29;
1306   insn[0] = (insn[0] & ~0xe00) | (tie_t << 9);
1309 static unsigned
1310 Field_s3to1_Slot_inst16b_get (const xtensa_insnbuf insn)
1312   unsigned tie_t = 0;
1313   tie_t = (tie_t << 3) | ((insn[0] << 20) >> 29);
1314   return tie_t;
1317 static void
1318 Field_s3to1_Slot_inst16b_set (xtensa_insnbuf insn, uint32 val)
1320   uint32 tie_t;
1321   tie_t = (val << 29) >> 29;
1322   insn[0] = (insn[0] & ~0xe00) | (tie_t << 9);
1325 static void
1326 Implicit_Field_set (xtensa_insnbuf insn ATTRIBUTE_UNUSED,
1327                     uint32 val ATTRIBUTE_UNUSED)
1329   /* Do nothing.  */
1332 static unsigned
1333 Implicit_Field_ar0_get (const xtensa_insnbuf insn ATTRIBUTE_UNUSED)
1335   return 0;
1338 static unsigned
1339 Implicit_Field_ar4_get (const xtensa_insnbuf insn ATTRIBUTE_UNUSED)
1341   return 4;
1344 static unsigned
1345 Implicit_Field_ar8_get (const xtensa_insnbuf insn ATTRIBUTE_UNUSED)
1347   return 8;
1350 static unsigned
1351 Implicit_Field_ar12_get (const xtensa_insnbuf insn ATTRIBUTE_UNUSED)
1353   return 12;
1356 enum xtensa_field_id {
1357   FIELD_t,
1358   FIELD_bbi4,
1359   FIELD_bbi,
1360   FIELD_imm12,
1361   FIELD_imm8,
1362   FIELD_s,
1363   FIELD_imm12b,
1364   FIELD_imm16,
1365   FIELD_m,
1366   FIELD_n,
1367   FIELD_offset,
1368   FIELD_op0,
1369   FIELD_op1,
1370   FIELD_op2,
1371   FIELD_r,
1372   FIELD_sa4,
1373   FIELD_sae4,
1374   FIELD_sae,
1375   FIELD_sal,
1376   FIELD_sargt,
1377   FIELD_sas4,
1378   FIELD_sas,
1379   FIELD_sr,
1380   FIELD_st,
1381   FIELD_thi3,
1382   FIELD_imm4,
1383   FIELD_mn,
1384   FIELD_i,
1385   FIELD_imm6lo,
1386   FIELD_imm6hi,
1387   FIELD_imm7lo,
1388   FIELD_imm7hi,
1389   FIELD_z,
1390   FIELD_imm6,
1391   FIELD_imm7,
1392   FIELD_xt_wbr15_imm,
1393   FIELD_xt_wbr18_imm,
1394   FIELD_bitindex,
1395   FIELD_s3to1,
1396   FIELD__ar0,
1397   FIELD__ar4,
1398   FIELD__ar8,
1399   FIELD__ar12
1403 /* Functional units.  */
1405 #define funcUnits 0
1408 /* Register files.  */
1410 enum xtensa_regfile_id {
1411   REGFILE_AR
1414 static xtensa_regfile_internal regfiles[] = {
1415   { "AR", "a", REGFILE_AR, 32, 32 }
1419 /* Interfaces.  */
1421 static xtensa_interface_internal interfaces[] = {
1422   { "IMPWIRE", 32, 0, 0, 'i' }
1425 enum xtensa_interface_id {
1426   INTERFACE_IMPWIRE
1430 /* Constant tables.  */
1432 /* constant table ai4c */
1433 static const unsigned CONST_TBL_ai4c_0[] = {
1434   0xffffffff,
1435   0x1,
1436   0x2,
1437   0x3,
1438   0x4,
1439   0x5,
1440   0x6,
1441   0x7,
1442   0x8,
1443   0x9,
1444   0xa,
1445   0xb,
1446   0xc,
1447   0xd,
1448   0xe,
1449   0xf,
1450   0
1453 /* constant table b4c */
1454 static const unsigned CONST_TBL_b4c_0[] = {
1455   0xffffffff,
1456   0x1,
1457   0x2,
1458   0x3,
1459   0x4,
1460   0x5,
1461   0x6,
1462   0x7,
1463   0x8,
1464   0xa,
1465   0xc,
1466   0x10,
1467   0x20,
1468   0x40,
1469   0x80,
1470   0x100,
1471   0
1474 /* constant table b4cu */
1475 static const unsigned CONST_TBL_b4cu_0[] = {
1476   0x8000,
1477   0x10000,
1478   0x2,
1479   0x3,
1480   0x4,
1481   0x5,
1482   0x6,
1483   0x7,
1484   0x8,
1485   0xa,
1486   0xc,
1487   0x10,
1488   0x20,
1489   0x40,
1490   0x80,
1491   0x100,
1492   0
1496 /* Instruction operands.  */
1498 static int
1499 OperandSem_opnd_sem_soffsetx4_decode (uint32 *valp)
1501   unsigned soffsetx4_out_0;
1502   unsigned soffsetx4_in_0;
1503   soffsetx4_in_0 = *valp & 0x3ffff;
1504   soffsetx4_out_0 = 0x4 + ((((int) soffsetx4_in_0 << 14) >> 14) << 2);
1505   *valp = soffsetx4_out_0;
1506   return 0;
1509 static int
1510 OperandSem_opnd_sem_soffsetx4_encode (uint32 *valp)
1512   unsigned soffsetx4_in_0;
1513   unsigned soffsetx4_out_0;
1514   soffsetx4_out_0 = *valp;
1515   soffsetx4_in_0 = ((soffsetx4_out_0 - 0x4) >> 2) & 0x3ffff;
1516   *valp = soffsetx4_in_0;
1517   return 0;
1520 static int
1521 OperandSem_opnd_sem_uimm12x8_decode (uint32 *valp)
1523   unsigned uimm12x8_out_0;
1524   unsigned uimm12x8_in_0;
1525   uimm12x8_in_0 = *valp & 0xfff;
1526   uimm12x8_out_0 = uimm12x8_in_0 << 3;
1527   *valp = uimm12x8_out_0;
1528   return 0;
1531 static int
1532 OperandSem_opnd_sem_uimm12x8_encode (uint32 *valp)
1534   unsigned uimm12x8_in_0;
1535   unsigned uimm12x8_out_0;
1536   uimm12x8_out_0 = *valp;
1537   uimm12x8_in_0 = ((uimm12x8_out_0 >> 3) & 0xfff);
1538   *valp = uimm12x8_in_0;
1539   return 0;
1542 static int
1543 OperandSem_opnd_sem_simm4_decode (uint32 *valp)
1545   unsigned simm4_out_0;
1546   unsigned simm4_in_0;
1547   simm4_in_0 = *valp & 0xf;
1548   simm4_out_0 = ((int) simm4_in_0 << 28) >> 28;
1549   *valp = simm4_out_0;
1550   return 0;
1553 static int
1554 OperandSem_opnd_sem_simm4_encode (uint32 *valp)
1556   unsigned simm4_in_0;
1557   unsigned simm4_out_0;
1558   simm4_out_0 = *valp;
1559   simm4_in_0 = (simm4_out_0 & 0xf);
1560   *valp = simm4_in_0;
1561   return 0;
1564 static int
1565 OperandSem_opnd_sem_AR_decode (uint32 *valp ATTRIBUTE_UNUSED)
1567   return 0;
1570 static int
1571 OperandSem_opnd_sem_AR_encode (uint32 *valp)
1573   return (*valp >= 32);
1576 static int
1577 OperandSem_opnd_sem_AR_0_decode (uint32 *valp ATTRIBUTE_UNUSED)
1579   return 0;
1582 static int
1583 OperandSem_opnd_sem_AR_0_encode (uint32 *valp)
1585   return (*valp >= 32);
1588 static int
1589 OperandSem_opnd_sem_AR_1_decode (uint32 *valp ATTRIBUTE_UNUSED)
1591   return 0;
1594 static int
1595 OperandSem_opnd_sem_AR_1_encode (uint32 *valp)
1597   return (*valp >= 32);
1600 static int
1601 OperandSem_opnd_sem_AR_2_decode (uint32 *valp ATTRIBUTE_UNUSED)
1603   return 0;
1606 static int
1607 OperandSem_opnd_sem_AR_2_encode (uint32 *valp)
1609   return (*valp >= 32);
1612 static int
1613 OperandSem_opnd_sem_AR_3_decode (uint32 *valp ATTRIBUTE_UNUSED)
1615   return 0;
1618 static int
1619 OperandSem_opnd_sem_AR_3_encode (uint32 *valp)
1621   return (*valp >= 32);
1624 static int
1625 OperandSem_opnd_sem_AR_4_decode (uint32 *valp ATTRIBUTE_UNUSED)
1627   return 0;
1630 static int
1631 OperandSem_opnd_sem_AR_4_encode (uint32 *valp)
1633   return (*valp >= 32);
1636 static int
1637 OperandSem_opnd_sem_immrx4_decode (uint32 *valp)
1639   unsigned immrx4_out_0;
1640   unsigned immrx4_in_0;
1641   immrx4_in_0 = *valp & 0xf;
1642   immrx4_out_0 = (((0xfffffff) << 4) | immrx4_in_0) << 2;
1643   *valp = immrx4_out_0;
1644   return 0;
1647 static int
1648 OperandSem_opnd_sem_immrx4_encode (uint32 *valp)
1650   unsigned immrx4_in_0;
1651   unsigned immrx4_out_0;
1652   immrx4_out_0 = *valp;
1653   immrx4_in_0 = ((immrx4_out_0 >> 2) & 0xf);
1654   *valp = immrx4_in_0;
1655   return 0;
1658 static int
1659 OperandSem_opnd_sem_lsi4x4_decode (uint32 *valp)
1661   unsigned lsi4x4_out_0;
1662   unsigned lsi4x4_in_0;
1663   lsi4x4_in_0 = *valp & 0xf;
1664   lsi4x4_out_0 = lsi4x4_in_0 << 2;
1665   *valp = lsi4x4_out_0;
1666   return 0;
1669 static int
1670 OperandSem_opnd_sem_lsi4x4_encode (uint32 *valp)
1672   unsigned lsi4x4_in_0;
1673   unsigned lsi4x4_out_0;
1674   lsi4x4_out_0 = *valp;
1675   lsi4x4_in_0 = ((lsi4x4_out_0 >> 2) & 0xf);
1676   *valp = lsi4x4_in_0;
1677   return 0;
1680 static int
1681 OperandSem_opnd_sem_simm7_decode (uint32 *valp)
1683   unsigned simm7_out_0;
1684   unsigned simm7_in_0;
1685   simm7_in_0 = *valp & 0x7f;
1686   simm7_out_0 = ((((-((((simm7_in_0 >> 6) & 1)) & (((simm7_in_0 >> 5) & 1)))) & 0x1ffffff)) << 7) | simm7_in_0;
1687   *valp = simm7_out_0;
1688   return 0;
1691 static int
1692 OperandSem_opnd_sem_simm7_encode (uint32 *valp)
1694   unsigned simm7_in_0;
1695   unsigned simm7_out_0;
1696   simm7_out_0 = *valp;
1697   simm7_in_0 = (simm7_out_0 & 0x7f);
1698   *valp = simm7_in_0;
1699   return 0;
1702 static int
1703 OperandSem_opnd_sem_uimm6_decode (uint32 *valp)
1705   unsigned uimm6_out_0;
1706   unsigned uimm6_in_0;
1707   uimm6_in_0 = *valp & 0x3f;
1708   uimm6_out_0 = 0x4 + (((0) << 6) | uimm6_in_0);
1709   *valp = uimm6_out_0;
1710   return 0;
1713 static int
1714 OperandSem_opnd_sem_uimm6_encode (uint32 *valp)
1716   unsigned uimm6_in_0;
1717   unsigned uimm6_out_0;
1718   uimm6_out_0 = *valp;
1719   uimm6_in_0 = (uimm6_out_0 - 0x4) & 0x3f;
1720   *valp = uimm6_in_0;
1721   return 0;
1724 static int
1725 OperandSem_opnd_sem_ai4const_decode (uint32 *valp)
1727   unsigned ai4const_out_0;
1728   unsigned ai4const_in_0;
1729   ai4const_in_0 = *valp & 0xf;
1730   ai4const_out_0 = CONST_TBL_ai4c_0[ai4const_in_0 & 0xf];
1731   *valp = ai4const_out_0;
1732   return 0;
1735 static int
1736 OperandSem_opnd_sem_ai4const_encode (uint32 *valp)
1738   unsigned ai4const_in_0;
1739   unsigned ai4const_out_0;
1740   ai4const_out_0 = *valp;
1741   switch (ai4const_out_0)
1742     {
1743     case 0xffffffff: ai4const_in_0 = 0; break;
1744     case 0x1: ai4const_in_0 = 0x1; break;
1745     case 0x2: ai4const_in_0 = 0x2; break;
1746     case 0x3: ai4const_in_0 = 0x3; break;
1747     case 0x4: ai4const_in_0 = 0x4; break;
1748     case 0x5: ai4const_in_0 = 0x5; break;
1749     case 0x6: ai4const_in_0 = 0x6; break;
1750     case 0x7: ai4const_in_0 = 0x7; break;
1751     case 0x8: ai4const_in_0 = 0x8; break;
1752     case 0x9: ai4const_in_0 = 0x9; break;
1753     case 0xa: ai4const_in_0 = 0xa; break;
1754     case 0xb: ai4const_in_0 = 0xb; break;
1755     case 0xc: ai4const_in_0 = 0xc; break;
1756     case 0xd: ai4const_in_0 = 0xd; break;
1757     case 0xe: ai4const_in_0 = 0xe; break;
1758     default: ai4const_in_0 = 0xf; break;
1759     }
1760   *valp = ai4const_in_0;
1761   return 0;
1764 static int
1765 OperandSem_opnd_sem_b4const_decode (uint32 *valp)
1767   unsigned b4const_out_0;
1768   unsigned b4const_in_0;
1769   b4const_in_0 = *valp & 0xf;
1770   b4const_out_0 = CONST_TBL_b4c_0[b4const_in_0 & 0xf];
1771   *valp = b4const_out_0;
1772   return 0;
1775 static int
1776 OperandSem_opnd_sem_b4const_encode (uint32 *valp)
1778   unsigned b4const_in_0;
1779   unsigned b4const_out_0;
1780   b4const_out_0 = *valp;
1781   switch (b4const_out_0)
1782     {
1783     case 0xffffffff: b4const_in_0 = 0; break;
1784     case 0x1: b4const_in_0 = 0x1; break;
1785     case 0x2: b4const_in_0 = 0x2; break;
1786     case 0x3: b4const_in_0 = 0x3; break;
1787     case 0x4: b4const_in_0 = 0x4; break;
1788     case 0x5: b4const_in_0 = 0x5; break;
1789     case 0x6: b4const_in_0 = 0x6; break;
1790     case 0x7: b4const_in_0 = 0x7; break;
1791     case 0x8: b4const_in_0 = 0x8; break;
1792     case 0xa: b4const_in_0 = 0x9; break;
1793     case 0xc: b4const_in_0 = 0xa; break;
1794     case 0x10: b4const_in_0 = 0xb; break;
1795     case 0x20: b4const_in_0 = 0xc; break;
1796     case 0x40: b4const_in_0 = 0xd; break;
1797     case 0x80: b4const_in_0 = 0xe; break;
1798     default: b4const_in_0 = 0xf; break;
1799     }
1800   *valp = b4const_in_0;
1801   return 0;
1804 static int
1805 OperandSem_opnd_sem_b4constu_decode (uint32 *valp)
1807   unsigned b4constu_out_0;
1808   unsigned b4constu_in_0;
1809   b4constu_in_0 = *valp & 0xf;
1810   b4constu_out_0 = CONST_TBL_b4cu_0[b4constu_in_0 & 0xf];
1811   *valp = b4constu_out_0;
1812   return 0;
1815 static int
1816 OperandSem_opnd_sem_b4constu_encode (uint32 *valp)
1818   unsigned b4constu_in_0;
1819   unsigned b4constu_out_0;
1820   b4constu_out_0 = *valp;
1821   switch (b4constu_out_0)
1822     {
1823     case 0x8000: b4constu_in_0 = 0; break;
1824     case 0x10000: b4constu_in_0 = 0x1; break;
1825     case 0x2: b4constu_in_0 = 0x2; break;
1826     case 0x3: b4constu_in_0 = 0x3; break;
1827     case 0x4: b4constu_in_0 = 0x4; break;
1828     case 0x5: b4constu_in_0 = 0x5; break;
1829     case 0x6: b4constu_in_0 = 0x6; break;
1830     case 0x7: b4constu_in_0 = 0x7; break;
1831     case 0x8: b4constu_in_0 = 0x8; break;
1832     case 0xa: b4constu_in_0 = 0x9; break;
1833     case 0xc: b4constu_in_0 = 0xa; break;
1834     case 0x10: b4constu_in_0 = 0xb; break;
1835     case 0x20: b4constu_in_0 = 0xc; break;
1836     case 0x40: b4constu_in_0 = 0xd; break;
1837     case 0x80: b4constu_in_0 = 0xe; break;
1838     default: b4constu_in_0 = 0xf; break;
1839     }
1840   *valp = b4constu_in_0;
1841   return 0;
1844 static int
1845 OperandSem_opnd_sem_uimm8_decode (uint32 *valp)
1847   unsigned uimm8_out_0;
1848   unsigned uimm8_in_0;
1849   uimm8_in_0 = *valp & 0xff;
1850   uimm8_out_0 = uimm8_in_0;
1851   *valp = uimm8_out_0;
1852   return 0;
1855 static int
1856 OperandSem_opnd_sem_uimm8_encode (uint32 *valp)
1858   unsigned uimm8_in_0;
1859   unsigned uimm8_out_0;
1860   uimm8_out_0 = *valp;
1861   uimm8_in_0 = (uimm8_out_0 & 0xff);
1862   *valp = uimm8_in_0;
1863   return 0;
1866 static int
1867 OperandSem_opnd_sem_uimm8x2_decode (uint32 *valp)
1869   unsigned uimm8x2_out_0;
1870   unsigned uimm8x2_in_0;
1871   uimm8x2_in_0 = *valp & 0xff;
1872   uimm8x2_out_0 = uimm8x2_in_0 << 1;
1873   *valp = uimm8x2_out_0;
1874   return 0;
1877 static int
1878 OperandSem_opnd_sem_uimm8x2_encode (uint32 *valp)
1880   unsigned uimm8x2_in_0;
1881   unsigned uimm8x2_out_0;
1882   uimm8x2_out_0 = *valp;
1883   uimm8x2_in_0 = ((uimm8x2_out_0 >> 1) & 0xff);
1884   *valp = uimm8x2_in_0;
1885   return 0;
1888 static int
1889 OperandSem_opnd_sem_uimm8x4_decode (uint32 *valp)
1891   unsigned uimm8x4_out_0;
1892   unsigned uimm8x4_in_0;
1893   uimm8x4_in_0 = *valp & 0xff;
1894   uimm8x4_out_0 = uimm8x4_in_0 << 2;
1895   *valp = uimm8x4_out_0;
1896   return 0;
1899 static int
1900 OperandSem_opnd_sem_uimm8x4_encode (uint32 *valp)
1902   unsigned uimm8x4_in_0;
1903   unsigned uimm8x4_out_0;
1904   uimm8x4_out_0 = *valp;
1905   uimm8x4_in_0 = ((uimm8x4_out_0 >> 2) & 0xff);
1906   *valp = uimm8x4_in_0;
1907   return 0;
1910 static int
1911 OperandSem_opnd_sem_uimm4x16_decode (uint32 *valp)
1913   unsigned uimm4x16_out_0;
1914   unsigned uimm4x16_in_0;
1915   uimm4x16_in_0 = *valp & 0xf;
1916   uimm4x16_out_0 = uimm4x16_in_0 << 4;
1917   *valp = uimm4x16_out_0;
1918   return 0;
1921 static int
1922 OperandSem_opnd_sem_uimm4x16_encode (uint32 *valp)
1924   unsigned uimm4x16_in_0;
1925   unsigned uimm4x16_out_0;
1926   uimm4x16_out_0 = *valp;
1927   uimm4x16_in_0 = ((uimm4x16_out_0 >> 4) & 0xf);
1928   *valp = uimm4x16_in_0;
1929   return 0;
1932 static int
1933 OperandSem_opnd_sem_uimmrx4_decode (uint32 *valp)
1935   unsigned uimmrx4_out_0;
1936   unsigned uimmrx4_in_0;
1937   uimmrx4_in_0 = *valp & 0xf;
1938   uimmrx4_out_0 = uimmrx4_in_0 << 2;
1939   *valp = uimmrx4_out_0;
1940   return 0;
1943 static int
1944 OperandSem_opnd_sem_uimmrx4_encode (uint32 *valp)
1946   unsigned uimmrx4_in_0;
1947   unsigned uimmrx4_out_0;
1948   uimmrx4_out_0 = *valp;
1949   uimmrx4_in_0 = ((uimmrx4_out_0 >> 2) & 0xf);
1950   *valp = uimmrx4_in_0;
1951   return 0;
1954 static int
1955 OperandSem_opnd_sem_simm8_decode (uint32 *valp)
1957   unsigned simm8_out_0;
1958   unsigned simm8_in_0;
1959   simm8_in_0 = *valp & 0xff;
1960   simm8_out_0 = ((int) simm8_in_0 << 24) >> 24;
1961   *valp = simm8_out_0;
1962   return 0;
1965 static int
1966 OperandSem_opnd_sem_simm8_encode (uint32 *valp)
1968   unsigned simm8_in_0;
1969   unsigned simm8_out_0;
1970   simm8_out_0 = *valp;
1971   simm8_in_0 = (simm8_out_0 & 0xff);
1972   *valp = simm8_in_0;
1973   return 0;
1976 static int
1977 OperandSem_opnd_sem_simm8x256_decode (uint32 *valp)
1979   unsigned simm8x256_out_0;
1980   unsigned simm8x256_in_0;
1981   simm8x256_in_0 = *valp & 0xff;
1982   simm8x256_out_0 = (((int) simm8x256_in_0 << 24) >> 24) << 8;
1983   *valp = simm8x256_out_0;
1984   return 0;
1987 static int
1988 OperandSem_opnd_sem_simm8x256_encode (uint32 *valp)
1990   unsigned simm8x256_in_0;
1991   unsigned simm8x256_out_0;
1992   simm8x256_out_0 = *valp;
1993   simm8x256_in_0 = ((simm8x256_out_0 >> 8) & 0xff);
1994   *valp = simm8x256_in_0;
1995   return 0;
1998 static int
1999 OperandSem_opnd_sem_simm12b_decode (uint32 *valp)
2001   unsigned simm12b_out_0;
2002   unsigned simm12b_in_0;
2003   simm12b_in_0 = *valp & 0xfff;
2004   simm12b_out_0 = ((int) simm12b_in_0 << 20) >> 20;
2005   *valp = simm12b_out_0;
2006   return 0;
2009 static int
2010 OperandSem_opnd_sem_simm12b_encode (uint32 *valp)
2012   unsigned simm12b_in_0;
2013   unsigned simm12b_out_0;
2014   simm12b_out_0 = *valp;
2015   simm12b_in_0 = (simm12b_out_0 & 0xfff);
2016   *valp = simm12b_in_0;
2017   return 0;
2020 static int
2021 OperandSem_opnd_sem_msalp32_decode (uint32 *valp)
2023   unsigned msalp32_out_0;
2024   unsigned msalp32_in_0;
2025   msalp32_in_0 = *valp & 0x1f;
2026   msalp32_out_0 = 0x20 - msalp32_in_0;
2027   *valp = msalp32_out_0;
2028   return 0;
2031 static int
2032 OperandSem_opnd_sem_msalp32_encode (uint32 *valp)
2034   unsigned msalp32_in_0;
2035   unsigned msalp32_out_0;
2036   msalp32_out_0 = *valp;
2037   msalp32_in_0 = (0x20 - msalp32_out_0) & 0x1f;
2038   *valp = msalp32_in_0;
2039   return 0;
2042 static int
2043 OperandSem_opnd_sem_op2p1_decode (uint32 *valp)
2045   unsigned op2p1_out_0;
2046   unsigned op2p1_in_0;
2047   op2p1_in_0 = *valp & 0xf;
2048   op2p1_out_0 = op2p1_in_0 + 0x1;
2049   *valp = op2p1_out_0;
2050   return 0;
2053 static int
2054 OperandSem_opnd_sem_op2p1_encode (uint32 *valp)
2056   unsigned op2p1_in_0;
2057   unsigned op2p1_out_0;
2058   op2p1_out_0 = *valp;
2059   op2p1_in_0 = (op2p1_out_0 - 0x1) & 0xf;
2060   *valp = op2p1_in_0;
2061   return 0;
2064 static int
2065 OperandSem_opnd_sem_label8_decode (uint32 *valp)
2067   unsigned label8_out_0;
2068   unsigned label8_in_0;
2069   label8_in_0 = *valp & 0xff;
2070   label8_out_0 = 0x4 + (((int) label8_in_0 << 24) >> 24);
2071   *valp = label8_out_0;
2072   return 0;
2075 static int
2076 OperandSem_opnd_sem_label8_encode (uint32 *valp)
2078   unsigned label8_in_0;
2079   unsigned label8_out_0;
2080   label8_out_0 = *valp;
2081   label8_in_0 = (label8_out_0 - 0x4) & 0xff;
2082   *valp = label8_in_0;
2083   return 0;
2086 static int
2087 OperandSem_opnd_sem_label12_decode (uint32 *valp)
2089   unsigned label12_out_0;
2090   unsigned label12_in_0;
2091   label12_in_0 = *valp & 0xfff;
2092   label12_out_0 = 0x4 + (((int) label12_in_0 << 20) >> 20);
2093   *valp = label12_out_0;
2094   return 0;
2097 static int
2098 OperandSem_opnd_sem_label12_encode (uint32 *valp)
2100   unsigned label12_in_0;
2101   unsigned label12_out_0;
2102   label12_out_0 = *valp;
2103   label12_in_0 = (label12_out_0 - 0x4) & 0xfff;
2104   *valp = label12_in_0;
2105   return 0;
2108 static int
2109 OperandSem_opnd_sem_soffset_decode (uint32 *valp)
2111   unsigned soffset_out_0;
2112   unsigned soffset_in_0;
2113   soffset_in_0 = *valp & 0x3ffff;
2114   soffset_out_0 = 0x4 + (((int) soffset_in_0 << 14) >> 14);
2115   *valp = soffset_out_0;
2116   return 0;
2119 static int
2120 OperandSem_opnd_sem_soffset_encode (uint32 *valp)
2122   unsigned soffset_in_0;
2123   unsigned soffset_out_0;
2124   soffset_out_0 = *valp;
2125   soffset_in_0 = (soffset_out_0 - 0x4) & 0x3ffff;
2126   *valp = soffset_in_0;
2127   return 0;
2130 static int
2131 OperandSem_opnd_sem_uimm16x4_decode (uint32 *valp)
2133   unsigned uimm16x4_out_0;
2134   unsigned uimm16x4_in_0;
2135   uimm16x4_in_0 = *valp & 0xffff;
2136   uimm16x4_out_0 = (((0xffff) << 16) | uimm16x4_in_0) << 2;
2137   *valp = uimm16x4_out_0;
2138   return 0;
2141 static int
2142 OperandSem_opnd_sem_uimm16x4_encode (uint32 *valp)
2144   unsigned uimm16x4_in_0;
2145   unsigned uimm16x4_out_0;
2146   uimm16x4_out_0 = *valp;
2147   uimm16x4_in_0 = (uimm16x4_out_0 >> 2) & 0xffff;
2148   *valp = uimm16x4_in_0;
2149   return 0;
2152 static int
2153 OperandSem_opnd_sem_bbi_decode (uint32 *valp)
2155   unsigned bbi_out_0;
2156   unsigned bbi_in_0;
2157   bbi_in_0 = *valp & 0x1f;
2158   bbi_out_0 = (0 << 5) | bbi_in_0;
2159   *valp = bbi_out_0;
2160   return 0;
2163 static int
2164 OperandSem_opnd_sem_bbi_encode (uint32 *valp)
2166   unsigned bbi_in_0;
2167   unsigned bbi_out_0;
2168   bbi_out_0 = *valp;
2169   bbi_in_0 = (bbi_out_0 & 0x1f);
2170   *valp = bbi_in_0;
2171   return 0;
2174 static int
2175 OperandSem_opnd_sem_s_decode (uint32 *valp)
2177   unsigned s_out_0;
2178   unsigned s_in_0;
2179   s_in_0 = *valp & 0xf;
2180   s_out_0 = (0 << 4) | s_in_0;
2181   *valp = s_out_0;
2182   return 0;
2185 static int
2186 OperandSem_opnd_sem_s_encode (uint32 *valp)
2188   unsigned s_in_0;
2189   unsigned s_out_0;
2190   s_out_0 = *valp;
2191   s_in_0 = (s_out_0 & 0xf);
2192   *valp = s_in_0;
2193   return 0;
2196 static int
2197 OperandSem_opnd_sem_immt_decode (uint32 *valp)
2199   unsigned immt_out_0;
2200   unsigned immt_in_0;
2201   immt_in_0 = *valp & 0xf;
2202   immt_out_0 = immt_in_0;
2203   *valp = immt_out_0;
2204   return 0;
2207 static int
2208 OperandSem_opnd_sem_immt_encode (uint32 *valp)
2210   unsigned immt_in_0;
2211   unsigned immt_out_0;
2212   immt_out_0 = *valp;
2213   immt_in_0 = immt_out_0 & 0xf;
2214   *valp = immt_in_0;
2215   return 0;
2218 static int
2219 OperandSem_opnd_sem_tp7_decode (uint32 *valp)
2221   unsigned tp7_out_0;
2222   unsigned tp7_in_0;
2223   tp7_in_0 = *valp & 0xf;
2224   tp7_out_0 = tp7_in_0 + 0x7;
2225   *valp = tp7_out_0;
2226   return 0;
2229 static int
2230 OperandSem_opnd_sem_tp7_encode (uint32 *valp)
2232   unsigned tp7_in_0;
2233   unsigned tp7_out_0;
2234   tp7_out_0 = *valp;
2235   tp7_in_0 = (tp7_out_0 - 0x7) & 0xf;
2236   *valp = tp7_in_0;
2237   return 0;
2240 static int
2241 OperandSem_opnd_sem_xt_wbr15_label_decode (uint32 *valp)
2243   unsigned xt_wbr15_label_out_0;
2244   unsigned xt_wbr15_label_in_0;
2245   xt_wbr15_label_in_0 = *valp & 0x7fff;
2246   xt_wbr15_label_out_0 = 0x4 + (((int) xt_wbr15_label_in_0 << 17) >> 17);
2247   *valp = xt_wbr15_label_out_0;
2248   return 0;
2251 static int
2252 OperandSem_opnd_sem_xt_wbr15_label_encode (uint32 *valp)
2254   unsigned xt_wbr15_label_in_0;
2255   unsigned xt_wbr15_label_out_0;
2256   xt_wbr15_label_out_0 = *valp;
2257   xt_wbr15_label_in_0 = (xt_wbr15_label_out_0 - 0x4) & 0x7fff;
2258   *valp = xt_wbr15_label_in_0;
2259   return 0;
2262 static int
2263 OperandSem_opnd_sem_xt_wbr18_label_decode (uint32 *valp)
2265   unsigned xt_wbr18_label_out_0;
2266   unsigned xt_wbr18_label_in_0;
2267   xt_wbr18_label_in_0 = *valp & 0x3ffff;
2268   xt_wbr18_label_out_0 = 0x4 + (((int) xt_wbr18_label_in_0 << 14) >> 14);
2269   *valp = xt_wbr18_label_out_0;
2270   return 0;
2273 static int
2274 OperandSem_opnd_sem_xt_wbr18_label_encode (uint32 *valp)
2276   unsigned xt_wbr18_label_in_0;
2277   unsigned xt_wbr18_label_out_0;
2278   xt_wbr18_label_out_0 = *valp;
2279   xt_wbr18_label_in_0 = (xt_wbr18_label_out_0 - 0x4) & 0x3ffff;
2280   *valp = xt_wbr18_label_in_0;
2281   return 0;
2284 static int
2285 OperandSem_opnd_sem_bitindex_decode (uint32 *valp)
2287   unsigned bitindex_out_0;
2288   unsigned bitindex_in_0;
2289   bitindex_in_0 = *valp & 0x1f;
2290   bitindex_out_0 = (0 << 5) | bitindex_in_0;
2291   *valp = bitindex_out_0;
2292   return 0;
2295 static int
2296 OperandSem_opnd_sem_bitindex_encode (uint32 *valp)
2298   unsigned bitindex_in_0;
2299   unsigned bitindex_out_0;
2300   bitindex_out_0 = *valp;
2301   bitindex_in_0 = (bitindex_out_0 & 0x1f);
2302   *valp = bitindex_in_0;
2303   return 0;
2306 static int
2307 Operand_soffsetx4_ator (uint32 *valp, uint32 pc)
2309   *valp -= (pc & ~0x3);
2310   return 0;
2313 static int
2314 Operand_soffsetx4_rtoa (uint32 *valp, uint32 pc)
2316   *valp += (pc & ~0x3);
2317   return 0;
2320 static int
2321 Operand_uimm6_ator (uint32 *valp, uint32 pc)
2323   *valp -= pc;
2324   return 0;
2327 static int
2328 Operand_uimm6_rtoa (uint32 *valp, uint32 pc)
2330   *valp += pc;
2331   return 0;
2334 static int
2335 Operand_label8_ator (uint32 *valp, uint32 pc)
2337   *valp -= pc;
2338   return 0;
2341 static int
2342 Operand_label8_rtoa (uint32 *valp, uint32 pc)
2344   *valp += pc;
2345   return 0;
2348 static int
2349 Operand_label12_ator (uint32 *valp, uint32 pc)
2351   *valp -= pc;
2352   return 0;
2355 static int
2356 Operand_label12_rtoa (uint32 *valp, uint32 pc)
2358   *valp += pc;
2359   return 0;
2362 static int
2363 Operand_soffset_ator (uint32 *valp, uint32 pc)
2365   *valp -= pc;
2366   return 0;
2369 static int
2370 Operand_soffset_rtoa (uint32 *valp, uint32 pc)
2372   *valp += pc;
2373   return 0;
2376 static int
2377 Operand_uimm16x4_ator (uint32 *valp, uint32 pc)
2379   *valp -= ((pc + 3) & ~0x3);
2380   return 0;
2383 static int
2384 Operand_uimm16x4_rtoa (uint32 *valp, uint32 pc)
2386   *valp += ((pc + 3) & ~0x3);
2387   return 0;
2390 static int
2391 Operand_xt_wbr15_label_ator (uint32 *valp, uint32 pc)
2393   *valp -= pc;
2394   return 0;
2397 static int
2398 Operand_xt_wbr15_label_rtoa (uint32 *valp, uint32 pc)
2400   *valp += pc;
2401   return 0;
2404 static int
2405 Operand_xt_wbr18_label_ator (uint32 *valp, uint32 pc)
2407   *valp -= pc;
2408   return 0;
2411 static int
2412 Operand_xt_wbr18_label_rtoa (uint32 *valp, uint32 pc)
2414   *valp += pc;
2415   return 0;
2418 static xtensa_operand_internal operands[] = {
2419   { "soffsetx4", FIELD_offset, -1, 0,
2420     XTENSA_OPERAND_IS_PCRELATIVE,
2421     OperandSem_opnd_sem_soffsetx4_encode, OperandSem_opnd_sem_soffsetx4_decode,
2422     Operand_soffsetx4_ator, Operand_soffsetx4_rtoa },
2423   { "uimm12x8", FIELD_imm12, -1, 0,
2424     0,
2425     OperandSem_opnd_sem_uimm12x8_encode, OperandSem_opnd_sem_uimm12x8_decode,
2426     0, 0 },
2427   { "simm4", FIELD_mn, -1, 0,
2428     0,
2429     OperandSem_opnd_sem_simm4_encode, OperandSem_opnd_sem_simm4_decode,
2430     0, 0 },
2431   { "arr", FIELD_r, REGFILE_AR, 1,
2432     XTENSA_OPERAND_IS_REGISTER,
2433     OperandSem_opnd_sem_AR_encode, OperandSem_opnd_sem_AR_decode,
2434     0, 0 },
2435   { "ars", FIELD_s, REGFILE_AR, 1,
2436     XTENSA_OPERAND_IS_REGISTER,
2437     OperandSem_opnd_sem_AR_encode, OperandSem_opnd_sem_AR_decode,
2438     0, 0 },
2439   { "*ars_invisible", FIELD_s, REGFILE_AR, 1,
2440     XTENSA_OPERAND_IS_REGISTER | XTENSA_OPERAND_IS_INVISIBLE,
2441     OperandSem_opnd_sem_AR_encode, OperandSem_opnd_sem_AR_decode,
2442     0, 0 },
2443   { "art", FIELD_t, REGFILE_AR, 1,
2444     XTENSA_OPERAND_IS_REGISTER,
2445     OperandSem_opnd_sem_AR_encode, OperandSem_opnd_sem_AR_decode,
2446     0, 0 },
2447   { "ar0", FIELD__ar0, REGFILE_AR, 1,
2448     XTENSA_OPERAND_IS_REGISTER | XTENSA_OPERAND_IS_INVISIBLE,
2449     OperandSem_opnd_sem_AR_0_encode, OperandSem_opnd_sem_AR_0_decode,
2450     0, 0 },
2451   { "ar4", FIELD__ar4, REGFILE_AR, 1,
2452     XTENSA_OPERAND_IS_REGISTER | XTENSA_OPERAND_IS_INVISIBLE,
2453     OperandSem_opnd_sem_AR_1_encode, OperandSem_opnd_sem_AR_1_decode,
2454     0, 0 },
2455   { "ar8", FIELD__ar8, REGFILE_AR, 1,
2456     XTENSA_OPERAND_IS_REGISTER | XTENSA_OPERAND_IS_INVISIBLE,
2457     OperandSem_opnd_sem_AR_2_encode, OperandSem_opnd_sem_AR_2_decode,
2458     0, 0 },
2459   { "ar12", FIELD__ar12, REGFILE_AR, 1,
2460     XTENSA_OPERAND_IS_REGISTER | XTENSA_OPERAND_IS_INVISIBLE,
2461     OperandSem_opnd_sem_AR_3_encode, OperandSem_opnd_sem_AR_3_decode,
2462     0, 0 },
2463   { "ars_entry", FIELD_s, REGFILE_AR, 1,
2464     XTENSA_OPERAND_IS_REGISTER,
2465     OperandSem_opnd_sem_AR_4_encode, OperandSem_opnd_sem_AR_4_decode,
2466     0, 0 },
2467   { "immrx4", FIELD_r, -1, 0,
2468     0,
2469     OperandSem_opnd_sem_immrx4_encode, OperandSem_opnd_sem_immrx4_decode,
2470     0, 0 },
2471   { "lsi4x4", FIELD_r, -1, 0,
2472     0,
2473     OperandSem_opnd_sem_lsi4x4_encode, OperandSem_opnd_sem_lsi4x4_decode,
2474     0, 0 },
2475   { "simm7", FIELD_imm7, -1, 0,
2476     0,
2477     OperandSem_opnd_sem_simm7_encode, OperandSem_opnd_sem_simm7_decode,
2478     0, 0 },
2479   { "uimm6", FIELD_imm6, -1, 0,
2480     XTENSA_OPERAND_IS_PCRELATIVE,
2481     OperandSem_opnd_sem_uimm6_encode, OperandSem_opnd_sem_uimm6_decode,
2482     Operand_uimm6_ator, Operand_uimm6_rtoa },
2483   { "ai4const", FIELD_t, -1, 0,
2484     0,
2485     OperandSem_opnd_sem_ai4const_encode, OperandSem_opnd_sem_ai4const_decode,
2486     0, 0 },
2487   { "b4const", FIELD_r, -1, 0,
2488     0,
2489     OperandSem_opnd_sem_b4const_encode, OperandSem_opnd_sem_b4const_decode,
2490     0, 0 },
2491   { "b4constu", FIELD_r, -1, 0,
2492     0,
2493     OperandSem_opnd_sem_b4constu_encode, OperandSem_opnd_sem_b4constu_decode,
2494     0, 0 },
2495   { "uimm8", FIELD_imm8, -1, 0,
2496     0,
2497     OperandSem_opnd_sem_uimm8_encode, OperandSem_opnd_sem_uimm8_decode,
2498     0, 0 },
2499   { "uimm8x2", FIELD_imm8, -1, 0,
2500     0,
2501     OperandSem_opnd_sem_uimm8x2_encode, OperandSem_opnd_sem_uimm8x2_decode,
2502     0, 0 },
2503   { "uimm8x4", FIELD_imm8, -1, 0,
2504     0,
2505     OperandSem_opnd_sem_uimm8x4_encode, OperandSem_opnd_sem_uimm8x4_decode,
2506     0, 0 },
2507   { "uimm4x16", FIELD_op2, -1, 0,
2508     0,
2509     OperandSem_opnd_sem_uimm4x16_encode, OperandSem_opnd_sem_uimm4x16_decode,
2510     0, 0 },
2511   { "uimmrx4", FIELD_r, -1, 0,
2512     0,
2513     OperandSem_opnd_sem_uimmrx4_encode, OperandSem_opnd_sem_uimmrx4_decode,
2514     0, 0 },
2515   { "simm8", FIELD_imm8, -1, 0,
2516     0,
2517     OperandSem_opnd_sem_simm8_encode, OperandSem_opnd_sem_simm8_decode,
2518     0, 0 },
2519   { "simm8x256", FIELD_imm8, -1, 0,
2520     0,
2521     OperandSem_opnd_sem_simm8x256_encode, OperandSem_opnd_sem_simm8x256_decode,
2522     0, 0 },
2523   { "simm12b", FIELD_imm12b, -1, 0,
2524     0,
2525     OperandSem_opnd_sem_simm12b_encode, OperandSem_opnd_sem_simm12b_decode,
2526     0, 0 },
2527   { "msalp32", FIELD_sal, -1, 0,
2528     0,
2529     OperandSem_opnd_sem_msalp32_encode, OperandSem_opnd_sem_msalp32_decode,
2530     0, 0 },
2531   { "op2p1", FIELD_op2, -1, 0,
2532     0,
2533     OperandSem_opnd_sem_op2p1_encode, OperandSem_opnd_sem_op2p1_decode,
2534     0, 0 },
2535   { "label8", FIELD_imm8, -1, 0,
2536     XTENSA_OPERAND_IS_PCRELATIVE,
2537     OperandSem_opnd_sem_label8_encode, OperandSem_opnd_sem_label8_decode,
2538     Operand_label8_ator, Operand_label8_rtoa },
2539   { "label12", FIELD_imm12, -1, 0,
2540     XTENSA_OPERAND_IS_PCRELATIVE,
2541     OperandSem_opnd_sem_label12_encode, OperandSem_opnd_sem_label12_decode,
2542     Operand_label12_ator, Operand_label12_rtoa },
2543   { "soffset", FIELD_offset, -1, 0,
2544     XTENSA_OPERAND_IS_PCRELATIVE,
2545     OperandSem_opnd_sem_soffset_encode, OperandSem_opnd_sem_soffset_decode,
2546     Operand_soffset_ator, Operand_soffset_rtoa },
2547   { "uimm16x4", FIELD_imm16, -1, 0,
2548     XTENSA_OPERAND_IS_PCRELATIVE,
2549     OperandSem_opnd_sem_uimm16x4_encode, OperandSem_opnd_sem_uimm16x4_decode,
2550     Operand_uimm16x4_ator, Operand_uimm16x4_rtoa },
2551   { "bbi", FIELD_bbi, -1, 0,
2552     0,
2553     OperandSem_opnd_sem_bbi_encode, OperandSem_opnd_sem_bbi_decode,
2554     0, 0 },
2555   { "sae", FIELD_sae, -1, 0,
2556     0,
2557     OperandSem_opnd_sem_bbi_encode, OperandSem_opnd_sem_bbi_decode,
2558     0, 0 },
2559   { "sas", FIELD_sas, -1, 0,
2560     0,
2561     OperandSem_opnd_sem_bbi_encode, OperandSem_opnd_sem_bbi_decode,
2562     0, 0 },
2563   { "sargt", FIELD_sargt, -1, 0,
2564     0,
2565     OperandSem_opnd_sem_bbi_encode, OperandSem_opnd_sem_bbi_decode,
2566     0, 0 },
2567   { "s", FIELD_s, -1, 0,
2568     0,
2569     OperandSem_opnd_sem_s_encode, OperandSem_opnd_sem_s_decode,
2570     0, 0 },
2571   { "immt", FIELD_t, -1, 0,
2572     0,
2573     OperandSem_opnd_sem_immt_encode, OperandSem_opnd_sem_immt_decode,
2574     0, 0 },
2575   { "imms", FIELD_s, -1, 0,
2576     0,
2577     OperandSem_opnd_sem_immt_encode, OperandSem_opnd_sem_immt_decode,
2578     0, 0 },
2579   { "tp7", FIELD_t, -1, 0,
2580     0,
2581     OperandSem_opnd_sem_tp7_encode, OperandSem_opnd_sem_tp7_decode,
2582     0, 0 },
2583   { "xt_wbr15_label", FIELD_xt_wbr15_imm, -1, 0,
2584     XTENSA_OPERAND_IS_PCRELATIVE,
2585     OperandSem_opnd_sem_xt_wbr15_label_encode, OperandSem_opnd_sem_xt_wbr15_label_decode,
2586     Operand_xt_wbr15_label_ator, Operand_xt_wbr15_label_rtoa },
2587   { "xt_wbr18_label", FIELD_xt_wbr18_imm, -1, 0,
2588     XTENSA_OPERAND_IS_PCRELATIVE,
2589     OperandSem_opnd_sem_xt_wbr18_label_encode, OperandSem_opnd_sem_xt_wbr18_label_decode,
2590     Operand_xt_wbr18_label_ator, Operand_xt_wbr18_label_rtoa },
2591   { "bitindex", FIELD_bitindex, -1, 0,
2592     0,
2593     OperandSem_opnd_sem_bitindex_encode, OperandSem_opnd_sem_bitindex_decode,
2594     0, 0 },
2595   { "t", FIELD_t, -1, 0, 0, 0, 0, 0, 0 },
2596   { "bbi4", FIELD_bbi4, -1, 0, 0, 0, 0, 0, 0 },
2597   { "imm12", FIELD_imm12, -1, 0, 0, 0, 0, 0, 0 },
2598   { "imm8", FIELD_imm8, -1, 0, 0, 0, 0, 0, 0 },
2599   { "imm12b", FIELD_imm12b, -1, 0, 0, 0, 0, 0, 0 },
2600   { "imm16", FIELD_imm16, -1, 0, 0, 0, 0, 0, 0 },
2601   { "m", FIELD_m, -1, 0, 0, 0, 0, 0, 0 },
2602   { "n", FIELD_n, -1, 0, 0, 0, 0, 0, 0 },
2603   { "offset", FIELD_offset, -1, 0, 0, 0, 0, 0, 0 },
2604   { "op0", FIELD_op0, -1, 0, 0, 0, 0, 0, 0 },
2605   { "op1", FIELD_op1, -1, 0, 0, 0, 0, 0, 0 },
2606   { "op2", FIELD_op2, -1, 0, 0, 0, 0, 0, 0 },
2607   { "r", FIELD_r, -1, 0, 0, 0, 0, 0, 0 },
2608   { "sa4", FIELD_sa4, -1, 0, 0, 0, 0, 0, 0 },
2609   { "sae4", FIELD_sae4, -1, 0, 0, 0, 0, 0, 0 },
2610   { "sal", FIELD_sal, -1, 0, 0, 0, 0, 0, 0 },
2611   { "sas4", FIELD_sas4, -1, 0, 0, 0, 0, 0, 0 },
2612   { "sr", FIELD_sr, -1, 0, 0, 0, 0, 0, 0 },
2613   { "st", FIELD_st, -1, 0, 0, 0, 0, 0, 0 },
2614   { "thi3", FIELD_thi3, -1, 0, 0, 0, 0, 0, 0 },
2615   { "imm4", FIELD_imm4, -1, 0, 0, 0, 0, 0, 0 },
2616   { "mn", FIELD_mn, -1, 0, 0, 0, 0, 0, 0 },
2617   { "i", FIELD_i, -1, 0, 0, 0, 0, 0, 0 },
2618   { "imm6lo", FIELD_imm6lo, -1, 0, 0, 0, 0, 0, 0 },
2619   { "imm6hi", FIELD_imm6hi, -1, 0, 0, 0, 0, 0, 0 },
2620   { "imm7lo", FIELD_imm7lo, -1, 0, 0, 0, 0, 0, 0 },
2621   { "imm7hi", FIELD_imm7hi, -1, 0, 0, 0, 0, 0, 0 },
2622   { "z", FIELD_z, -1, 0, 0, 0, 0, 0, 0 },
2623   { "imm6", FIELD_imm6, -1, 0, 0, 0, 0, 0, 0 },
2624   { "imm7", FIELD_imm7, -1, 0, 0, 0, 0, 0, 0 },
2625   { "xt_wbr15_imm", FIELD_xt_wbr15_imm, -1, 0, 0, 0, 0, 0, 0 },
2626   { "xt_wbr18_imm", FIELD_xt_wbr18_imm, -1, 0, 0, 0, 0, 0, 0 },
2627   { "s3to1", FIELD_s3to1, -1, 0, 0, 0, 0, 0, 0 }
2630 enum xtensa_operand_id {
2631   OPERAND_soffsetx4,
2632   OPERAND_uimm12x8,
2633   OPERAND_simm4,
2634   OPERAND_arr,
2635   OPERAND_ars,
2636   OPERAND__ars_invisible,
2637   OPERAND_art,
2638   OPERAND_ar0,
2639   OPERAND_ar4,
2640   OPERAND_ar8,
2641   OPERAND_ar12,
2642   OPERAND_ars_entry,
2643   OPERAND_immrx4,
2644   OPERAND_lsi4x4,
2645   OPERAND_simm7,
2646   OPERAND_uimm6,
2647   OPERAND_ai4const,
2648   OPERAND_b4const,
2649   OPERAND_b4constu,
2650   OPERAND_uimm8,
2651   OPERAND_uimm8x2,
2652   OPERAND_uimm8x4,
2653   OPERAND_uimm4x16,
2654   OPERAND_uimmrx4,
2655   OPERAND_simm8,
2656   OPERAND_simm8x256,
2657   OPERAND_simm12b,
2658   OPERAND_msalp32,
2659   OPERAND_op2p1,
2660   OPERAND_label8,
2661   OPERAND_label12,
2662   OPERAND_soffset,
2663   OPERAND_uimm16x4,
2664   OPERAND_bbi,
2665   OPERAND_sae,
2666   OPERAND_sas,
2667   OPERAND_sargt,
2668   OPERAND_s,
2669   OPERAND_immt,
2670   OPERAND_imms,
2671   OPERAND_tp7,
2672   OPERAND_xt_wbr15_label,
2673   OPERAND_xt_wbr18_label,
2674   OPERAND_bitindex,
2675   OPERAND_t,
2676   OPERAND_bbi4,
2677   OPERAND_imm12,
2678   OPERAND_imm8,
2679   OPERAND_imm12b,
2680   OPERAND_imm16,
2681   OPERAND_m,
2682   OPERAND_n,
2683   OPERAND_offset,
2684   OPERAND_op0,
2685   OPERAND_op1,
2686   OPERAND_op2,
2687   OPERAND_r,
2688   OPERAND_sa4,
2689   OPERAND_sae4,
2690   OPERAND_sal,
2691   OPERAND_sas4,
2692   OPERAND_sr,
2693   OPERAND_st,
2694   OPERAND_thi3,
2695   OPERAND_imm4,
2696   OPERAND_mn,
2697   OPERAND_i,
2698   OPERAND_imm6lo,
2699   OPERAND_imm6hi,
2700   OPERAND_imm7lo,
2701   OPERAND_imm7hi,
2702   OPERAND_z,
2703   OPERAND_imm6,
2704   OPERAND_imm7,
2705   OPERAND_xt_wbr15_imm,
2706   OPERAND_xt_wbr18_imm,
2707   OPERAND_s3to1
2711 /* Iclass table.  */
2713 static xtensa_arg_internal Iclass_xt_iclass_rfe_stateArgs[] = {
2714   { { STATE_PSEXCM }, 'o' },
2715   { { STATE_EPC1 }, 'i' }
2718 static xtensa_arg_internal Iclass_xt_iclass_rfde_stateArgs[] = {
2719   { { STATE_DEPC }, 'i' }
2722 static xtensa_arg_internal Iclass_xt_iclass_call12_args[] = {
2723   { { OPERAND_soffsetx4 }, 'i' },
2724   { { OPERAND_ar12 }, 'o' }
2727 static xtensa_arg_internal Iclass_xt_iclass_call12_stateArgs[] = {
2728   { { STATE_PSCALLINC }, 'o' }
2731 static xtensa_arg_internal Iclass_xt_iclass_call8_args[] = {
2732   { { OPERAND_soffsetx4 }, 'i' },
2733   { { OPERAND_ar8 }, 'o' }
2736 static xtensa_arg_internal Iclass_xt_iclass_call8_stateArgs[] = {
2737   { { STATE_PSCALLINC }, 'o' }
2740 static xtensa_arg_internal Iclass_xt_iclass_call4_args[] = {
2741   { { OPERAND_soffsetx4 }, 'i' },
2742   { { OPERAND_ar4 }, 'o' }
2745 static xtensa_arg_internal Iclass_xt_iclass_call4_stateArgs[] = {
2746   { { STATE_PSCALLINC }, 'o' }
2749 static xtensa_arg_internal Iclass_xt_iclass_callx12_args[] = {
2750   { { OPERAND_ars }, 'i' },
2751   { { OPERAND_ar12 }, 'o' }
2754 static xtensa_arg_internal Iclass_xt_iclass_callx12_stateArgs[] = {
2755   { { STATE_PSCALLINC }, 'o' }
2758 static xtensa_arg_internal Iclass_xt_iclass_callx8_args[] = {
2759   { { OPERAND_ars }, 'i' },
2760   { { OPERAND_ar8 }, 'o' }
2763 static xtensa_arg_internal Iclass_xt_iclass_callx8_stateArgs[] = {
2764   { { STATE_PSCALLINC }, 'o' }
2767 static xtensa_arg_internal Iclass_xt_iclass_callx4_args[] = {
2768   { { OPERAND_ars }, 'i' },
2769   { { OPERAND_ar4 }, 'o' }
2772 static xtensa_arg_internal Iclass_xt_iclass_callx4_stateArgs[] = {
2773   { { STATE_PSCALLINC }, 'o' }
2776 static xtensa_arg_internal Iclass_xt_iclass_entry_args[] = {
2777   { { OPERAND_ars_entry }, 's' },
2778   { { OPERAND_ars }, 'i' },
2779   { { OPERAND_uimm12x8 }, 'i' }
2782 static xtensa_arg_internal Iclass_xt_iclass_entry_stateArgs[] = {
2783   { { STATE_PSCALLINC }, 'i' },
2784   { { STATE_PSEXCM }, 'i' },
2785   { { STATE_PSWOE }, 'i' },
2786   { { STATE_WindowBase }, 'm' },
2787   { { STATE_WindowStart }, 'm' }
2790 static xtensa_arg_internal Iclass_xt_iclass_movsp_args[] = {
2791   { { OPERAND_art }, 'o' },
2792   { { OPERAND_ars }, 'i' }
2795 static xtensa_arg_internal Iclass_xt_iclass_movsp_stateArgs[] = {
2796   { { STATE_WindowBase }, 'i' },
2797   { { STATE_WindowStart }, 'i' }
2800 static xtensa_arg_internal Iclass_xt_iclass_rotw_args[] = {
2801   { { OPERAND_simm4 }, 'i' }
2804 static xtensa_arg_internal Iclass_xt_iclass_rotw_stateArgs[] = {
2805   { { STATE_WindowBase }, 'm' }
2808 static xtensa_arg_internal Iclass_xt_iclass_retw_args[] = {
2809   { { OPERAND__ars_invisible }, 'i' }
2812 static xtensa_arg_internal Iclass_xt_iclass_retw_stateArgs[] = {
2813   { { STATE_WindowBase }, 'm' },
2814   { { STATE_WindowStart }, 'm' },
2815   { { STATE_PSCALLINC }, 'o' },
2816   { { STATE_PSEXCM }, 'i' },
2817   { { STATE_PSWOE }, 'i' }
2820 static xtensa_arg_internal Iclass_xt_iclass_rfwou_stateArgs[] = {
2821   { { STATE_EPC1 }, 'i' },
2822   { { STATE_PSEXCM }, 'o' },
2823   { { STATE_WindowBase }, 'm' },
2824   { { STATE_WindowStart }, 'm' },
2825   { { STATE_PSOWB }, 'i' }
2828 static xtensa_arg_internal Iclass_xt_iclass_l32e_args[] = {
2829   { { OPERAND_art }, 'o' },
2830   { { OPERAND_ars }, 'i' },
2831   { { OPERAND_immrx4 }, 'i' }
2834 static xtensa_arg_internal Iclass_xt_iclass_s32e_args[] = {
2835   { { OPERAND_art }, 'i' },
2836   { { OPERAND_ars }, 'i' },
2837   { { OPERAND_immrx4 }, 'i' }
2840 static xtensa_arg_internal Iclass_xt_iclass_rsr_windowbase_args[] = {
2841   { { OPERAND_art }, 'o' }
2844 static xtensa_arg_internal Iclass_xt_iclass_rsr_windowbase_stateArgs[] = {
2845   { { STATE_WindowBase }, 'i' }
2848 static xtensa_arg_internal Iclass_xt_iclass_wsr_windowbase_args[] = {
2849   { { OPERAND_art }, 'i' }
2852 static xtensa_arg_internal Iclass_xt_iclass_wsr_windowbase_stateArgs[] = {
2853   { { STATE_WindowBase }, 'o' }
2856 static xtensa_arg_internal Iclass_xt_iclass_xsr_windowbase_args[] = {
2857   { { OPERAND_art }, 'm' }
2860 static xtensa_arg_internal Iclass_xt_iclass_xsr_windowbase_stateArgs[] = {
2861   { { STATE_WindowBase }, 'm' }
2864 static xtensa_arg_internal Iclass_xt_iclass_rsr_windowstart_args[] = {
2865   { { OPERAND_art }, 'o' }
2868 static xtensa_arg_internal Iclass_xt_iclass_rsr_windowstart_stateArgs[] = {
2869   { { STATE_WindowStart }, 'i' }
2872 static xtensa_arg_internal Iclass_xt_iclass_wsr_windowstart_args[] = {
2873   { { OPERAND_art }, 'i' }
2876 static xtensa_arg_internal Iclass_xt_iclass_wsr_windowstart_stateArgs[] = {
2877   { { STATE_WindowStart }, 'o' }
2880 static xtensa_arg_internal Iclass_xt_iclass_xsr_windowstart_args[] = {
2881   { { OPERAND_art }, 'm' }
2884 static xtensa_arg_internal Iclass_xt_iclass_xsr_windowstart_stateArgs[] = {
2885   { { STATE_WindowStart }, 'm' }
2888 static xtensa_arg_internal Iclass_xt_iclass_add_n_args[] = {
2889   { { OPERAND_arr }, 'o' },
2890   { { OPERAND_ars }, 'i' },
2891   { { OPERAND_art }, 'i' }
2894 static xtensa_arg_internal Iclass_xt_iclass_addi_n_args[] = {
2895   { { OPERAND_arr }, 'o' },
2896   { { OPERAND_ars }, 'i' },
2897   { { OPERAND_ai4const }, 'i' }
2900 static xtensa_arg_internal Iclass_xt_iclass_bz6_args[] = {
2901   { { OPERAND_ars }, 'i' },
2902   { { OPERAND_uimm6 }, 'i' }
2905 static xtensa_arg_internal Iclass_xt_iclass_loadi4_args[] = {
2906   { { OPERAND_art }, 'o' },
2907   { { OPERAND_ars }, 'i' },
2908   { { OPERAND_lsi4x4 }, 'i' }
2911 static xtensa_arg_internal Iclass_xt_iclass_mov_n_args[] = {
2912   { { OPERAND_art }, 'o' },
2913   { { OPERAND_ars }, 'i' }
2916 static xtensa_arg_internal Iclass_xt_iclass_movi_n_args[] = {
2917   { { OPERAND_ars }, 'o' },
2918   { { OPERAND_simm7 }, 'i' }
2921 static xtensa_arg_internal Iclass_xt_iclass_retn_args[] = {
2922   { { OPERAND__ars_invisible }, 'i' }
2925 static xtensa_arg_internal Iclass_xt_iclass_storei4_args[] = {
2926   { { OPERAND_art }, 'i' },
2927   { { OPERAND_ars }, 'i' },
2928   { { OPERAND_lsi4x4 }, 'i' }
2931 static xtensa_arg_internal Iclass_xt_iclass_addi_args[] = {
2932   { { OPERAND_art }, 'o' },
2933   { { OPERAND_ars }, 'i' },
2934   { { OPERAND_simm8 }, 'i' }
2937 static xtensa_arg_internal Iclass_xt_iclass_addmi_args[] = {
2938   { { OPERAND_art }, 'o' },
2939   { { OPERAND_ars }, 'i' },
2940   { { OPERAND_simm8x256 }, 'i' }
2943 static xtensa_arg_internal Iclass_xt_iclass_addsub_args[] = {
2944   { { OPERAND_arr }, 'o' },
2945   { { OPERAND_ars }, 'i' },
2946   { { OPERAND_art }, 'i' }
2949 static xtensa_arg_internal Iclass_xt_iclass_bit_args[] = {
2950   { { OPERAND_arr }, 'o' },
2951   { { OPERAND_ars }, 'i' },
2952   { { OPERAND_art }, 'i' }
2955 static xtensa_arg_internal Iclass_xt_iclass_bsi8_args[] = {
2956   { { OPERAND_ars }, 'i' },
2957   { { OPERAND_b4const }, 'i' },
2958   { { OPERAND_label8 }, 'i' }
2961 static xtensa_arg_internal Iclass_xt_iclass_bsi8b_args[] = {
2962   { { OPERAND_ars }, 'i' },
2963   { { OPERAND_bbi }, 'i' },
2964   { { OPERAND_label8 }, 'i' }
2967 static xtensa_arg_internal Iclass_xt_iclass_bsi8u_args[] = {
2968   { { OPERAND_ars }, 'i' },
2969   { { OPERAND_b4constu }, 'i' },
2970   { { OPERAND_label8 }, 'i' }
2973 static xtensa_arg_internal Iclass_xt_iclass_bst8_args[] = {
2974   { { OPERAND_ars }, 'i' },
2975   { { OPERAND_art }, 'i' },
2976   { { OPERAND_label8 }, 'i' }
2979 static xtensa_arg_internal Iclass_xt_iclass_bsz12_args[] = {
2980   { { OPERAND_ars }, 'i' },
2981   { { OPERAND_label12 }, 'i' }
2984 static xtensa_arg_internal Iclass_xt_iclass_call0_args[] = {
2985   { { OPERAND_soffsetx4 }, 'i' },
2986   { { OPERAND_ar0 }, 'o' }
2989 static xtensa_arg_internal Iclass_xt_iclass_callx0_args[] = {
2990   { { OPERAND_ars }, 'i' },
2991   { { OPERAND_ar0 }, 'o' }
2994 static xtensa_arg_internal Iclass_xt_iclass_exti_args[] = {
2995   { { OPERAND_arr }, 'o' },
2996   { { OPERAND_art }, 'i' },
2997   { { OPERAND_sae }, 'i' },
2998   { { OPERAND_op2p1 }, 'i' }
3001 static xtensa_arg_internal Iclass_xt_iclass_jump_args[] = {
3002   { { OPERAND_soffset }, 'i' }
3005 static xtensa_arg_internal Iclass_xt_iclass_jumpx_args[] = {
3006   { { OPERAND_ars }, 'i' }
3009 static xtensa_arg_internal Iclass_xt_iclass_l16ui_args[] = {
3010   { { OPERAND_art }, 'o' },
3011   { { OPERAND_ars }, 'i' },
3012   { { OPERAND_uimm8x2 }, 'i' }
3015 static xtensa_arg_internal Iclass_xt_iclass_l16si_args[] = {
3016   { { OPERAND_art }, 'o' },
3017   { { OPERAND_ars }, 'i' },
3018   { { OPERAND_uimm8x2 }, 'i' }
3021 static xtensa_arg_internal Iclass_xt_iclass_l32i_args[] = {
3022   { { OPERAND_art }, 'o' },
3023   { { OPERAND_ars }, 'i' },
3024   { { OPERAND_uimm8x4 }, 'i' }
3027 static xtensa_arg_internal Iclass_xt_iclass_l32r_args[] = {
3028   { { OPERAND_art }, 'o' },
3029   { { OPERAND_uimm16x4 }, 'i' }
3032 static xtensa_arg_internal Iclass_xt_iclass_l8i_args[] = {
3033   { { OPERAND_art }, 'o' },
3034   { { OPERAND_ars }, 'i' },
3035   { { OPERAND_uimm8 }, 'i' }
3038 static xtensa_arg_internal Iclass_xt_iclass_movi_args[] = {
3039   { { OPERAND_art }, 'o' },
3040   { { OPERAND_simm12b }, 'i' }
3043 static xtensa_arg_internal Iclass_xt_iclass_movz_args[] = {
3044   { { OPERAND_arr }, 'm' },
3045   { { OPERAND_ars }, 'i' },
3046   { { OPERAND_art }, 'i' }
3049 static xtensa_arg_internal Iclass_xt_iclass_neg_args[] = {
3050   { { OPERAND_arr }, 'o' },
3051   { { OPERAND_art }, 'i' }
3054 static xtensa_arg_internal Iclass_xt_iclass_return_args[] = {
3055   { { OPERAND__ars_invisible }, 'i' }
3058 static xtensa_arg_internal Iclass_xt_iclass_s16i_args[] = {
3059   { { OPERAND_art }, 'i' },
3060   { { OPERAND_ars }, 'i' },
3061   { { OPERAND_uimm8x2 }, 'i' }
3064 static xtensa_arg_internal Iclass_xt_iclass_s32i_args[] = {
3065   { { OPERAND_art }, 'i' },
3066   { { OPERAND_ars }, 'i' },
3067   { { OPERAND_uimm8x4 }, 'i' }
3070 static xtensa_arg_internal Iclass_xt_iclass_s32nb_args[] = {
3071   { { OPERAND_art }, 'i' },
3072   { { OPERAND_ars }, 'i' },
3073   { { OPERAND_uimmrx4 }, 'i' }
3076 static xtensa_arg_internal Iclass_xt_iclass_s8i_args[] = {
3077   { { OPERAND_art }, 'i' },
3078   { { OPERAND_ars }, 'i' },
3079   { { OPERAND_uimm8 }, 'i' }
3082 static xtensa_arg_internal Iclass_xt_iclass_sar_args[] = {
3083   { { OPERAND_ars }, 'i' }
3086 static xtensa_arg_internal Iclass_xt_iclass_sar_stateArgs[] = {
3087   { { STATE_SAR }, 'o' }
3090 static xtensa_arg_internal Iclass_xt_iclass_sari_args[] = {
3091   { { OPERAND_sas }, 'i' }
3094 static xtensa_arg_internal Iclass_xt_iclass_sari_stateArgs[] = {
3095   { { STATE_SAR }, 'o' }
3098 static xtensa_arg_internal Iclass_xt_iclass_shifts_args[] = {
3099   { { OPERAND_arr }, 'o' },
3100   { { OPERAND_ars }, 'i' }
3103 static xtensa_arg_internal Iclass_xt_iclass_shifts_stateArgs[] = {
3104   { { STATE_SAR }, 'i' }
3107 static xtensa_arg_internal Iclass_xt_iclass_shiftst_args[] = {
3108   { { OPERAND_arr }, 'o' },
3109   { { OPERAND_ars }, 'i' },
3110   { { OPERAND_art }, 'i' }
3113 static xtensa_arg_internal Iclass_xt_iclass_shiftst_stateArgs[] = {
3114   { { STATE_SAR }, 'i' }
3117 static xtensa_arg_internal Iclass_xt_iclass_shiftt_args[] = {
3118   { { OPERAND_arr }, 'o' },
3119   { { OPERAND_art }, 'i' }
3122 static xtensa_arg_internal Iclass_xt_iclass_shiftt_stateArgs[] = {
3123   { { STATE_SAR }, 'i' }
3126 static xtensa_arg_internal Iclass_xt_iclass_slli_args[] = {
3127   { { OPERAND_arr }, 'o' },
3128   { { OPERAND_ars }, 'i' },
3129   { { OPERAND_msalp32 }, 'i' }
3132 static xtensa_arg_internal Iclass_xt_iclass_srai_args[] = {
3133   { { OPERAND_arr }, 'o' },
3134   { { OPERAND_art }, 'i' },
3135   { { OPERAND_sargt }, 'i' }
3138 static xtensa_arg_internal Iclass_xt_iclass_srli_args[] = {
3139   { { OPERAND_arr }, 'o' },
3140   { { OPERAND_art }, 'i' },
3141   { { OPERAND_s }, 'i' }
3144 static xtensa_arg_internal Iclass_xt_iclass_sync_stateArgs[] = {
3145   { { STATE_XTSYNC }, 'i' }
3148 static xtensa_arg_internal Iclass_xt_iclass_rsil_args[] = {
3149   { { OPERAND_art }, 'o' },
3150   { { OPERAND_s }, 'i' }
3153 static xtensa_arg_internal Iclass_xt_iclass_rsil_stateArgs[] = {
3154   { { STATE_PSWOE }, 'i' },
3155   { { STATE_PSCALLINC }, 'i' },
3156   { { STATE_PSOWB }, 'i' },
3157   { { STATE_PSUM }, 'i' },
3158   { { STATE_PSEXCM }, 'i' },
3159   { { STATE_PSINTLEVEL }, 'm' }
3162 static xtensa_arg_internal Iclass_xt_iclass_rsr_sar_args[] = {
3163   { { OPERAND_art }, 'o' }
3166 static xtensa_arg_internal Iclass_xt_iclass_rsr_sar_stateArgs[] = {
3167   { { STATE_SAR }, 'i' }
3170 static xtensa_arg_internal Iclass_xt_iclass_wsr_sar_args[] = {
3171   { { OPERAND_art }, 'i' }
3174 static xtensa_arg_internal Iclass_xt_iclass_wsr_sar_stateArgs[] = {
3175   { { STATE_SAR }, 'o' },
3176   { { STATE_XTSYNC }, 'o' }
3179 static xtensa_arg_internal Iclass_xt_iclass_xsr_sar_args[] = {
3180   { { OPERAND_art }, 'm' }
3183 static xtensa_arg_internal Iclass_xt_iclass_xsr_sar_stateArgs[] = {
3184   { { STATE_SAR }, 'm' }
3187 static xtensa_arg_internal Iclass_xt_iclass_rsr_memctl_args[] = {
3188   { { OPERAND_art }, 'o' }
3191 static xtensa_arg_internal Iclass_xt_iclass_wsr_memctl_args[] = {
3192   { { OPERAND_art }, 'i' }
3195 static xtensa_arg_internal Iclass_xt_iclass_xsr_memctl_args[] = {
3196   { { OPERAND_art }, 'm' }
3199 static xtensa_arg_internal Iclass_xt_iclass_rsr_litbase_args[] = {
3200   { { OPERAND_art }, 'o' }
3203 static xtensa_arg_internal Iclass_xt_iclass_wsr_litbase_args[] = {
3204   { { OPERAND_art }, 'i' }
3207 static xtensa_arg_internal Iclass_xt_iclass_xsr_litbase_args[] = {
3208   { { OPERAND_art }, 'm' }
3211 static xtensa_arg_internal Iclass_xt_iclass_rsr_configid0_args[] = {
3212   { { OPERAND_art }, 'o' }
3215 static xtensa_arg_internal Iclass_xt_iclass_wsr_configid0_args[] = {
3216   { { OPERAND_art }, 'i' }
3219 static xtensa_arg_internal Iclass_xt_iclass_rsr_configid1_args[] = {
3220   { { OPERAND_art }, 'o' }
3223 static xtensa_arg_internal Iclass_xt_iclass_rsr_ps_args[] = {
3224   { { OPERAND_art }, 'o' }
3227 static xtensa_arg_internal Iclass_xt_iclass_rsr_ps_stateArgs[] = {
3228   { { STATE_PSWOE }, 'i' },
3229   { { STATE_PSCALLINC }, 'i' },
3230   { { STATE_PSOWB }, 'i' },
3231   { { STATE_PSUM }, 'i' },
3232   { { STATE_PSEXCM }, 'i' },
3233   { { STATE_PSINTLEVEL }, 'i' }
3236 static xtensa_arg_internal Iclass_xt_iclass_wsr_ps_args[] = {
3237   { { OPERAND_art }, 'i' }
3240 static xtensa_arg_internal Iclass_xt_iclass_wsr_ps_stateArgs[] = {
3241   { { STATE_PSWOE }, 'o' },
3242   { { STATE_PSCALLINC }, 'o' },
3243   { { STATE_PSOWB }, 'o' },
3244   { { STATE_PSUM }, 'o' },
3245   { { STATE_PSEXCM }, 'o' },
3246   { { STATE_PSINTLEVEL }, 'o' }
3249 static xtensa_arg_internal Iclass_xt_iclass_xsr_ps_args[] = {
3250   { { OPERAND_art }, 'm' }
3253 static xtensa_arg_internal Iclass_xt_iclass_xsr_ps_stateArgs[] = {
3254   { { STATE_PSWOE }, 'm' },
3255   { { STATE_PSCALLINC }, 'm' },
3256   { { STATE_PSOWB }, 'm' },
3257   { { STATE_PSUM }, 'm' },
3258   { { STATE_PSEXCM }, 'm' },
3259   { { STATE_PSINTLEVEL }, 'm' }
3262 static xtensa_arg_internal Iclass_xt_iclass_rsr_epc1_args[] = {
3263   { { OPERAND_art }, 'o' }
3266 static xtensa_arg_internal Iclass_xt_iclass_rsr_epc1_stateArgs[] = {
3267   { { STATE_EPC1 }, 'i' }
3270 static xtensa_arg_internal Iclass_xt_iclass_wsr_epc1_args[] = {
3271   { { OPERAND_art }, 'i' }
3274 static xtensa_arg_internal Iclass_xt_iclass_wsr_epc1_stateArgs[] = {
3275   { { STATE_EPC1 }, 'o' }
3278 static xtensa_arg_internal Iclass_xt_iclass_xsr_epc1_args[] = {
3279   { { OPERAND_art }, 'm' }
3282 static xtensa_arg_internal Iclass_xt_iclass_xsr_epc1_stateArgs[] = {
3283   { { STATE_EPC1 }, 'm' }
3286 static xtensa_arg_internal Iclass_xt_iclass_rsr_excsave1_args[] = {
3287   { { OPERAND_art }, 'o' }
3290 static xtensa_arg_internal Iclass_xt_iclass_rsr_excsave1_stateArgs[] = {
3291   { { STATE_EXCSAVE1 }, 'i' }
3294 static xtensa_arg_internal Iclass_xt_iclass_wsr_excsave1_args[] = {
3295   { { OPERAND_art }, 'i' }
3298 static xtensa_arg_internal Iclass_xt_iclass_wsr_excsave1_stateArgs[] = {
3299   { { STATE_EXCSAVE1 }, 'o' }
3302 static xtensa_arg_internal Iclass_xt_iclass_xsr_excsave1_args[] = {
3303   { { OPERAND_art }, 'm' }
3306 static xtensa_arg_internal Iclass_xt_iclass_xsr_excsave1_stateArgs[] = {
3307   { { STATE_EXCSAVE1 }, 'm' }
3310 static xtensa_arg_internal Iclass_xt_iclass_rsr_epc2_args[] = {
3311   { { OPERAND_art }, 'o' }
3314 static xtensa_arg_internal Iclass_xt_iclass_rsr_epc2_stateArgs[] = {
3315   { { STATE_EPC2 }, 'i' }
3318 static xtensa_arg_internal Iclass_xt_iclass_wsr_epc2_args[] = {
3319   { { OPERAND_art }, 'i' }
3322 static xtensa_arg_internal Iclass_xt_iclass_wsr_epc2_stateArgs[] = {
3323   { { STATE_EPC2 }, 'o' }
3326 static xtensa_arg_internal Iclass_xt_iclass_xsr_epc2_args[] = {
3327   { { OPERAND_art }, 'm' }
3330 static xtensa_arg_internal Iclass_xt_iclass_xsr_epc2_stateArgs[] = {
3331   { { STATE_EPC2 }, 'm' }
3334 static xtensa_arg_internal Iclass_xt_iclass_rsr_excsave2_args[] = {
3335   { { OPERAND_art }, 'o' }
3338 static xtensa_arg_internal Iclass_xt_iclass_rsr_excsave2_stateArgs[] = {
3339   { { STATE_EXCSAVE2 }, 'i' }
3342 static xtensa_arg_internal Iclass_xt_iclass_wsr_excsave2_args[] = {
3343   { { OPERAND_art }, 'i' }
3346 static xtensa_arg_internal Iclass_xt_iclass_wsr_excsave2_stateArgs[] = {
3347   { { STATE_EXCSAVE2 }, 'o' }
3350 static xtensa_arg_internal Iclass_xt_iclass_xsr_excsave2_args[] = {
3351   { { OPERAND_art }, 'm' }
3354 static xtensa_arg_internal Iclass_xt_iclass_xsr_excsave2_stateArgs[] = {
3355   { { STATE_EXCSAVE2 }, 'm' }
3358 static xtensa_arg_internal Iclass_xt_iclass_rsr_epc3_args[] = {
3359   { { OPERAND_art }, 'o' }
3362 static xtensa_arg_internal Iclass_xt_iclass_rsr_epc3_stateArgs[] = {
3363   { { STATE_EPC3 }, 'i' }
3366 static xtensa_arg_internal Iclass_xt_iclass_wsr_epc3_args[] = {
3367   { { OPERAND_art }, 'i' }
3370 static xtensa_arg_internal Iclass_xt_iclass_wsr_epc3_stateArgs[] = {
3371   { { STATE_EPC3 }, 'o' }
3374 static xtensa_arg_internal Iclass_xt_iclass_xsr_epc3_args[] = {
3375   { { OPERAND_art }, 'm' }
3378 static xtensa_arg_internal Iclass_xt_iclass_xsr_epc3_stateArgs[] = {
3379   { { STATE_EPC3 }, 'm' }
3382 static xtensa_arg_internal Iclass_xt_iclass_rsr_excsave3_args[] = {
3383   { { OPERAND_art }, 'o' }
3386 static xtensa_arg_internal Iclass_xt_iclass_rsr_excsave3_stateArgs[] = {
3387   { { STATE_EXCSAVE3 }, 'i' }
3390 static xtensa_arg_internal Iclass_xt_iclass_wsr_excsave3_args[] = {
3391   { { OPERAND_art }, 'i' }
3394 static xtensa_arg_internal Iclass_xt_iclass_wsr_excsave3_stateArgs[] = {
3395   { { STATE_EXCSAVE3 }, 'o' }
3398 static xtensa_arg_internal Iclass_xt_iclass_xsr_excsave3_args[] = {
3399   { { OPERAND_art }, 'm' }
3402 static xtensa_arg_internal Iclass_xt_iclass_xsr_excsave3_stateArgs[] = {
3403   { { STATE_EXCSAVE3 }, 'm' }
3406 static xtensa_arg_internal Iclass_xt_iclass_rsr_epc4_args[] = {
3407   { { OPERAND_art }, 'o' }
3410 static xtensa_arg_internal Iclass_xt_iclass_rsr_epc4_stateArgs[] = {
3411   { { STATE_EPC4 }, 'i' }
3414 static xtensa_arg_internal Iclass_xt_iclass_wsr_epc4_args[] = {
3415   { { OPERAND_art }, 'i' }
3418 static xtensa_arg_internal Iclass_xt_iclass_wsr_epc4_stateArgs[] = {
3419   { { STATE_EPC4 }, 'o' }
3422 static xtensa_arg_internal Iclass_xt_iclass_xsr_epc4_args[] = {
3423   { { OPERAND_art }, 'm' }
3426 static xtensa_arg_internal Iclass_xt_iclass_xsr_epc4_stateArgs[] = {
3427   { { STATE_EPC4 }, 'm' }
3430 static xtensa_arg_internal Iclass_xt_iclass_rsr_excsave4_args[] = {
3431   { { OPERAND_art }, 'o' }
3434 static xtensa_arg_internal Iclass_xt_iclass_rsr_excsave4_stateArgs[] = {
3435   { { STATE_EXCSAVE4 }, 'i' }
3438 static xtensa_arg_internal Iclass_xt_iclass_wsr_excsave4_args[] = {
3439   { { OPERAND_art }, 'i' }
3442 static xtensa_arg_internal Iclass_xt_iclass_wsr_excsave4_stateArgs[] = {
3443   { { STATE_EXCSAVE4 }, 'o' }
3446 static xtensa_arg_internal Iclass_xt_iclass_xsr_excsave4_args[] = {
3447   { { OPERAND_art }, 'm' }
3450 static xtensa_arg_internal Iclass_xt_iclass_xsr_excsave4_stateArgs[] = {
3451   { { STATE_EXCSAVE4 }, 'm' }
3454 static xtensa_arg_internal Iclass_xt_iclass_rsr_epc5_args[] = {
3455   { { OPERAND_art }, 'o' }
3458 static xtensa_arg_internal Iclass_xt_iclass_rsr_epc5_stateArgs[] = {
3459   { { STATE_EPC5 }, 'i' }
3462 static xtensa_arg_internal Iclass_xt_iclass_wsr_epc5_args[] = {
3463   { { OPERAND_art }, 'i' }
3466 static xtensa_arg_internal Iclass_xt_iclass_wsr_epc5_stateArgs[] = {
3467   { { STATE_EPC5 }, 'o' }
3470 static xtensa_arg_internal Iclass_xt_iclass_xsr_epc5_args[] = {
3471   { { OPERAND_art }, 'm' }
3474 static xtensa_arg_internal Iclass_xt_iclass_xsr_epc5_stateArgs[] = {
3475   { { STATE_EPC5 }, 'm' }
3478 static xtensa_arg_internal Iclass_xt_iclass_rsr_excsave5_args[] = {
3479   { { OPERAND_art }, 'o' }
3482 static xtensa_arg_internal Iclass_xt_iclass_rsr_excsave5_stateArgs[] = {
3483   { { STATE_EXCSAVE5 }, 'i' }
3486 static xtensa_arg_internal Iclass_xt_iclass_wsr_excsave5_args[] = {
3487   { { OPERAND_art }, 'i' }
3490 static xtensa_arg_internal Iclass_xt_iclass_wsr_excsave5_stateArgs[] = {
3491   { { STATE_EXCSAVE5 }, 'o' }
3494 static xtensa_arg_internal Iclass_xt_iclass_xsr_excsave5_args[] = {
3495   { { OPERAND_art }, 'm' }
3498 static xtensa_arg_internal Iclass_xt_iclass_xsr_excsave5_stateArgs[] = {
3499   { { STATE_EXCSAVE5 }, 'm' }
3502 static xtensa_arg_internal Iclass_xt_iclass_rsr_epc6_args[] = {
3503   { { OPERAND_art }, 'o' }
3506 static xtensa_arg_internal Iclass_xt_iclass_rsr_epc6_stateArgs[] = {
3507   { { STATE_EPC6 }, 'i' }
3510 static xtensa_arg_internal Iclass_xt_iclass_wsr_epc6_args[] = {
3511   { { OPERAND_art }, 'i' }
3514 static xtensa_arg_internal Iclass_xt_iclass_wsr_epc6_stateArgs[] = {
3515   { { STATE_EPC6 }, 'o' }
3518 static xtensa_arg_internal Iclass_xt_iclass_xsr_epc6_args[] = {
3519   { { OPERAND_art }, 'm' }
3522 static xtensa_arg_internal Iclass_xt_iclass_xsr_epc6_stateArgs[] = {
3523   { { STATE_EPC6 }, 'm' }
3526 static xtensa_arg_internal Iclass_xt_iclass_rsr_excsave6_args[] = {
3527   { { OPERAND_art }, 'o' }
3530 static xtensa_arg_internal Iclass_xt_iclass_rsr_excsave6_stateArgs[] = {
3531   { { STATE_EXCSAVE6 }, 'i' }
3534 static xtensa_arg_internal Iclass_xt_iclass_wsr_excsave6_args[] = {
3535   { { OPERAND_art }, 'i' }
3538 static xtensa_arg_internal Iclass_xt_iclass_wsr_excsave6_stateArgs[] = {
3539   { { STATE_EXCSAVE6 }, 'o' }
3542 static xtensa_arg_internal Iclass_xt_iclass_xsr_excsave6_args[] = {
3543   { { OPERAND_art }, 'm' }
3546 static xtensa_arg_internal Iclass_xt_iclass_xsr_excsave6_stateArgs[] = {
3547   { { STATE_EXCSAVE6 }, 'm' }
3550 static xtensa_arg_internal Iclass_xt_iclass_rsr_epc7_args[] = {
3551   { { OPERAND_art }, 'o' }
3554 static xtensa_arg_internal Iclass_xt_iclass_rsr_epc7_stateArgs[] = {
3555   { { STATE_EPC7 }, 'i' }
3558 static xtensa_arg_internal Iclass_xt_iclass_wsr_epc7_args[] = {
3559   { { OPERAND_art }, 'i' }
3562 static xtensa_arg_internal Iclass_xt_iclass_wsr_epc7_stateArgs[] = {
3563   { { STATE_EPC7 }, 'o' }
3566 static xtensa_arg_internal Iclass_xt_iclass_xsr_epc7_args[] = {
3567   { { OPERAND_art }, 'm' }
3570 static xtensa_arg_internal Iclass_xt_iclass_xsr_epc7_stateArgs[] = {
3571   { { STATE_EPC7 }, 'm' }
3574 static xtensa_arg_internal Iclass_xt_iclass_rsr_excsave7_args[] = {
3575   { { OPERAND_art }, 'o' }
3578 static xtensa_arg_internal Iclass_xt_iclass_rsr_excsave7_stateArgs[] = {
3579   { { STATE_EXCSAVE7 }, 'i' }
3582 static xtensa_arg_internal Iclass_xt_iclass_wsr_excsave7_args[] = {
3583   { { OPERAND_art }, 'i' }
3586 static xtensa_arg_internal Iclass_xt_iclass_wsr_excsave7_stateArgs[] = {
3587   { { STATE_EXCSAVE7 }, 'o' }
3590 static xtensa_arg_internal Iclass_xt_iclass_xsr_excsave7_args[] = {
3591   { { OPERAND_art }, 'm' }
3594 static xtensa_arg_internal Iclass_xt_iclass_xsr_excsave7_stateArgs[] = {
3595   { { STATE_EXCSAVE7 }, 'm' }
3598 static xtensa_arg_internal Iclass_xt_iclass_rsr_eps2_args[] = {
3599   { { OPERAND_art }, 'o' }
3602 static xtensa_arg_internal Iclass_xt_iclass_rsr_eps2_stateArgs[] = {
3603   { { STATE_EPS2 }, 'i' }
3606 static xtensa_arg_internal Iclass_xt_iclass_wsr_eps2_args[] = {
3607   { { OPERAND_art }, 'i' }
3610 static xtensa_arg_internal Iclass_xt_iclass_wsr_eps2_stateArgs[] = {
3611   { { STATE_EPS2 }, 'o' }
3614 static xtensa_arg_internal Iclass_xt_iclass_xsr_eps2_args[] = {
3615   { { OPERAND_art }, 'm' }
3618 static xtensa_arg_internal Iclass_xt_iclass_xsr_eps2_stateArgs[] = {
3619   { { STATE_EPS2 }, 'm' }
3622 static xtensa_arg_internal Iclass_xt_iclass_rsr_eps3_args[] = {
3623   { { OPERAND_art }, 'o' }
3626 static xtensa_arg_internal Iclass_xt_iclass_rsr_eps3_stateArgs[] = {
3627   { { STATE_EPS3 }, 'i' }
3630 static xtensa_arg_internal Iclass_xt_iclass_wsr_eps3_args[] = {
3631   { { OPERAND_art }, 'i' }
3634 static xtensa_arg_internal Iclass_xt_iclass_wsr_eps3_stateArgs[] = {
3635   { { STATE_EPS3 }, 'o' }
3638 static xtensa_arg_internal Iclass_xt_iclass_xsr_eps3_args[] = {
3639   { { OPERAND_art }, 'm' }
3642 static xtensa_arg_internal Iclass_xt_iclass_xsr_eps3_stateArgs[] = {
3643   { { STATE_EPS3 }, 'm' }
3646 static xtensa_arg_internal Iclass_xt_iclass_rsr_eps4_args[] = {
3647   { { OPERAND_art }, 'o' }
3650 static xtensa_arg_internal Iclass_xt_iclass_rsr_eps4_stateArgs[] = {
3651   { { STATE_EPS4 }, 'i' }
3654 static xtensa_arg_internal Iclass_xt_iclass_wsr_eps4_args[] = {
3655   { { OPERAND_art }, 'i' }
3658 static xtensa_arg_internal Iclass_xt_iclass_wsr_eps4_stateArgs[] = {
3659   { { STATE_EPS4 }, 'o' }
3662 static xtensa_arg_internal Iclass_xt_iclass_xsr_eps4_args[] = {
3663   { { OPERAND_art }, 'm' }
3666 static xtensa_arg_internal Iclass_xt_iclass_xsr_eps4_stateArgs[] = {
3667   { { STATE_EPS4 }, 'm' }
3670 static xtensa_arg_internal Iclass_xt_iclass_rsr_eps5_args[] = {
3671   { { OPERAND_art }, 'o' }
3674 static xtensa_arg_internal Iclass_xt_iclass_rsr_eps5_stateArgs[] = {
3675   { { STATE_EPS5 }, 'i' }
3678 static xtensa_arg_internal Iclass_xt_iclass_wsr_eps5_args[] = {
3679   { { OPERAND_art }, 'i' }
3682 static xtensa_arg_internal Iclass_xt_iclass_wsr_eps5_stateArgs[] = {
3683   { { STATE_EPS5 }, 'o' }
3686 static xtensa_arg_internal Iclass_xt_iclass_xsr_eps5_args[] = {
3687   { { OPERAND_art }, 'm' }
3690 static xtensa_arg_internal Iclass_xt_iclass_xsr_eps5_stateArgs[] = {
3691   { { STATE_EPS5 }, 'm' }
3694 static xtensa_arg_internal Iclass_xt_iclass_rsr_eps6_args[] = {
3695   { { OPERAND_art }, 'o' }
3698 static xtensa_arg_internal Iclass_xt_iclass_rsr_eps6_stateArgs[] = {
3699   { { STATE_EPS6 }, 'i' }
3702 static xtensa_arg_internal Iclass_xt_iclass_wsr_eps6_args[] = {
3703   { { OPERAND_art }, 'i' }
3706 static xtensa_arg_internal Iclass_xt_iclass_wsr_eps6_stateArgs[] = {
3707   { { STATE_EPS6 }, 'o' }
3710 static xtensa_arg_internal Iclass_xt_iclass_xsr_eps6_args[] = {
3711   { { OPERAND_art }, 'm' }
3714 static xtensa_arg_internal Iclass_xt_iclass_xsr_eps6_stateArgs[] = {
3715   { { STATE_EPS6 }, 'm' }
3718 static xtensa_arg_internal Iclass_xt_iclass_rsr_eps7_args[] = {
3719   { { OPERAND_art }, 'o' }
3722 static xtensa_arg_internal Iclass_xt_iclass_rsr_eps7_stateArgs[] = {
3723   { { STATE_EPS7 }, 'i' }
3726 static xtensa_arg_internal Iclass_xt_iclass_wsr_eps7_args[] = {
3727   { { OPERAND_art }, 'i' }
3730 static xtensa_arg_internal Iclass_xt_iclass_wsr_eps7_stateArgs[] = {
3731   { { STATE_EPS7 }, 'o' }
3734 static xtensa_arg_internal Iclass_xt_iclass_xsr_eps7_args[] = {
3735   { { OPERAND_art }, 'm' }
3738 static xtensa_arg_internal Iclass_xt_iclass_xsr_eps7_stateArgs[] = {
3739   { { STATE_EPS7 }, 'm' }
3742 static xtensa_arg_internal Iclass_xt_iclass_rsr_excvaddr_args[] = {
3743   { { OPERAND_art }, 'o' }
3746 static xtensa_arg_internal Iclass_xt_iclass_rsr_excvaddr_stateArgs[] = {
3747   { { STATE_EXCVADDR }, 'i' }
3750 static xtensa_arg_internal Iclass_xt_iclass_wsr_excvaddr_args[] = {
3751   { { OPERAND_art }, 'i' }
3754 static xtensa_arg_internal Iclass_xt_iclass_wsr_excvaddr_stateArgs[] = {
3755   { { STATE_EXCVADDR }, 'o' }
3758 static xtensa_arg_internal Iclass_xt_iclass_xsr_excvaddr_args[] = {
3759   { { OPERAND_art }, 'm' }
3762 static xtensa_arg_internal Iclass_xt_iclass_xsr_excvaddr_stateArgs[] = {
3763   { { STATE_EXCVADDR }, 'm' }
3766 static xtensa_arg_internal Iclass_xt_iclass_rsr_depc_args[] = {
3767   { { OPERAND_art }, 'o' }
3770 static xtensa_arg_internal Iclass_xt_iclass_rsr_depc_stateArgs[] = {
3771   { { STATE_DEPC }, 'i' }
3774 static xtensa_arg_internal Iclass_xt_iclass_wsr_depc_args[] = {
3775   { { OPERAND_art }, 'i' }
3778 static xtensa_arg_internal Iclass_xt_iclass_wsr_depc_stateArgs[] = {
3779   { { STATE_DEPC }, 'o' }
3782 static xtensa_arg_internal Iclass_xt_iclass_xsr_depc_args[] = {
3783   { { OPERAND_art }, 'm' }
3786 static xtensa_arg_internal Iclass_xt_iclass_xsr_depc_stateArgs[] = {
3787   { { STATE_DEPC }, 'm' }
3790 static xtensa_arg_internal Iclass_xt_iclass_rsr_exccause_args[] = {
3791   { { OPERAND_art }, 'o' }
3794 static xtensa_arg_internal Iclass_xt_iclass_rsr_exccause_stateArgs[] = {
3795   { { STATE_EXCCAUSE }, 'i' },
3796   { { STATE_XTSYNC }, 'i' }
3799 static xtensa_arg_internal Iclass_xt_iclass_wsr_exccause_args[] = {
3800   { { OPERAND_art }, 'i' }
3803 static xtensa_arg_internal Iclass_xt_iclass_wsr_exccause_stateArgs[] = {
3804   { { STATE_EXCCAUSE }, 'o' }
3807 static xtensa_arg_internal Iclass_xt_iclass_xsr_exccause_args[] = {
3808   { { OPERAND_art }, 'm' }
3811 static xtensa_arg_internal Iclass_xt_iclass_xsr_exccause_stateArgs[] = {
3812   { { STATE_EXCCAUSE }, 'm' }
3815 static xtensa_arg_internal Iclass_xt_iclass_rsr_misc0_args[] = {
3816   { { OPERAND_art }, 'o' }
3819 static xtensa_arg_internal Iclass_xt_iclass_rsr_misc0_stateArgs[] = {
3820   { { STATE_MISC0 }, 'i' }
3823 static xtensa_arg_internal Iclass_xt_iclass_wsr_misc0_args[] = {
3824   { { OPERAND_art }, 'i' }
3827 static xtensa_arg_internal Iclass_xt_iclass_wsr_misc0_stateArgs[] = {
3828   { { STATE_MISC0 }, 'o' }
3831 static xtensa_arg_internal Iclass_xt_iclass_xsr_misc0_args[] = {
3832   { { OPERAND_art }, 'm' }
3835 static xtensa_arg_internal Iclass_xt_iclass_xsr_misc0_stateArgs[] = {
3836   { { STATE_MISC0 }, 'm' }
3839 static xtensa_arg_internal Iclass_xt_iclass_rsr_misc1_args[] = {
3840   { { OPERAND_art }, 'o' }
3843 static xtensa_arg_internal Iclass_xt_iclass_rsr_misc1_stateArgs[] = {
3844   { { STATE_MISC1 }, 'i' }
3847 static xtensa_arg_internal Iclass_xt_iclass_wsr_misc1_args[] = {
3848   { { OPERAND_art }, 'i' }
3851 static xtensa_arg_internal Iclass_xt_iclass_wsr_misc1_stateArgs[] = {
3852   { { STATE_MISC1 }, 'o' }
3855 static xtensa_arg_internal Iclass_xt_iclass_xsr_misc1_args[] = {
3856   { { OPERAND_art }, 'm' }
3859 static xtensa_arg_internal Iclass_xt_iclass_xsr_misc1_stateArgs[] = {
3860   { { STATE_MISC1 }, 'm' }
3863 static xtensa_arg_internal Iclass_xt_iclass_rsr_prid_args[] = {
3864   { { OPERAND_art }, 'o' }
3867 static xtensa_arg_internal Iclass_xt_iclass_rsr_vecbase_args[] = {
3868   { { OPERAND_art }, 'o' }
3871 static xtensa_arg_internal Iclass_xt_iclass_rsr_vecbase_stateArgs[] = {
3872   { { STATE_VECBASE }, 'i' }
3875 static xtensa_arg_internal Iclass_xt_iclass_wsr_vecbase_args[] = {
3876   { { OPERAND_art }, 'i' }
3879 static xtensa_arg_internal Iclass_xt_iclass_wsr_vecbase_stateArgs[] = {
3880   { { STATE_VECBASE }, 'o' }
3883 static xtensa_arg_internal Iclass_xt_iclass_xsr_vecbase_args[] = {
3884   { { OPERAND_art }, 'm' }
3887 static xtensa_arg_internal Iclass_xt_iclass_xsr_vecbase_stateArgs[] = {
3888   { { STATE_VECBASE }, 'm' }
3891 static xtensa_arg_internal Iclass_xt_iclass_salt_args[] = {
3892   { { OPERAND_arr }, 'o' },
3893   { { OPERAND_ars }, 'i' },
3894   { { OPERAND_art }, 'i' }
3897 static xtensa_arg_internal Iclass_xt_mul16_args[] = {
3898   { { OPERAND_arr }, 'o' },
3899   { { OPERAND_ars }, 'i' },
3900   { { OPERAND_art }, 'i' }
3903 static xtensa_arg_internal Iclass_xt_mul32_args[] = {
3904   { { OPERAND_arr }, 'o' },
3905   { { OPERAND_ars }, 'i' },
3906   { { OPERAND_art }, 'i' }
3909 static xtensa_arg_internal Iclass_xt_iclass_rfi_args[] = {
3910   { { OPERAND_s }, 'i' }
3913 static xtensa_arg_internal Iclass_xt_iclass_rfi_stateArgs[] = {
3914   { { STATE_PSWOE }, 'o' },
3915   { { STATE_PSCALLINC }, 'o' },
3916   { { STATE_PSOWB }, 'o' },
3917   { { STATE_PSUM }, 'o' },
3918   { { STATE_PSEXCM }, 'o' },
3919   { { STATE_PSINTLEVEL }, 'o' },
3920   { { STATE_EPC1 }, 'i' },
3921   { { STATE_EPC2 }, 'i' },
3922   { { STATE_EPC3 }, 'i' },
3923   { { STATE_EPC4 }, 'i' },
3924   { { STATE_EPC5 }, 'i' },
3925   { { STATE_EPC6 }, 'i' },
3926   { { STATE_EPC7 }, 'i' },
3927   { { STATE_EPS2 }, 'i' },
3928   { { STATE_EPS3 }, 'i' },
3929   { { STATE_EPS4 }, 'i' },
3930   { { STATE_EPS5 }, 'i' },
3931   { { STATE_EPS6 }, 'i' },
3932   { { STATE_EPS7 }, 'i' },
3933   { { STATE_InOCDMode }, 'm' }
3936 static xtensa_arg_internal Iclass_xt_iclass_wait_args[] = {
3937   { { OPERAND_s }, 'i' }
3940 static xtensa_arg_internal Iclass_xt_iclass_wait_stateArgs[] = {
3941   { { STATE_PSINTLEVEL }, 'o' }
3944 static xtensa_arg_internal Iclass_xt_iclass_rsr_interrupt_args[] = {
3945   { { OPERAND_art }, 'o' }
3948 static xtensa_arg_internal Iclass_xt_iclass_rsr_interrupt_stateArgs[] = {
3949   { { STATE_INTERRUPT }, 'i' }
3952 static xtensa_arg_internal Iclass_xt_iclass_wsr_intset_args[] = {
3953   { { OPERAND_art }, 'i' }
3956 static xtensa_arg_internal Iclass_xt_iclass_wsr_intset_stateArgs[] = {
3957   { { STATE_XTSYNC }, 'o' },
3958   { { STATE_INTERRUPT }, 'm' }
3961 static xtensa_arg_internal Iclass_xt_iclass_wsr_intclear_args[] = {
3962   { { OPERAND_art }, 'i' }
3965 static xtensa_arg_internal Iclass_xt_iclass_wsr_intclear_stateArgs[] = {
3966   { { STATE_XTSYNC }, 'o' },
3967   { { STATE_INTERRUPT }, 'm' }
3970 static xtensa_arg_internal Iclass_xt_iclass_rsr_intenable_args[] = {
3971   { { OPERAND_art }, 'o' }
3974 static xtensa_arg_internal Iclass_xt_iclass_rsr_intenable_stateArgs[] = {
3975   { { STATE_INTENABLE }, 'i' }
3978 static xtensa_arg_internal Iclass_xt_iclass_wsr_intenable_args[] = {
3979   { { OPERAND_art }, 'i' }
3982 static xtensa_arg_internal Iclass_xt_iclass_wsr_intenable_stateArgs[] = {
3983   { { STATE_INTENABLE }, 'o' }
3986 static xtensa_arg_internal Iclass_xt_iclass_xsr_intenable_args[] = {
3987   { { OPERAND_art }, 'm' }
3990 static xtensa_arg_internal Iclass_xt_iclass_xsr_intenable_stateArgs[] = {
3991   { { STATE_INTENABLE }, 'm' }
3994 static xtensa_arg_internal Iclass_xt_iclass_break_args[] = {
3995   { { OPERAND_imms }, 'i' },
3996   { { OPERAND_immt }, 'i' }
3999 static xtensa_arg_internal Iclass_xt_iclass_break_stateArgs[] = {
4000   { { STATE_PSEXCM }, 'i' },
4001   { { STATE_PSINTLEVEL }, 'i' }
4004 static xtensa_arg_internal Iclass_xt_iclass_break_n_args[] = {
4005   { { OPERAND_imms }, 'i' }
4008 static xtensa_arg_internal Iclass_xt_iclass_break_n_stateArgs[] = {
4009   { { STATE_PSEXCM }, 'i' },
4010   { { STATE_PSINTLEVEL }, 'i' }
4013 static xtensa_arg_internal Iclass_xt_iclass_rsr_dbreaka0_args[] = {
4014   { { OPERAND_art }, 'o' }
4017 static xtensa_arg_internal Iclass_xt_iclass_rsr_dbreaka0_stateArgs[] = {
4018   { { STATE_DBREAKA0 }, 'i' }
4021 static xtensa_arg_internal Iclass_xt_iclass_wsr_dbreaka0_args[] = {
4022   { { OPERAND_art }, 'i' }
4025 static xtensa_arg_internal Iclass_xt_iclass_wsr_dbreaka0_stateArgs[] = {
4026   { { STATE_DBREAKA0 }, 'o' },
4027   { { STATE_XTSYNC }, 'o' }
4030 static xtensa_arg_internal Iclass_xt_iclass_xsr_dbreaka0_args[] = {
4031   { { OPERAND_art }, 'm' }
4034 static xtensa_arg_internal Iclass_xt_iclass_xsr_dbreaka0_stateArgs[] = {
4035   { { STATE_DBREAKA0 }, 'm' },
4036   { { STATE_XTSYNC }, 'o' }
4039 static xtensa_arg_internal Iclass_xt_iclass_rsr_dbreakc0_args[] = {
4040   { { OPERAND_art }, 'o' }
4043 static xtensa_arg_internal Iclass_xt_iclass_rsr_dbreakc0_stateArgs[] = {
4044   { { STATE_DBREAKC0 }, 'i' }
4047 static xtensa_arg_internal Iclass_xt_iclass_wsr_dbreakc0_args[] = {
4048   { { OPERAND_art }, 'i' }
4051 static xtensa_arg_internal Iclass_xt_iclass_wsr_dbreakc0_stateArgs[] = {
4052   { { STATE_DBREAKC0 }, 'o' },
4053   { { STATE_XTSYNC }, 'o' }
4056 static xtensa_arg_internal Iclass_xt_iclass_xsr_dbreakc0_args[] = {
4057   { { OPERAND_art }, 'm' }
4060 static xtensa_arg_internal Iclass_xt_iclass_xsr_dbreakc0_stateArgs[] = {
4061   { { STATE_DBREAKC0 }, 'm' },
4062   { { STATE_XTSYNC }, 'o' }
4065 static xtensa_arg_internal Iclass_xt_iclass_rsr_dbreaka1_args[] = {
4066   { { OPERAND_art }, 'o' }
4069 static xtensa_arg_internal Iclass_xt_iclass_rsr_dbreaka1_stateArgs[] = {
4070   { { STATE_DBREAKA1 }, 'i' }
4073 static xtensa_arg_internal Iclass_xt_iclass_wsr_dbreaka1_args[] = {
4074   { { OPERAND_art }, 'i' }
4077 static xtensa_arg_internal Iclass_xt_iclass_wsr_dbreaka1_stateArgs[] = {
4078   { { STATE_DBREAKA1 }, 'o' },
4079   { { STATE_XTSYNC }, 'o' }
4082 static xtensa_arg_internal Iclass_xt_iclass_xsr_dbreaka1_args[] = {
4083   { { OPERAND_art }, 'm' }
4086 static xtensa_arg_internal Iclass_xt_iclass_xsr_dbreaka1_stateArgs[] = {
4087   { { STATE_DBREAKA1 }, 'm' },
4088   { { STATE_XTSYNC }, 'o' }
4091 static xtensa_arg_internal Iclass_xt_iclass_rsr_dbreakc1_args[] = {
4092   { { OPERAND_art }, 'o' }
4095 static xtensa_arg_internal Iclass_xt_iclass_rsr_dbreakc1_stateArgs[] = {
4096   { { STATE_DBREAKC1 }, 'i' }
4099 static xtensa_arg_internal Iclass_xt_iclass_wsr_dbreakc1_args[] = {
4100   { { OPERAND_art }, 'i' }
4103 static xtensa_arg_internal Iclass_xt_iclass_wsr_dbreakc1_stateArgs[] = {
4104   { { STATE_DBREAKC1 }, 'o' },
4105   { { STATE_XTSYNC }, 'o' }
4108 static xtensa_arg_internal Iclass_xt_iclass_xsr_dbreakc1_args[] = {
4109   { { OPERAND_art }, 'm' }
4112 static xtensa_arg_internal Iclass_xt_iclass_xsr_dbreakc1_stateArgs[] = {
4113   { { STATE_DBREAKC1 }, 'm' },
4114   { { STATE_XTSYNC }, 'o' }
4117 static xtensa_arg_internal Iclass_xt_iclass_rsr_ibreaka0_args[] = {
4118   { { OPERAND_art }, 'o' }
4121 static xtensa_arg_internal Iclass_xt_iclass_rsr_ibreaka0_stateArgs[] = {
4122   { { STATE_IBREAKA0 }, 'i' }
4125 static xtensa_arg_internal Iclass_xt_iclass_wsr_ibreaka0_args[] = {
4126   { { OPERAND_art }, 'i' }
4129 static xtensa_arg_internal Iclass_xt_iclass_wsr_ibreaka0_stateArgs[] = {
4130   { { STATE_IBREAKA0 }, 'o' }
4133 static xtensa_arg_internal Iclass_xt_iclass_xsr_ibreaka0_args[] = {
4134   { { OPERAND_art }, 'm' }
4137 static xtensa_arg_internal Iclass_xt_iclass_xsr_ibreaka0_stateArgs[] = {
4138   { { STATE_IBREAKA0 }, 'm' }
4141 static xtensa_arg_internal Iclass_xt_iclass_rsr_ibreaka1_args[] = {
4142   { { OPERAND_art }, 'o' }
4145 static xtensa_arg_internal Iclass_xt_iclass_rsr_ibreaka1_stateArgs[] = {
4146   { { STATE_IBREAKA1 }, 'i' }
4149 static xtensa_arg_internal Iclass_xt_iclass_wsr_ibreaka1_args[] = {
4150   { { OPERAND_art }, 'i' }
4153 static xtensa_arg_internal Iclass_xt_iclass_wsr_ibreaka1_stateArgs[] = {
4154   { { STATE_IBREAKA1 }, 'o' }
4157 static xtensa_arg_internal Iclass_xt_iclass_xsr_ibreaka1_args[] = {
4158   { { OPERAND_art }, 'm' }
4161 static xtensa_arg_internal Iclass_xt_iclass_xsr_ibreaka1_stateArgs[] = {
4162   { { STATE_IBREAKA1 }, 'm' }
4165 static xtensa_arg_internal Iclass_xt_iclass_rsr_ibreakenable_args[] = {
4166   { { OPERAND_art }, 'o' }
4169 static xtensa_arg_internal Iclass_xt_iclass_rsr_ibreakenable_stateArgs[] = {
4170   { { STATE_IBREAKENABLE }, 'i' }
4173 static xtensa_arg_internal Iclass_xt_iclass_wsr_ibreakenable_args[] = {
4174   { { OPERAND_art }, 'i' }
4177 static xtensa_arg_internal Iclass_xt_iclass_wsr_ibreakenable_stateArgs[] = {
4178   { { STATE_IBREAKENABLE }, 'o' }
4181 static xtensa_arg_internal Iclass_xt_iclass_xsr_ibreakenable_args[] = {
4182   { { OPERAND_art }, 'm' }
4185 static xtensa_arg_internal Iclass_xt_iclass_xsr_ibreakenable_stateArgs[] = {
4186   { { STATE_IBREAKENABLE }, 'm' }
4189 static xtensa_arg_internal Iclass_xt_iclass_rsr_debugcause_args[] = {
4190   { { OPERAND_art }, 'o' }
4193 static xtensa_arg_internal Iclass_xt_iclass_rsr_debugcause_stateArgs[] = {
4194   { { STATE_DEBUGCAUSE }, 'i' },
4195   { { STATE_DBNUM }, 'i' }
4198 static xtensa_arg_internal Iclass_xt_iclass_wsr_debugcause_args[] = {
4199   { { OPERAND_art }, 'i' }
4202 static xtensa_arg_internal Iclass_xt_iclass_wsr_debugcause_stateArgs[] = {
4203   { { STATE_DEBUGCAUSE }, 'o' },
4204   { { STATE_DBNUM }, 'o' }
4207 static xtensa_arg_internal Iclass_xt_iclass_xsr_debugcause_args[] = {
4208   { { OPERAND_art }, 'm' }
4211 static xtensa_arg_internal Iclass_xt_iclass_xsr_debugcause_stateArgs[] = {
4212   { { STATE_DEBUGCAUSE }, 'm' },
4213   { { STATE_DBNUM }, 'm' }
4216 static xtensa_arg_internal Iclass_xt_iclass_rsr_icount_args[] = {
4217   { { OPERAND_art }, 'o' }
4220 static xtensa_arg_internal Iclass_xt_iclass_rsr_icount_stateArgs[] = {
4221   { { STATE_ICOUNT }, 'i' }
4224 static xtensa_arg_internal Iclass_xt_iclass_wsr_icount_args[] = {
4225   { { OPERAND_art }, 'i' }
4228 static xtensa_arg_internal Iclass_xt_iclass_wsr_icount_stateArgs[] = {
4229   { { STATE_XTSYNC }, 'o' },
4230   { { STATE_ICOUNT }, 'o' }
4233 static xtensa_arg_internal Iclass_xt_iclass_xsr_icount_args[] = {
4234   { { OPERAND_art }, 'm' }
4237 static xtensa_arg_internal Iclass_xt_iclass_xsr_icount_stateArgs[] = {
4238   { { STATE_XTSYNC }, 'o' },
4239   { { STATE_ICOUNT }, 'm' }
4242 static xtensa_arg_internal Iclass_xt_iclass_rsr_icountlevel_args[] = {
4243   { { OPERAND_art }, 'o' }
4246 static xtensa_arg_internal Iclass_xt_iclass_rsr_icountlevel_stateArgs[] = {
4247   { { STATE_ICOUNTLEVEL }, 'i' }
4250 static xtensa_arg_internal Iclass_xt_iclass_wsr_icountlevel_args[] = {
4251   { { OPERAND_art }, 'i' }
4254 static xtensa_arg_internal Iclass_xt_iclass_wsr_icountlevel_stateArgs[] = {
4255   { { STATE_ICOUNTLEVEL }, 'o' }
4258 static xtensa_arg_internal Iclass_xt_iclass_xsr_icountlevel_args[] = {
4259   { { OPERAND_art }, 'm' }
4262 static xtensa_arg_internal Iclass_xt_iclass_xsr_icountlevel_stateArgs[] = {
4263   { { STATE_ICOUNTLEVEL }, 'm' }
4266 static xtensa_arg_internal Iclass_xt_iclass_rsr_ddr_args[] = {
4267   { { OPERAND_art }, 'o' }
4270 static xtensa_arg_internal Iclass_xt_iclass_rsr_ddr_stateArgs[] = {
4271   { { STATE_DDR }, 'i' }
4274 static xtensa_arg_internal Iclass_xt_iclass_wsr_ddr_args[] = {
4275   { { OPERAND_art }, 'i' }
4278 static xtensa_arg_internal Iclass_xt_iclass_wsr_ddr_stateArgs[] = {
4279   { { STATE_XTSYNC }, 'o' },
4280   { { STATE_DDR }, 'o' }
4283 static xtensa_arg_internal Iclass_xt_iclass_xsr_ddr_args[] = {
4284   { { OPERAND_art }, 'm' }
4287 static xtensa_arg_internal Iclass_xt_iclass_xsr_ddr_stateArgs[] = {
4288   { { STATE_XTSYNC }, 'o' },
4289   { { STATE_DDR }, 'm' }
4292 static xtensa_arg_internal Iclass_xt_iclass_lddr32_p_args[] = {
4293   { { OPERAND_ars }, 'm' }
4296 static xtensa_arg_internal Iclass_xt_iclass_lddr32_p_stateArgs[] = {
4297   { { STATE_XTSYNC }, 'o' },
4298   { { STATE_InOCDMode }, 'i' },
4299   { { STATE_DDR }, 'o' }
4302 static xtensa_arg_internal Iclass_xt_iclass_sddr32_p_args[] = {
4303   { { OPERAND_ars }, 'm' }
4306 static xtensa_arg_internal Iclass_xt_iclass_sddr32_p_stateArgs[] = {
4307   { { STATE_InOCDMode }, 'i' },
4308   { { STATE_DDR }, 'i' }
4311 static xtensa_arg_internal Iclass_xt_iclass_rfdo_args[] = {
4312   { { OPERAND_imms }, 'i' }
4315 static xtensa_arg_internal Iclass_xt_iclass_rfdo_stateArgs[] = {
4316   { { STATE_InOCDMode }, 'm' },
4317   { { STATE_EPC6 }, 'i' },
4318   { { STATE_PSWOE }, 'o' },
4319   { { STATE_PSCALLINC }, 'o' },
4320   { { STATE_PSOWB }, 'o' },
4321   { { STATE_PSUM }, 'o' },
4322   { { STATE_PSEXCM }, 'o' },
4323   { { STATE_PSINTLEVEL }, 'o' },
4324   { { STATE_EPS6 }, 'i' }
4327 static xtensa_arg_internal Iclass_xt_iclass_rfdd_stateArgs[] = {
4328   { { STATE_InOCDMode }, 'm' }
4331 static xtensa_arg_internal Iclass_xt_iclass_wsr_mmid_args[] = {
4332   { { OPERAND_art }, 'i' }
4335 static xtensa_arg_internal Iclass_xt_iclass_wsr_mmid_stateArgs[] = {
4336   { { STATE_XTSYNC }, 'o' }
4339 static xtensa_arg_internal Iclass_xt_iclass_rsr_ccount_args[] = {
4340   { { OPERAND_art }, 'o' }
4343 static xtensa_arg_internal Iclass_xt_iclass_rsr_ccount_stateArgs[] = {
4344   { { STATE_CCOUNT }, 'i' }
4347 static xtensa_arg_internal Iclass_xt_iclass_wsr_ccount_args[] = {
4348   { { OPERAND_art }, 'i' }
4351 static xtensa_arg_internal Iclass_xt_iclass_wsr_ccount_stateArgs[] = {
4352   { { STATE_XTSYNC }, 'o' },
4353   { { STATE_CCOUNT }, 'o' }
4356 static xtensa_arg_internal Iclass_xt_iclass_xsr_ccount_args[] = {
4357   { { OPERAND_art }, 'm' }
4360 static xtensa_arg_internal Iclass_xt_iclass_xsr_ccount_stateArgs[] = {
4361   { { STATE_XTSYNC }, 'o' },
4362   { { STATE_CCOUNT }, 'm' }
4365 static xtensa_arg_internal Iclass_xt_iclass_rsr_ccompare0_args[] = {
4366   { { OPERAND_art }, 'o' }
4369 static xtensa_arg_internal Iclass_xt_iclass_rsr_ccompare0_stateArgs[] = {
4370   { { STATE_CCOMPARE0 }, 'i' }
4373 static xtensa_arg_internal Iclass_xt_iclass_wsr_ccompare0_args[] = {
4374   { { OPERAND_art }, 'i' }
4377 static xtensa_arg_internal Iclass_xt_iclass_wsr_ccompare0_stateArgs[] = {
4378   { { STATE_CCOMPARE0 }, 'o' },
4379   { { STATE_INTERRUPT }, 'm' }
4382 static xtensa_arg_internal Iclass_xt_iclass_xsr_ccompare0_args[] = {
4383   { { OPERAND_art }, 'm' }
4386 static xtensa_arg_internal Iclass_xt_iclass_xsr_ccompare0_stateArgs[] = {
4387   { { STATE_CCOMPARE0 }, 'm' },
4388   { { STATE_INTERRUPT }, 'm' }
4391 static xtensa_arg_internal Iclass_xt_iclass_rsr_ccompare1_args[] = {
4392   { { OPERAND_art }, 'o' }
4395 static xtensa_arg_internal Iclass_xt_iclass_rsr_ccompare1_stateArgs[] = {
4396   { { STATE_CCOMPARE1 }, 'i' }
4399 static xtensa_arg_internal Iclass_xt_iclass_wsr_ccompare1_args[] = {
4400   { { OPERAND_art }, 'i' }
4403 static xtensa_arg_internal Iclass_xt_iclass_wsr_ccompare1_stateArgs[] = {
4404   { { STATE_CCOMPARE1 }, 'o' },
4405   { { STATE_INTERRUPT }, 'm' }
4408 static xtensa_arg_internal Iclass_xt_iclass_xsr_ccompare1_args[] = {
4409   { { OPERAND_art }, 'm' }
4412 static xtensa_arg_internal Iclass_xt_iclass_xsr_ccompare1_stateArgs[] = {
4413   { { STATE_CCOMPARE1 }, 'm' },
4414   { { STATE_INTERRUPT }, 'm' }
4417 static xtensa_arg_internal Iclass_xt_iclass_rsr_ccompare2_args[] = {
4418   { { OPERAND_art }, 'o' }
4421 static xtensa_arg_internal Iclass_xt_iclass_rsr_ccompare2_stateArgs[] = {
4422   { { STATE_CCOMPARE2 }, 'i' }
4425 static xtensa_arg_internal Iclass_xt_iclass_wsr_ccompare2_args[] = {
4426   { { OPERAND_art }, 'i' }
4429 static xtensa_arg_internal Iclass_xt_iclass_wsr_ccompare2_stateArgs[] = {
4430   { { STATE_CCOMPARE2 }, 'o' },
4431   { { STATE_INTERRUPT }, 'm' }
4434 static xtensa_arg_internal Iclass_xt_iclass_xsr_ccompare2_args[] = {
4435   { { OPERAND_art }, 'm' }
4438 static xtensa_arg_internal Iclass_xt_iclass_xsr_ccompare2_stateArgs[] = {
4439   { { STATE_CCOMPARE2 }, 'm' },
4440   { { STATE_INTERRUPT }, 'm' }
4443 static xtensa_arg_internal Iclass_xt_iclass_idtlb_args[] = {
4444   { { OPERAND_ars }, 'i' }
4447 static xtensa_arg_internal Iclass_xt_iclass_idtlb_stateArgs[] = {
4448   { { STATE_XTSYNC }, 'o' }
4451 static xtensa_arg_internal Iclass_xt_iclass_rdtlb_args[] = {
4452   { { OPERAND_art }, 'o' },
4453   { { OPERAND_ars }, 'i' }
4456 static xtensa_arg_internal Iclass_xt_iclass_wdtlb_args[] = {
4457   { { OPERAND_art }, 'i' },
4458   { { OPERAND_ars }, 'i' }
4461 static xtensa_arg_internal Iclass_xt_iclass_wdtlb_stateArgs[] = {
4462   { { STATE_XTSYNC }, 'o' }
4465 static xtensa_arg_internal Iclass_xt_iclass_iitlb_args[] = {
4466   { { OPERAND_ars }, 'i' }
4469 static xtensa_arg_internal Iclass_xt_iclass_ritlb_args[] = {
4470   { { OPERAND_art }, 'o' },
4471   { { OPERAND_ars }, 'i' }
4474 static xtensa_arg_internal Iclass_xt_iclass_witlb_args[] = {
4475   { { OPERAND_art }, 'i' },
4476   { { OPERAND_ars }, 'i' }
4479 static xtensa_arg_internal Iclass_xt_iclass_minmax_args[] = {
4480   { { OPERAND_arr }, 'o' },
4481   { { OPERAND_ars }, 'i' },
4482   { { OPERAND_art }, 'i' }
4485 static xtensa_arg_internal Iclass_xt_iclass_nsa_args[] = {
4486   { { OPERAND_art }, 'o' },
4487   { { OPERAND_ars }, 'i' }
4490 static xtensa_arg_internal Iclass_xt_iclass_sx_args[] = {
4491   { { OPERAND_arr }, 'o' },
4492   { { OPERAND_ars }, 'i' },
4493   { { OPERAND_tp7 }, 'i' }
4496 static xtensa_arg_internal Iclass_xt_iclass_l32ai_args[] = {
4497   { { OPERAND_art }, 'o' },
4498   { { OPERAND_ars }, 'i' },
4499   { { OPERAND_uimm8x4 }, 'i' }
4502 static xtensa_arg_internal Iclass_xt_iclass_s32ri_args[] = {
4503   { { OPERAND_art }, 'i' },
4504   { { OPERAND_ars }, 'i' },
4505   { { OPERAND_uimm8x4 }, 'i' }
4508 static xtensa_arg_internal Iclass_xt_iclass_s32c1i_args[] = {
4509   { { OPERAND_art }, 'm' },
4510   { { OPERAND_ars }, 'i' },
4511   { { OPERAND_uimm8x4 }, 'i' }
4514 static xtensa_arg_internal Iclass_xt_iclass_s32c1i_stateArgs[] = {
4515   { { STATE_SCOMPARE1 }, 'i' },
4516   { { STATE_XTSYNC }, 'i' },
4517   { { STATE_SCOMPARE1 }, 'i' }
4520 static xtensa_arg_internal Iclass_xt_iclass_rsr_scompare1_args[] = {
4521   { { OPERAND_art }, 'o' }
4524 static xtensa_arg_internal Iclass_xt_iclass_rsr_scompare1_stateArgs[] = {
4525   { { STATE_SCOMPARE1 }, 'i' }
4528 static xtensa_arg_internal Iclass_xt_iclass_wsr_scompare1_args[] = {
4529   { { OPERAND_art }, 'i' }
4532 static xtensa_arg_internal Iclass_xt_iclass_wsr_scompare1_stateArgs[] = {
4533   { { STATE_SCOMPARE1 }, 'o' }
4536 static xtensa_arg_internal Iclass_xt_iclass_xsr_scompare1_args[] = {
4537   { { OPERAND_art }, 'm' }
4540 static xtensa_arg_internal Iclass_xt_iclass_xsr_scompare1_stateArgs[] = {
4541   { { STATE_SCOMPARE1 }, 'm' }
4544 static xtensa_arg_internal Iclass_xt_iclass_rsr_atomctl_args[] = {
4545   { { OPERAND_art }, 'o' }
4548 static xtensa_arg_internal Iclass_xt_iclass_rsr_atomctl_stateArgs[] = {
4549   { { STATE_ATOMCTL }, 'i' }
4552 static xtensa_arg_internal Iclass_xt_iclass_wsr_atomctl_args[] = {
4553   { { OPERAND_art }, 'i' }
4556 static xtensa_arg_internal Iclass_xt_iclass_wsr_atomctl_stateArgs[] = {
4557   { { STATE_ATOMCTL }, 'o' },
4558   { { STATE_XTSYNC }, 'o' }
4561 static xtensa_arg_internal Iclass_xt_iclass_xsr_atomctl_args[] = {
4562   { { OPERAND_art }, 'm' }
4565 static xtensa_arg_internal Iclass_xt_iclass_xsr_atomctl_stateArgs[] = {
4566   { { STATE_ATOMCTL }, 'm' },
4567   { { STATE_XTSYNC }, 'o' }
4570 static xtensa_arg_internal Iclass_xt_iclass_div_args[] = {
4571   { { OPERAND_arr }, 'o' },
4572   { { OPERAND_ars }, 'i' },
4573   { { OPERAND_art }, 'i' }
4576 static xtensa_arg_internal Iclass_xt_iclass_rsr_eraccess_args[] = {
4577   { { OPERAND_art }, 'o' }
4580 static xtensa_arg_internal Iclass_xt_iclass_wsr_eraccess_args[] = {
4581   { { OPERAND_art }, 'i' }
4584 static xtensa_arg_internal Iclass_xt_iclass_xsr_eraccess_args[] = {
4585   { { OPERAND_art }, 'm' }
4588 static xtensa_arg_internal Iclass_xt_iclass_rer_args[] = {
4589   { { OPERAND_art }, 'o' },
4590   { { OPERAND_ars }, 'i' }
4593 static xtensa_arg_internal Iclass_xt_iclass_wer_args[] = {
4594   { { OPERAND_art }, 'i' },
4595   { { OPERAND_ars }, 'i' }
4598 static xtensa_arg_internal Iclass_rur_expstate_args[] = {
4599   { { OPERAND_arr }, 'o' }
4602 static xtensa_arg_internal Iclass_rur_expstate_stateArgs[] = {
4603   { { STATE_EXPSTATE }, 'i' }
4606 static xtensa_arg_internal Iclass_wur_expstate_args[] = {
4607   { { OPERAND_art }, 'i' }
4610 static xtensa_arg_internal Iclass_wur_expstate_stateArgs[] = {
4611   { { STATE_EXPSTATE }, 'o' }
4614 static xtensa_arg_internal Iclass_iclass_READ_IMPWIRE_args[] = {
4615   { { OPERAND_art }, 'o' }
4618 static xtensa_interface Iclass_iclass_READ_IMPWIRE_intfArgs[] = {
4619   INTERFACE_IMPWIRE
4622 static xtensa_arg_internal Iclass_iclass_SETB_EXPSTATE_args[] = {
4623   { { OPERAND_bitindex }, 'i' }
4626 static xtensa_arg_internal Iclass_iclass_SETB_EXPSTATE_stateArgs[] = {
4627   { { STATE_EXPSTATE }, 'm' }
4630 static xtensa_arg_internal Iclass_iclass_CLRB_EXPSTATE_args[] = {
4631   { { OPERAND_bitindex }, 'i' }
4634 static xtensa_arg_internal Iclass_iclass_CLRB_EXPSTATE_stateArgs[] = {
4635   { { STATE_EXPSTATE }, 'm' }
4638 static xtensa_arg_internal Iclass_iclass_WRMSK_EXPSTATE_args[] = {
4639   { { OPERAND_art }, 'i' },
4640   { { OPERAND_ars }, 'i' }
4643 static xtensa_arg_internal Iclass_iclass_WRMSK_EXPSTATE_stateArgs[] = {
4644   { { STATE_EXPSTATE }, 'm' }
4647 static xtensa_iclass_internal iclasses[] = {
4648   { 0, 0 /* xt_iclass_excw */,
4649     0, 0, 0, 0 },
4650   { 0, 0 /* xt_iclass_rfe */,
4651     2, Iclass_xt_iclass_rfe_stateArgs, 0, 0 },
4652   { 0, 0 /* xt_iclass_rfde */,
4653     1, Iclass_xt_iclass_rfde_stateArgs, 0, 0 },
4654   { 0, 0 /* xt_iclass_syscall */,
4655     0, 0, 0, 0 },
4656   { 2, Iclass_xt_iclass_call12_args,
4657     1, Iclass_xt_iclass_call12_stateArgs, 0, 0 },
4658   { 2, Iclass_xt_iclass_call8_args,
4659     1, Iclass_xt_iclass_call8_stateArgs, 0, 0 },
4660   { 2, Iclass_xt_iclass_call4_args,
4661     1, Iclass_xt_iclass_call4_stateArgs, 0, 0 },
4662   { 2, Iclass_xt_iclass_callx12_args,
4663     1, Iclass_xt_iclass_callx12_stateArgs, 0, 0 },
4664   { 2, Iclass_xt_iclass_callx8_args,
4665     1, Iclass_xt_iclass_callx8_stateArgs, 0, 0 },
4666   { 2, Iclass_xt_iclass_callx4_args,
4667     1, Iclass_xt_iclass_callx4_stateArgs, 0, 0 },
4668   { 3, Iclass_xt_iclass_entry_args,
4669     5, Iclass_xt_iclass_entry_stateArgs, 0, 0 },
4670   { 2, Iclass_xt_iclass_movsp_args,
4671     2, Iclass_xt_iclass_movsp_stateArgs, 0, 0 },
4672   { 1, Iclass_xt_iclass_rotw_args,
4673     1, Iclass_xt_iclass_rotw_stateArgs, 0, 0 },
4674   { 1, Iclass_xt_iclass_retw_args,
4675     5, Iclass_xt_iclass_retw_stateArgs, 0, 0 },
4676   { 0, 0 /* xt_iclass_rfwou */,
4677     5, Iclass_xt_iclass_rfwou_stateArgs, 0, 0 },
4678   { 3, Iclass_xt_iclass_l32e_args,
4679     0, 0, 0, 0 },
4680   { 3, Iclass_xt_iclass_s32e_args,
4681     0, 0, 0, 0 },
4682   { 1, Iclass_xt_iclass_rsr_windowbase_args,
4683     1, Iclass_xt_iclass_rsr_windowbase_stateArgs, 0, 0 },
4684   { 1, Iclass_xt_iclass_wsr_windowbase_args,
4685     1, Iclass_xt_iclass_wsr_windowbase_stateArgs, 0, 0 },
4686   { 1, Iclass_xt_iclass_xsr_windowbase_args,
4687     1, Iclass_xt_iclass_xsr_windowbase_stateArgs, 0, 0 },
4688   { 1, Iclass_xt_iclass_rsr_windowstart_args,
4689     1, Iclass_xt_iclass_rsr_windowstart_stateArgs, 0, 0 },
4690   { 1, Iclass_xt_iclass_wsr_windowstart_args,
4691     1, Iclass_xt_iclass_wsr_windowstart_stateArgs, 0, 0 },
4692   { 1, Iclass_xt_iclass_xsr_windowstart_args,
4693     1, Iclass_xt_iclass_xsr_windowstart_stateArgs, 0, 0 },
4694   { 3, Iclass_xt_iclass_add_n_args,
4695     0, 0, 0, 0 },
4696   { 3, Iclass_xt_iclass_addi_n_args,
4697     0, 0, 0, 0 },
4698   { 2, Iclass_xt_iclass_bz6_args,
4699     0, 0, 0, 0 },
4700   { 0, 0 /* xt_iclass_ill_n */,
4701     0, 0, 0, 0 },
4702   { 3, Iclass_xt_iclass_loadi4_args,
4703     0, 0, 0, 0 },
4704   { 2, Iclass_xt_iclass_mov_n_args,
4705     0, 0, 0, 0 },
4706   { 2, Iclass_xt_iclass_movi_n_args,
4707     0, 0, 0, 0 },
4708   { 0, 0 /* xt_iclass_nopn */,
4709     0, 0, 0, 0 },
4710   { 1, Iclass_xt_iclass_retn_args,
4711     0, 0, 0, 0 },
4712   { 3, Iclass_xt_iclass_storei4_args,
4713     0, 0, 0, 0 },
4714   { 3, Iclass_xt_iclass_addi_args,
4715     0, 0, 0, 0 },
4716   { 3, Iclass_xt_iclass_addmi_args,
4717     0, 0, 0, 0 },
4718   { 3, Iclass_xt_iclass_addsub_args,
4719     0, 0, 0, 0 },
4720   { 3, Iclass_xt_iclass_bit_args,
4721     0, 0, 0, 0 },
4722   { 3, Iclass_xt_iclass_bsi8_args,
4723     0, 0, 0, 0 },
4724   { 3, Iclass_xt_iclass_bsi8b_args,
4725     0, 0, 0, 0 },
4726   { 3, Iclass_xt_iclass_bsi8u_args,
4727     0, 0, 0, 0 },
4728   { 3, Iclass_xt_iclass_bst8_args,
4729     0, 0, 0, 0 },
4730   { 2, Iclass_xt_iclass_bsz12_args,
4731     0, 0, 0, 0 },
4732   { 2, Iclass_xt_iclass_call0_args,
4733     0, 0, 0, 0 },
4734   { 2, Iclass_xt_iclass_callx0_args,
4735     0, 0, 0, 0 },
4736   { 4, Iclass_xt_iclass_exti_args,
4737     0, 0, 0, 0 },
4738   { 0, 0 /* xt_iclass_ill */,
4739     0, 0, 0, 0 },
4740   { 1, Iclass_xt_iclass_jump_args,
4741     0, 0, 0, 0 },
4742   { 1, Iclass_xt_iclass_jumpx_args,
4743     0, 0, 0, 0 },
4744   { 3, Iclass_xt_iclass_l16ui_args,
4745     0, 0, 0, 0 },
4746   { 3, Iclass_xt_iclass_l16si_args,
4747     0, 0, 0, 0 },
4748   { 3, Iclass_xt_iclass_l32i_args,
4749     0, 0, 0, 0 },
4750   { 2, Iclass_xt_iclass_l32r_args,
4751     0, 0, 0, 0 },
4752   { 3, Iclass_xt_iclass_l8i_args,
4753     0, 0, 0, 0 },
4754   { 2, Iclass_xt_iclass_movi_args,
4755     0, 0, 0, 0 },
4756   { 3, Iclass_xt_iclass_movz_args,
4757     0, 0, 0, 0 },
4758   { 2, Iclass_xt_iclass_neg_args,
4759     0, 0, 0, 0 },
4760   { 0, 0 /* xt_iclass_nop */,
4761     0, 0, 0, 0 },
4762   { 1, Iclass_xt_iclass_return_args,
4763     0, 0, 0, 0 },
4764   { 0, 0 /* xt_iclass_simcall */,
4765     0, 0, 0, 0 },
4766   { 3, Iclass_xt_iclass_s16i_args,
4767     0, 0, 0, 0 },
4768   { 3, Iclass_xt_iclass_s32i_args,
4769     0, 0, 0, 0 },
4770   { 3, Iclass_xt_iclass_s32nb_args,
4771     0, 0, 0, 0 },
4772   { 3, Iclass_xt_iclass_s8i_args,
4773     0, 0, 0, 0 },
4774   { 1, Iclass_xt_iclass_sar_args,
4775     1, Iclass_xt_iclass_sar_stateArgs, 0, 0 },
4776   { 1, Iclass_xt_iclass_sari_args,
4777     1, Iclass_xt_iclass_sari_stateArgs, 0, 0 },
4778   { 2, Iclass_xt_iclass_shifts_args,
4779     1, Iclass_xt_iclass_shifts_stateArgs, 0, 0 },
4780   { 3, Iclass_xt_iclass_shiftst_args,
4781     1, Iclass_xt_iclass_shiftst_stateArgs, 0, 0 },
4782   { 2, Iclass_xt_iclass_shiftt_args,
4783     1, Iclass_xt_iclass_shiftt_stateArgs, 0, 0 },
4784   { 3, Iclass_xt_iclass_slli_args,
4785     0, 0, 0, 0 },
4786   { 3, Iclass_xt_iclass_srai_args,
4787     0, 0, 0, 0 },
4788   { 3, Iclass_xt_iclass_srli_args,
4789     0, 0, 0, 0 },
4790   { 0, 0 /* xt_iclass_memw */,
4791     0, 0, 0, 0 },
4792   { 0, 0 /* xt_iclass_extw */,
4793     0, 0, 0, 0 },
4794   { 0, 0 /* xt_iclass_isync */,
4795     0, 0, 0, 0 },
4796   { 0, 0 /* xt_iclass_sync */,
4797     1, Iclass_xt_iclass_sync_stateArgs, 0, 0 },
4798   { 2, Iclass_xt_iclass_rsil_args,
4799     6, Iclass_xt_iclass_rsil_stateArgs, 0, 0 },
4800   { 1, Iclass_xt_iclass_rsr_sar_args,
4801     1, Iclass_xt_iclass_rsr_sar_stateArgs, 0, 0 },
4802   { 1, Iclass_xt_iclass_wsr_sar_args,
4803     2, Iclass_xt_iclass_wsr_sar_stateArgs, 0, 0 },
4804   { 1, Iclass_xt_iclass_xsr_sar_args,
4805     1, Iclass_xt_iclass_xsr_sar_stateArgs, 0, 0 },
4806   { 1, Iclass_xt_iclass_rsr_memctl_args,
4807     0, 0, 0, 0 },
4808   { 1, Iclass_xt_iclass_wsr_memctl_args,
4809     0, 0, 0, 0 },
4810   { 1, Iclass_xt_iclass_xsr_memctl_args,
4811     0, 0, 0, 0 },
4812   { 1, Iclass_xt_iclass_rsr_litbase_args,
4813     0, 0, 0, 0 },
4814   { 1, Iclass_xt_iclass_wsr_litbase_args,
4815     0, 0, 0, 0 },
4816   { 1, Iclass_xt_iclass_xsr_litbase_args,
4817     0, 0, 0, 0 },
4818   { 1, Iclass_xt_iclass_rsr_configid0_args,
4819     0, 0, 0, 0 },
4820   { 1, Iclass_xt_iclass_wsr_configid0_args,
4821     0, 0, 0, 0 },
4822   { 1, Iclass_xt_iclass_rsr_configid1_args,
4823     0, 0, 0, 0 },
4824   { 1, Iclass_xt_iclass_rsr_ps_args,
4825     6, Iclass_xt_iclass_rsr_ps_stateArgs, 0, 0 },
4826   { 1, Iclass_xt_iclass_wsr_ps_args,
4827     6, Iclass_xt_iclass_wsr_ps_stateArgs, 0, 0 },
4828   { 1, Iclass_xt_iclass_xsr_ps_args,
4829     6, Iclass_xt_iclass_xsr_ps_stateArgs, 0, 0 },
4830   { 1, Iclass_xt_iclass_rsr_epc1_args,
4831     1, Iclass_xt_iclass_rsr_epc1_stateArgs, 0, 0 },
4832   { 1, Iclass_xt_iclass_wsr_epc1_args,
4833     1, Iclass_xt_iclass_wsr_epc1_stateArgs, 0, 0 },
4834   { 1, Iclass_xt_iclass_xsr_epc1_args,
4835     1, Iclass_xt_iclass_xsr_epc1_stateArgs, 0, 0 },
4836   { 1, Iclass_xt_iclass_rsr_excsave1_args,
4837     1, Iclass_xt_iclass_rsr_excsave1_stateArgs, 0, 0 },
4838   { 1, Iclass_xt_iclass_wsr_excsave1_args,
4839     1, Iclass_xt_iclass_wsr_excsave1_stateArgs, 0, 0 },
4840   { 1, Iclass_xt_iclass_xsr_excsave1_args,
4841     1, Iclass_xt_iclass_xsr_excsave1_stateArgs, 0, 0 },
4842   { 1, Iclass_xt_iclass_rsr_epc2_args,
4843     1, Iclass_xt_iclass_rsr_epc2_stateArgs, 0, 0 },
4844   { 1, Iclass_xt_iclass_wsr_epc2_args,
4845     1, Iclass_xt_iclass_wsr_epc2_stateArgs, 0, 0 },
4846   { 1, Iclass_xt_iclass_xsr_epc2_args,
4847     1, Iclass_xt_iclass_xsr_epc2_stateArgs, 0, 0 },
4848   { 1, Iclass_xt_iclass_rsr_excsave2_args,
4849     1, Iclass_xt_iclass_rsr_excsave2_stateArgs, 0, 0 },
4850   { 1, Iclass_xt_iclass_wsr_excsave2_args,
4851     1, Iclass_xt_iclass_wsr_excsave2_stateArgs, 0, 0 },
4852   { 1, Iclass_xt_iclass_xsr_excsave2_args,
4853     1, Iclass_xt_iclass_xsr_excsave2_stateArgs, 0, 0 },
4854   { 1, Iclass_xt_iclass_rsr_epc3_args,
4855     1, Iclass_xt_iclass_rsr_epc3_stateArgs, 0, 0 },
4856   { 1, Iclass_xt_iclass_wsr_epc3_args,
4857     1, Iclass_xt_iclass_wsr_epc3_stateArgs, 0, 0 },
4858   { 1, Iclass_xt_iclass_xsr_epc3_args,
4859     1, Iclass_xt_iclass_xsr_epc3_stateArgs, 0, 0 },
4860   { 1, Iclass_xt_iclass_rsr_excsave3_args,
4861     1, Iclass_xt_iclass_rsr_excsave3_stateArgs, 0, 0 },
4862   { 1, Iclass_xt_iclass_wsr_excsave3_args,
4863     1, Iclass_xt_iclass_wsr_excsave3_stateArgs, 0, 0 },
4864   { 1, Iclass_xt_iclass_xsr_excsave3_args,
4865     1, Iclass_xt_iclass_xsr_excsave3_stateArgs, 0, 0 },
4866   { 1, Iclass_xt_iclass_rsr_epc4_args,
4867     1, Iclass_xt_iclass_rsr_epc4_stateArgs, 0, 0 },
4868   { 1, Iclass_xt_iclass_wsr_epc4_args,
4869     1, Iclass_xt_iclass_wsr_epc4_stateArgs, 0, 0 },
4870   { 1, Iclass_xt_iclass_xsr_epc4_args,
4871     1, Iclass_xt_iclass_xsr_epc4_stateArgs, 0, 0 },
4872   { 1, Iclass_xt_iclass_rsr_excsave4_args,
4873     1, Iclass_xt_iclass_rsr_excsave4_stateArgs, 0, 0 },
4874   { 1, Iclass_xt_iclass_wsr_excsave4_args,
4875     1, Iclass_xt_iclass_wsr_excsave4_stateArgs, 0, 0 },
4876   { 1, Iclass_xt_iclass_xsr_excsave4_args,
4877     1, Iclass_xt_iclass_xsr_excsave4_stateArgs, 0, 0 },
4878   { 1, Iclass_xt_iclass_rsr_epc5_args,
4879     1, Iclass_xt_iclass_rsr_epc5_stateArgs, 0, 0 },
4880   { 1, Iclass_xt_iclass_wsr_epc5_args,
4881     1, Iclass_xt_iclass_wsr_epc5_stateArgs, 0, 0 },
4882   { 1, Iclass_xt_iclass_xsr_epc5_args,
4883     1, Iclass_xt_iclass_xsr_epc5_stateArgs, 0, 0 },
4884   { 1, Iclass_xt_iclass_rsr_excsave5_args,
4885     1, Iclass_xt_iclass_rsr_excsave5_stateArgs, 0, 0 },
4886   { 1, Iclass_xt_iclass_wsr_excsave5_args,
4887     1, Iclass_xt_iclass_wsr_excsave5_stateArgs, 0, 0 },
4888   { 1, Iclass_xt_iclass_xsr_excsave5_args,
4889     1, Iclass_xt_iclass_xsr_excsave5_stateArgs, 0, 0 },
4890   { 1, Iclass_xt_iclass_rsr_epc6_args,
4891     1, Iclass_xt_iclass_rsr_epc6_stateArgs, 0, 0 },
4892   { 1, Iclass_xt_iclass_wsr_epc6_args,
4893     1, Iclass_xt_iclass_wsr_epc6_stateArgs, 0, 0 },
4894   { 1, Iclass_xt_iclass_xsr_epc6_args,
4895     1, Iclass_xt_iclass_xsr_epc6_stateArgs, 0, 0 },
4896   { 1, Iclass_xt_iclass_rsr_excsave6_args,
4897     1, Iclass_xt_iclass_rsr_excsave6_stateArgs, 0, 0 },
4898   { 1, Iclass_xt_iclass_wsr_excsave6_args,
4899     1, Iclass_xt_iclass_wsr_excsave6_stateArgs, 0, 0 },
4900   { 1, Iclass_xt_iclass_xsr_excsave6_args,
4901     1, Iclass_xt_iclass_xsr_excsave6_stateArgs, 0, 0 },
4902   { 1, Iclass_xt_iclass_rsr_epc7_args,
4903     1, Iclass_xt_iclass_rsr_epc7_stateArgs, 0, 0 },
4904   { 1, Iclass_xt_iclass_wsr_epc7_args,
4905     1, Iclass_xt_iclass_wsr_epc7_stateArgs, 0, 0 },
4906   { 1, Iclass_xt_iclass_xsr_epc7_args,
4907     1, Iclass_xt_iclass_xsr_epc7_stateArgs, 0, 0 },
4908   { 1, Iclass_xt_iclass_rsr_excsave7_args,
4909     1, Iclass_xt_iclass_rsr_excsave7_stateArgs, 0, 0 },
4910   { 1, Iclass_xt_iclass_wsr_excsave7_args,
4911     1, Iclass_xt_iclass_wsr_excsave7_stateArgs, 0, 0 },
4912   { 1, Iclass_xt_iclass_xsr_excsave7_args,
4913     1, Iclass_xt_iclass_xsr_excsave7_stateArgs, 0, 0 },
4914   { 1, Iclass_xt_iclass_rsr_eps2_args,
4915     1, Iclass_xt_iclass_rsr_eps2_stateArgs, 0, 0 },
4916   { 1, Iclass_xt_iclass_wsr_eps2_args,
4917     1, Iclass_xt_iclass_wsr_eps2_stateArgs, 0, 0 },
4918   { 1, Iclass_xt_iclass_xsr_eps2_args,
4919     1, Iclass_xt_iclass_xsr_eps2_stateArgs, 0, 0 },
4920   { 1, Iclass_xt_iclass_rsr_eps3_args,
4921     1, Iclass_xt_iclass_rsr_eps3_stateArgs, 0, 0 },
4922   { 1, Iclass_xt_iclass_wsr_eps3_args,
4923     1, Iclass_xt_iclass_wsr_eps3_stateArgs, 0, 0 },
4924   { 1, Iclass_xt_iclass_xsr_eps3_args,
4925     1, Iclass_xt_iclass_xsr_eps3_stateArgs, 0, 0 },
4926   { 1, Iclass_xt_iclass_rsr_eps4_args,
4927     1, Iclass_xt_iclass_rsr_eps4_stateArgs, 0, 0 },
4928   { 1, Iclass_xt_iclass_wsr_eps4_args,
4929     1, Iclass_xt_iclass_wsr_eps4_stateArgs, 0, 0 },
4930   { 1, Iclass_xt_iclass_xsr_eps4_args,
4931     1, Iclass_xt_iclass_xsr_eps4_stateArgs, 0, 0 },
4932   { 1, Iclass_xt_iclass_rsr_eps5_args,
4933     1, Iclass_xt_iclass_rsr_eps5_stateArgs, 0, 0 },
4934   { 1, Iclass_xt_iclass_wsr_eps5_args,
4935     1, Iclass_xt_iclass_wsr_eps5_stateArgs, 0, 0 },
4936   { 1, Iclass_xt_iclass_xsr_eps5_args,
4937     1, Iclass_xt_iclass_xsr_eps5_stateArgs, 0, 0 },
4938   { 1, Iclass_xt_iclass_rsr_eps6_args,
4939     1, Iclass_xt_iclass_rsr_eps6_stateArgs, 0, 0 },
4940   { 1, Iclass_xt_iclass_wsr_eps6_args,
4941     1, Iclass_xt_iclass_wsr_eps6_stateArgs, 0, 0 },
4942   { 1, Iclass_xt_iclass_xsr_eps6_args,
4943     1, Iclass_xt_iclass_xsr_eps6_stateArgs, 0, 0 },
4944   { 1, Iclass_xt_iclass_rsr_eps7_args,
4945     1, Iclass_xt_iclass_rsr_eps7_stateArgs, 0, 0 },
4946   { 1, Iclass_xt_iclass_wsr_eps7_args,
4947     1, Iclass_xt_iclass_wsr_eps7_stateArgs, 0, 0 },
4948   { 1, Iclass_xt_iclass_xsr_eps7_args,
4949     1, Iclass_xt_iclass_xsr_eps7_stateArgs, 0, 0 },
4950   { 1, Iclass_xt_iclass_rsr_excvaddr_args,
4951     1, Iclass_xt_iclass_rsr_excvaddr_stateArgs, 0, 0 },
4952   { 1, Iclass_xt_iclass_wsr_excvaddr_args,
4953     1, Iclass_xt_iclass_wsr_excvaddr_stateArgs, 0, 0 },
4954   { 1, Iclass_xt_iclass_xsr_excvaddr_args,
4955     1, Iclass_xt_iclass_xsr_excvaddr_stateArgs, 0, 0 },
4956   { 1, Iclass_xt_iclass_rsr_depc_args,
4957     1, Iclass_xt_iclass_rsr_depc_stateArgs, 0, 0 },
4958   { 1, Iclass_xt_iclass_wsr_depc_args,
4959     1, Iclass_xt_iclass_wsr_depc_stateArgs, 0, 0 },
4960   { 1, Iclass_xt_iclass_xsr_depc_args,
4961     1, Iclass_xt_iclass_xsr_depc_stateArgs, 0, 0 },
4962   { 1, Iclass_xt_iclass_rsr_exccause_args,
4963     2, Iclass_xt_iclass_rsr_exccause_stateArgs, 0, 0 },
4964   { 1, Iclass_xt_iclass_wsr_exccause_args,
4965     1, Iclass_xt_iclass_wsr_exccause_stateArgs, 0, 0 },
4966   { 1, Iclass_xt_iclass_xsr_exccause_args,
4967     1, Iclass_xt_iclass_xsr_exccause_stateArgs, 0, 0 },
4968   { 1, Iclass_xt_iclass_rsr_misc0_args,
4969     1, Iclass_xt_iclass_rsr_misc0_stateArgs, 0, 0 },
4970   { 1, Iclass_xt_iclass_wsr_misc0_args,
4971     1, Iclass_xt_iclass_wsr_misc0_stateArgs, 0, 0 },
4972   { 1, Iclass_xt_iclass_xsr_misc0_args,
4973     1, Iclass_xt_iclass_xsr_misc0_stateArgs, 0, 0 },
4974   { 1, Iclass_xt_iclass_rsr_misc1_args,
4975     1, Iclass_xt_iclass_rsr_misc1_stateArgs, 0, 0 },
4976   { 1, Iclass_xt_iclass_wsr_misc1_args,
4977     1, Iclass_xt_iclass_wsr_misc1_stateArgs, 0, 0 },
4978   { 1, Iclass_xt_iclass_xsr_misc1_args,
4979     1, Iclass_xt_iclass_xsr_misc1_stateArgs, 0, 0 },
4980   { 1, Iclass_xt_iclass_rsr_prid_args,
4981     0, 0, 0, 0 },
4982   { 1, Iclass_xt_iclass_rsr_vecbase_args,
4983     1, Iclass_xt_iclass_rsr_vecbase_stateArgs, 0, 0 },
4984   { 1, Iclass_xt_iclass_wsr_vecbase_args,
4985     1, Iclass_xt_iclass_wsr_vecbase_stateArgs, 0, 0 },
4986   { 1, Iclass_xt_iclass_xsr_vecbase_args,
4987     1, Iclass_xt_iclass_xsr_vecbase_stateArgs, 0, 0 },
4988   { 3, Iclass_xt_iclass_salt_args,
4989     0, 0, 0, 0 },
4990   { 3, Iclass_xt_mul16_args,
4991     0, 0, 0, 0 },
4992   { 3, Iclass_xt_mul32_args,
4993     0, 0, 0, 0 },
4994   { 1, Iclass_xt_iclass_rfi_args,
4995     20, Iclass_xt_iclass_rfi_stateArgs, 0, 0 },
4996   { 1, Iclass_xt_iclass_wait_args,
4997     1, Iclass_xt_iclass_wait_stateArgs, 0, 0 },
4998   { 1, Iclass_xt_iclass_rsr_interrupt_args,
4999     1, Iclass_xt_iclass_rsr_interrupt_stateArgs, 0, 0 },
5000   { 1, Iclass_xt_iclass_wsr_intset_args,
5001     2, Iclass_xt_iclass_wsr_intset_stateArgs, 0, 0 },
5002   { 1, Iclass_xt_iclass_wsr_intclear_args,
5003     2, Iclass_xt_iclass_wsr_intclear_stateArgs, 0, 0 },
5004   { 1, Iclass_xt_iclass_rsr_intenable_args,
5005     1, Iclass_xt_iclass_rsr_intenable_stateArgs, 0, 0 },
5006   { 1, Iclass_xt_iclass_wsr_intenable_args,
5007     1, Iclass_xt_iclass_wsr_intenable_stateArgs, 0, 0 },
5008   { 1, Iclass_xt_iclass_xsr_intenable_args,
5009     1, Iclass_xt_iclass_xsr_intenable_stateArgs, 0, 0 },
5010   { 2, Iclass_xt_iclass_break_args,
5011     2, Iclass_xt_iclass_break_stateArgs, 0, 0 },
5012   { 1, Iclass_xt_iclass_break_n_args,
5013     2, Iclass_xt_iclass_break_n_stateArgs, 0, 0 },
5014   { 1, Iclass_xt_iclass_rsr_dbreaka0_args,
5015     1, Iclass_xt_iclass_rsr_dbreaka0_stateArgs, 0, 0 },
5016   { 1, Iclass_xt_iclass_wsr_dbreaka0_args,
5017     2, Iclass_xt_iclass_wsr_dbreaka0_stateArgs, 0, 0 },
5018   { 1, Iclass_xt_iclass_xsr_dbreaka0_args,
5019     2, Iclass_xt_iclass_xsr_dbreaka0_stateArgs, 0, 0 },
5020   { 1, Iclass_xt_iclass_rsr_dbreakc0_args,
5021     1, Iclass_xt_iclass_rsr_dbreakc0_stateArgs, 0, 0 },
5022   { 1, Iclass_xt_iclass_wsr_dbreakc0_args,
5023     2, Iclass_xt_iclass_wsr_dbreakc0_stateArgs, 0, 0 },
5024   { 1, Iclass_xt_iclass_xsr_dbreakc0_args,
5025     2, Iclass_xt_iclass_xsr_dbreakc0_stateArgs, 0, 0 },
5026   { 1, Iclass_xt_iclass_rsr_dbreaka1_args,
5027     1, Iclass_xt_iclass_rsr_dbreaka1_stateArgs, 0, 0 },
5028   { 1, Iclass_xt_iclass_wsr_dbreaka1_args,
5029     2, Iclass_xt_iclass_wsr_dbreaka1_stateArgs, 0, 0 },
5030   { 1, Iclass_xt_iclass_xsr_dbreaka1_args,
5031     2, Iclass_xt_iclass_xsr_dbreaka1_stateArgs, 0, 0 },
5032   { 1, Iclass_xt_iclass_rsr_dbreakc1_args,
5033     1, Iclass_xt_iclass_rsr_dbreakc1_stateArgs, 0, 0 },
5034   { 1, Iclass_xt_iclass_wsr_dbreakc1_args,
5035     2, Iclass_xt_iclass_wsr_dbreakc1_stateArgs, 0, 0 },
5036   { 1, Iclass_xt_iclass_xsr_dbreakc1_args,
5037     2, Iclass_xt_iclass_xsr_dbreakc1_stateArgs, 0, 0 },
5038   { 1, Iclass_xt_iclass_rsr_ibreaka0_args,
5039     1, Iclass_xt_iclass_rsr_ibreaka0_stateArgs, 0, 0 },
5040   { 1, Iclass_xt_iclass_wsr_ibreaka0_args,
5041     1, Iclass_xt_iclass_wsr_ibreaka0_stateArgs, 0, 0 },
5042   { 1, Iclass_xt_iclass_xsr_ibreaka0_args,
5043     1, Iclass_xt_iclass_xsr_ibreaka0_stateArgs, 0, 0 },
5044   { 1, Iclass_xt_iclass_rsr_ibreaka1_args,
5045     1, Iclass_xt_iclass_rsr_ibreaka1_stateArgs, 0, 0 },
5046   { 1, Iclass_xt_iclass_wsr_ibreaka1_args,
5047     1, Iclass_xt_iclass_wsr_ibreaka1_stateArgs, 0, 0 },
5048   { 1, Iclass_xt_iclass_xsr_ibreaka1_args,
5049     1, Iclass_xt_iclass_xsr_ibreaka1_stateArgs, 0, 0 },
5050   { 1, Iclass_xt_iclass_rsr_ibreakenable_args,
5051     1, Iclass_xt_iclass_rsr_ibreakenable_stateArgs, 0, 0 },
5052   { 1, Iclass_xt_iclass_wsr_ibreakenable_args,
5053     1, Iclass_xt_iclass_wsr_ibreakenable_stateArgs, 0, 0 },
5054   { 1, Iclass_xt_iclass_xsr_ibreakenable_args,
5055     1, Iclass_xt_iclass_xsr_ibreakenable_stateArgs, 0, 0 },
5056   { 1, Iclass_xt_iclass_rsr_debugcause_args,
5057     2, Iclass_xt_iclass_rsr_debugcause_stateArgs, 0, 0 },
5058   { 1, Iclass_xt_iclass_wsr_debugcause_args,
5059     2, Iclass_xt_iclass_wsr_debugcause_stateArgs, 0, 0 },
5060   { 1, Iclass_xt_iclass_xsr_debugcause_args,
5061     2, Iclass_xt_iclass_xsr_debugcause_stateArgs, 0, 0 },
5062   { 1, Iclass_xt_iclass_rsr_icount_args,
5063     1, Iclass_xt_iclass_rsr_icount_stateArgs, 0, 0 },
5064   { 1, Iclass_xt_iclass_wsr_icount_args,
5065     2, Iclass_xt_iclass_wsr_icount_stateArgs, 0, 0 },
5066   { 1, Iclass_xt_iclass_xsr_icount_args,
5067     2, Iclass_xt_iclass_xsr_icount_stateArgs, 0, 0 },
5068   { 1, Iclass_xt_iclass_rsr_icountlevel_args,
5069     1, Iclass_xt_iclass_rsr_icountlevel_stateArgs, 0, 0 },
5070   { 1, Iclass_xt_iclass_wsr_icountlevel_args,
5071     1, Iclass_xt_iclass_wsr_icountlevel_stateArgs, 0, 0 },
5072   { 1, Iclass_xt_iclass_xsr_icountlevel_args,
5073     1, Iclass_xt_iclass_xsr_icountlevel_stateArgs, 0, 0 },
5074   { 1, Iclass_xt_iclass_rsr_ddr_args,
5075     1, Iclass_xt_iclass_rsr_ddr_stateArgs, 0, 0 },
5076   { 1, Iclass_xt_iclass_wsr_ddr_args,
5077     2, Iclass_xt_iclass_wsr_ddr_stateArgs, 0, 0 },
5078   { 1, Iclass_xt_iclass_xsr_ddr_args,
5079     2, Iclass_xt_iclass_xsr_ddr_stateArgs, 0, 0 },
5080   { 1, Iclass_xt_iclass_lddr32_p_args,
5081     3, Iclass_xt_iclass_lddr32_p_stateArgs, 0, 0 },
5082   { 1, Iclass_xt_iclass_sddr32_p_args,
5083     2, Iclass_xt_iclass_sddr32_p_stateArgs, 0, 0 },
5084   { 1, Iclass_xt_iclass_rfdo_args,
5085     9, Iclass_xt_iclass_rfdo_stateArgs, 0, 0 },
5086   { 0, 0 /* xt_iclass_rfdd */,
5087     1, Iclass_xt_iclass_rfdd_stateArgs, 0, 0 },
5088   { 1, Iclass_xt_iclass_wsr_mmid_args,
5089     1, Iclass_xt_iclass_wsr_mmid_stateArgs, 0, 0 },
5090   { 1, Iclass_xt_iclass_rsr_ccount_args,
5091     1, Iclass_xt_iclass_rsr_ccount_stateArgs, 0, 0 },
5092   { 1, Iclass_xt_iclass_wsr_ccount_args,
5093     2, Iclass_xt_iclass_wsr_ccount_stateArgs, 0, 0 },
5094   { 1, Iclass_xt_iclass_xsr_ccount_args,
5095     2, Iclass_xt_iclass_xsr_ccount_stateArgs, 0, 0 },
5096   { 1, Iclass_xt_iclass_rsr_ccompare0_args,
5097     1, Iclass_xt_iclass_rsr_ccompare0_stateArgs, 0, 0 },
5098   { 1, Iclass_xt_iclass_wsr_ccompare0_args,
5099     2, Iclass_xt_iclass_wsr_ccompare0_stateArgs, 0, 0 },
5100   { 1, Iclass_xt_iclass_xsr_ccompare0_args,
5101     2, Iclass_xt_iclass_xsr_ccompare0_stateArgs, 0, 0 },
5102   { 1, Iclass_xt_iclass_rsr_ccompare1_args,
5103     1, Iclass_xt_iclass_rsr_ccompare1_stateArgs, 0, 0 },
5104   { 1, Iclass_xt_iclass_wsr_ccompare1_args,
5105     2, Iclass_xt_iclass_wsr_ccompare1_stateArgs, 0, 0 },
5106   { 1, Iclass_xt_iclass_xsr_ccompare1_args,
5107     2, Iclass_xt_iclass_xsr_ccompare1_stateArgs, 0, 0 },
5108   { 1, Iclass_xt_iclass_rsr_ccompare2_args,
5109     1, Iclass_xt_iclass_rsr_ccompare2_stateArgs, 0, 0 },
5110   { 1, Iclass_xt_iclass_wsr_ccompare2_args,
5111     2, Iclass_xt_iclass_wsr_ccompare2_stateArgs, 0, 0 },
5112   { 1, Iclass_xt_iclass_xsr_ccompare2_args,
5113     2, Iclass_xt_iclass_xsr_ccompare2_stateArgs, 0, 0 },
5114   { 1, Iclass_xt_iclass_idtlb_args,
5115     1, Iclass_xt_iclass_idtlb_stateArgs, 0, 0 },
5116   { 2, Iclass_xt_iclass_rdtlb_args,
5117     0, 0, 0, 0 },
5118   { 2, Iclass_xt_iclass_wdtlb_args,
5119     1, Iclass_xt_iclass_wdtlb_stateArgs, 0, 0 },
5120   { 1, Iclass_xt_iclass_iitlb_args,
5121     0, 0, 0, 0 },
5122   { 2, Iclass_xt_iclass_ritlb_args,
5123     0, 0, 0, 0 },
5124   { 2, Iclass_xt_iclass_witlb_args,
5125     0, 0, 0, 0 },
5126   { 3, Iclass_xt_iclass_minmax_args,
5127     0, 0, 0, 0 },
5128   { 2, Iclass_xt_iclass_nsa_args,
5129     0, 0, 0, 0 },
5130   { 3, Iclass_xt_iclass_sx_args,
5131     0, 0, 0, 0 },
5132   { 3, Iclass_xt_iclass_l32ai_args,
5133     0, 0, 0, 0 },
5134   { 3, Iclass_xt_iclass_s32ri_args,
5135     0, 0, 0, 0 },
5136   { 3, Iclass_xt_iclass_s32c1i_args,
5137     3, Iclass_xt_iclass_s32c1i_stateArgs, 0, 0 },
5138   { 1, Iclass_xt_iclass_rsr_scompare1_args,
5139     1, Iclass_xt_iclass_rsr_scompare1_stateArgs, 0, 0 },
5140   { 1, Iclass_xt_iclass_wsr_scompare1_args,
5141     1, Iclass_xt_iclass_wsr_scompare1_stateArgs, 0, 0 },
5142   { 1, Iclass_xt_iclass_xsr_scompare1_args,
5143     1, Iclass_xt_iclass_xsr_scompare1_stateArgs, 0, 0 },
5144   { 1, Iclass_xt_iclass_rsr_atomctl_args,
5145     1, Iclass_xt_iclass_rsr_atomctl_stateArgs, 0, 0 },
5146   { 1, Iclass_xt_iclass_wsr_atomctl_args,
5147     2, Iclass_xt_iclass_wsr_atomctl_stateArgs, 0, 0 },
5148   { 1, Iclass_xt_iclass_xsr_atomctl_args,
5149     2, Iclass_xt_iclass_xsr_atomctl_stateArgs, 0, 0 },
5150   { 3, Iclass_xt_iclass_div_args,
5151     0, 0, 0, 0 },
5152   { 1, Iclass_xt_iclass_rsr_eraccess_args,
5153     0, 0, 0, 0 },
5154   { 1, Iclass_xt_iclass_wsr_eraccess_args,
5155     0, 0, 0, 0 },
5156   { 1, Iclass_xt_iclass_xsr_eraccess_args,
5157     0, 0, 0, 0 },
5158   { 2, Iclass_xt_iclass_rer_args,
5159     0, 0, 0, 0 },
5160   { 2, Iclass_xt_iclass_wer_args,
5161     0, 0, 0, 0 },
5162   { 1, Iclass_rur_expstate_args,
5163     1, Iclass_rur_expstate_stateArgs, 0, 0 },
5164   { 1, Iclass_wur_expstate_args,
5165     1, Iclass_wur_expstate_stateArgs, 0, 0 },
5166   { 1, Iclass_iclass_READ_IMPWIRE_args,
5167     0, 0, 1, Iclass_iclass_READ_IMPWIRE_intfArgs },
5168   { 1, Iclass_iclass_SETB_EXPSTATE_args,
5169     1, Iclass_iclass_SETB_EXPSTATE_stateArgs, 0, 0 },
5170   { 1, Iclass_iclass_CLRB_EXPSTATE_args,
5171     1, Iclass_iclass_CLRB_EXPSTATE_stateArgs, 0, 0 },
5172   { 2, Iclass_iclass_WRMSK_EXPSTATE_args,
5173     1, Iclass_iclass_WRMSK_EXPSTATE_stateArgs, 0, 0 }
5176 enum xtensa_iclass_id {
5177   ICLASS_xt_iclass_excw,
5178   ICLASS_xt_iclass_rfe,
5179   ICLASS_xt_iclass_rfde,
5180   ICLASS_xt_iclass_syscall,
5181   ICLASS_xt_iclass_call12,
5182   ICLASS_xt_iclass_call8,
5183   ICLASS_xt_iclass_call4,
5184   ICLASS_xt_iclass_callx12,
5185   ICLASS_xt_iclass_callx8,
5186   ICLASS_xt_iclass_callx4,
5187   ICLASS_xt_iclass_entry,
5188   ICLASS_xt_iclass_movsp,
5189   ICLASS_xt_iclass_rotw,
5190   ICLASS_xt_iclass_retw,
5191   ICLASS_xt_iclass_rfwou,
5192   ICLASS_xt_iclass_l32e,
5193   ICLASS_xt_iclass_s32e,
5194   ICLASS_xt_iclass_rsr_windowbase,
5195   ICLASS_xt_iclass_wsr_windowbase,
5196   ICLASS_xt_iclass_xsr_windowbase,
5197   ICLASS_xt_iclass_rsr_windowstart,
5198   ICLASS_xt_iclass_wsr_windowstart,
5199   ICLASS_xt_iclass_xsr_windowstart,
5200   ICLASS_xt_iclass_add_n,
5201   ICLASS_xt_iclass_addi_n,
5202   ICLASS_xt_iclass_bz6,
5203   ICLASS_xt_iclass_ill_n,
5204   ICLASS_xt_iclass_loadi4,
5205   ICLASS_xt_iclass_mov_n,
5206   ICLASS_xt_iclass_movi_n,
5207   ICLASS_xt_iclass_nopn,
5208   ICLASS_xt_iclass_retn,
5209   ICLASS_xt_iclass_storei4,
5210   ICLASS_xt_iclass_addi,
5211   ICLASS_xt_iclass_addmi,
5212   ICLASS_xt_iclass_addsub,
5213   ICLASS_xt_iclass_bit,
5214   ICLASS_xt_iclass_bsi8,
5215   ICLASS_xt_iclass_bsi8b,
5216   ICLASS_xt_iclass_bsi8u,
5217   ICLASS_xt_iclass_bst8,
5218   ICLASS_xt_iclass_bsz12,
5219   ICLASS_xt_iclass_call0,
5220   ICLASS_xt_iclass_callx0,
5221   ICLASS_xt_iclass_exti,
5222   ICLASS_xt_iclass_ill,
5223   ICLASS_xt_iclass_jump,
5224   ICLASS_xt_iclass_jumpx,
5225   ICLASS_xt_iclass_l16ui,
5226   ICLASS_xt_iclass_l16si,
5227   ICLASS_xt_iclass_l32i,
5228   ICLASS_xt_iclass_l32r,
5229   ICLASS_xt_iclass_l8i,
5230   ICLASS_xt_iclass_movi,
5231   ICLASS_xt_iclass_movz,
5232   ICLASS_xt_iclass_neg,
5233   ICLASS_xt_iclass_nop,
5234   ICLASS_xt_iclass_return,
5235   ICLASS_xt_iclass_simcall,
5236   ICLASS_xt_iclass_s16i,
5237   ICLASS_xt_iclass_s32i,
5238   ICLASS_xt_iclass_s32nb,
5239   ICLASS_xt_iclass_s8i,
5240   ICLASS_xt_iclass_sar,
5241   ICLASS_xt_iclass_sari,
5242   ICLASS_xt_iclass_shifts,
5243   ICLASS_xt_iclass_shiftst,
5244   ICLASS_xt_iclass_shiftt,
5245   ICLASS_xt_iclass_slli,
5246   ICLASS_xt_iclass_srai,
5247   ICLASS_xt_iclass_srli,
5248   ICLASS_xt_iclass_memw,
5249   ICLASS_xt_iclass_extw,
5250   ICLASS_xt_iclass_isync,
5251   ICLASS_xt_iclass_sync,
5252   ICLASS_xt_iclass_rsil,
5253   ICLASS_xt_iclass_rsr_sar,
5254   ICLASS_xt_iclass_wsr_sar,
5255   ICLASS_xt_iclass_xsr_sar,
5256   ICLASS_xt_iclass_rsr_memctl,
5257   ICLASS_xt_iclass_wsr_memctl,
5258   ICLASS_xt_iclass_xsr_memctl,
5259   ICLASS_xt_iclass_rsr_litbase,
5260   ICLASS_xt_iclass_wsr_litbase,
5261   ICLASS_xt_iclass_xsr_litbase,
5262   ICLASS_xt_iclass_rsr_configid0,
5263   ICLASS_xt_iclass_wsr_configid0,
5264   ICLASS_xt_iclass_rsr_configid1,
5265   ICLASS_xt_iclass_rsr_ps,
5266   ICLASS_xt_iclass_wsr_ps,
5267   ICLASS_xt_iclass_xsr_ps,
5268   ICLASS_xt_iclass_rsr_epc1,
5269   ICLASS_xt_iclass_wsr_epc1,
5270   ICLASS_xt_iclass_xsr_epc1,
5271   ICLASS_xt_iclass_rsr_excsave1,
5272   ICLASS_xt_iclass_wsr_excsave1,
5273   ICLASS_xt_iclass_xsr_excsave1,
5274   ICLASS_xt_iclass_rsr_epc2,
5275   ICLASS_xt_iclass_wsr_epc2,
5276   ICLASS_xt_iclass_xsr_epc2,
5277   ICLASS_xt_iclass_rsr_excsave2,
5278   ICLASS_xt_iclass_wsr_excsave2,
5279   ICLASS_xt_iclass_xsr_excsave2,
5280   ICLASS_xt_iclass_rsr_epc3,
5281   ICLASS_xt_iclass_wsr_epc3,
5282   ICLASS_xt_iclass_xsr_epc3,
5283   ICLASS_xt_iclass_rsr_excsave3,
5284   ICLASS_xt_iclass_wsr_excsave3,
5285   ICLASS_xt_iclass_xsr_excsave3,
5286   ICLASS_xt_iclass_rsr_epc4,
5287   ICLASS_xt_iclass_wsr_epc4,
5288   ICLASS_xt_iclass_xsr_epc4,
5289   ICLASS_xt_iclass_rsr_excsave4,
5290   ICLASS_xt_iclass_wsr_excsave4,
5291   ICLASS_xt_iclass_xsr_excsave4,
5292   ICLASS_xt_iclass_rsr_epc5,
5293   ICLASS_xt_iclass_wsr_epc5,
5294   ICLASS_xt_iclass_xsr_epc5,
5295   ICLASS_xt_iclass_rsr_excsave5,
5296   ICLASS_xt_iclass_wsr_excsave5,
5297   ICLASS_xt_iclass_xsr_excsave5,
5298   ICLASS_xt_iclass_rsr_epc6,
5299   ICLASS_xt_iclass_wsr_epc6,
5300   ICLASS_xt_iclass_xsr_epc6,
5301   ICLASS_xt_iclass_rsr_excsave6,
5302   ICLASS_xt_iclass_wsr_excsave6,
5303   ICLASS_xt_iclass_xsr_excsave6,
5304   ICLASS_xt_iclass_rsr_epc7,
5305   ICLASS_xt_iclass_wsr_epc7,
5306   ICLASS_xt_iclass_xsr_epc7,
5307   ICLASS_xt_iclass_rsr_excsave7,
5308   ICLASS_xt_iclass_wsr_excsave7,
5309   ICLASS_xt_iclass_xsr_excsave7,
5310   ICLASS_xt_iclass_rsr_eps2,
5311   ICLASS_xt_iclass_wsr_eps2,
5312   ICLASS_xt_iclass_xsr_eps2,
5313   ICLASS_xt_iclass_rsr_eps3,
5314   ICLASS_xt_iclass_wsr_eps3,
5315   ICLASS_xt_iclass_xsr_eps3,
5316   ICLASS_xt_iclass_rsr_eps4,
5317   ICLASS_xt_iclass_wsr_eps4,
5318   ICLASS_xt_iclass_xsr_eps4,
5319   ICLASS_xt_iclass_rsr_eps5,
5320   ICLASS_xt_iclass_wsr_eps5,
5321   ICLASS_xt_iclass_xsr_eps5,
5322   ICLASS_xt_iclass_rsr_eps6,
5323   ICLASS_xt_iclass_wsr_eps6,
5324   ICLASS_xt_iclass_xsr_eps6,
5325   ICLASS_xt_iclass_rsr_eps7,
5326   ICLASS_xt_iclass_wsr_eps7,
5327   ICLASS_xt_iclass_xsr_eps7,
5328   ICLASS_xt_iclass_rsr_excvaddr,
5329   ICLASS_xt_iclass_wsr_excvaddr,
5330   ICLASS_xt_iclass_xsr_excvaddr,
5331   ICLASS_xt_iclass_rsr_depc,
5332   ICLASS_xt_iclass_wsr_depc,
5333   ICLASS_xt_iclass_xsr_depc,
5334   ICLASS_xt_iclass_rsr_exccause,
5335   ICLASS_xt_iclass_wsr_exccause,
5336   ICLASS_xt_iclass_xsr_exccause,
5337   ICLASS_xt_iclass_rsr_misc0,
5338   ICLASS_xt_iclass_wsr_misc0,
5339   ICLASS_xt_iclass_xsr_misc0,
5340   ICLASS_xt_iclass_rsr_misc1,
5341   ICLASS_xt_iclass_wsr_misc1,
5342   ICLASS_xt_iclass_xsr_misc1,
5343   ICLASS_xt_iclass_rsr_prid,
5344   ICLASS_xt_iclass_rsr_vecbase,
5345   ICLASS_xt_iclass_wsr_vecbase,
5346   ICLASS_xt_iclass_xsr_vecbase,
5347   ICLASS_xt_iclass_salt,
5348   ICLASS_xt_mul16,
5349   ICLASS_xt_mul32,
5350   ICLASS_xt_iclass_rfi,
5351   ICLASS_xt_iclass_wait,
5352   ICLASS_xt_iclass_rsr_interrupt,
5353   ICLASS_xt_iclass_wsr_intset,
5354   ICLASS_xt_iclass_wsr_intclear,
5355   ICLASS_xt_iclass_rsr_intenable,
5356   ICLASS_xt_iclass_wsr_intenable,
5357   ICLASS_xt_iclass_xsr_intenable,
5358   ICLASS_xt_iclass_break,
5359   ICLASS_xt_iclass_break_n,
5360   ICLASS_xt_iclass_rsr_dbreaka0,
5361   ICLASS_xt_iclass_wsr_dbreaka0,
5362   ICLASS_xt_iclass_xsr_dbreaka0,
5363   ICLASS_xt_iclass_rsr_dbreakc0,
5364   ICLASS_xt_iclass_wsr_dbreakc0,
5365   ICLASS_xt_iclass_xsr_dbreakc0,
5366   ICLASS_xt_iclass_rsr_dbreaka1,
5367   ICLASS_xt_iclass_wsr_dbreaka1,
5368   ICLASS_xt_iclass_xsr_dbreaka1,
5369   ICLASS_xt_iclass_rsr_dbreakc1,
5370   ICLASS_xt_iclass_wsr_dbreakc1,
5371   ICLASS_xt_iclass_xsr_dbreakc1,
5372   ICLASS_xt_iclass_rsr_ibreaka0,
5373   ICLASS_xt_iclass_wsr_ibreaka0,
5374   ICLASS_xt_iclass_xsr_ibreaka0,
5375   ICLASS_xt_iclass_rsr_ibreaka1,
5376   ICLASS_xt_iclass_wsr_ibreaka1,
5377   ICLASS_xt_iclass_xsr_ibreaka1,
5378   ICLASS_xt_iclass_rsr_ibreakenable,
5379   ICLASS_xt_iclass_wsr_ibreakenable,
5380   ICLASS_xt_iclass_xsr_ibreakenable,
5381   ICLASS_xt_iclass_rsr_debugcause,
5382   ICLASS_xt_iclass_wsr_debugcause,
5383   ICLASS_xt_iclass_xsr_debugcause,
5384   ICLASS_xt_iclass_rsr_icount,
5385   ICLASS_xt_iclass_wsr_icount,
5386   ICLASS_xt_iclass_xsr_icount,
5387   ICLASS_xt_iclass_rsr_icountlevel,
5388   ICLASS_xt_iclass_wsr_icountlevel,
5389   ICLASS_xt_iclass_xsr_icountlevel,
5390   ICLASS_xt_iclass_rsr_ddr,
5391   ICLASS_xt_iclass_wsr_ddr,
5392   ICLASS_xt_iclass_xsr_ddr,
5393   ICLASS_xt_iclass_lddr32_p,
5394   ICLASS_xt_iclass_sddr32_p,
5395   ICLASS_xt_iclass_rfdo,
5396   ICLASS_xt_iclass_rfdd,
5397   ICLASS_xt_iclass_wsr_mmid,
5398   ICLASS_xt_iclass_rsr_ccount,
5399   ICLASS_xt_iclass_wsr_ccount,
5400   ICLASS_xt_iclass_xsr_ccount,
5401   ICLASS_xt_iclass_rsr_ccompare0,
5402   ICLASS_xt_iclass_wsr_ccompare0,
5403   ICLASS_xt_iclass_xsr_ccompare0,
5404   ICLASS_xt_iclass_rsr_ccompare1,
5405   ICLASS_xt_iclass_wsr_ccompare1,
5406   ICLASS_xt_iclass_xsr_ccompare1,
5407   ICLASS_xt_iclass_rsr_ccompare2,
5408   ICLASS_xt_iclass_wsr_ccompare2,
5409   ICLASS_xt_iclass_xsr_ccompare2,
5410   ICLASS_xt_iclass_idtlb,
5411   ICLASS_xt_iclass_rdtlb,
5412   ICLASS_xt_iclass_wdtlb,
5413   ICLASS_xt_iclass_iitlb,
5414   ICLASS_xt_iclass_ritlb,
5415   ICLASS_xt_iclass_witlb,
5416   ICLASS_xt_iclass_minmax,
5417   ICLASS_xt_iclass_nsa,
5418   ICLASS_xt_iclass_sx,
5419   ICLASS_xt_iclass_l32ai,
5420   ICLASS_xt_iclass_s32ri,
5421   ICLASS_xt_iclass_s32c1i,
5422   ICLASS_xt_iclass_rsr_scompare1,
5423   ICLASS_xt_iclass_wsr_scompare1,
5424   ICLASS_xt_iclass_xsr_scompare1,
5425   ICLASS_xt_iclass_rsr_atomctl,
5426   ICLASS_xt_iclass_wsr_atomctl,
5427   ICLASS_xt_iclass_xsr_atomctl,
5428   ICLASS_xt_iclass_div,
5429   ICLASS_xt_iclass_rsr_eraccess,
5430   ICLASS_xt_iclass_wsr_eraccess,
5431   ICLASS_xt_iclass_xsr_eraccess,
5432   ICLASS_xt_iclass_rer,
5433   ICLASS_xt_iclass_wer,
5434   ICLASS_rur_expstate,
5435   ICLASS_wur_expstate,
5436   ICLASS_iclass_READ_IMPWIRE,
5437   ICLASS_iclass_SETB_EXPSTATE,
5438   ICLASS_iclass_CLRB_EXPSTATE,
5439   ICLASS_iclass_WRMSK_EXPSTATE
5443 /*  Opcode encodings.  */
5445 static void
5446 Opcode_excw_Slot_inst_encode (xtensa_insnbuf slotbuf)
5448   slotbuf[0] = 0x2080;
5451 static void
5452 Opcode_rfe_Slot_inst_encode (xtensa_insnbuf slotbuf)
5454   slotbuf[0] = 0x3000;
5457 static void
5458 Opcode_rfde_Slot_inst_encode (xtensa_insnbuf slotbuf)
5460   slotbuf[0] = 0x3200;
5463 static void
5464 Opcode_syscall_Slot_inst_encode (xtensa_insnbuf slotbuf)
5466   slotbuf[0] = 0x5000;
5469 static void
5470 Opcode_call12_Slot_inst_encode (xtensa_insnbuf slotbuf)
5472   slotbuf[0] = 0x35;
5475 static void
5476 Opcode_call8_Slot_inst_encode (xtensa_insnbuf slotbuf)
5478   slotbuf[0] = 0x25;
5481 static void
5482 Opcode_call4_Slot_inst_encode (xtensa_insnbuf slotbuf)
5484   slotbuf[0] = 0x15;
5487 static void
5488 Opcode_callx12_Slot_inst_encode (xtensa_insnbuf slotbuf)
5490   slotbuf[0] = 0xf0;
5493 static void
5494 Opcode_callx8_Slot_inst_encode (xtensa_insnbuf slotbuf)
5496   slotbuf[0] = 0xe0;
5499 static void
5500 Opcode_callx4_Slot_inst_encode (xtensa_insnbuf slotbuf)
5502   slotbuf[0] = 0xd0;
5505 static void
5506 Opcode_entry_Slot_inst_encode (xtensa_insnbuf slotbuf)
5508   slotbuf[0] = 0x36;
5511 static void
5512 Opcode_movsp_Slot_inst_encode (xtensa_insnbuf slotbuf)
5514   slotbuf[0] = 0x1000;
5517 static void
5518 Opcode_rotw_Slot_inst_encode (xtensa_insnbuf slotbuf)
5520   slotbuf[0] = 0x408000;
5523 static void
5524 Opcode_retw_Slot_inst_encode (xtensa_insnbuf slotbuf)
5526   slotbuf[0] = 0x90;
5529 static void
5530 Opcode_retw_n_Slot_inst16b_encode (xtensa_insnbuf slotbuf)
5532   slotbuf[0] = 0xf01d;
5535 static void
5536 Opcode_rfwo_Slot_inst_encode (xtensa_insnbuf slotbuf)
5538   slotbuf[0] = 0x3400;
5541 static void
5542 Opcode_rfwu_Slot_inst_encode (xtensa_insnbuf slotbuf)
5544   slotbuf[0] = 0x3500;
5547 static void
5548 Opcode_l32e_Slot_inst_encode (xtensa_insnbuf slotbuf)
5550   slotbuf[0] = 0x90000;
5553 static void
5554 Opcode_s32e_Slot_inst_encode (xtensa_insnbuf slotbuf)
5556   slotbuf[0] = 0x490000;
5559 static void
5560 Opcode_rsr_windowbase_Slot_inst_encode (xtensa_insnbuf slotbuf)
5562   slotbuf[0] = 0x34800;
5565 static void
5566 Opcode_wsr_windowbase_Slot_inst_encode (xtensa_insnbuf slotbuf)
5568   slotbuf[0] = 0x134800;
5571 static void
5572 Opcode_xsr_windowbase_Slot_inst_encode (xtensa_insnbuf slotbuf)
5574   slotbuf[0] = 0x614800;
5577 static void
5578 Opcode_rsr_windowstart_Slot_inst_encode (xtensa_insnbuf slotbuf)
5580   slotbuf[0] = 0x34900;
5583 static void
5584 Opcode_wsr_windowstart_Slot_inst_encode (xtensa_insnbuf slotbuf)
5586   slotbuf[0] = 0x134900;
5589 static void
5590 Opcode_xsr_windowstart_Slot_inst_encode (xtensa_insnbuf slotbuf)
5592   slotbuf[0] = 0x614900;
5595 static void
5596 Opcode_add_n_Slot_inst16a_encode (xtensa_insnbuf slotbuf)
5598   slotbuf[0] = 0xa;
5601 static void
5602 Opcode_addi_n_Slot_inst16a_encode (xtensa_insnbuf slotbuf)
5604   slotbuf[0] = 0xb;
5607 static void
5608 Opcode_beqz_n_Slot_inst16b_encode (xtensa_insnbuf slotbuf)
5610   slotbuf[0] = 0x8c;
5613 static void
5614 Opcode_bnez_n_Slot_inst16b_encode (xtensa_insnbuf slotbuf)
5616   slotbuf[0] = 0xcc;
5619 static void
5620 Opcode_ill_n_Slot_inst16b_encode (xtensa_insnbuf slotbuf)
5622   slotbuf[0] = 0xf06d;
5625 static void
5626 Opcode_l32i_n_Slot_inst16a_encode (xtensa_insnbuf slotbuf)
5628   slotbuf[0] = 0x8;
5631 static void
5632 Opcode_mov_n_Slot_inst16b_encode (xtensa_insnbuf slotbuf)
5634   slotbuf[0] = 0xd;
5637 static void
5638 Opcode_movi_n_Slot_inst16b_encode (xtensa_insnbuf slotbuf)
5640   slotbuf[0] = 0xc;
5643 static void
5644 Opcode_nop_n_Slot_inst16b_encode (xtensa_insnbuf slotbuf)
5646   slotbuf[0] = 0xf03d;
5649 static void
5650 Opcode_ret_n_Slot_inst16b_encode (xtensa_insnbuf slotbuf)
5652   slotbuf[0] = 0xf00d;
5655 static void
5656 Opcode_s32i_n_Slot_inst16a_encode (xtensa_insnbuf slotbuf)
5658   slotbuf[0] = 0x9;
5661 static void
5662 Opcode_addi_Slot_inst_encode (xtensa_insnbuf slotbuf)
5664   slotbuf[0] = 0xc002;
5667 static void
5668 Opcode_addmi_Slot_inst_encode (xtensa_insnbuf slotbuf)
5670   slotbuf[0] = 0xd002;
5673 static void
5674 Opcode_add_Slot_inst_encode (xtensa_insnbuf slotbuf)
5676   slotbuf[0] = 0x800000;
5679 static void
5680 Opcode_sub_Slot_inst_encode (xtensa_insnbuf slotbuf)
5682   slotbuf[0] = 0xc00000;
5685 static void
5686 Opcode_addx2_Slot_inst_encode (xtensa_insnbuf slotbuf)
5688   slotbuf[0] = 0x900000;
5691 static void
5692 Opcode_addx4_Slot_inst_encode (xtensa_insnbuf slotbuf)
5694   slotbuf[0] = 0xa00000;
5697 static void
5698 Opcode_addx8_Slot_inst_encode (xtensa_insnbuf slotbuf)
5700   slotbuf[0] = 0xb00000;
5703 static void
5704 Opcode_subx2_Slot_inst_encode (xtensa_insnbuf slotbuf)
5706   slotbuf[0] = 0xd00000;
5709 static void
5710 Opcode_subx4_Slot_inst_encode (xtensa_insnbuf slotbuf)
5712   slotbuf[0] = 0xe00000;
5715 static void
5716 Opcode_subx8_Slot_inst_encode (xtensa_insnbuf slotbuf)
5718   slotbuf[0] = 0xf00000;
5721 static void
5722 Opcode_and_Slot_inst_encode (xtensa_insnbuf slotbuf)
5724   slotbuf[0] = 0x100000;
5727 static void
5728 Opcode_or_Slot_inst_encode (xtensa_insnbuf slotbuf)
5730   slotbuf[0] = 0x200000;
5733 static void
5734 Opcode_xor_Slot_inst_encode (xtensa_insnbuf slotbuf)
5736   slotbuf[0] = 0x300000;
5739 static void
5740 Opcode_beqi_Slot_inst_encode (xtensa_insnbuf slotbuf)
5742   slotbuf[0] = 0x26;
5745 static void
5746 Opcode_bnei_Slot_inst_encode (xtensa_insnbuf slotbuf)
5748   slotbuf[0] = 0x66;
5751 static void
5752 Opcode_bgei_Slot_inst_encode (xtensa_insnbuf slotbuf)
5754   slotbuf[0] = 0xe6;
5757 static void
5758 Opcode_blti_Slot_inst_encode (xtensa_insnbuf slotbuf)
5760   slotbuf[0] = 0xa6;
5763 static void
5764 Opcode_bbci_Slot_inst_encode (xtensa_insnbuf slotbuf)
5766   slotbuf[0] = 0x6007;
5769 static void
5770 Opcode_bbsi_Slot_inst_encode (xtensa_insnbuf slotbuf)
5772   slotbuf[0] = 0xe007;
5775 static void
5776 Opcode_bgeui_Slot_inst_encode (xtensa_insnbuf slotbuf)
5778   slotbuf[0] = 0xf6;
5781 static void
5782 Opcode_bltui_Slot_inst_encode (xtensa_insnbuf slotbuf)
5784   slotbuf[0] = 0xb6;
5787 static void
5788 Opcode_beq_Slot_inst_encode (xtensa_insnbuf slotbuf)
5790   slotbuf[0] = 0x1007;
5793 static void
5794 Opcode_bne_Slot_inst_encode (xtensa_insnbuf slotbuf)
5796   slotbuf[0] = 0x9007;
5799 static void
5800 Opcode_bge_Slot_inst_encode (xtensa_insnbuf slotbuf)
5802   slotbuf[0] = 0xa007;
5805 static void
5806 Opcode_blt_Slot_inst_encode (xtensa_insnbuf slotbuf)
5808   slotbuf[0] = 0x2007;
5811 static void
5812 Opcode_bgeu_Slot_inst_encode (xtensa_insnbuf slotbuf)
5814   slotbuf[0] = 0xb007;
5817 static void
5818 Opcode_bltu_Slot_inst_encode (xtensa_insnbuf slotbuf)
5820   slotbuf[0] = 0x3007;
5823 static void
5824 Opcode_bany_Slot_inst_encode (xtensa_insnbuf slotbuf)
5826   slotbuf[0] = 0x8007;
5829 static void
5830 Opcode_bnone_Slot_inst_encode (xtensa_insnbuf slotbuf)
5832   slotbuf[0] = 0x7;
5835 static void
5836 Opcode_ball_Slot_inst_encode (xtensa_insnbuf slotbuf)
5838   slotbuf[0] = 0x4007;
5841 static void
5842 Opcode_bnall_Slot_inst_encode (xtensa_insnbuf slotbuf)
5844   slotbuf[0] = 0xc007;
5847 static void
5848 Opcode_bbc_Slot_inst_encode (xtensa_insnbuf slotbuf)
5850   slotbuf[0] = 0x5007;
5853 static void
5854 Opcode_bbs_Slot_inst_encode (xtensa_insnbuf slotbuf)
5856   slotbuf[0] = 0xd007;
5859 static void
5860 Opcode_beqz_Slot_inst_encode (xtensa_insnbuf slotbuf)
5862   slotbuf[0] = 0x16;
5865 static void
5866 Opcode_bnez_Slot_inst_encode (xtensa_insnbuf slotbuf)
5868   slotbuf[0] = 0x56;
5871 static void
5872 Opcode_bgez_Slot_inst_encode (xtensa_insnbuf slotbuf)
5874   slotbuf[0] = 0xd6;
5877 static void
5878 Opcode_bltz_Slot_inst_encode (xtensa_insnbuf slotbuf)
5880   slotbuf[0] = 0x96;
5883 static void
5884 Opcode_call0_Slot_inst_encode (xtensa_insnbuf slotbuf)
5886   slotbuf[0] = 0x5;
5889 static void
5890 Opcode_callx0_Slot_inst_encode (xtensa_insnbuf slotbuf)
5892   slotbuf[0] = 0xc0;
5895 static void
5896 Opcode_extui_Slot_inst_encode (xtensa_insnbuf slotbuf)
5898   slotbuf[0] = 0x40000;
5901 static void
5902 Opcode_ill_Slot_inst_encode (xtensa_insnbuf slotbuf)
5904   slotbuf[0] = 0;
5907 static void
5908 Opcode_j_Slot_inst_encode (xtensa_insnbuf slotbuf)
5910   slotbuf[0] = 0x6;
5913 static void
5914 Opcode_jx_Slot_inst_encode (xtensa_insnbuf slotbuf)
5916   slotbuf[0] = 0xa0;
5919 static void
5920 Opcode_l16ui_Slot_inst_encode (xtensa_insnbuf slotbuf)
5922   slotbuf[0] = 0x1002;
5925 static void
5926 Opcode_l16si_Slot_inst_encode (xtensa_insnbuf slotbuf)
5928   slotbuf[0] = 0x9002;
5931 static void
5932 Opcode_l32i_Slot_inst_encode (xtensa_insnbuf slotbuf)
5934   slotbuf[0] = 0x2002;
5937 static void
5938 Opcode_l32r_Slot_inst_encode (xtensa_insnbuf slotbuf)
5940   slotbuf[0] = 0x1;
5943 static void
5944 Opcode_l8ui_Slot_inst_encode (xtensa_insnbuf slotbuf)
5946   slotbuf[0] = 0x2;
5949 static void
5950 Opcode_movi_Slot_inst_encode (xtensa_insnbuf slotbuf)
5952   slotbuf[0] = 0xa002;
5955 static void
5956 Opcode_moveqz_Slot_inst_encode (xtensa_insnbuf slotbuf)
5958   slotbuf[0] = 0x830000;
5961 static void
5962 Opcode_movnez_Slot_inst_encode (xtensa_insnbuf slotbuf)
5964   slotbuf[0] = 0x930000;
5967 static void
5968 Opcode_movltz_Slot_inst_encode (xtensa_insnbuf slotbuf)
5970   slotbuf[0] = 0xa30000;
5973 static void
5974 Opcode_movgez_Slot_inst_encode (xtensa_insnbuf slotbuf)
5976   slotbuf[0] = 0xb30000;
5979 static void
5980 Opcode_neg_Slot_inst_encode (xtensa_insnbuf slotbuf)
5982   slotbuf[0] = 0x600000;
5985 static void
5986 Opcode_abs_Slot_inst_encode (xtensa_insnbuf slotbuf)
5988   slotbuf[0] = 0x600100;
5991 static void
5992 Opcode_nop_Slot_inst_encode (xtensa_insnbuf slotbuf)
5994   slotbuf[0] = 0x20f0;
5997 static void
5998 Opcode_ret_Slot_inst_encode (xtensa_insnbuf slotbuf)
6000   slotbuf[0] = 0x80;
6003 static void
6004 Opcode_simcall_Slot_inst_encode (xtensa_insnbuf slotbuf)
6006   slotbuf[0] = 0x5100;
6009 static void
6010 Opcode_s16i_Slot_inst_encode (xtensa_insnbuf slotbuf)
6012   slotbuf[0] = 0x5002;
6015 static void
6016 Opcode_s32i_Slot_inst_encode (xtensa_insnbuf slotbuf)
6018   slotbuf[0] = 0x6002;
6021 static void
6022 Opcode_s32nb_Slot_inst_encode (xtensa_insnbuf slotbuf)
6024   slotbuf[0] = 0x590000;
6027 static void
6028 Opcode_s8i_Slot_inst_encode (xtensa_insnbuf slotbuf)
6030   slotbuf[0] = 0x4002;
6033 static void
6034 Opcode_ssr_Slot_inst_encode (xtensa_insnbuf slotbuf)
6036   slotbuf[0] = 0x400000;
6039 static void
6040 Opcode_ssl_Slot_inst_encode (xtensa_insnbuf slotbuf)
6042   slotbuf[0] = 0x401000;
6045 static void
6046 Opcode_ssa8l_Slot_inst_encode (xtensa_insnbuf slotbuf)
6048   slotbuf[0] = 0x402000;
6051 static void
6052 Opcode_ssa8b_Slot_inst_encode (xtensa_insnbuf slotbuf)
6054   slotbuf[0] = 0x403000;
6057 static void
6058 Opcode_ssai_Slot_inst_encode (xtensa_insnbuf slotbuf)
6060   slotbuf[0] = 0x404000;
6063 static void
6064 Opcode_sll_Slot_inst_encode (xtensa_insnbuf slotbuf)
6066   slotbuf[0] = 0xa10000;
6069 static void
6070 Opcode_src_Slot_inst_encode (xtensa_insnbuf slotbuf)
6072   slotbuf[0] = 0x810000;
6075 static void
6076 Opcode_srl_Slot_inst_encode (xtensa_insnbuf slotbuf)
6078   slotbuf[0] = 0x910000;
6081 static void
6082 Opcode_sra_Slot_inst_encode (xtensa_insnbuf slotbuf)
6084   slotbuf[0] = 0xb10000;
6087 static void
6088 Opcode_slli_Slot_inst_encode (xtensa_insnbuf slotbuf)
6090   slotbuf[0] = 0x10000;
6093 static void
6094 Opcode_srai_Slot_inst_encode (xtensa_insnbuf slotbuf)
6096   slotbuf[0] = 0x210000;
6099 static void
6100 Opcode_srli_Slot_inst_encode (xtensa_insnbuf slotbuf)
6102   slotbuf[0] = 0x410000;
6105 static void
6106 Opcode_memw_Slot_inst_encode (xtensa_insnbuf slotbuf)
6108   slotbuf[0] = 0x20c0;
6111 static void
6112 Opcode_extw_Slot_inst_encode (xtensa_insnbuf slotbuf)
6114   slotbuf[0] = 0x20d0;
6117 static void
6118 Opcode_isync_Slot_inst_encode (xtensa_insnbuf slotbuf)
6120   slotbuf[0] = 0x2000;
6123 static void
6124 Opcode_rsync_Slot_inst_encode (xtensa_insnbuf slotbuf)
6126   slotbuf[0] = 0x2010;
6129 static void
6130 Opcode_esync_Slot_inst_encode (xtensa_insnbuf slotbuf)
6132   slotbuf[0] = 0x2020;
6135 static void
6136 Opcode_dsync_Slot_inst_encode (xtensa_insnbuf slotbuf)
6138   slotbuf[0] = 0x2030;
6141 static void
6142 Opcode_rsil_Slot_inst_encode (xtensa_insnbuf slotbuf)
6144   slotbuf[0] = 0x6000;
6147 static void
6148 Opcode_rsr_sar_Slot_inst_encode (xtensa_insnbuf slotbuf)
6150   slotbuf[0] = 0x30300;
6153 static void
6154 Opcode_wsr_sar_Slot_inst_encode (xtensa_insnbuf slotbuf)
6156   slotbuf[0] = 0x130300;
6159 static void
6160 Opcode_xsr_sar_Slot_inst_encode (xtensa_insnbuf slotbuf)
6162   slotbuf[0] = 0x610300;
6165 static void
6166 Opcode_rsr_memctl_Slot_inst_encode (xtensa_insnbuf slotbuf)
6168   slotbuf[0] = 0x36100;
6171 static void
6172 Opcode_wsr_memctl_Slot_inst_encode (xtensa_insnbuf slotbuf)
6174   slotbuf[0] = 0x136100;
6177 static void
6178 Opcode_xsr_memctl_Slot_inst_encode (xtensa_insnbuf slotbuf)
6180   slotbuf[0] = 0x616100;
6183 static void
6184 Opcode_rsr_litbase_Slot_inst_encode (xtensa_insnbuf slotbuf)
6186   slotbuf[0] = 0x30500;
6189 static void
6190 Opcode_wsr_litbase_Slot_inst_encode (xtensa_insnbuf slotbuf)
6192   slotbuf[0] = 0x130500;
6195 static void
6196 Opcode_xsr_litbase_Slot_inst_encode (xtensa_insnbuf slotbuf)
6198   slotbuf[0] = 0x610500;
6201 static void
6202 Opcode_rsr_configid0_Slot_inst_encode (xtensa_insnbuf slotbuf)
6204   slotbuf[0] = 0x3b000;
6207 static void
6208 Opcode_wsr_configid0_Slot_inst_encode (xtensa_insnbuf slotbuf)
6210   slotbuf[0] = 0x13b000;
6213 static void
6214 Opcode_rsr_configid1_Slot_inst_encode (xtensa_insnbuf slotbuf)
6216   slotbuf[0] = 0x3d000;
6219 static void
6220 Opcode_rsr_ps_Slot_inst_encode (xtensa_insnbuf slotbuf)
6222   slotbuf[0] = 0x3e600;
6225 static void
6226 Opcode_wsr_ps_Slot_inst_encode (xtensa_insnbuf slotbuf)
6228   slotbuf[0] = 0x13e600;
6231 static void
6232 Opcode_xsr_ps_Slot_inst_encode (xtensa_insnbuf slotbuf)
6234   slotbuf[0] = 0x61e600;
6237 static void
6238 Opcode_rsr_epc1_Slot_inst_encode (xtensa_insnbuf slotbuf)
6240   slotbuf[0] = 0x3b100;
6243 static void
6244 Opcode_wsr_epc1_Slot_inst_encode (xtensa_insnbuf slotbuf)
6246   slotbuf[0] = 0x13b100;
6249 static void
6250 Opcode_xsr_epc1_Slot_inst_encode (xtensa_insnbuf slotbuf)
6252   slotbuf[0] = 0x61b100;
6255 static void
6256 Opcode_rsr_excsave1_Slot_inst_encode (xtensa_insnbuf slotbuf)
6258   slotbuf[0] = 0x3d100;
6261 static void
6262 Opcode_wsr_excsave1_Slot_inst_encode (xtensa_insnbuf slotbuf)
6264   slotbuf[0] = 0x13d100;
6267 static void
6268 Opcode_xsr_excsave1_Slot_inst_encode (xtensa_insnbuf slotbuf)
6270   slotbuf[0] = 0x61d100;
6273 static void
6274 Opcode_rsr_epc2_Slot_inst_encode (xtensa_insnbuf slotbuf)
6276   slotbuf[0] = 0x3b200;
6279 static void
6280 Opcode_wsr_epc2_Slot_inst_encode (xtensa_insnbuf slotbuf)
6282   slotbuf[0] = 0x13b200;
6285 static void
6286 Opcode_xsr_epc2_Slot_inst_encode (xtensa_insnbuf slotbuf)
6288   slotbuf[0] = 0x61b200;
6291 static void
6292 Opcode_rsr_excsave2_Slot_inst_encode (xtensa_insnbuf slotbuf)
6294   slotbuf[0] = 0x3d200;
6297 static void
6298 Opcode_wsr_excsave2_Slot_inst_encode (xtensa_insnbuf slotbuf)
6300   slotbuf[0] = 0x13d200;
6303 static void
6304 Opcode_xsr_excsave2_Slot_inst_encode (xtensa_insnbuf slotbuf)
6306   slotbuf[0] = 0x61d200;
6309 static void
6310 Opcode_rsr_epc3_Slot_inst_encode (xtensa_insnbuf slotbuf)
6312   slotbuf[0] = 0x3b300;
6315 static void
6316 Opcode_wsr_epc3_Slot_inst_encode (xtensa_insnbuf slotbuf)
6318   slotbuf[0] = 0x13b300;
6321 static void
6322 Opcode_xsr_epc3_Slot_inst_encode (xtensa_insnbuf slotbuf)
6324   slotbuf[0] = 0x61b300;
6327 static void
6328 Opcode_rsr_excsave3_Slot_inst_encode (xtensa_insnbuf slotbuf)
6330   slotbuf[0] = 0x3d300;
6333 static void
6334 Opcode_wsr_excsave3_Slot_inst_encode (xtensa_insnbuf slotbuf)
6336   slotbuf[0] = 0x13d300;
6339 static void
6340 Opcode_xsr_excsave3_Slot_inst_encode (xtensa_insnbuf slotbuf)
6342   slotbuf[0] = 0x61d300;
6345 static void
6346 Opcode_rsr_epc4_Slot_inst_encode (xtensa_insnbuf slotbuf)
6348   slotbuf[0] = 0x3b400;
6351 static void
6352 Opcode_wsr_epc4_Slot_inst_encode (xtensa_insnbuf slotbuf)
6354   slotbuf[0] = 0x13b400;
6357 static void
6358 Opcode_xsr_epc4_Slot_inst_encode (xtensa_insnbuf slotbuf)
6360   slotbuf[0] = 0x61b400;
6363 static void
6364 Opcode_rsr_excsave4_Slot_inst_encode (xtensa_insnbuf slotbuf)
6366   slotbuf[0] = 0x3d400;
6369 static void
6370 Opcode_wsr_excsave4_Slot_inst_encode (xtensa_insnbuf slotbuf)
6372   slotbuf[0] = 0x13d400;
6375 static void
6376 Opcode_xsr_excsave4_Slot_inst_encode (xtensa_insnbuf slotbuf)
6378   slotbuf[0] = 0x61d400;
6381 static void
6382 Opcode_rsr_epc5_Slot_inst_encode (xtensa_insnbuf slotbuf)
6384   slotbuf[0] = 0x3b500;
6387 static void
6388 Opcode_wsr_epc5_Slot_inst_encode (xtensa_insnbuf slotbuf)
6390   slotbuf[0] = 0x13b500;
6393 static void
6394 Opcode_xsr_epc5_Slot_inst_encode (xtensa_insnbuf slotbuf)
6396   slotbuf[0] = 0x61b500;
6399 static void
6400 Opcode_rsr_excsave5_Slot_inst_encode (xtensa_insnbuf slotbuf)
6402   slotbuf[0] = 0x3d500;
6405 static void
6406 Opcode_wsr_excsave5_Slot_inst_encode (xtensa_insnbuf slotbuf)
6408   slotbuf[0] = 0x13d500;
6411 static void
6412 Opcode_xsr_excsave5_Slot_inst_encode (xtensa_insnbuf slotbuf)
6414   slotbuf[0] = 0x61d500;
6417 static void
6418 Opcode_rsr_epc6_Slot_inst_encode (xtensa_insnbuf slotbuf)
6420   slotbuf[0] = 0x3b600;
6423 static void
6424 Opcode_wsr_epc6_Slot_inst_encode (xtensa_insnbuf slotbuf)
6426   slotbuf[0] = 0x13b600;
6429 static void
6430 Opcode_xsr_epc6_Slot_inst_encode (xtensa_insnbuf slotbuf)
6432   slotbuf[0] = 0x61b600;
6435 static void
6436 Opcode_rsr_excsave6_Slot_inst_encode (xtensa_insnbuf slotbuf)
6438   slotbuf[0] = 0x3d600;
6441 static void
6442 Opcode_wsr_excsave6_Slot_inst_encode (xtensa_insnbuf slotbuf)
6444   slotbuf[0] = 0x13d600;
6447 static void
6448 Opcode_xsr_excsave6_Slot_inst_encode (xtensa_insnbuf slotbuf)
6450   slotbuf[0] = 0x61d600;
6453 static void
6454 Opcode_rsr_epc7_Slot_inst_encode (xtensa_insnbuf slotbuf)
6456   slotbuf[0] = 0x3b700;
6459 static void
6460 Opcode_wsr_epc7_Slot_inst_encode (xtensa_insnbuf slotbuf)
6462   slotbuf[0] = 0x13b700;
6465 static void
6466 Opcode_xsr_epc7_Slot_inst_encode (xtensa_insnbuf slotbuf)
6468   slotbuf[0] = 0x61b700;
6471 static void
6472 Opcode_rsr_excsave7_Slot_inst_encode (xtensa_insnbuf slotbuf)
6474   slotbuf[0] = 0x3d700;
6477 static void
6478 Opcode_wsr_excsave7_Slot_inst_encode (xtensa_insnbuf slotbuf)
6480   slotbuf[0] = 0x13d700;
6483 static void
6484 Opcode_xsr_excsave7_Slot_inst_encode (xtensa_insnbuf slotbuf)
6486   slotbuf[0] = 0x61d700;
6489 static void
6490 Opcode_rsr_eps2_Slot_inst_encode (xtensa_insnbuf slotbuf)
6492   slotbuf[0] = 0x3c200;
6495 static void
6496 Opcode_wsr_eps2_Slot_inst_encode (xtensa_insnbuf slotbuf)
6498   slotbuf[0] = 0x13c200;
6501 static void
6502 Opcode_xsr_eps2_Slot_inst_encode (xtensa_insnbuf slotbuf)
6504   slotbuf[0] = 0x61c200;
6507 static void
6508 Opcode_rsr_eps3_Slot_inst_encode (xtensa_insnbuf slotbuf)
6510   slotbuf[0] = 0x3c300;
6513 static void
6514 Opcode_wsr_eps3_Slot_inst_encode (xtensa_insnbuf slotbuf)
6516   slotbuf[0] = 0x13c300;
6519 static void
6520 Opcode_xsr_eps3_Slot_inst_encode (xtensa_insnbuf slotbuf)
6522   slotbuf[0] = 0x61c300;
6525 static void
6526 Opcode_rsr_eps4_Slot_inst_encode (xtensa_insnbuf slotbuf)
6528   slotbuf[0] = 0x3c400;
6531 static void
6532 Opcode_wsr_eps4_Slot_inst_encode (xtensa_insnbuf slotbuf)
6534   slotbuf[0] = 0x13c400;
6537 static void
6538 Opcode_xsr_eps4_Slot_inst_encode (xtensa_insnbuf slotbuf)
6540   slotbuf[0] = 0x61c400;
6543 static void
6544 Opcode_rsr_eps5_Slot_inst_encode (xtensa_insnbuf slotbuf)
6546   slotbuf[0] = 0x3c500;
6549 static void
6550 Opcode_wsr_eps5_Slot_inst_encode (xtensa_insnbuf slotbuf)
6552   slotbuf[0] = 0x13c500;
6555 static void
6556 Opcode_xsr_eps5_Slot_inst_encode (xtensa_insnbuf slotbuf)
6558   slotbuf[0] = 0x61c500;
6561 static void
6562 Opcode_rsr_eps6_Slot_inst_encode (xtensa_insnbuf slotbuf)
6564   slotbuf[0] = 0x3c600;
6567 static void
6568 Opcode_wsr_eps6_Slot_inst_encode (xtensa_insnbuf slotbuf)
6570   slotbuf[0] = 0x13c600;
6573 static void
6574 Opcode_xsr_eps6_Slot_inst_encode (xtensa_insnbuf slotbuf)
6576   slotbuf[0] = 0x61c600;
6579 static void
6580 Opcode_rsr_eps7_Slot_inst_encode (xtensa_insnbuf slotbuf)
6582   slotbuf[0] = 0x3c700;
6585 static void
6586 Opcode_wsr_eps7_Slot_inst_encode (xtensa_insnbuf slotbuf)
6588   slotbuf[0] = 0x13c700;
6591 static void
6592 Opcode_xsr_eps7_Slot_inst_encode (xtensa_insnbuf slotbuf)
6594   slotbuf[0] = 0x61c700;
6597 static void
6598 Opcode_rsr_excvaddr_Slot_inst_encode (xtensa_insnbuf slotbuf)
6600   slotbuf[0] = 0x3ee00;
6603 static void
6604 Opcode_wsr_excvaddr_Slot_inst_encode (xtensa_insnbuf slotbuf)
6606   slotbuf[0] = 0x13ee00;
6609 static void
6610 Opcode_xsr_excvaddr_Slot_inst_encode (xtensa_insnbuf slotbuf)
6612   slotbuf[0] = 0x61ee00;
6615 static void
6616 Opcode_rsr_depc_Slot_inst_encode (xtensa_insnbuf slotbuf)
6618   slotbuf[0] = 0x3c000;
6621 static void
6622 Opcode_wsr_depc_Slot_inst_encode (xtensa_insnbuf slotbuf)
6624   slotbuf[0] = 0x13c000;
6627 static void
6628 Opcode_xsr_depc_Slot_inst_encode (xtensa_insnbuf slotbuf)
6630   slotbuf[0] = 0x61c000;
6633 static void
6634 Opcode_rsr_exccause_Slot_inst_encode (xtensa_insnbuf slotbuf)
6636   slotbuf[0] = 0x3e800;
6639 static void
6640 Opcode_wsr_exccause_Slot_inst_encode (xtensa_insnbuf slotbuf)
6642   slotbuf[0] = 0x13e800;
6645 static void
6646 Opcode_xsr_exccause_Slot_inst_encode (xtensa_insnbuf slotbuf)
6648   slotbuf[0] = 0x61e800;
6651 static void
6652 Opcode_rsr_misc0_Slot_inst_encode (xtensa_insnbuf slotbuf)
6654   slotbuf[0] = 0x3f400;
6657 static void
6658 Opcode_wsr_misc0_Slot_inst_encode (xtensa_insnbuf slotbuf)
6660   slotbuf[0] = 0x13f400;
6663 static void
6664 Opcode_xsr_misc0_Slot_inst_encode (xtensa_insnbuf slotbuf)
6666   slotbuf[0] = 0x61f400;
6669 static void
6670 Opcode_rsr_misc1_Slot_inst_encode (xtensa_insnbuf slotbuf)
6672   slotbuf[0] = 0x3f500;
6675 static void
6676 Opcode_wsr_misc1_Slot_inst_encode (xtensa_insnbuf slotbuf)
6678   slotbuf[0] = 0x13f500;
6681 static void
6682 Opcode_xsr_misc1_Slot_inst_encode (xtensa_insnbuf slotbuf)
6684   slotbuf[0] = 0x61f500;
6687 static void
6688 Opcode_rsr_prid_Slot_inst_encode (xtensa_insnbuf slotbuf)
6690   slotbuf[0] = 0x3eb00;
6693 static void
6694 Opcode_rsr_vecbase_Slot_inst_encode (xtensa_insnbuf slotbuf)
6696   slotbuf[0] = 0x3e700;
6699 static void
6700 Opcode_wsr_vecbase_Slot_inst_encode (xtensa_insnbuf slotbuf)
6702   slotbuf[0] = 0x13e700;
6705 static void
6706 Opcode_xsr_vecbase_Slot_inst_encode (xtensa_insnbuf slotbuf)
6708   slotbuf[0] = 0x61e700;
6711 static void
6712 Opcode_salt_Slot_inst_encode (xtensa_insnbuf slotbuf)
6714   slotbuf[0] = 0x720000;
6717 static void
6718 Opcode_saltu_Slot_inst_encode (xtensa_insnbuf slotbuf)
6720   slotbuf[0] = 0x620000;
6723 static void
6724 Opcode_mul16u_Slot_inst_encode (xtensa_insnbuf slotbuf)
6726   slotbuf[0] = 0xc10000;
6729 static void
6730 Opcode_mul16s_Slot_inst_encode (xtensa_insnbuf slotbuf)
6732   slotbuf[0] = 0xd10000;
6735 static void
6736 Opcode_mull_Slot_inst_encode (xtensa_insnbuf slotbuf)
6738   slotbuf[0] = 0x820000;
6741 static void
6742 Opcode_rfi_Slot_inst_encode (xtensa_insnbuf slotbuf)
6744   slotbuf[0] = 0x3010;
6747 static void
6748 Opcode_waiti_Slot_inst_encode (xtensa_insnbuf slotbuf)
6750   slotbuf[0] = 0x7000;
6753 static void
6754 Opcode_rsr_interrupt_Slot_inst_encode (xtensa_insnbuf slotbuf)
6756   slotbuf[0] = 0x3e200;
6759 static void
6760 Opcode_wsr_intset_Slot_inst_encode (xtensa_insnbuf slotbuf)
6762   slotbuf[0] = 0x13e200;
6765 static void
6766 Opcode_wsr_intclear_Slot_inst_encode (xtensa_insnbuf slotbuf)
6768   slotbuf[0] = 0x13e300;
6771 static void
6772 Opcode_rsr_intenable_Slot_inst_encode (xtensa_insnbuf slotbuf)
6774   slotbuf[0] = 0x3e400;
6777 static void
6778 Opcode_wsr_intenable_Slot_inst_encode (xtensa_insnbuf slotbuf)
6780   slotbuf[0] = 0x13e400;
6783 static void
6784 Opcode_xsr_intenable_Slot_inst_encode (xtensa_insnbuf slotbuf)
6786   slotbuf[0] = 0x61e400;
6789 static void
6790 Opcode_break_Slot_inst_encode (xtensa_insnbuf slotbuf)
6792   slotbuf[0] = 0x4000;
6795 static void
6796 Opcode_break_n_Slot_inst16b_encode (xtensa_insnbuf slotbuf)
6798   slotbuf[0] = 0xf02d;
6801 static void
6802 Opcode_rsr_dbreaka0_Slot_inst_encode (xtensa_insnbuf slotbuf)
6804   slotbuf[0] = 0x39000;
6807 static void
6808 Opcode_wsr_dbreaka0_Slot_inst_encode (xtensa_insnbuf slotbuf)
6810   slotbuf[0] = 0x139000;
6813 static void
6814 Opcode_xsr_dbreaka0_Slot_inst_encode (xtensa_insnbuf slotbuf)
6816   slotbuf[0] = 0x619000;
6819 static void
6820 Opcode_rsr_dbreakc0_Slot_inst_encode (xtensa_insnbuf slotbuf)
6822   slotbuf[0] = 0x3a000;
6825 static void
6826 Opcode_wsr_dbreakc0_Slot_inst_encode (xtensa_insnbuf slotbuf)
6828   slotbuf[0] = 0x13a000;
6831 static void
6832 Opcode_xsr_dbreakc0_Slot_inst_encode (xtensa_insnbuf slotbuf)
6834   slotbuf[0] = 0x61a000;
6837 static void
6838 Opcode_rsr_dbreaka1_Slot_inst_encode (xtensa_insnbuf slotbuf)
6840   slotbuf[0] = 0x39100;
6843 static void
6844 Opcode_wsr_dbreaka1_Slot_inst_encode (xtensa_insnbuf slotbuf)
6846   slotbuf[0] = 0x139100;
6849 static void
6850 Opcode_xsr_dbreaka1_Slot_inst_encode (xtensa_insnbuf slotbuf)
6852   slotbuf[0] = 0x619100;
6855 static void
6856 Opcode_rsr_dbreakc1_Slot_inst_encode (xtensa_insnbuf slotbuf)
6858   slotbuf[0] = 0x3a100;
6861 static void
6862 Opcode_wsr_dbreakc1_Slot_inst_encode (xtensa_insnbuf slotbuf)
6864   slotbuf[0] = 0x13a100;
6867 static void
6868 Opcode_xsr_dbreakc1_Slot_inst_encode (xtensa_insnbuf slotbuf)
6870   slotbuf[0] = 0x61a100;
6873 static void
6874 Opcode_rsr_ibreaka0_Slot_inst_encode (xtensa_insnbuf slotbuf)
6876   slotbuf[0] = 0x38000;
6879 static void
6880 Opcode_wsr_ibreaka0_Slot_inst_encode (xtensa_insnbuf slotbuf)
6882   slotbuf[0] = 0x138000;
6885 static void
6886 Opcode_xsr_ibreaka0_Slot_inst_encode (xtensa_insnbuf slotbuf)
6888   slotbuf[0] = 0x618000;
6891 static void
6892 Opcode_rsr_ibreaka1_Slot_inst_encode (xtensa_insnbuf slotbuf)
6894   slotbuf[0] = 0x38100;
6897 static void
6898 Opcode_wsr_ibreaka1_Slot_inst_encode (xtensa_insnbuf slotbuf)
6900   slotbuf[0] = 0x138100;
6903 static void
6904 Opcode_xsr_ibreaka1_Slot_inst_encode (xtensa_insnbuf slotbuf)
6906   slotbuf[0] = 0x618100;
6909 static void
6910 Opcode_rsr_ibreakenable_Slot_inst_encode (xtensa_insnbuf slotbuf)
6912   slotbuf[0] = 0x36000;
6915 static void
6916 Opcode_wsr_ibreakenable_Slot_inst_encode (xtensa_insnbuf slotbuf)
6918   slotbuf[0] = 0x136000;
6921 static void
6922 Opcode_xsr_ibreakenable_Slot_inst_encode (xtensa_insnbuf slotbuf)
6924   slotbuf[0] = 0x616000;
6927 static void
6928 Opcode_rsr_debugcause_Slot_inst_encode (xtensa_insnbuf slotbuf)
6930   slotbuf[0] = 0x3e900;
6933 static void
6934 Opcode_wsr_debugcause_Slot_inst_encode (xtensa_insnbuf slotbuf)
6936   slotbuf[0] = 0x13e900;
6939 static void
6940 Opcode_xsr_debugcause_Slot_inst_encode (xtensa_insnbuf slotbuf)
6942   slotbuf[0] = 0x61e900;
6945 static void
6946 Opcode_rsr_icount_Slot_inst_encode (xtensa_insnbuf slotbuf)
6948   slotbuf[0] = 0x3ec00;
6951 static void
6952 Opcode_wsr_icount_Slot_inst_encode (xtensa_insnbuf slotbuf)
6954   slotbuf[0] = 0x13ec00;
6957 static void
6958 Opcode_xsr_icount_Slot_inst_encode (xtensa_insnbuf slotbuf)
6960   slotbuf[0] = 0x61ec00;
6963 static void
6964 Opcode_rsr_icountlevel_Slot_inst_encode (xtensa_insnbuf slotbuf)
6966   slotbuf[0] = 0x3ed00;
6969 static void
6970 Opcode_wsr_icountlevel_Slot_inst_encode (xtensa_insnbuf slotbuf)
6972   slotbuf[0] = 0x13ed00;
6975 static void
6976 Opcode_xsr_icountlevel_Slot_inst_encode (xtensa_insnbuf slotbuf)
6978   slotbuf[0] = 0x61ed00;
6981 static void
6982 Opcode_rsr_ddr_Slot_inst_encode (xtensa_insnbuf slotbuf)
6984   slotbuf[0] = 0x36800;
6987 static void
6988 Opcode_wsr_ddr_Slot_inst_encode (xtensa_insnbuf slotbuf)
6990   slotbuf[0] = 0x136800;
6993 static void
6994 Opcode_xsr_ddr_Slot_inst_encode (xtensa_insnbuf slotbuf)
6996   slotbuf[0] = 0x616800;
6999 static void
7000 Opcode_lddr32_p_Slot_inst_encode (xtensa_insnbuf slotbuf)
7002   slotbuf[0] = 0x70e0;
7005 static void
7006 Opcode_sddr32_p_Slot_inst_encode (xtensa_insnbuf slotbuf)
7008   slotbuf[0] = 0x70f0;
7011 static void
7012 Opcode_rfdo_Slot_inst_encode (xtensa_insnbuf slotbuf)
7014   slotbuf[0] = 0xf1e000;
7017 static void
7018 Opcode_rfdd_Slot_inst_encode (xtensa_insnbuf slotbuf)
7020   slotbuf[0] = 0xf1e010;
7023 static void
7024 Opcode_wsr_mmid_Slot_inst_encode (xtensa_insnbuf slotbuf)
7026   slotbuf[0] = 0x135900;
7029 static void
7030 Opcode_rsr_ccount_Slot_inst_encode (xtensa_insnbuf slotbuf)
7032   slotbuf[0] = 0x3ea00;
7035 static void
7036 Opcode_wsr_ccount_Slot_inst_encode (xtensa_insnbuf slotbuf)
7038   slotbuf[0] = 0x13ea00;
7041 static void
7042 Opcode_xsr_ccount_Slot_inst_encode (xtensa_insnbuf slotbuf)
7044   slotbuf[0] = 0x61ea00;
7047 static void
7048 Opcode_rsr_ccompare0_Slot_inst_encode (xtensa_insnbuf slotbuf)
7050   slotbuf[0] = 0x3f000;
7053 static void
7054 Opcode_wsr_ccompare0_Slot_inst_encode (xtensa_insnbuf slotbuf)
7056   slotbuf[0] = 0x13f000;
7059 static void
7060 Opcode_xsr_ccompare0_Slot_inst_encode (xtensa_insnbuf slotbuf)
7062   slotbuf[0] = 0x61f000;
7065 static void
7066 Opcode_rsr_ccompare1_Slot_inst_encode (xtensa_insnbuf slotbuf)
7068   slotbuf[0] = 0x3f100;
7071 static void
7072 Opcode_wsr_ccompare1_Slot_inst_encode (xtensa_insnbuf slotbuf)
7074   slotbuf[0] = 0x13f100;
7077 static void
7078 Opcode_xsr_ccompare1_Slot_inst_encode (xtensa_insnbuf slotbuf)
7080   slotbuf[0] = 0x61f100;
7083 static void
7084 Opcode_rsr_ccompare2_Slot_inst_encode (xtensa_insnbuf slotbuf)
7086   slotbuf[0] = 0x3f200;
7089 static void
7090 Opcode_wsr_ccompare2_Slot_inst_encode (xtensa_insnbuf slotbuf)
7092   slotbuf[0] = 0x13f200;
7095 static void
7096 Opcode_xsr_ccompare2_Slot_inst_encode (xtensa_insnbuf slotbuf)
7098   slotbuf[0] = 0x61f200;
7101 static void
7102 Opcode_idtlb_Slot_inst_encode (xtensa_insnbuf slotbuf)
7104   slotbuf[0] = 0x50c000;
7107 static void
7108 Opcode_pdtlb_Slot_inst_encode (xtensa_insnbuf slotbuf)
7110   slotbuf[0] = 0x50d000;
7113 static void
7114 Opcode_rdtlb0_Slot_inst_encode (xtensa_insnbuf slotbuf)
7116   slotbuf[0] = 0x50b000;
7119 static void
7120 Opcode_rdtlb1_Slot_inst_encode (xtensa_insnbuf slotbuf)
7122   slotbuf[0] = 0x50f000;
7125 static void
7126 Opcode_wdtlb_Slot_inst_encode (xtensa_insnbuf slotbuf)
7128   slotbuf[0] = 0x50e000;
7131 static void
7132 Opcode_iitlb_Slot_inst_encode (xtensa_insnbuf slotbuf)
7134   slotbuf[0] = 0x504000;
7137 static void
7138 Opcode_pitlb_Slot_inst_encode (xtensa_insnbuf slotbuf)
7140   slotbuf[0] = 0x505000;
7143 static void
7144 Opcode_ritlb0_Slot_inst_encode (xtensa_insnbuf slotbuf)
7146   slotbuf[0] = 0x503000;
7149 static void
7150 Opcode_ritlb1_Slot_inst_encode (xtensa_insnbuf slotbuf)
7152   slotbuf[0] = 0x507000;
7155 static void
7156 Opcode_witlb_Slot_inst_encode (xtensa_insnbuf slotbuf)
7158   slotbuf[0] = 0x506000;
7161 static void
7162 Opcode_min_Slot_inst_encode (xtensa_insnbuf slotbuf)
7164   slotbuf[0] = 0x430000;
7167 static void
7168 Opcode_max_Slot_inst_encode (xtensa_insnbuf slotbuf)
7170   slotbuf[0] = 0x530000;
7173 static void
7174 Opcode_minu_Slot_inst_encode (xtensa_insnbuf slotbuf)
7176   slotbuf[0] = 0x630000;
7179 static void
7180 Opcode_maxu_Slot_inst_encode (xtensa_insnbuf slotbuf)
7182   slotbuf[0] = 0x730000;
7185 static void
7186 Opcode_nsa_Slot_inst_encode (xtensa_insnbuf slotbuf)
7188   slotbuf[0] = 0x40e000;
7191 static void
7192 Opcode_nsau_Slot_inst_encode (xtensa_insnbuf slotbuf)
7194   slotbuf[0] = 0x40f000;
7197 static void
7198 Opcode_sext_Slot_inst_encode (xtensa_insnbuf slotbuf)
7200   slotbuf[0] = 0x230000;
7203 static void
7204 Opcode_l32ai_Slot_inst_encode (xtensa_insnbuf slotbuf)
7206   slotbuf[0] = 0xb002;
7209 static void
7210 Opcode_s32ri_Slot_inst_encode (xtensa_insnbuf slotbuf)
7212   slotbuf[0] = 0xf002;
7215 static void
7216 Opcode_s32c1i_Slot_inst_encode (xtensa_insnbuf slotbuf)
7218   slotbuf[0] = 0xe002;
7221 static void
7222 Opcode_rsr_scompare1_Slot_inst_encode (xtensa_insnbuf slotbuf)
7224   slotbuf[0] = 0x30c00;
7227 static void
7228 Opcode_wsr_scompare1_Slot_inst_encode (xtensa_insnbuf slotbuf)
7230   slotbuf[0] = 0x130c00;
7233 static void
7234 Opcode_xsr_scompare1_Slot_inst_encode (xtensa_insnbuf slotbuf)
7236   slotbuf[0] = 0x610c00;
7239 static void
7240 Opcode_rsr_atomctl_Slot_inst_encode (xtensa_insnbuf slotbuf)
7242   slotbuf[0] = 0x36300;
7245 static void
7246 Opcode_wsr_atomctl_Slot_inst_encode (xtensa_insnbuf slotbuf)
7248   slotbuf[0] = 0x136300;
7251 static void
7252 Opcode_xsr_atomctl_Slot_inst_encode (xtensa_insnbuf slotbuf)
7254   slotbuf[0] = 0x616300;
7257 static void
7258 Opcode_quou_Slot_inst_encode (xtensa_insnbuf slotbuf)
7260   slotbuf[0] = 0xc20000;
7263 static void
7264 Opcode_quos_Slot_inst_encode (xtensa_insnbuf slotbuf)
7266   slotbuf[0] = 0xd20000;
7269 static void
7270 Opcode_remu_Slot_inst_encode (xtensa_insnbuf slotbuf)
7272   slotbuf[0] = 0xe20000;
7275 static void
7276 Opcode_rems_Slot_inst_encode (xtensa_insnbuf slotbuf)
7278   slotbuf[0] = 0xf20000;
7281 static void
7282 Opcode_rsr_eraccess_Slot_inst_encode (xtensa_insnbuf slotbuf)
7284   slotbuf[0] = 0x35f00;
7287 static void
7288 Opcode_wsr_eraccess_Slot_inst_encode (xtensa_insnbuf slotbuf)
7290   slotbuf[0] = 0x135f00;
7293 static void
7294 Opcode_xsr_eraccess_Slot_inst_encode (xtensa_insnbuf slotbuf)
7296   slotbuf[0] = 0x615f00;
7299 static void
7300 Opcode_rer_Slot_inst_encode (xtensa_insnbuf slotbuf)
7302   slotbuf[0] = 0x406000;
7305 static void
7306 Opcode_wer_Slot_inst_encode (xtensa_insnbuf slotbuf)
7308   slotbuf[0] = 0x407000;
7311 static void
7312 Opcode_rur_expstate_Slot_inst_encode (xtensa_insnbuf slotbuf)
7314   slotbuf[0] = 0xe30e60;
7317 static void
7318 Opcode_wur_expstate_Slot_inst_encode (xtensa_insnbuf slotbuf)
7320   slotbuf[0] = 0xf3e600;
7323 static void
7324 Opcode_read_impwire_Slot_inst_encode (xtensa_insnbuf slotbuf)
7326   slotbuf[0] = 0xe0000;
7329 static void
7330 Opcode_setb_expstate_Slot_inst_encode (xtensa_insnbuf slotbuf)
7332   slotbuf[0] = 0xe1000;
7335 static void
7336 Opcode_clrb_expstate_Slot_inst_encode (xtensa_insnbuf slotbuf)
7338   slotbuf[0] = 0xe1200;
7341 static void
7342 Opcode_wrmsk_expstate_Slot_inst_encode (xtensa_insnbuf slotbuf)
7344   slotbuf[0] = 0xe2000;
7347 static xtensa_opcode_encode_fn Opcode_excw_encode_fns[] = {
7348   Opcode_excw_Slot_inst_encode, 0, 0
7351 static xtensa_opcode_encode_fn Opcode_rfe_encode_fns[] = {
7352   Opcode_rfe_Slot_inst_encode, 0, 0
7355 static xtensa_opcode_encode_fn Opcode_rfde_encode_fns[] = {
7356   Opcode_rfde_Slot_inst_encode, 0, 0
7359 static xtensa_opcode_encode_fn Opcode_syscall_encode_fns[] = {
7360   Opcode_syscall_Slot_inst_encode, 0, 0
7363 static xtensa_opcode_encode_fn Opcode_call12_encode_fns[] = {
7364   Opcode_call12_Slot_inst_encode, 0, 0
7367 static xtensa_opcode_encode_fn Opcode_call8_encode_fns[] = {
7368   Opcode_call8_Slot_inst_encode, 0, 0
7371 static xtensa_opcode_encode_fn Opcode_call4_encode_fns[] = {
7372   Opcode_call4_Slot_inst_encode, 0, 0
7375 static xtensa_opcode_encode_fn Opcode_callx12_encode_fns[] = {
7376   Opcode_callx12_Slot_inst_encode, 0, 0
7379 static xtensa_opcode_encode_fn Opcode_callx8_encode_fns[] = {
7380   Opcode_callx8_Slot_inst_encode, 0, 0
7383 static xtensa_opcode_encode_fn Opcode_callx4_encode_fns[] = {
7384   Opcode_callx4_Slot_inst_encode, 0, 0
7387 static xtensa_opcode_encode_fn Opcode_entry_encode_fns[] = {
7388   Opcode_entry_Slot_inst_encode, 0, 0
7391 static xtensa_opcode_encode_fn Opcode_movsp_encode_fns[] = {
7392   Opcode_movsp_Slot_inst_encode, 0, 0
7395 static xtensa_opcode_encode_fn Opcode_rotw_encode_fns[] = {
7396   Opcode_rotw_Slot_inst_encode, 0, 0
7399 static xtensa_opcode_encode_fn Opcode_retw_encode_fns[] = {
7400   Opcode_retw_Slot_inst_encode, 0, 0
7403 static xtensa_opcode_encode_fn Opcode_retw_n_encode_fns[] = {
7404   0, 0, Opcode_retw_n_Slot_inst16b_encode
7407 static xtensa_opcode_encode_fn Opcode_rfwo_encode_fns[] = {
7408   Opcode_rfwo_Slot_inst_encode, 0, 0
7411 static xtensa_opcode_encode_fn Opcode_rfwu_encode_fns[] = {
7412   Opcode_rfwu_Slot_inst_encode, 0, 0
7415 static xtensa_opcode_encode_fn Opcode_l32e_encode_fns[] = {
7416   Opcode_l32e_Slot_inst_encode, 0, 0
7419 static xtensa_opcode_encode_fn Opcode_s32e_encode_fns[] = {
7420   Opcode_s32e_Slot_inst_encode, 0, 0
7423 static xtensa_opcode_encode_fn Opcode_rsr_windowbase_encode_fns[] = {
7424   Opcode_rsr_windowbase_Slot_inst_encode, 0, 0
7427 static xtensa_opcode_encode_fn Opcode_wsr_windowbase_encode_fns[] = {
7428   Opcode_wsr_windowbase_Slot_inst_encode, 0, 0
7431 static xtensa_opcode_encode_fn Opcode_xsr_windowbase_encode_fns[] = {
7432   Opcode_xsr_windowbase_Slot_inst_encode, 0, 0
7435 static xtensa_opcode_encode_fn Opcode_rsr_windowstart_encode_fns[] = {
7436   Opcode_rsr_windowstart_Slot_inst_encode, 0, 0
7439 static xtensa_opcode_encode_fn Opcode_wsr_windowstart_encode_fns[] = {
7440   Opcode_wsr_windowstart_Slot_inst_encode, 0, 0
7443 static xtensa_opcode_encode_fn Opcode_xsr_windowstart_encode_fns[] = {
7444   Opcode_xsr_windowstart_Slot_inst_encode, 0, 0
7447 static xtensa_opcode_encode_fn Opcode_add_n_encode_fns[] = {
7448   0, Opcode_add_n_Slot_inst16a_encode, 0
7451 static xtensa_opcode_encode_fn Opcode_addi_n_encode_fns[] = {
7452   0, Opcode_addi_n_Slot_inst16a_encode, 0
7455 static xtensa_opcode_encode_fn Opcode_beqz_n_encode_fns[] = {
7456   0, 0, Opcode_beqz_n_Slot_inst16b_encode
7459 static xtensa_opcode_encode_fn Opcode_bnez_n_encode_fns[] = {
7460   0, 0, Opcode_bnez_n_Slot_inst16b_encode
7463 static xtensa_opcode_encode_fn Opcode_ill_n_encode_fns[] = {
7464   0, 0, Opcode_ill_n_Slot_inst16b_encode
7467 static xtensa_opcode_encode_fn Opcode_l32i_n_encode_fns[] = {
7468   0, Opcode_l32i_n_Slot_inst16a_encode, 0
7471 static xtensa_opcode_encode_fn Opcode_mov_n_encode_fns[] = {
7472   0, 0, Opcode_mov_n_Slot_inst16b_encode
7475 static xtensa_opcode_encode_fn Opcode_movi_n_encode_fns[] = {
7476   0, 0, Opcode_movi_n_Slot_inst16b_encode
7479 static xtensa_opcode_encode_fn Opcode_nop_n_encode_fns[] = {
7480   0, 0, Opcode_nop_n_Slot_inst16b_encode
7483 static xtensa_opcode_encode_fn Opcode_ret_n_encode_fns[] = {
7484   0, 0, Opcode_ret_n_Slot_inst16b_encode
7487 static xtensa_opcode_encode_fn Opcode_s32i_n_encode_fns[] = {
7488   0, Opcode_s32i_n_Slot_inst16a_encode, 0
7491 static xtensa_opcode_encode_fn Opcode_addi_encode_fns[] = {
7492   Opcode_addi_Slot_inst_encode, 0, 0
7495 static xtensa_opcode_encode_fn Opcode_addmi_encode_fns[] = {
7496   Opcode_addmi_Slot_inst_encode, 0, 0
7499 static xtensa_opcode_encode_fn Opcode_add_encode_fns[] = {
7500   Opcode_add_Slot_inst_encode, 0, 0
7503 static xtensa_opcode_encode_fn Opcode_sub_encode_fns[] = {
7504   Opcode_sub_Slot_inst_encode, 0, 0
7507 static xtensa_opcode_encode_fn Opcode_addx2_encode_fns[] = {
7508   Opcode_addx2_Slot_inst_encode, 0, 0
7511 static xtensa_opcode_encode_fn Opcode_addx4_encode_fns[] = {
7512   Opcode_addx4_Slot_inst_encode, 0, 0
7515 static xtensa_opcode_encode_fn Opcode_addx8_encode_fns[] = {
7516   Opcode_addx8_Slot_inst_encode, 0, 0
7519 static xtensa_opcode_encode_fn Opcode_subx2_encode_fns[] = {
7520   Opcode_subx2_Slot_inst_encode, 0, 0
7523 static xtensa_opcode_encode_fn Opcode_subx4_encode_fns[] = {
7524   Opcode_subx4_Slot_inst_encode, 0, 0
7527 static xtensa_opcode_encode_fn Opcode_subx8_encode_fns[] = {
7528   Opcode_subx8_Slot_inst_encode, 0, 0
7531 static xtensa_opcode_encode_fn Opcode_and_encode_fns[] = {
7532   Opcode_and_Slot_inst_encode, 0, 0
7535 static xtensa_opcode_encode_fn Opcode_or_encode_fns[] = {
7536   Opcode_or_Slot_inst_encode, 0, 0
7539 static xtensa_opcode_encode_fn Opcode_xor_encode_fns[] = {
7540   Opcode_xor_Slot_inst_encode, 0, 0
7543 static xtensa_opcode_encode_fn Opcode_beqi_encode_fns[] = {
7544   Opcode_beqi_Slot_inst_encode, 0, 0
7547 static xtensa_opcode_encode_fn Opcode_bnei_encode_fns[] = {
7548   Opcode_bnei_Slot_inst_encode, 0, 0
7551 static xtensa_opcode_encode_fn Opcode_bgei_encode_fns[] = {
7552   Opcode_bgei_Slot_inst_encode, 0, 0
7555 static xtensa_opcode_encode_fn Opcode_blti_encode_fns[] = {
7556   Opcode_blti_Slot_inst_encode, 0, 0
7559 static xtensa_opcode_encode_fn Opcode_bbci_encode_fns[] = {
7560   Opcode_bbci_Slot_inst_encode, 0, 0
7563 static xtensa_opcode_encode_fn Opcode_bbsi_encode_fns[] = {
7564   Opcode_bbsi_Slot_inst_encode, 0, 0
7567 static xtensa_opcode_encode_fn Opcode_bgeui_encode_fns[] = {
7568   Opcode_bgeui_Slot_inst_encode, 0, 0
7571 static xtensa_opcode_encode_fn Opcode_bltui_encode_fns[] = {
7572   Opcode_bltui_Slot_inst_encode, 0, 0
7575 static xtensa_opcode_encode_fn Opcode_beq_encode_fns[] = {
7576   Opcode_beq_Slot_inst_encode, 0, 0
7579 static xtensa_opcode_encode_fn Opcode_bne_encode_fns[] = {
7580   Opcode_bne_Slot_inst_encode, 0, 0
7583 static xtensa_opcode_encode_fn Opcode_bge_encode_fns[] = {
7584   Opcode_bge_Slot_inst_encode, 0, 0
7587 static xtensa_opcode_encode_fn Opcode_blt_encode_fns[] = {
7588   Opcode_blt_Slot_inst_encode, 0, 0
7591 static xtensa_opcode_encode_fn Opcode_bgeu_encode_fns[] = {
7592   Opcode_bgeu_Slot_inst_encode, 0, 0
7595 static xtensa_opcode_encode_fn Opcode_bltu_encode_fns[] = {
7596   Opcode_bltu_Slot_inst_encode, 0, 0
7599 static xtensa_opcode_encode_fn Opcode_bany_encode_fns[] = {
7600   Opcode_bany_Slot_inst_encode, 0, 0
7603 static xtensa_opcode_encode_fn Opcode_bnone_encode_fns[] = {
7604   Opcode_bnone_Slot_inst_encode, 0, 0
7607 static xtensa_opcode_encode_fn Opcode_ball_encode_fns[] = {
7608   Opcode_ball_Slot_inst_encode, 0, 0
7611 static xtensa_opcode_encode_fn Opcode_bnall_encode_fns[] = {
7612   Opcode_bnall_Slot_inst_encode, 0, 0
7615 static xtensa_opcode_encode_fn Opcode_bbc_encode_fns[] = {
7616   Opcode_bbc_Slot_inst_encode, 0, 0
7619 static xtensa_opcode_encode_fn Opcode_bbs_encode_fns[] = {
7620   Opcode_bbs_Slot_inst_encode, 0, 0
7623 static xtensa_opcode_encode_fn Opcode_beqz_encode_fns[] = {
7624   Opcode_beqz_Slot_inst_encode, 0, 0
7627 static xtensa_opcode_encode_fn Opcode_bnez_encode_fns[] = {
7628   Opcode_bnez_Slot_inst_encode, 0, 0
7631 static xtensa_opcode_encode_fn Opcode_bgez_encode_fns[] = {
7632   Opcode_bgez_Slot_inst_encode, 0, 0
7635 static xtensa_opcode_encode_fn Opcode_bltz_encode_fns[] = {
7636   Opcode_bltz_Slot_inst_encode, 0, 0
7639 static xtensa_opcode_encode_fn Opcode_call0_encode_fns[] = {
7640   Opcode_call0_Slot_inst_encode, 0, 0
7643 static xtensa_opcode_encode_fn Opcode_callx0_encode_fns[] = {
7644   Opcode_callx0_Slot_inst_encode, 0, 0
7647 static xtensa_opcode_encode_fn Opcode_extui_encode_fns[] = {
7648   Opcode_extui_Slot_inst_encode, 0, 0
7651 static xtensa_opcode_encode_fn Opcode_ill_encode_fns[] = {
7652   Opcode_ill_Slot_inst_encode, 0, 0
7655 static xtensa_opcode_encode_fn Opcode_j_encode_fns[] = {
7656   Opcode_j_Slot_inst_encode, 0, 0
7659 static xtensa_opcode_encode_fn Opcode_jx_encode_fns[] = {
7660   Opcode_jx_Slot_inst_encode, 0, 0
7663 static xtensa_opcode_encode_fn Opcode_l16ui_encode_fns[] = {
7664   Opcode_l16ui_Slot_inst_encode, 0, 0
7667 static xtensa_opcode_encode_fn Opcode_l16si_encode_fns[] = {
7668   Opcode_l16si_Slot_inst_encode, 0, 0
7671 static xtensa_opcode_encode_fn Opcode_l32i_encode_fns[] = {
7672   Opcode_l32i_Slot_inst_encode, 0, 0
7675 static xtensa_opcode_encode_fn Opcode_l32r_encode_fns[] = {
7676   Opcode_l32r_Slot_inst_encode, 0, 0
7679 static xtensa_opcode_encode_fn Opcode_l8ui_encode_fns[] = {
7680   Opcode_l8ui_Slot_inst_encode, 0, 0
7683 static xtensa_opcode_encode_fn Opcode_movi_encode_fns[] = {
7684   Opcode_movi_Slot_inst_encode, 0, 0
7687 static xtensa_opcode_encode_fn Opcode_moveqz_encode_fns[] = {
7688   Opcode_moveqz_Slot_inst_encode, 0, 0
7691 static xtensa_opcode_encode_fn Opcode_movnez_encode_fns[] = {
7692   Opcode_movnez_Slot_inst_encode, 0, 0
7695 static xtensa_opcode_encode_fn Opcode_movltz_encode_fns[] = {
7696   Opcode_movltz_Slot_inst_encode, 0, 0
7699 static xtensa_opcode_encode_fn Opcode_movgez_encode_fns[] = {
7700   Opcode_movgez_Slot_inst_encode, 0, 0
7703 static xtensa_opcode_encode_fn Opcode_neg_encode_fns[] = {
7704   Opcode_neg_Slot_inst_encode, 0, 0
7707 static xtensa_opcode_encode_fn Opcode_abs_encode_fns[] = {
7708   Opcode_abs_Slot_inst_encode, 0, 0
7711 static xtensa_opcode_encode_fn Opcode_nop_encode_fns[] = {
7712   Opcode_nop_Slot_inst_encode, 0, 0
7715 static xtensa_opcode_encode_fn Opcode_ret_encode_fns[] = {
7716   Opcode_ret_Slot_inst_encode, 0, 0
7719 static xtensa_opcode_encode_fn Opcode_simcall_encode_fns[] = {
7720   Opcode_simcall_Slot_inst_encode, 0, 0
7723 static xtensa_opcode_encode_fn Opcode_s16i_encode_fns[] = {
7724   Opcode_s16i_Slot_inst_encode, 0, 0
7727 static xtensa_opcode_encode_fn Opcode_s32i_encode_fns[] = {
7728   Opcode_s32i_Slot_inst_encode, 0, 0
7731 static xtensa_opcode_encode_fn Opcode_s32nb_encode_fns[] = {
7732   Opcode_s32nb_Slot_inst_encode, 0, 0
7735 static xtensa_opcode_encode_fn Opcode_s8i_encode_fns[] = {
7736   Opcode_s8i_Slot_inst_encode, 0, 0
7739 static xtensa_opcode_encode_fn Opcode_ssr_encode_fns[] = {
7740   Opcode_ssr_Slot_inst_encode, 0, 0
7743 static xtensa_opcode_encode_fn Opcode_ssl_encode_fns[] = {
7744   Opcode_ssl_Slot_inst_encode, 0, 0
7747 static xtensa_opcode_encode_fn Opcode_ssa8l_encode_fns[] = {
7748   Opcode_ssa8l_Slot_inst_encode, 0, 0
7751 static xtensa_opcode_encode_fn Opcode_ssa8b_encode_fns[] = {
7752   Opcode_ssa8b_Slot_inst_encode, 0, 0
7755 static xtensa_opcode_encode_fn Opcode_ssai_encode_fns[] = {
7756   Opcode_ssai_Slot_inst_encode, 0, 0
7759 static xtensa_opcode_encode_fn Opcode_sll_encode_fns[] = {
7760   Opcode_sll_Slot_inst_encode, 0, 0
7763 static xtensa_opcode_encode_fn Opcode_src_encode_fns[] = {
7764   Opcode_src_Slot_inst_encode, 0, 0
7767 static xtensa_opcode_encode_fn Opcode_srl_encode_fns[] = {
7768   Opcode_srl_Slot_inst_encode, 0, 0
7771 static xtensa_opcode_encode_fn Opcode_sra_encode_fns[] = {
7772   Opcode_sra_Slot_inst_encode, 0, 0
7775 static xtensa_opcode_encode_fn Opcode_slli_encode_fns[] = {
7776   Opcode_slli_Slot_inst_encode, 0, 0
7779 static xtensa_opcode_encode_fn Opcode_srai_encode_fns[] = {
7780   Opcode_srai_Slot_inst_encode, 0, 0
7783 static xtensa_opcode_encode_fn Opcode_srli_encode_fns[] = {
7784   Opcode_srli_Slot_inst_encode, 0, 0
7787 static xtensa_opcode_encode_fn Opcode_memw_encode_fns[] = {
7788   Opcode_memw_Slot_inst_encode, 0, 0
7791 static xtensa_opcode_encode_fn Opcode_extw_encode_fns[] = {
7792   Opcode_extw_Slot_inst_encode, 0, 0
7795 static xtensa_opcode_encode_fn Opcode_isync_encode_fns[] = {
7796   Opcode_isync_Slot_inst_encode, 0, 0
7799 static xtensa_opcode_encode_fn Opcode_rsync_encode_fns[] = {
7800   Opcode_rsync_Slot_inst_encode, 0, 0
7803 static xtensa_opcode_encode_fn Opcode_esync_encode_fns[] = {
7804   Opcode_esync_Slot_inst_encode, 0, 0
7807 static xtensa_opcode_encode_fn Opcode_dsync_encode_fns[] = {
7808   Opcode_dsync_Slot_inst_encode, 0, 0
7811 static xtensa_opcode_encode_fn Opcode_rsil_encode_fns[] = {
7812   Opcode_rsil_Slot_inst_encode, 0, 0
7815 static xtensa_opcode_encode_fn Opcode_rsr_sar_encode_fns[] = {
7816   Opcode_rsr_sar_Slot_inst_encode, 0, 0
7819 static xtensa_opcode_encode_fn Opcode_wsr_sar_encode_fns[] = {
7820   Opcode_wsr_sar_Slot_inst_encode, 0, 0
7823 static xtensa_opcode_encode_fn Opcode_xsr_sar_encode_fns[] = {
7824   Opcode_xsr_sar_Slot_inst_encode, 0, 0
7827 static xtensa_opcode_encode_fn Opcode_rsr_memctl_encode_fns[] = {
7828   Opcode_rsr_memctl_Slot_inst_encode, 0, 0
7831 static xtensa_opcode_encode_fn Opcode_wsr_memctl_encode_fns[] = {
7832   Opcode_wsr_memctl_Slot_inst_encode, 0, 0
7835 static xtensa_opcode_encode_fn Opcode_xsr_memctl_encode_fns[] = {
7836   Opcode_xsr_memctl_Slot_inst_encode, 0, 0
7839 static xtensa_opcode_encode_fn Opcode_rsr_litbase_encode_fns[] = {
7840   Opcode_rsr_litbase_Slot_inst_encode, 0, 0
7843 static xtensa_opcode_encode_fn Opcode_wsr_litbase_encode_fns[] = {
7844   Opcode_wsr_litbase_Slot_inst_encode, 0, 0
7847 static xtensa_opcode_encode_fn Opcode_xsr_litbase_encode_fns[] = {
7848   Opcode_xsr_litbase_Slot_inst_encode, 0, 0
7851 static xtensa_opcode_encode_fn Opcode_rsr_configid0_encode_fns[] = {
7852   Opcode_rsr_configid0_Slot_inst_encode, 0, 0
7855 static xtensa_opcode_encode_fn Opcode_wsr_configid0_encode_fns[] = {
7856   Opcode_wsr_configid0_Slot_inst_encode, 0, 0
7859 static xtensa_opcode_encode_fn Opcode_rsr_configid1_encode_fns[] = {
7860   Opcode_rsr_configid1_Slot_inst_encode, 0, 0
7863 static xtensa_opcode_encode_fn Opcode_rsr_ps_encode_fns[] = {
7864   Opcode_rsr_ps_Slot_inst_encode, 0, 0
7867 static xtensa_opcode_encode_fn Opcode_wsr_ps_encode_fns[] = {
7868   Opcode_wsr_ps_Slot_inst_encode, 0, 0
7871 static xtensa_opcode_encode_fn Opcode_xsr_ps_encode_fns[] = {
7872   Opcode_xsr_ps_Slot_inst_encode, 0, 0
7875 static xtensa_opcode_encode_fn Opcode_rsr_epc1_encode_fns[] = {
7876   Opcode_rsr_epc1_Slot_inst_encode, 0, 0
7879 static xtensa_opcode_encode_fn Opcode_wsr_epc1_encode_fns[] = {
7880   Opcode_wsr_epc1_Slot_inst_encode, 0, 0
7883 static xtensa_opcode_encode_fn Opcode_xsr_epc1_encode_fns[] = {
7884   Opcode_xsr_epc1_Slot_inst_encode, 0, 0
7887 static xtensa_opcode_encode_fn Opcode_rsr_excsave1_encode_fns[] = {
7888   Opcode_rsr_excsave1_Slot_inst_encode, 0, 0
7891 static xtensa_opcode_encode_fn Opcode_wsr_excsave1_encode_fns[] = {
7892   Opcode_wsr_excsave1_Slot_inst_encode, 0, 0
7895 static xtensa_opcode_encode_fn Opcode_xsr_excsave1_encode_fns[] = {
7896   Opcode_xsr_excsave1_Slot_inst_encode, 0, 0
7899 static xtensa_opcode_encode_fn Opcode_rsr_epc2_encode_fns[] = {
7900   Opcode_rsr_epc2_Slot_inst_encode, 0, 0
7903 static xtensa_opcode_encode_fn Opcode_wsr_epc2_encode_fns[] = {
7904   Opcode_wsr_epc2_Slot_inst_encode, 0, 0
7907 static xtensa_opcode_encode_fn Opcode_xsr_epc2_encode_fns[] = {
7908   Opcode_xsr_epc2_Slot_inst_encode, 0, 0
7911 static xtensa_opcode_encode_fn Opcode_rsr_excsave2_encode_fns[] = {
7912   Opcode_rsr_excsave2_Slot_inst_encode, 0, 0
7915 static xtensa_opcode_encode_fn Opcode_wsr_excsave2_encode_fns[] = {
7916   Opcode_wsr_excsave2_Slot_inst_encode, 0, 0
7919 static xtensa_opcode_encode_fn Opcode_xsr_excsave2_encode_fns[] = {
7920   Opcode_xsr_excsave2_Slot_inst_encode, 0, 0
7923 static xtensa_opcode_encode_fn Opcode_rsr_epc3_encode_fns[] = {
7924   Opcode_rsr_epc3_Slot_inst_encode, 0, 0
7927 static xtensa_opcode_encode_fn Opcode_wsr_epc3_encode_fns[] = {
7928   Opcode_wsr_epc3_Slot_inst_encode, 0, 0
7931 static xtensa_opcode_encode_fn Opcode_xsr_epc3_encode_fns[] = {
7932   Opcode_xsr_epc3_Slot_inst_encode, 0, 0
7935 static xtensa_opcode_encode_fn Opcode_rsr_excsave3_encode_fns[] = {
7936   Opcode_rsr_excsave3_Slot_inst_encode, 0, 0
7939 static xtensa_opcode_encode_fn Opcode_wsr_excsave3_encode_fns[] = {
7940   Opcode_wsr_excsave3_Slot_inst_encode, 0, 0
7943 static xtensa_opcode_encode_fn Opcode_xsr_excsave3_encode_fns[] = {
7944   Opcode_xsr_excsave3_Slot_inst_encode, 0, 0
7947 static xtensa_opcode_encode_fn Opcode_rsr_epc4_encode_fns[] = {
7948   Opcode_rsr_epc4_Slot_inst_encode, 0, 0
7951 static xtensa_opcode_encode_fn Opcode_wsr_epc4_encode_fns[] = {
7952   Opcode_wsr_epc4_Slot_inst_encode, 0, 0
7955 static xtensa_opcode_encode_fn Opcode_xsr_epc4_encode_fns[] = {
7956   Opcode_xsr_epc4_Slot_inst_encode, 0, 0
7959 static xtensa_opcode_encode_fn Opcode_rsr_excsave4_encode_fns[] = {
7960   Opcode_rsr_excsave4_Slot_inst_encode, 0, 0
7963 static xtensa_opcode_encode_fn Opcode_wsr_excsave4_encode_fns[] = {
7964   Opcode_wsr_excsave4_Slot_inst_encode, 0, 0
7967 static xtensa_opcode_encode_fn Opcode_xsr_excsave4_encode_fns[] = {
7968   Opcode_xsr_excsave4_Slot_inst_encode, 0, 0
7971 static xtensa_opcode_encode_fn Opcode_rsr_epc5_encode_fns[] = {
7972   Opcode_rsr_epc5_Slot_inst_encode, 0, 0
7975 static xtensa_opcode_encode_fn Opcode_wsr_epc5_encode_fns[] = {
7976   Opcode_wsr_epc5_Slot_inst_encode, 0, 0
7979 static xtensa_opcode_encode_fn Opcode_xsr_epc5_encode_fns[] = {
7980   Opcode_xsr_epc5_Slot_inst_encode, 0, 0
7983 static xtensa_opcode_encode_fn Opcode_rsr_excsave5_encode_fns[] = {
7984   Opcode_rsr_excsave5_Slot_inst_encode, 0, 0
7987 static xtensa_opcode_encode_fn Opcode_wsr_excsave5_encode_fns[] = {
7988   Opcode_wsr_excsave5_Slot_inst_encode, 0, 0
7991 static xtensa_opcode_encode_fn Opcode_xsr_excsave5_encode_fns[] = {
7992   Opcode_xsr_excsave5_Slot_inst_encode, 0, 0
7995 static xtensa_opcode_encode_fn Opcode_rsr_epc6_encode_fns[] = {
7996   Opcode_rsr_epc6_Slot_inst_encode, 0, 0
7999 static xtensa_opcode_encode_fn Opcode_wsr_epc6_encode_fns[] = {
8000   Opcode_wsr_epc6_Slot_inst_encode, 0, 0
8003 static xtensa_opcode_encode_fn Opcode_xsr_epc6_encode_fns[] = {
8004   Opcode_xsr_epc6_Slot_inst_encode, 0, 0
8007 static xtensa_opcode_encode_fn Opcode_rsr_excsave6_encode_fns[] = {
8008   Opcode_rsr_excsave6_Slot_inst_encode, 0, 0
8011 static xtensa_opcode_encode_fn Opcode_wsr_excsave6_encode_fns[] = {
8012   Opcode_wsr_excsave6_Slot_inst_encode, 0, 0
8015 static xtensa_opcode_encode_fn Opcode_xsr_excsave6_encode_fns[] = {
8016   Opcode_xsr_excsave6_Slot_inst_encode, 0, 0
8019 static xtensa_opcode_encode_fn Opcode_rsr_epc7_encode_fns[] = {
8020   Opcode_rsr_epc7_Slot_inst_encode, 0, 0
8023 static xtensa_opcode_encode_fn Opcode_wsr_epc7_encode_fns[] = {
8024   Opcode_wsr_epc7_Slot_inst_encode, 0, 0
8027 static xtensa_opcode_encode_fn Opcode_xsr_epc7_encode_fns[] = {
8028   Opcode_xsr_epc7_Slot_inst_encode, 0, 0
8031 static xtensa_opcode_encode_fn Opcode_rsr_excsave7_encode_fns[] = {
8032   Opcode_rsr_excsave7_Slot_inst_encode, 0, 0
8035 static xtensa_opcode_encode_fn Opcode_wsr_excsave7_encode_fns[] = {
8036   Opcode_wsr_excsave7_Slot_inst_encode, 0, 0
8039 static xtensa_opcode_encode_fn Opcode_xsr_excsave7_encode_fns[] = {
8040   Opcode_xsr_excsave7_Slot_inst_encode, 0, 0
8043 static xtensa_opcode_encode_fn Opcode_rsr_eps2_encode_fns[] = {
8044   Opcode_rsr_eps2_Slot_inst_encode, 0, 0
8047 static xtensa_opcode_encode_fn Opcode_wsr_eps2_encode_fns[] = {
8048   Opcode_wsr_eps2_Slot_inst_encode, 0, 0
8051 static xtensa_opcode_encode_fn Opcode_xsr_eps2_encode_fns[] = {
8052   Opcode_xsr_eps2_Slot_inst_encode, 0, 0
8055 static xtensa_opcode_encode_fn Opcode_rsr_eps3_encode_fns[] = {
8056   Opcode_rsr_eps3_Slot_inst_encode, 0, 0
8059 static xtensa_opcode_encode_fn Opcode_wsr_eps3_encode_fns[] = {
8060   Opcode_wsr_eps3_Slot_inst_encode, 0, 0
8063 static xtensa_opcode_encode_fn Opcode_xsr_eps3_encode_fns[] = {
8064   Opcode_xsr_eps3_Slot_inst_encode, 0, 0
8067 static xtensa_opcode_encode_fn Opcode_rsr_eps4_encode_fns[] = {
8068   Opcode_rsr_eps4_Slot_inst_encode, 0, 0
8071 static xtensa_opcode_encode_fn Opcode_wsr_eps4_encode_fns[] = {
8072   Opcode_wsr_eps4_Slot_inst_encode, 0, 0
8075 static xtensa_opcode_encode_fn Opcode_xsr_eps4_encode_fns[] = {
8076   Opcode_xsr_eps4_Slot_inst_encode, 0, 0
8079 static xtensa_opcode_encode_fn Opcode_rsr_eps5_encode_fns[] = {
8080   Opcode_rsr_eps5_Slot_inst_encode, 0, 0
8083 static xtensa_opcode_encode_fn Opcode_wsr_eps5_encode_fns[] = {
8084   Opcode_wsr_eps5_Slot_inst_encode, 0, 0
8087 static xtensa_opcode_encode_fn Opcode_xsr_eps5_encode_fns[] = {
8088   Opcode_xsr_eps5_Slot_inst_encode, 0, 0
8091 static xtensa_opcode_encode_fn Opcode_rsr_eps6_encode_fns[] = {
8092   Opcode_rsr_eps6_Slot_inst_encode, 0, 0
8095 static xtensa_opcode_encode_fn Opcode_wsr_eps6_encode_fns[] = {
8096   Opcode_wsr_eps6_Slot_inst_encode, 0, 0
8099 static xtensa_opcode_encode_fn Opcode_xsr_eps6_encode_fns[] = {
8100   Opcode_xsr_eps6_Slot_inst_encode, 0, 0
8103 static xtensa_opcode_encode_fn Opcode_rsr_eps7_encode_fns[] = {
8104   Opcode_rsr_eps7_Slot_inst_encode, 0, 0
8107 static xtensa_opcode_encode_fn Opcode_wsr_eps7_encode_fns[] = {
8108   Opcode_wsr_eps7_Slot_inst_encode, 0, 0
8111 static xtensa_opcode_encode_fn Opcode_xsr_eps7_encode_fns[] = {
8112   Opcode_xsr_eps7_Slot_inst_encode, 0, 0
8115 static xtensa_opcode_encode_fn Opcode_rsr_excvaddr_encode_fns[] = {
8116   Opcode_rsr_excvaddr_Slot_inst_encode, 0, 0
8119 static xtensa_opcode_encode_fn Opcode_wsr_excvaddr_encode_fns[] = {
8120   Opcode_wsr_excvaddr_Slot_inst_encode, 0, 0
8123 static xtensa_opcode_encode_fn Opcode_xsr_excvaddr_encode_fns[] = {
8124   Opcode_xsr_excvaddr_Slot_inst_encode, 0, 0
8127 static xtensa_opcode_encode_fn Opcode_rsr_depc_encode_fns[] = {
8128   Opcode_rsr_depc_Slot_inst_encode, 0, 0
8131 static xtensa_opcode_encode_fn Opcode_wsr_depc_encode_fns[] = {
8132   Opcode_wsr_depc_Slot_inst_encode, 0, 0
8135 static xtensa_opcode_encode_fn Opcode_xsr_depc_encode_fns[] = {
8136   Opcode_xsr_depc_Slot_inst_encode, 0, 0
8139 static xtensa_opcode_encode_fn Opcode_rsr_exccause_encode_fns[] = {
8140   Opcode_rsr_exccause_Slot_inst_encode, 0, 0
8143 static xtensa_opcode_encode_fn Opcode_wsr_exccause_encode_fns[] = {
8144   Opcode_wsr_exccause_Slot_inst_encode, 0, 0
8147 static xtensa_opcode_encode_fn Opcode_xsr_exccause_encode_fns[] = {
8148   Opcode_xsr_exccause_Slot_inst_encode, 0, 0
8151 static xtensa_opcode_encode_fn Opcode_rsr_misc0_encode_fns[] = {
8152   Opcode_rsr_misc0_Slot_inst_encode, 0, 0
8155 static xtensa_opcode_encode_fn Opcode_wsr_misc0_encode_fns[] = {
8156   Opcode_wsr_misc0_Slot_inst_encode, 0, 0
8159 static xtensa_opcode_encode_fn Opcode_xsr_misc0_encode_fns[] = {
8160   Opcode_xsr_misc0_Slot_inst_encode, 0, 0
8163 static xtensa_opcode_encode_fn Opcode_rsr_misc1_encode_fns[] = {
8164   Opcode_rsr_misc1_Slot_inst_encode, 0, 0
8167 static xtensa_opcode_encode_fn Opcode_wsr_misc1_encode_fns[] = {
8168   Opcode_wsr_misc1_Slot_inst_encode, 0, 0
8171 static xtensa_opcode_encode_fn Opcode_xsr_misc1_encode_fns[] = {
8172   Opcode_xsr_misc1_Slot_inst_encode, 0, 0
8175 static xtensa_opcode_encode_fn Opcode_rsr_prid_encode_fns[] = {
8176   Opcode_rsr_prid_Slot_inst_encode, 0, 0
8179 static xtensa_opcode_encode_fn Opcode_rsr_vecbase_encode_fns[] = {
8180   Opcode_rsr_vecbase_Slot_inst_encode, 0, 0
8183 static xtensa_opcode_encode_fn Opcode_wsr_vecbase_encode_fns[] = {
8184   Opcode_wsr_vecbase_Slot_inst_encode, 0, 0
8187 static xtensa_opcode_encode_fn Opcode_xsr_vecbase_encode_fns[] = {
8188   Opcode_xsr_vecbase_Slot_inst_encode, 0, 0
8191 static xtensa_opcode_encode_fn Opcode_salt_encode_fns[] = {
8192   Opcode_salt_Slot_inst_encode, 0, 0
8195 static xtensa_opcode_encode_fn Opcode_saltu_encode_fns[] = {
8196   Opcode_saltu_Slot_inst_encode, 0, 0
8199 static xtensa_opcode_encode_fn Opcode_mul16u_encode_fns[] = {
8200   Opcode_mul16u_Slot_inst_encode, 0, 0
8203 static xtensa_opcode_encode_fn Opcode_mul16s_encode_fns[] = {
8204   Opcode_mul16s_Slot_inst_encode, 0, 0
8207 static xtensa_opcode_encode_fn Opcode_mull_encode_fns[] = {
8208   Opcode_mull_Slot_inst_encode, 0, 0
8211 static xtensa_opcode_encode_fn Opcode_rfi_encode_fns[] = {
8212   Opcode_rfi_Slot_inst_encode, 0, 0
8215 static xtensa_opcode_encode_fn Opcode_waiti_encode_fns[] = {
8216   Opcode_waiti_Slot_inst_encode, 0, 0
8219 static xtensa_opcode_encode_fn Opcode_rsr_interrupt_encode_fns[] = {
8220   Opcode_rsr_interrupt_Slot_inst_encode, 0, 0
8223 static xtensa_opcode_encode_fn Opcode_wsr_intset_encode_fns[] = {
8224   Opcode_wsr_intset_Slot_inst_encode, 0, 0
8227 static xtensa_opcode_encode_fn Opcode_wsr_intclear_encode_fns[] = {
8228   Opcode_wsr_intclear_Slot_inst_encode, 0, 0
8231 static xtensa_opcode_encode_fn Opcode_rsr_intenable_encode_fns[] = {
8232   Opcode_rsr_intenable_Slot_inst_encode, 0, 0
8235 static xtensa_opcode_encode_fn Opcode_wsr_intenable_encode_fns[] = {
8236   Opcode_wsr_intenable_Slot_inst_encode, 0, 0
8239 static xtensa_opcode_encode_fn Opcode_xsr_intenable_encode_fns[] = {
8240   Opcode_xsr_intenable_Slot_inst_encode, 0, 0
8243 static xtensa_opcode_encode_fn Opcode_break_encode_fns[] = {
8244   Opcode_break_Slot_inst_encode, 0, 0
8247 static xtensa_opcode_encode_fn Opcode_break_n_encode_fns[] = {
8248   0, 0, Opcode_break_n_Slot_inst16b_encode
8251 static xtensa_opcode_encode_fn Opcode_rsr_dbreaka0_encode_fns[] = {
8252   Opcode_rsr_dbreaka0_Slot_inst_encode, 0, 0
8255 static xtensa_opcode_encode_fn Opcode_wsr_dbreaka0_encode_fns[] = {
8256   Opcode_wsr_dbreaka0_Slot_inst_encode, 0, 0
8259 static xtensa_opcode_encode_fn Opcode_xsr_dbreaka0_encode_fns[] = {
8260   Opcode_xsr_dbreaka0_Slot_inst_encode, 0, 0
8263 static xtensa_opcode_encode_fn Opcode_rsr_dbreakc0_encode_fns[] = {
8264   Opcode_rsr_dbreakc0_Slot_inst_encode, 0, 0
8267 static xtensa_opcode_encode_fn Opcode_wsr_dbreakc0_encode_fns[] = {
8268   Opcode_wsr_dbreakc0_Slot_inst_encode, 0, 0
8271 static xtensa_opcode_encode_fn Opcode_xsr_dbreakc0_encode_fns[] = {
8272   Opcode_xsr_dbreakc0_Slot_inst_encode, 0, 0
8275 static xtensa_opcode_encode_fn Opcode_rsr_dbreaka1_encode_fns[] = {
8276   Opcode_rsr_dbreaka1_Slot_inst_encode, 0, 0
8279 static xtensa_opcode_encode_fn Opcode_wsr_dbreaka1_encode_fns[] = {
8280   Opcode_wsr_dbreaka1_Slot_inst_encode, 0, 0
8283 static xtensa_opcode_encode_fn Opcode_xsr_dbreaka1_encode_fns[] = {
8284   Opcode_xsr_dbreaka1_Slot_inst_encode, 0, 0
8287 static xtensa_opcode_encode_fn Opcode_rsr_dbreakc1_encode_fns[] = {
8288   Opcode_rsr_dbreakc1_Slot_inst_encode, 0, 0
8291 static xtensa_opcode_encode_fn Opcode_wsr_dbreakc1_encode_fns[] = {
8292   Opcode_wsr_dbreakc1_Slot_inst_encode, 0, 0
8295 static xtensa_opcode_encode_fn Opcode_xsr_dbreakc1_encode_fns[] = {
8296   Opcode_xsr_dbreakc1_Slot_inst_encode, 0, 0
8299 static xtensa_opcode_encode_fn Opcode_rsr_ibreaka0_encode_fns[] = {
8300   Opcode_rsr_ibreaka0_Slot_inst_encode, 0, 0
8303 static xtensa_opcode_encode_fn Opcode_wsr_ibreaka0_encode_fns[] = {
8304   Opcode_wsr_ibreaka0_Slot_inst_encode, 0, 0
8307 static xtensa_opcode_encode_fn Opcode_xsr_ibreaka0_encode_fns[] = {
8308   Opcode_xsr_ibreaka0_Slot_inst_encode, 0, 0
8311 static xtensa_opcode_encode_fn Opcode_rsr_ibreaka1_encode_fns[] = {
8312   Opcode_rsr_ibreaka1_Slot_inst_encode, 0, 0
8315 static xtensa_opcode_encode_fn Opcode_wsr_ibreaka1_encode_fns[] = {
8316   Opcode_wsr_ibreaka1_Slot_inst_encode, 0, 0
8319 static xtensa_opcode_encode_fn Opcode_xsr_ibreaka1_encode_fns[] = {
8320   Opcode_xsr_ibreaka1_Slot_inst_encode, 0, 0
8323 static xtensa_opcode_encode_fn Opcode_rsr_ibreakenable_encode_fns[] = {
8324   Opcode_rsr_ibreakenable_Slot_inst_encode, 0, 0
8327 static xtensa_opcode_encode_fn Opcode_wsr_ibreakenable_encode_fns[] = {
8328   Opcode_wsr_ibreakenable_Slot_inst_encode, 0, 0
8331 static xtensa_opcode_encode_fn Opcode_xsr_ibreakenable_encode_fns[] = {
8332   Opcode_xsr_ibreakenable_Slot_inst_encode, 0, 0
8335 static xtensa_opcode_encode_fn Opcode_rsr_debugcause_encode_fns[] = {
8336   Opcode_rsr_debugcause_Slot_inst_encode, 0, 0
8339 static xtensa_opcode_encode_fn Opcode_wsr_debugcause_encode_fns[] = {
8340   Opcode_wsr_debugcause_Slot_inst_encode, 0, 0
8343 static xtensa_opcode_encode_fn Opcode_xsr_debugcause_encode_fns[] = {
8344   Opcode_xsr_debugcause_Slot_inst_encode, 0, 0
8347 static xtensa_opcode_encode_fn Opcode_rsr_icount_encode_fns[] = {
8348   Opcode_rsr_icount_Slot_inst_encode, 0, 0
8351 static xtensa_opcode_encode_fn Opcode_wsr_icount_encode_fns[] = {
8352   Opcode_wsr_icount_Slot_inst_encode, 0, 0
8355 static xtensa_opcode_encode_fn Opcode_xsr_icount_encode_fns[] = {
8356   Opcode_xsr_icount_Slot_inst_encode, 0, 0
8359 static xtensa_opcode_encode_fn Opcode_rsr_icountlevel_encode_fns[] = {
8360   Opcode_rsr_icountlevel_Slot_inst_encode, 0, 0
8363 static xtensa_opcode_encode_fn Opcode_wsr_icountlevel_encode_fns[] = {
8364   Opcode_wsr_icountlevel_Slot_inst_encode, 0, 0
8367 static xtensa_opcode_encode_fn Opcode_xsr_icountlevel_encode_fns[] = {
8368   Opcode_xsr_icountlevel_Slot_inst_encode, 0, 0
8371 static xtensa_opcode_encode_fn Opcode_rsr_ddr_encode_fns[] = {
8372   Opcode_rsr_ddr_Slot_inst_encode, 0, 0
8375 static xtensa_opcode_encode_fn Opcode_wsr_ddr_encode_fns[] = {
8376   Opcode_wsr_ddr_Slot_inst_encode, 0, 0
8379 static xtensa_opcode_encode_fn Opcode_xsr_ddr_encode_fns[] = {
8380   Opcode_xsr_ddr_Slot_inst_encode, 0, 0
8383 static xtensa_opcode_encode_fn Opcode_lddr32_p_encode_fns[] = {
8384   Opcode_lddr32_p_Slot_inst_encode, 0, 0
8387 static xtensa_opcode_encode_fn Opcode_sddr32_p_encode_fns[] = {
8388   Opcode_sddr32_p_Slot_inst_encode, 0, 0
8391 static xtensa_opcode_encode_fn Opcode_rfdo_encode_fns[] = {
8392   Opcode_rfdo_Slot_inst_encode, 0, 0
8395 static xtensa_opcode_encode_fn Opcode_rfdd_encode_fns[] = {
8396   Opcode_rfdd_Slot_inst_encode, 0, 0
8399 static xtensa_opcode_encode_fn Opcode_wsr_mmid_encode_fns[] = {
8400   Opcode_wsr_mmid_Slot_inst_encode, 0, 0
8403 static xtensa_opcode_encode_fn Opcode_rsr_ccount_encode_fns[] = {
8404   Opcode_rsr_ccount_Slot_inst_encode, 0, 0
8407 static xtensa_opcode_encode_fn Opcode_wsr_ccount_encode_fns[] = {
8408   Opcode_wsr_ccount_Slot_inst_encode, 0, 0
8411 static xtensa_opcode_encode_fn Opcode_xsr_ccount_encode_fns[] = {
8412   Opcode_xsr_ccount_Slot_inst_encode, 0, 0
8415 static xtensa_opcode_encode_fn Opcode_rsr_ccompare0_encode_fns[] = {
8416   Opcode_rsr_ccompare0_Slot_inst_encode, 0, 0
8419 static xtensa_opcode_encode_fn Opcode_wsr_ccompare0_encode_fns[] = {
8420   Opcode_wsr_ccompare0_Slot_inst_encode, 0, 0
8423 static xtensa_opcode_encode_fn Opcode_xsr_ccompare0_encode_fns[] = {
8424   Opcode_xsr_ccompare0_Slot_inst_encode, 0, 0
8427 static xtensa_opcode_encode_fn Opcode_rsr_ccompare1_encode_fns[] = {
8428   Opcode_rsr_ccompare1_Slot_inst_encode, 0, 0
8431 static xtensa_opcode_encode_fn Opcode_wsr_ccompare1_encode_fns[] = {
8432   Opcode_wsr_ccompare1_Slot_inst_encode, 0, 0
8435 static xtensa_opcode_encode_fn Opcode_xsr_ccompare1_encode_fns[] = {
8436   Opcode_xsr_ccompare1_Slot_inst_encode, 0, 0
8439 static xtensa_opcode_encode_fn Opcode_rsr_ccompare2_encode_fns[] = {
8440   Opcode_rsr_ccompare2_Slot_inst_encode, 0, 0
8443 static xtensa_opcode_encode_fn Opcode_wsr_ccompare2_encode_fns[] = {
8444   Opcode_wsr_ccompare2_Slot_inst_encode, 0, 0
8447 static xtensa_opcode_encode_fn Opcode_xsr_ccompare2_encode_fns[] = {
8448   Opcode_xsr_ccompare2_Slot_inst_encode, 0, 0
8451 static xtensa_opcode_encode_fn Opcode_idtlb_encode_fns[] = {
8452   Opcode_idtlb_Slot_inst_encode, 0, 0
8455 static xtensa_opcode_encode_fn Opcode_pdtlb_encode_fns[] = {
8456   Opcode_pdtlb_Slot_inst_encode, 0, 0
8459 static xtensa_opcode_encode_fn Opcode_rdtlb0_encode_fns[] = {
8460   Opcode_rdtlb0_Slot_inst_encode, 0, 0
8463 static xtensa_opcode_encode_fn Opcode_rdtlb1_encode_fns[] = {
8464   Opcode_rdtlb1_Slot_inst_encode, 0, 0
8467 static xtensa_opcode_encode_fn Opcode_wdtlb_encode_fns[] = {
8468   Opcode_wdtlb_Slot_inst_encode, 0, 0
8471 static xtensa_opcode_encode_fn Opcode_iitlb_encode_fns[] = {
8472   Opcode_iitlb_Slot_inst_encode, 0, 0
8475 static xtensa_opcode_encode_fn Opcode_pitlb_encode_fns[] = {
8476   Opcode_pitlb_Slot_inst_encode, 0, 0
8479 static xtensa_opcode_encode_fn Opcode_ritlb0_encode_fns[] = {
8480   Opcode_ritlb0_Slot_inst_encode, 0, 0
8483 static xtensa_opcode_encode_fn Opcode_ritlb1_encode_fns[] = {
8484   Opcode_ritlb1_Slot_inst_encode, 0, 0
8487 static xtensa_opcode_encode_fn Opcode_witlb_encode_fns[] = {
8488   Opcode_witlb_Slot_inst_encode, 0, 0
8491 static xtensa_opcode_encode_fn Opcode_min_encode_fns[] = {
8492   Opcode_min_Slot_inst_encode, 0, 0
8495 static xtensa_opcode_encode_fn Opcode_max_encode_fns[] = {
8496   Opcode_max_Slot_inst_encode, 0, 0
8499 static xtensa_opcode_encode_fn Opcode_minu_encode_fns[] = {
8500   Opcode_minu_Slot_inst_encode, 0, 0
8503 static xtensa_opcode_encode_fn Opcode_maxu_encode_fns[] = {
8504   Opcode_maxu_Slot_inst_encode, 0, 0
8507 static xtensa_opcode_encode_fn Opcode_nsa_encode_fns[] = {
8508   Opcode_nsa_Slot_inst_encode, 0, 0
8511 static xtensa_opcode_encode_fn Opcode_nsau_encode_fns[] = {
8512   Opcode_nsau_Slot_inst_encode, 0, 0
8515 static xtensa_opcode_encode_fn Opcode_sext_encode_fns[] = {
8516   Opcode_sext_Slot_inst_encode, 0, 0
8519 static xtensa_opcode_encode_fn Opcode_l32ai_encode_fns[] = {
8520   Opcode_l32ai_Slot_inst_encode, 0, 0
8523 static xtensa_opcode_encode_fn Opcode_s32ri_encode_fns[] = {
8524   Opcode_s32ri_Slot_inst_encode, 0, 0
8527 static xtensa_opcode_encode_fn Opcode_s32c1i_encode_fns[] = {
8528   Opcode_s32c1i_Slot_inst_encode, 0, 0
8531 static xtensa_opcode_encode_fn Opcode_rsr_scompare1_encode_fns[] = {
8532   Opcode_rsr_scompare1_Slot_inst_encode, 0, 0
8535 static xtensa_opcode_encode_fn Opcode_wsr_scompare1_encode_fns[] = {
8536   Opcode_wsr_scompare1_Slot_inst_encode, 0, 0
8539 static xtensa_opcode_encode_fn Opcode_xsr_scompare1_encode_fns[] = {
8540   Opcode_xsr_scompare1_Slot_inst_encode, 0, 0
8543 static xtensa_opcode_encode_fn Opcode_rsr_atomctl_encode_fns[] = {
8544   Opcode_rsr_atomctl_Slot_inst_encode, 0, 0
8547 static xtensa_opcode_encode_fn Opcode_wsr_atomctl_encode_fns[] = {
8548   Opcode_wsr_atomctl_Slot_inst_encode, 0, 0
8551 static xtensa_opcode_encode_fn Opcode_xsr_atomctl_encode_fns[] = {
8552   Opcode_xsr_atomctl_Slot_inst_encode, 0, 0
8555 static xtensa_opcode_encode_fn Opcode_quou_encode_fns[] = {
8556   Opcode_quou_Slot_inst_encode, 0, 0
8559 static xtensa_opcode_encode_fn Opcode_quos_encode_fns[] = {
8560   Opcode_quos_Slot_inst_encode, 0, 0
8563 static xtensa_opcode_encode_fn Opcode_remu_encode_fns[] = {
8564   Opcode_remu_Slot_inst_encode, 0, 0
8567 static xtensa_opcode_encode_fn Opcode_rems_encode_fns[] = {
8568   Opcode_rems_Slot_inst_encode, 0, 0
8571 static xtensa_opcode_encode_fn Opcode_rsr_eraccess_encode_fns[] = {
8572   Opcode_rsr_eraccess_Slot_inst_encode, 0, 0
8575 static xtensa_opcode_encode_fn Opcode_wsr_eraccess_encode_fns[] = {
8576   Opcode_wsr_eraccess_Slot_inst_encode, 0, 0
8579 static xtensa_opcode_encode_fn Opcode_xsr_eraccess_encode_fns[] = {
8580   Opcode_xsr_eraccess_Slot_inst_encode, 0, 0
8583 static xtensa_opcode_encode_fn Opcode_rer_encode_fns[] = {
8584   Opcode_rer_Slot_inst_encode, 0, 0
8587 static xtensa_opcode_encode_fn Opcode_wer_encode_fns[] = {
8588   Opcode_wer_Slot_inst_encode, 0, 0
8591 static xtensa_opcode_encode_fn Opcode_rur_expstate_encode_fns[] = {
8592   Opcode_rur_expstate_Slot_inst_encode, 0, 0
8595 static xtensa_opcode_encode_fn Opcode_wur_expstate_encode_fns[] = {
8596   Opcode_wur_expstate_Slot_inst_encode, 0, 0
8599 static xtensa_opcode_encode_fn Opcode_read_impwire_encode_fns[] = {
8600   Opcode_read_impwire_Slot_inst_encode, 0, 0
8603 static xtensa_opcode_encode_fn Opcode_setb_expstate_encode_fns[] = {
8604   Opcode_setb_expstate_Slot_inst_encode, 0, 0
8607 static xtensa_opcode_encode_fn Opcode_clrb_expstate_encode_fns[] = {
8608   Opcode_clrb_expstate_Slot_inst_encode, 0, 0
8611 static xtensa_opcode_encode_fn Opcode_wrmsk_expstate_encode_fns[] = {
8612   Opcode_wrmsk_expstate_Slot_inst_encode, 0, 0
8619 /* Opcode table.  */
8621 static xtensa_opcode_internal opcodes[] = {
8622   { "excw", ICLASS_xt_iclass_excw,
8623     0,
8624     Opcode_excw_encode_fns, 0, 0 },
8625   { "rfe", ICLASS_xt_iclass_rfe,
8626     XTENSA_OPCODE_IS_JUMP,
8627     Opcode_rfe_encode_fns, 0, 0 },
8628   { "rfde", ICLASS_xt_iclass_rfde,
8629     XTENSA_OPCODE_IS_JUMP,
8630     Opcode_rfde_encode_fns, 0, 0 },
8631   { "syscall", ICLASS_xt_iclass_syscall,
8632     0,
8633     Opcode_syscall_encode_fns, 0, 0 },
8634   { "call12", ICLASS_xt_iclass_call12,
8635     XTENSA_OPCODE_IS_CALL,
8636     Opcode_call12_encode_fns, 0, 0 },
8637   { "call8", ICLASS_xt_iclass_call8,
8638     XTENSA_OPCODE_IS_CALL,
8639     Opcode_call8_encode_fns, 0, 0 },
8640   { "call4", ICLASS_xt_iclass_call4,
8641     XTENSA_OPCODE_IS_CALL,
8642     Opcode_call4_encode_fns, 0, 0 },
8643   { "callx12", ICLASS_xt_iclass_callx12,
8644     XTENSA_OPCODE_IS_CALL,
8645     Opcode_callx12_encode_fns, 0, 0 },
8646   { "callx8", ICLASS_xt_iclass_callx8,
8647     XTENSA_OPCODE_IS_CALL,
8648     Opcode_callx8_encode_fns, 0, 0 },
8649   { "callx4", ICLASS_xt_iclass_callx4,
8650     XTENSA_OPCODE_IS_CALL,
8651     Opcode_callx4_encode_fns, 0, 0 },
8652   { "entry", ICLASS_xt_iclass_entry,
8653     0,
8654     Opcode_entry_encode_fns, 0, 0 },
8655   { "movsp", ICLASS_xt_iclass_movsp,
8656     0,
8657     Opcode_movsp_encode_fns, 0, 0 },
8658   { "rotw", ICLASS_xt_iclass_rotw,
8659     0,
8660     Opcode_rotw_encode_fns, 0, 0 },
8661   { "retw", ICLASS_xt_iclass_retw,
8662     XTENSA_OPCODE_IS_JUMP,
8663     Opcode_retw_encode_fns, 0, 0 },
8664   { "retw.n", ICLASS_xt_iclass_retw,
8665     XTENSA_OPCODE_IS_JUMP,
8666     Opcode_retw_n_encode_fns, 0, 0 },
8667   { "rfwo", ICLASS_xt_iclass_rfwou,
8668     XTENSA_OPCODE_IS_JUMP,
8669     Opcode_rfwo_encode_fns, 0, 0 },
8670   { "rfwu", ICLASS_xt_iclass_rfwou,
8671     XTENSA_OPCODE_IS_JUMP,
8672     Opcode_rfwu_encode_fns, 0, 0 },
8673   { "l32e", ICLASS_xt_iclass_l32e,
8674     0,
8675     Opcode_l32e_encode_fns, 0, 0 },
8676   { "s32e", ICLASS_xt_iclass_s32e,
8677     0,
8678     Opcode_s32e_encode_fns, 0, 0 },
8679   { "rsr.windowbase", ICLASS_xt_iclass_rsr_windowbase,
8680     0,
8681     Opcode_rsr_windowbase_encode_fns, 0, 0 },
8682   { "wsr.windowbase", ICLASS_xt_iclass_wsr_windowbase,
8683     0,
8684     Opcode_wsr_windowbase_encode_fns, 0, 0 },
8685   { "xsr.windowbase", ICLASS_xt_iclass_xsr_windowbase,
8686     0,
8687     Opcode_xsr_windowbase_encode_fns, 0, 0 },
8688   { "rsr.windowstart", ICLASS_xt_iclass_rsr_windowstart,
8689     0,
8690     Opcode_rsr_windowstart_encode_fns, 0, 0 },
8691   { "wsr.windowstart", ICLASS_xt_iclass_wsr_windowstart,
8692     0,
8693     Opcode_wsr_windowstart_encode_fns, 0, 0 },
8694   { "xsr.windowstart", ICLASS_xt_iclass_xsr_windowstart,
8695     0,
8696     Opcode_xsr_windowstart_encode_fns, 0, 0 },
8697   { "add.n", ICLASS_xt_iclass_add_n,
8698     0,
8699     Opcode_add_n_encode_fns, 0, 0 },
8700   { "addi.n", ICLASS_xt_iclass_addi_n,
8701     0,
8702     Opcode_addi_n_encode_fns, 0, 0 },
8703   { "beqz.n", ICLASS_xt_iclass_bz6,
8704     XTENSA_OPCODE_IS_BRANCH,
8705     Opcode_beqz_n_encode_fns, 0, 0 },
8706   { "bnez.n", ICLASS_xt_iclass_bz6,
8707     XTENSA_OPCODE_IS_BRANCH,
8708     Opcode_bnez_n_encode_fns, 0, 0 },
8709   { "ill.n", ICLASS_xt_iclass_ill_n,
8710     0,
8711     Opcode_ill_n_encode_fns, 0, 0 },
8712   { "l32i.n", ICLASS_xt_iclass_loadi4,
8713     0,
8714     Opcode_l32i_n_encode_fns, 0, 0 },
8715   { "mov.n", ICLASS_xt_iclass_mov_n,
8716     0,
8717     Opcode_mov_n_encode_fns, 0, 0 },
8718   { "movi.n", ICLASS_xt_iclass_movi_n,
8719     0,
8720     Opcode_movi_n_encode_fns, 0, 0 },
8721   { "nop.n", ICLASS_xt_iclass_nopn,
8722     0,
8723     Opcode_nop_n_encode_fns, 0, 0 },
8724   { "ret.n", ICLASS_xt_iclass_retn,
8725     XTENSA_OPCODE_IS_JUMP,
8726     Opcode_ret_n_encode_fns, 0, 0 },
8727   { "s32i.n", ICLASS_xt_iclass_storei4,
8728     0,
8729     Opcode_s32i_n_encode_fns, 0, 0 },
8730   { "addi", ICLASS_xt_iclass_addi,
8731     0,
8732     Opcode_addi_encode_fns, 0, 0 },
8733   { "addmi", ICLASS_xt_iclass_addmi,
8734     0,
8735     Opcode_addmi_encode_fns, 0, 0 },
8736   { "add", ICLASS_xt_iclass_addsub,
8737     0,
8738     Opcode_add_encode_fns, 0, 0 },
8739   { "sub", ICLASS_xt_iclass_addsub,
8740     0,
8741     Opcode_sub_encode_fns, 0, 0 },
8742   { "addx2", ICLASS_xt_iclass_addsub,
8743     0,
8744     Opcode_addx2_encode_fns, 0, 0 },
8745   { "addx4", ICLASS_xt_iclass_addsub,
8746     0,
8747     Opcode_addx4_encode_fns, 0, 0 },
8748   { "addx8", ICLASS_xt_iclass_addsub,
8749     0,
8750     Opcode_addx8_encode_fns, 0, 0 },
8751   { "subx2", ICLASS_xt_iclass_addsub,
8752     0,
8753     Opcode_subx2_encode_fns, 0, 0 },
8754   { "subx4", ICLASS_xt_iclass_addsub,
8755     0,
8756     Opcode_subx4_encode_fns, 0, 0 },
8757   { "subx8", ICLASS_xt_iclass_addsub,
8758     0,
8759     Opcode_subx8_encode_fns, 0, 0 },
8760   { "and", ICLASS_xt_iclass_bit,
8761     0,
8762     Opcode_and_encode_fns, 0, 0 },
8763   { "or", ICLASS_xt_iclass_bit,
8764     0,
8765     Opcode_or_encode_fns, 0, 0 },
8766   { "xor", ICLASS_xt_iclass_bit,
8767     0,
8768     Opcode_xor_encode_fns, 0, 0 },
8769   { "beqi", ICLASS_xt_iclass_bsi8,
8770     XTENSA_OPCODE_IS_BRANCH,
8771     Opcode_beqi_encode_fns, 0, 0 },
8772   { "bnei", ICLASS_xt_iclass_bsi8,
8773     XTENSA_OPCODE_IS_BRANCH,
8774     Opcode_bnei_encode_fns, 0, 0 },
8775   { "bgei", ICLASS_xt_iclass_bsi8,
8776     XTENSA_OPCODE_IS_BRANCH,
8777     Opcode_bgei_encode_fns, 0, 0 },
8778   { "blti", ICLASS_xt_iclass_bsi8,
8779     XTENSA_OPCODE_IS_BRANCH,
8780     Opcode_blti_encode_fns, 0, 0 },
8781   { "bbci", ICLASS_xt_iclass_bsi8b,
8782     XTENSA_OPCODE_IS_BRANCH,
8783     Opcode_bbci_encode_fns, 0, 0 },
8784   { "bbsi", ICLASS_xt_iclass_bsi8b,
8785     XTENSA_OPCODE_IS_BRANCH,
8786     Opcode_bbsi_encode_fns, 0, 0 },
8787   { "bgeui", ICLASS_xt_iclass_bsi8u,
8788     XTENSA_OPCODE_IS_BRANCH,
8789     Opcode_bgeui_encode_fns, 0, 0 },
8790   { "bltui", ICLASS_xt_iclass_bsi8u,
8791     XTENSA_OPCODE_IS_BRANCH,
8792     Opcode_bltui_encode_fns, 0, 0 },
8793   { "beq", ICLASS_xt_iclass_bst8,
8794     XTENSA_OPCODE_IS_BRANCH,
8795     Opcode_beq_encode_fns, 0, 0 },
8796   { "bne", ICLASS_xt_iclass_bst8,
8797     XTENSA_OPCODE_IS_BRANCH,
8798     Opcode_bne_encode_fns, 0, 0 },
8799   { "bge", ICLASS_xt_iclass_bst8,
8800     XTENSA_OPCODE_IS_BRANCH,
8801     Opcode_bge_encode_fns, 0, 0 },
8802   { "blt", ICLASS_xt_iclass_bst8,
8803     XTENSA_OPCODE_IS_BRANCH,
8804     Opcode_blt_encode_fns, 0, 0 },
8805   { "bgeu", ICLASS_xt_iclass_bst8,
8806     XTENSA_OPCODE_IS_BRANCH,
8807     Opcode_bgeu_encode_fns, 0, 0 },
8808   { "bltu", ICLASS_xt_iclass_bst8,
8809     XTENSA_OPCODE_IS_BRANCH,
8810     Opcode_bltu_encode_fns, 0, 0 },
8811   { "bany", ICLASS_xt_iclass_bst8,
8812     XTENSA_OPCODE_IS_BRANCH,
8813     Opcode_bany_encode_fns, 0, 0 },
8814   { "bnone", ICLASS_xt_iclass_bst8,
8815     XTENSA_OPCODE_IS_BRANCH,
8816     Opcode_bnone_encode_fns, 0, 0 },
8817   { "ball", ICLASS_xt_iclass_bst8,
8818     XTENSA_OPCODE_IS_BRANCH,
8819     Opcode_ball_encode_fns, 0, 0 },
8820   { "bnall", ICLASS_xt_iclass_bst8,
8821     XTENSA_OPCODE_IS_BRANCH,
8822     Opcode_bnall_encode_fns, 0, 0 },
8823   { "bbc", ICLASS_xt_iclass_bst8,
8824     XTENSA_OPCODE_IS_BRANCH,
8825     Opcode_bbc_encode_fns, 0, 0 },
8826   { "bbs", ICLASS_xt_iclass_bst8,
8827     XTENSA_OPCODE_IS_BRANCH,
8828     Opcode_bbs_encode_fns, 0, 0 },
8829   { "beqz", ICLASS_xt_iclass_bsz12,
8830     XTENSA_OPCODE_IS_BRANCH,
8831     Opcode_beqz_encode_fns, 0, 0 },
8832   { "bnez", ICLASS_xt_iclass_bsz12,
8833     XTENSA_OPCODE_IS_BRANCH,
8834     Opcode_bnez_encode_fns, 0, 0 },
8835   { "bgez", ICLASS_xt_iclass_bsz12,
8836     XTENSA_OPCODE_IS_BRANCH,
8837     Opcode_bgez_encode_fns, 0, 0 },
8838   { "bltz", ICLASS_xt_iclass_bsz12,
8839     XTENSA_OPCODE_IS_BRANCH,
8840     Opcode_bltz_encode_fns, 0, 0 },
8841   { "call0", ICLASS_xt_iclass_call0,
8842     XTENSA_OPCODE_IS_CALL,
8843     Opcode_call0_encode_fns, 0, 0 },
8844   { "callx0", ICLASS_xt_iclass_callx0,
8845     XTENSA_OPCODE_IS_CALL,
8846     Opcode_callx0_encode_fns, 0, 0 },
8847   { "extui", ICLASS_xt_iclass_exti,
8848     0,
8849     Opcode_extui_encode_fns, 0, 0 },
8850   { "ill", ICLASS_xt_iclass_ill,
8851     0,
8852     Opcode_ill_encode_fns, 0, 0 },
8853   { "j", ICLASS_xt_iclass_jump,
8854     XTENSA_OPCODE_IS_JUMP,
8855     Opcode_j_encode_fns, 0, 0 },
8856   { "jx", ICLASS_xt_iclass_jumpx,
8857     XTENSA_OPCODE_IS_JUMP,
8858     Opcode_jx_encode_fns, 0, 0 },
8859   { "l16ui", ICLASS_xt_iclass_l16ui,
8860     0,
8861     Opcode_l16ui_encode_fns, 0, 0 },
8862   { "l16si", ICLASS_xt_iclass_l16si,
8863     0,
8864     Opcode_l16si_encode_fns, 0, 0 },
8865   { "l32i", ICLASS_xt_iclass_l32i,
8866     0,
8867     Opcode_l32i_encode_fns, 0, 0 },
8868   { "l32r", ICLASS_xt_iclass_l32r,
8869     0,
8870     Opcode_l32r_encode_fns, 0, 0 },
8871   { "l8ui", ICLASS_xt_iclass_l8i,
8872     0,
8873     Opcode_l8ui_encode_fns, 0, 0 },
8874   { "movi", ICLASS_xt_iclass_movi,
8875     0,
8876     Opcode_movi_encode_fns, 0, 0 },
8877   { "moveqz", ICLASS_xt_iclass_movz,
8878     0,
8879     Opcode_moveqz_encode_fns, 0, 0 },
8880   { "movnez", ICLASS_xt_iclass_movz,
8881     0,
8882     Opcode_movnez_encode_fns, 0, 0 },
8883   { "movltz", ICLASS_xt_iclass_movz,
8884     0,
8885     Opcode_movltz_encode_fns, 0, 0 },
8886   { "movgez", ICLASS_xt_iclass_movz,
8887     0,
8888     Opcode_movgez_encode_fns, 0, 0 },
8889   { "neg", ICLASS_xt_iclass_neg,
8890     0,
8891     Opcode_neg_encode_fns, 0, 0 },
8892   { "abs", ICLASS_xt_iclass_neg,
8893     0,
8894     Opcode_abs_encode_fns, 0, 0 },
8895   { "nop", ICLASS_xt_iclass_nop,
8896     0,
8897     Opcode_nop_encode_fns, 0, 0 },
8898   { "ret", ICLASS_xt_iclass_return,
8899     XTENSA_OPCODE_IS_JUMP,
8900     Opcode_ret_encode_fns, 0, 0 },
8901   { "simcall", ICLASS_xt_iclass_simcall,
8902     0,
8903     Opcode_simcall_encode_fns, 0, 0 },
8904   { "s16i", ICLASS_xt_iclass_s16i,
8905     0,
8906     Opcode_s16i_encode_fns, 0, 0 },
8907   { "s32i", ICLASS_xt_iclass_s32i,
8908     0,
8909     Opcode_s32i_encode_fns, 0, 0 },
8910   { "s32nb", ICLASS_xt_iclass_s32nb,
8911     0,
8912     Opcode_s32nb_encode_fns, 0, 0 },
8913   { "s8i", ICLASS_xt_iclass_s8i,
8914     0,
8915     Opcode_s8i_encode_fns, 0, 0 },
8916   { "ssr", ICLASS_xt_iclass_sar,
8917     0,
8918     Opcode_ssr_encode_fns, 0, 0 },
8919   { "ssl", ICLASS_xt_iclass_sar,
8920     0,
8921     Opcode_ssl_encode_fns, 0, 0 },
8922   { "ssa8l", ICLASS_xt_iclass_sar,
8923     0,
8924     Opcode_ssa8l_encode_fns, 0, 0 },
8925   { "ssa8b", ICLASS_xt_iclass_sar,
8926     0,
8927     Opcode_ssa8b_encode_fns, 0, 0 },
8928   { "ssai", ICLASS_xt_iclass_sari,
8929     0,
8930     Opcode_ssai_encode_fns, 0, 0 },
8931   { "sll", ICLASS_xt_iclass_shifts,
8932     0,
8933     Opcode_sll_encode_fns, 0, 0 },
8934   { "src", ICLASS_xt_iclass_shiftst,
8935     0,
8936     Opcode_src_encode_fns, 0, 0 },
8937   { "srl", ICLASS_xt_iclass_shiftt,
8938     0,
8939     Opcode_srl_encode_fns, 0, 0 },
8940   { "sra", ICLASS_xt_iclass_shiftt,
8941     0,
8942     Opcode_sra_encode_fns, 0, 0 },
8943   { "slli", ICLASS_xt_iclass_slli,
8944     0,
8945     Opcode_slli_encode_fns, 0, 0 },
8946   { "srai", ICLASS_xt_iclass_srai,
8947     0,
8948     Opcode_srai_encode_fns, 0, 0 },
8949   { "srli", ICLASS_xt_iclass_srli,
8950     0,
8951     Opcode_srli_encode_fns, 0, 0 },
8952   { "memw", ICLASS_xt_iclass_memw,
8953     0,
8954     Opcode_memw_encode_fns, 0, 0 },
8955   { "extw", ICLASS_xt_iclass_extw,
8956     0,
8957     Opcode_extw_encode_fns, 0, 0 },
8958   { "isync", ICLASS_xt_iclass_isync,
8959     0,
8960     Opcode_isync_encode_fns, 0, 0 },
8961   { "rsync", ICLASS_xt_iclass_sync,
8962     0,
8963     Opcode_rsync_encode_fns, 0, 0 },
8964   { "esync", ICLASS_xt_iclass_sync,
8965     0,
8966     Opcode_esync_encode_fns, 0, 0 },
8967   { "dsync", ICLASS_xt_iclass_sync,
8968     0,
8969     Opcode_dsync_encode_fns, 0, 0 },
8970   { "rsil", ICLASS_xt_iclass_rsil,
8971     0,
8972     Opcode_rsil_encode_fns, 0, 0 },
8973   { "rsr.sar", ICLASS_xt_iclass_rsr_sar,
8974     0,
8975     Opcode_rsr_sar_encode_fns, 0, 0 },
8976   { "wsr.sar", ICLASS_xt_iclass_wsr_sar,
8977     0,
8978     Opcode_wsr_sar_encode_fns, 0, 0 },
8979   { "xsr.sar", ICLASS_xt_iclass_xsr_sar,
8980     0,
8981     Opcode_xsr_sar_encode_fns, 0, 0 },
8982   { "rsr.memctl", ICLASS_xt_iclass_rsr_memctl,
8983     0,
8984     Opcode_rsr_memctl_encode_fns, 0, 0 },
8985   { "wsr.memctl", ICLASS_xt_iclass_wsr_memctl,
8986     0,
8987     Opcode_wsr_memctl_encode_fns, 0, 0 },
8988   { "xsr.memctl", ICLASS_xt_iclass_xsr_memctl,
8989     0,
8990     Opcode_xsr_memctl_encode_fns, 0, 0 },
8991   { "rsr.litbase", ICLASS_xt_iclass_rsr_litbase,
8992     0,
8993     Opcode_rsr_litbase_encode_fns, 0, 0 },
8994   { "wsr.litbase", ICLASS_xt_iclass_wsr_litbase,
8995     0,
8996     Opcode_wsr_litbase_encode_fns, 0, 0 },
8997   { "xsr.litbase", ICLASS_xt_iclass_xsr_litbase,
8998     0,
8999     Opcode_xsr_litbase_encode_fns, 0, 0 },
9000   { "rsr.configid0", ICLASS_xt_iclass_rsr_configid0,
9001     0,
9002     Opcode_rsr_configid0_encode_fns, 0, 0 },
9003   { "wsr.configid0", ICLASS_xt_iclass_wsr_configid0,
9004     0,
9005     Opcode_wsr_configid0_encode_fns, 0, 0 },
9006   { "rsr.configid1", ICLASS_xt_iclass_rsr_configid1,
9007     0,
9008     Opcode_rsr_configid1_encode_fns, 0, 0 },
9009   { "rsr.ps", ICLASS_xt_iclass_rsr_ps,
9010     0,
9011     Opcode_rsr_ps_encode_fns, 0, 0 },
9012   { "wsr.ps", ICLASS_xt_iclass_wsr_ps,
9013     0,
9014     Opcode_wsr_ps_encode_fns, 0, 0 },
9015   { "xsr.ps", ICLASS_xt_iclass_xsr_ps,
9016     0,
9017     Opcode_xsr_ps_encode_fns, 0, 0 },
9018   { "rsr.epc1", ICLASS_xt_iclass_rsr_epc1,
9019     0,
9020     Opcode_rsr_epc1_encode_fns, 0, 0 },
9021   { "wsr.epc1", ICLASS_xt_iclass_wsr_epc1,
9022     0,
9023     Opcode_wsr_epc1_encode_fns, 0, 0 },
9024   { "xsr.epc1", ICLASS_xt_iclass_xsr_epc1,
9025     0,
9026     Opcode_xsr_epc1_encode_fns, 0, 0 },
9027   { "rsr.excsave1", ICLASS_xt_iclass_rsr_excsave1,
9028     0,
9029     Opcode_rsr_excsave1_encode_fns, 0, 0 },
9030   { "wsr.excsave1", ICLASS_xt_iclass_wsr_excsave1,
9031     0,
9032     Opcode_wsr_excsave1_encode_fns, 0, 0 },
9033   { "xsr.excsave1", ICLASS_xt_iclass_xsr_excsave1,
9034     0,
9035     Opcode_xsr_excsave1_encode_fns, 0, 0 },
9036   { "rsr.epc2", ICLASS_xt_iclass_rsr_epc2,
9037     0,
9038     Opcode_rsr_epc2_encode_fns, 0, 0 },
9039   { "wsr.epc2", ICLASS_xt_iclass_wsr_epc2,
9040     0,
9041     Opcode_wsr_epc2_encode_fns, 0, 0 },
9042   { "xsr.epc2", ICLASS_xt_iclass_xsr_epc2,
9043     0,
9044     Opcode_xsr_epc2_encode_fns, 0, 0 },
9045   { "rsr.excsave2", ICLASS_xt_iclass_rsr_excsave2,
9046     0,
9047     Opcode_rsr_excsave2_encode_fns, 0, 0 },
9048   { "wsr.excsave2", ICLASS_xt_iclass_wsr_excsave2,
9049     0,
9050     Opcode_wsr_excsave2_encode_fns, 0, 0 },
9051   { "xsr.excsave2", ICLASS_xt_iclass_xsr_excsave2,
9052     0,
9053     Opcode_xsr_excsave2_encode_fns, 0, 0 },
9054   { "rsr.epc3", ICLASS_xt_iclass_rsr_epc3,
9055     0,
9056     Opcode_rsr_epc3_encode_fns, 0, 0 },
9057   { "wsr.epc3", ICLASS_xt_iclass_wsr_epc3,
9058     0,
9059     Opcode_wsr_epc3_encode_fns, 0, 0 },
9060   { "xsr.epc3", ICLASS_xt_iclass_xsr_epc3,
9061     0,
9062     Opcode_xsr_epc3_encode_fns, 0, 0 },
9063   { "rsr.excsave3", ICLASS_xt_iclass_rsr_excsave3,
9064     0,
9065     Opcode_rsr_excsave3_encode_fns, 0, 0 },
9066   { "wsr.excsave3", ICLASS_xt_iclass_wsr_excsave3,
9067     0,
9068     Opcode_wsr_excsave3_encode_fns, 0, 0 },
9069   { "xsr.excsave3", ICLASS_xt_iclass_xsr_excsave3,
9070     0,
9071     Opcode_xsr_excsave3_encode_fns, 0, 0 },
9072   { "rsr.epc4", ICLASS_xt_iclass_rsr_epc4,
9073     0,
9074     Opcode_rsr_epc4_encode_fns, 0, 0 },
9075   { "wsr.epc4", ICLASS_xt_iclass_wsr_epc4,
9076     0,
9077     Opcode_wsr_epc4_encode_fns, 0, 0 },
9078   { "xsr.epc4", ICLASS_xt_iclass_xsr_epc4,
9079     0,
9080     Opcode_xsr_epc4_encode_fns, 0, 0 },
9081   { "rsr.excsave4", ICLASS_xt_iclass_rsr_excsave4,
9082     0,
9083     Opcode_rsr_excsave4_encode_fns, 0, 0 },
9084   { "wsr.excsave4", ICLASS_xt_iclass_wsr_excsave4,
9085     0,
9086     Opcode_wsr_excsave4_encode_fns, 0, 0 },
9087   { "xsr.excsave4", ICLASS_xt_iclass_xsr_excsave4,
9088     0,
9089     Opcode_xsr_excsave4_encode_fns, 0, 0 },
9090   { "rsr.epc5", ICLASS_xt_iclass_rsr_epc5,
9091     0,
9092     Opcode_rsr_epc5_encode_fns, 0, 0 },
9093   { "wsr.epc5", ICLASS_xt_iclass_wsr_epc5,
9094     0,
9095     Opcode_wsr_epc5_encode_fns, 0, 0 },
9096   { "xsr.epc5", ICLASS_xt_iclass_xsr_epc5,
9097     0,
9098     Opcode_xsr_epc5_encode_fns, 0, 0 },
9099   { "rsr.excsave5", ICLASS_xt_iclass_rsr_excsave5,
9100     0,
9101     Opcode_rsr_excsave5_encode_fns, 0, 0 },
9102   { "wsr.excsave5", ICLASS_xt_iclass_wsr_excsave5,
9103     0,
9104     Opcode_wsr_excsave5_encode_fns, 0, 0 },
9105   { "xsr.excsave5", ICLASS_xt_iclass_xsr_excsave5,
9106     0,
9107     Opcode_xsr_excsave5_encode_fns, 0, 0 },
9108   { "rsr.epc6", ICLASS_xt_iclass_rsr_epc6,
9109     0,
9110     Opcode_rsr_epc6_encode_fns, 0, 0 },
9111   { "wsr.epc6", ICLASS_xt_iclass_wsr_epc6,
9112     0,
9113     Opcode_wsr_epc6_encode_fns, 0, 0 },
9114   { "xsr.epc6", ICLASS_xt_iclass_xsr_epc6,
9115     0,
9116     Opcode_xsr_epc6_encode_fns, 0, 0 },
9117   { "rsr.excsave6", ICLASS_xt_iclass_rsr_excsave6,
9118     0,
9119     Opcode_rsr_excsave6_encode_fns, 0, 0 },
9120   { "wsr.excsave6", ICLASS_xt_iclass_wsr_excsave6,
9121     0,
9122     Opcode_wsr_excsave6_encode_fns, 0, 0 },
9123   { "xsr.excsave6", ICLASS_xt_iclass_xsr_excsave6,
9124     0,
9125     Opcode_xsr_excsave6_encode_fns, 0, 0 },
9126   { "rsr.epc7", ICLASS_xt_iclass_rsr_epc7,
9127     0,
9128     Opcode_rsr_epc7_encode_fns, 0, 0 },
9129   { "wsr.epc7", ICLASS_xt_iclass_wsr_epc7,
9130     0,
9131     Opcode_wsr_epc7_encode_fns, 0, 0 },
9132   { "xsr.epc7", ICLASS_xt_iclass_xsr_epc7,
9133     0,
9134     Opcode_xsr_epc7_encode_fns, 0, 0 },
9135   { "rsr.excsave7", ICLASS_xt_iclass_rsr_excsave7,
9136     0,
9137     Opcode_rsr_excsave7_encode_fns, 0, 0 },
9138   { "wsr.excsave7", ICLASS_xt_iclass_wsr_excsave7,
9139     0,
9140     Opcode_wsr_excsave7_encode_fns, 0, 0 },
9141   { "xsr.excsave7", ICLASS_xt_iclass_xsr_excsave7,
9142     0,
9143     Opcode_xsr_excsave7_encode_fns, 0, 0 },
9144   { "rsr.eps2", ICLASS_xt_iclass_rsr_eps2,
9145     0,
9146     Opcode_rsr_eps2_encode_fns, 0, 0 },
9147   { "wsr.eps2", ICLASS_xt_iclass_wsr_eps2,
9148     0,
9149     Opcode_wsr_eps2_encode_fns, 0, 0 },
9150   { "xsr.eps2", ICLASS_xt_iclass_xsr_eps2,
9151     0,
9152     Opcode_xsr_eps2_encode_fns, 0, 0 },
9153   { "rsr.eps3", ICLASS_xt_iclass_rsr_eps3,
9154     0,
9155     Opcode_rsr_eps3_encode_fns, 0, 0 },
9156   { "wsr.eps3", ICLASS_xt_iclass_wsr_eps3,
9157     0,
9158     Opcode_wsr_eps3_encode_fns, 0, 0 },
9159   { "xsr.eps3", ICLASS_xt_iclass_xsr_eps3,
9160     0,
9161     Opcode_xsr_eps3_encode_fns, 0, 0 },
9162   { "rsr.eps4", ICLASS_xt_iclass_rsr_eps4,
9163     0,
9164     Opcode_rsr_eps4_encode_fns, 0, 0 },
9165   { "wsr.eps4", ICLASS_xt_iclass_wsr_eps4,
9166     0,
9167     Opcode_wsr_eps4_encode_fns, 0, 0 },
9168   { "xsr.eps4", ICLASS_xt_iclass_xsr_eps4,
9169     0,
9170     Opcode_xsr_eps4_encode_fns, 0, 0 },
9171   { "rsr.eps5", ICLASS_xt_iclass_rsr_eps5,
9172     0,
9173     Opcode_rsr_eps5_encode_fns, 0, 0 },
9174   { "wsr.eps5", ICLASS_xt_iclass_wsr_eps5,
9175     0,
9176     Opcode_wsr_eps5_encode_fns, 0, 0 },
9177   { "xsr.eps5", ICLASS_xt_iclass_xsr_eps5,
9178     0,
9179     Opcode_xsr_eps5_encode_fns, 0, 0 },
9180   { "rsr.eps6", ICLASS_xt_iclass_rsr_eps6,
9181     0,
9182     Opcode_rsr_eps6_encode_fns, 0, 0 },
9183   { "wsr.eps6", ICLASS_xt_iclass_wsr_eps6,
9184     0,
9185     Opcode_wsr_eps6_encode_fns, 0, 0 },
9186   { "xsr.eps6", ICLASS_xt_iclass_xsr_eps6,
9187     0,
9188     Opcode_xsr_eps6_encode_fns, 0, 0 },
9189   { "rsr.eps7", ICLASS_xt_iclass_rsr_eps7,
9190     0,
9191     Opcode_rsr_eps7_encode_fns, 0, 0 },
9192   { "wsr.eps7", ICLASS_xt_iclass_wsr_eps7,
9193     0,
9194     Opcode_wsr_eps7_encode_fns, 0, 0 },
9195   { "xsr.eps7", ICLASS_xt_iclass_xsr_eps7,
9196     0,
9197     Opcode_xsr_eps7_encode_fns, 0, 0 },
9198   { "rsr.excvaddr", ICLASS_xt_iclass_rsr_excvaddr,
9199     0,
9200     Opcode_rsr_excvaddr_encode_fns, 0, 0 },
9201   { "wsr.excvaddr", ICLASS_xt_iclass_wsr_excvaddr,
9202     0,
9203     Opcode_wsr_excvaddr_encode_fns, 0, 0 },
9204   { "xsr.excvaddr", ICLASS_xt_iclass_xsr_excvaddr,
9205     0,
9206     Opcode_xsr_excvaddr_encode_fns, 0, 0 },
9207   { "rsr.depc", ICLASS_xt_iclass_rsr_depc,
9208     0,
9209     Opcode_rsr_depc_encode_fns, 0, 0 },
9210   { "wsr.depc", ICLASS_xt_iclass_wsr_depc,
9211     0,
9212     Opcode_wsr_depc_encode_fns, 0, 0 },
9213   { "xsr.depc", ICLASS_xt_iclass_xsr_depc,
9214     0,
9215     Opcode_xsr_depc_encode_fns, 0, 0 },
9216   { "rsr.exccause", ICLASS_xt_iclass_rsr_exccause,
9217     0,
9218     Opcode_rsr_exccause_encode_fns, 0, 0 },
9219   { "wsr.exccause", ICLASS_xt_iclass_wsr_exccause,
9220     0,
9221     Opcode_wsr_exccause_encode_fns, 0, 0 },
9222   { "xsr.exccause", ICLASS_xt_iclass_xsr_exccause,
9223     0,
9224     Opcode_xsr_exccause_encode_fns, 0, 0 },
9225   { "rsr.misc0", ICLASS_xt_iclass_rsr_misc0,
9226     0,
9227     Opcode_rsr_misc0_encode_fns, 0, 0 },
9228   { "wsr.misc0", ICLASS_xt_iclass_wsr_misc0,
9229     0,
9230     Opcode_wsr_misc0_encode_fns, 0, 0 },
9231   { "xsr.misc0", ICLASS_xt_iclass_xsr_misc0,
9232     0,
9233     Opcode_xsr_misc0_encode_fns, 0, 0 },
9234   { "rsr.misc1", ICLASS_xt_iclass_rsr_misc1,
9235     0,
9236     Opcode_rsr_misc1_encode_fns, 0, 0 },
9237   { "wsr.misc1", ICLASS_xt_iclass_wsr_misc1,
9238     0,
9239     Opcode_wsr_misc1_encode_fns, 0, 0 },
9240   { "xsr.misc1", ICLASS_xt_iclass_xsr_misc1,
9241     0,
9242     Opcode_xsr_misc1_encode_fns, 0, 0 },
9243   { "rsr.prid", ICLASS_xt_iclass_rsr_prid,
9244     0,
9245     Opcode_rsr_prid_encode_fns, 0, 0 },
9246   { "rsr.vecbase", ICLASS_xt_iclass_rsr_vecbase,
9247     0,
9248     Opcode_rsr_vecbase_encode_fns, 0, 0 },
9249   { "wsr.vecbase", ICLASS_xt_iclass_wsr_vecbase,
9250     0,
9251     Opcode_wsr_vecbase_encode_fns, 0, 0 },
9252   { "xsr.vecbase", ICLASS_xt_iclass_xsr_vecbase,
9253     0,
9254     Opcode_xsr_vecbase_encode_fns, 0, 0 },
9255   { "salt", ICLASS_xt_iclass_salt,
9256     0,
9257     Opcode_salt_encode_fns, 0, 0 },
9258   { "saltu", ICLASS_xt_iclass_salt,
9259     0,
9260     Opcode_saltu_encode_fns, 0, 0 },
9261   { "mul16u", ICLASS_xt_mul16,
9262     0,
9263     Opcode_mul16u_encode_fns, 0, 0 },
9264   { "mul16s", ICLASS_xt_mul16,
9265     0,
9266     Opcode_mul16s_encode_fns, 0, 0 },
9267   { "mull", ICLASS_xt_mul32,
9268     0,
9269     Opcode_mull_encode_fns, 0, 0 },
9270   { "rfi", ICLASS_xt_iclass_rfi,
9271     XTENSA_OPCODE_IS_JUMP,
9272     Opcode_rfi_encode_fns, 0, 0 },
9273   { "waiti", ICLASS_xt_iclass_wait,
9274     0,
9275     Opcode_waiti_encode_fns, 0, 0 },
9276   { "rsr.interrupt", ICLASS_xt_iclass_rsr_interrupt,
9277     0,
9278     Opcode_rsr_interrupt_encode_fns, 0, 0 },
9279   { "wsr.intset", ICLASS_xt_iclass_wsr_intset,
9280     0,
9281     Opcode_wsr_intset_encode_fns, 0, 0 },
9282   { "wsr.intclear", ICLASS_xt_iclass_wsr_intclear,
9283     0,
9284     Opcode_wsr_intclear_encode_fns, 0, 0 },
9285   { "rsr.intenable", ICLASS_xt_iclass_rsr_intenable,
9286     0,
9287     Opcode_rsr_intenable_encode_fns, 0, 0 },
9288   { "wsr.intenable", ICLASS_xt_iclass_wsr_intenable,
9289     0,
9290     Opcode_wsr_intenable_encode_fns, 0, 0 },
9291   { "xsr.intenable", ICLASS_xt_iclass_xsr_intenable,
9292     0,
9293     Opcode_xsr_intenable_encode_fns, 0, 0 },
9294   { "break", ICLASS_xt_iclass_break,
9295     0,
9296     Opcode_break_encode_fns, 0, 0 },
9297   { "break.n", ICLASS_xt_iclass_break_n,
9298     0,
9299     Opcode_break_n_encode_fns, 0, 0 },
9300   { "rsr.dbreaka0", ICLASS_xt_iclass_rsr_dbreaka0,
9301     0,
9302     Opcode_rsr_dbreaka0_encode_fns, 0, 0 },
9303   { "wsr.dbreaka0", ICLASS_xt_iclass_wsr_dbreaka0,
9304     0,
9305     Opcode_wsr_dbreaka0_encode_fns, 0, 0 },
9306   { "xsr.dbreaka0", ICLASS_xt_iclass_xsr_dbreaka0,
9307     0,
9308     Opcode_xsr_dbreaka0_encode_fns, 0, 0 },
9309   { "rsr.dbreakc0", ICLASS_xt_iclass_rsr_dbreakc0,
9310     0,
9311     Opcode_rsr_dbreakc0_encode_fns, 0, 0 },
9312   { "wsr.dbreakc0", ICLASS_xt_iclass_wsr_dbreakc0,
9313     0,
9314     Opcode_wsr_dbreakc0_encode_fns, 0, 0 },
9315   { "xsr.dbreakc0", ICLASS_xt_iclass_xsr_dbreakc0,
9316     0,
9317     Opcode_xsr_dbreakc0_encode_fns, 0, 0 },
9318   { "rsr.dbreaka1", ICLASS_xt_iclass_rsr_dbreaka1,
9319     0,
9320     Opcode_rsr_dbreaka1_encode_fns, 0, 0 },
9321   { "wsr.dbreaka1", ICLASS_xt_iclass_wsr_dbreaka1,
9322     0,
9323     Opcode_wsr_dbreaka1_encode_fns, 0, 0 },
9324   { "xsr.dbreaka1", ICLASS_xt_iclass_xsr_dbreaka1,
9325     0,
9326     Opcode_xsr_dbreaka1_encode_fns, 0, 0 },
9327   { "rsr.dbreakc1", ICLASS_xt_iclass_rsr_dbreakc1,
9328     0,
9329     Opcode_rsr_dbreakc1_encode_fns, 0, 0 },
9330   { "wsr.dbreakc1", ICLASS_xt_iclass_wsr_dbreakc1,
9331     0,
9332     Opcode_wsr_dbreakc1_encode_fns, 0, 0 },
9333   { "xsr.dbreakc1", ICLASS_xt_iclass_xsr_dbreakc1,
9334     0,
9335     Opcode_xsr_dbreakc1_encode_fns, 0, 0 },
9336   { "rsr.ibreaka0", ICLASS_xt_iclass_rsr_ibreaka0,
9337     0,
9338     Opcode_rsr_ibreaka0_encode_fns, 0, 0 },
9339   { "wsr.ibreaka0", ICLASS_xt_iclass_wsr_ibreaka0,
9340     0,
9341     Opcode_wsr_ibreaka0_encode_fns, 0, 0 },
9342   { "xsr.ibreaka0", ICLASS_xt_iclass_xsr_ibreaka0,
9343     0,
9344     Opcode_xsr_ibreaka0_encode_fns, 0, 0 },
9345   { "rsr.ibreaka1", ICLASS_xt_iclass_rsr_ibreaka1,
9346     0,
9347     Opcode_rsr_ibreaka1_encode_fns, 0, 0 },
9348   { "wsr.ibreaka1", ICLASS_xt_iclass_wsr_ibreaka1,
9349     0,
9350     Opcode_wsr_ibreaka1_encode_fns, 0, 0 },
9351   { "xsr.ibreaka1", ICLASS_xt_iclass_xsr_ibreaka1,
9352     0,
9353     Opcode_xsr_ibreaka1_encode_fns, 0, 0 },
9354   { "rsr.ibreakenable", ICLASS_xt_iclass_rsr_ibreakenable,
9355     0,
9356     Opcode_rsr_ibreakenable_encode_fns, 0, 0 },
9357   { "wsr.ibreakenable", ICLASS_xt_iclass_wsr_ibreakenable,
9358     0,
9359     Opcode_wsr_ibreakenable_encode_fns, 0, 0 },
9360   { "xsr.ibreakenable", ICLASS_xt_iclass_xsr_ibreakenable,
9361     0,
9362     Opcode_xsr_ibreakenable_encode_fns, 0, 0 },
9363   { "rsr.debugcause", ICLASS_xt_iclass_rsr_debugcause,
9364     0,
9365     Opcode_rsr_debugcause_encode_fns, 0, 0 },
9366   { "wsr.debugcause", ICLASS_xt_iclass_wsr_debugcause,
9367     0,
9368     Opcode_wsr_debugcause_encode_fns, 0, 0 },
9369   { "xsr.debugcause", ICLASS_xt_iclass_xsr_debugcause,
9370     0,
9371     Opcode_xsr_debugcause_encode_fns, 0, 0 },
9372   { "rsr.icount", ICLASS_xt_iclass_rsr_icount,
9373     0,
9374     Opcode_rsr_icount_encode_fns, 0, 0 },
9375   { "wsr.icount", ICLASS_xt_iclass_wsr_icount,
9376     0,
9377     Opcode_wsr_icount_encode_fns, 0, 0 },
9378   { "xsr.icount", ICLASS_xt_iclass_xsr_icount,
9379     0,
9380     Opcode_xsr_icount_encode_fns, 0, 0 },
9381   { "rsr.icountlevel", ICLASS_xt_iclass_rsr_icountlevel,
9382     0,
9383     Opcode_rsr_icountlevel_encode_fns, 0, 0 },
9384   { "wsr.icountlevel", ICLASS_xt_iclass_wsr_icountlevel,
9385     0,
9386     Opcode_wsr_icountlevel_encode_fns, 0, 0 },
9387   { "xsr.icountlevel", ICLASS_xt_iclass_xsr_icountlevel,
9388     0,
9389     Opcode_xsr_icountlevel_encode_fns, 0, 0 },
9390   { "rsr.ddr", ICLASS_xt_iclass_rsr_ddr,
9391     0,
9392     Opcode_rsr_ddr_encode_fns, 0, 0 },
9393   { "wsr.ddr", ICLASS_xt_iclass_wsr_ddr,
9394     0,
9395     Opcode_wsr_ddr_encode_fns, 0, 0 },
9396   { "xsr.ddr", ICLASS_xt_iclass_xsr_ddr,
9397     0,
9398     Opcode_xsr_ddr_encode_fns, 0, 0 },
9399   { "lddr32.p", ICLASS_xt_iclass_lddr32_p,
9400     0,
9401     Opcode_lddr32_p_encode_fns, 0, 0 },
9402   { "sddr32.p", ICLASS_xt_iclass_sddr32_p,
9403     0,
9404     Opcode_sddr32_p_encode_fns, 0, 0 },
9405   { "rfdo", ICLASS_xt_iclass_rfdo,
9406     XTENSA_OPCODE_IS_JUMP,
9407     Opcode_rfdo_encode_fns, 0, 0 },
9408   { "rfdd", ICLASS_xt_iclass_rfdd,
9409     XTENSA_OPCODE_IS_JUMP,
9410     Opcode_rfdd_encode_fns, 0, 0 },
9411   { "wsr.mmid", ICLASS_xt_iclass_wsr_mmid,
9412     0,
9413     Opcode_wsr_mmid_encode_fns, 0, 0 },
9414   { "rsr.ccount", ICLASS_xt_iclass_rsr_ccount,
9415     0,
9416     Opcode_rsr_ccount_encode_fns, 0, 0 },
9417   { "wsr.ccount", ICLASS_xt_iclass_wsr_ccount,
9418     0,
9419     Opcode_wsr_ccount_encode_fns, 0, 0 },
9420   { "xsr.ccount", ICLASS_xt_iclass_xsr_ccount,
9421     0,
9422     Opcode_xsr_ccount_encode_fns, 0, 0 },
9423   { "rsr.ccompare0", ICLASS_xt_iclass_rsr_ccompare0,
9424     0,
9425     Opcode_rsr_ccompare0_encode_fns, 0, 0 },
9426   { "wsr.ccompare0", ICLASS_xt_iclass_wsr_ccompare0,
9427     0,
9428     Opcode_wsr_ccompare0_encode_fns, 0, 0 },
9429   { "xsr.ccompare0", ICLASS_xt_iclass_xsr_ccompare0,
9430     0,
9431     Opcode_xsr_ccompare0_encode_fns, 0, 0 },
9432   { "rsr.ccompare1", ICLASS_xt_iclass_rsr_ccompare1,
9433     0,
9434     Opcode_rsr_ccompare1_encode_fns, 0, 0 },
9435   { "wsr.ccompare1", ICLASS_xt_iclass_wsr_ccompare1,
9436     0,
9437     Opcode_wsr_ccompare1_encode_fns, 0, 0 },
9438   { "xsr.ccompare1", ICLASS_xt_iclass_xsr_ccompare1,
9439     0,
9440     Opcode_xsr_ccompare1_encode_fns, 0, 0 },
9441   { "rsr.ccompare2", ICLASS_xt_iclass_rsr_ccompare2,
9442     0,
9443     Opcode_rsr_ccompare2_encode_fns, 0, 0 },
9444   { "wsr.ccompare2", ICLASS_xt_iclass_wsr_ccompare2,
9445     0,
9446     Opcode_wsr_ccompare2_encode_fns, 0, 0 },
9447   { "xsr.ccompare2", ICLASS_xt_iclass_xsr_ccompare2,
9448     0,
9449     Opcode_xsr_ccompare2_encode_fns, 0, 0 },
9450   { "idtlb", ICLASS_xt_iclass_idtlb,
9451     0,
9452     Opcode_idtlb_encode_fns, 0, 0 },
9453   { "pdtlb", ICLASS_xt_iclass_rdtlb,
9454     0,
9455     Opcode_pdtlb_encode_fns, 0, 0 },
9456   { "rdtlb0", ICLASS_xt_iclass_rdtlb,
9457     0,
9458     Opcode_rdtlb0_encode_fns, 0, 0 },
9459   { "rdtlb1", ICLASS_xt_iclass_rdtlb,
9460     0,
9461     Opcode_rdtlb1_encode_fns, 0, 0 },
9462   { "wdtlb", ICLASS_xt_iclass_wdtlb,
9463     0,
9464     Opcode_wdtlb_encode_fns, 0, 0 },
9465   { "iitlb", ICLASS_xt_iclass_iitlb,
9466     0,
9467     Opcode_iitlb_encode_fns, 0, 0 },
9468   { "pitlb", ICLASS_xt_iclass_ritlb,
9469     0,
9470     Opcode_pitlb_encode_fns, 0, 0 },
9471   { "ritlb0", ICLASS_xt_iclass_ritlb,
9472     0,
9473     Opcode_ritlb0_encode_fns, 0, 0 },
9474   { "ritlb1", ICLASS_xt_iclass_ritlb,
9475     0,
9476     Opcode_ritlb1_encode_fns, 0, 0 },
9477   { "witlb", ICLASS_xt_iclass_witlb,
9478     0,
9479     Opcode_witlb_encode_fns, 0, 0 },
9480   { "min", ICLASS_xt_iclass_minmax,
9481     0,
9482     Opcode_min_encode_fns, 0, 0 },
9483   { "max", ICLASS_xt_iclass_minmax,
9484     0,
9485     Opcode_max_encode_fns, 0, 0 },
9486   { "minu", ICLASS_xt_iclass_minmax,
9487     0,
9488     Opcode_minu_encode_fns, 0, 0 },
9489   { "maxu", ICLASS_xt_iclass_minmax,
9490     0,
9491     Opcode_maxu_encode_fns, 0, 0 },
9492   { "nsa", ICLASS_xt_iclass_nsa,
9493     0,
9494     Opcode_nsa_encode_fns, 0, 0 },
9495   { "nsau", ICLASS_xt_iclass_nsa,
9496     0,
9497     Opcode_nsau_encode_fns, 0, 0 },
9498   { "sext", ICLASS_xt_iclass_sx,
9499     0,
9500     Opcode_sext_encode_fns, 0, 0 },
9501   { "l32ai", ICLASS_xt_iclass_l32ai,
9502     0,
9503     Opcode_l32ai_encode_fns, 0, 0 },
9504   { "s32ri", ICLASS_xt_iclass_s32ri,
9505     0,
9506     Opcode_s32ri_encode_fns, 0, 0 },
9507   { "s32c1i", ICLASS_xt_iclass_s32c1i,
9508     0,
9509     Opcode_s32c1i_encode_fns, 0, 0 },
9510   { "rsr.scompare1", ICLASS_xt_iclass_rsr_scompare1,
9511     0,
9512     Opcode_rsr_scompare1_encode_fns, 0, 0 },
9513   { "wsr.scompare1", ICLASS_xt_iclass_wsr_scompare1,
9514     0,
9515     Opcode_wsr_scompare1_encode_fns, 0, 0 },
9516   { "xsr.scompare1", ICLASS_xt_iclass_xsr_scompare1,
9517     0,
9518     Opcode_xsr_scompare1_encode_fns, 0, 0 },
9519   { "rsr.atomctl", ICLASS_xt_iclass_rsr_atomctl,
9520     0,
9521     Opcode_rsr_atomctl_encode_fns, 0, 0 },
9522   { "wsr.atomctl", ICLASS_xt_iclass_wsr_atomctl,
9523     0,
9524     Opcode_wsr_atomctl_encode_fns, 0, 0 },
9525   { "xsr.atomctl", ICLASS_xt_iclass_xsr_atomctl,
9526     0,
9527     Opcode_xsr_atomctl_encode_fns, 0, 0 },
9528   { "quou", ICLASS_xt_iclass_div,
9529     0,
9530     Opcode_quou_encode_fns, 0, 0 },
9531   { "quos", ICLASS_xt_iclass_div,
9532     0,
9533     Opcode_quos_encode_fns, 0, 0 },
9534   { "remu", ICLASS_xt_iclass_div,
9535     0,
9536     Opcode_remu_encode_fns, 0, 0 },
9537   { "rems", ICLASS_xt_iclass_div,
9538     0,
9539     Opcode_rems_encode_fns, 0, 0 },
9540   { "rsr.eraccess", ICLASS_xt_iclass_rsr_eraccess,
9541     0,
9542     Opcode_rsr_eraccess_encode_fns, 0, 0 },
9543   { "wsr.eraccess", ICLASS_xt_iclass_wsr_eraccess,
9544     0,
9545     Opcode_wsr_eraccess_encode_fns, 0, 0 },
9546   { "xsr.eraccess", ICLASS_xt_iclass_xsr_eraccess,
9547     0,
9548     Opcode_xsr_eraccess_encode_fns, 0, 0 },
9549   { "rer", ICLASS_xt_iclass_rer,
9550     0,
9551     Opcode_rer_encode_fns, 0, 0 },
9552   { "wer", ICLASS_xt_iclass_wer,
9553     0,
9554     Opcode_wer_encode_fns, 0, 0 },
9555   { "rur.expstate", ICLASS_rur_expstate,
9556     0,
9557     Opcode_rur_expstate_encode_fns, 0, 0 },
9558   { "wur.expstate", ICLASS_wur_expstate,
9559     0,
9560     Opcode_wur_expstate_encode_fns, 0, 0 },
9561   { "read_impwire", ICLASS_iclass_READ_IMPWIRE,
9562     0,
9563     Opcode_read_impwire_encode_fns, 0, 0 },
9564   { "setb_expstate", ICLASS_iclass_SETB_EXPSTATE,
9565     0,
9566     Opcode_setb_expstate_encode_fns, 0, 0 },
9567   { "clrb_expstate", ICLASS_iclass_CLRB_EXPSTATE,
9568     0,
9569     Opcode_clrb_expstate_encode_fns, 0, 0 },
9570   { "wrmsk_expstate", ICLASS_iclass_WRMSK_EXPSTATE,
9571     0,
9572     Opcode_wrmsk_expstate_encode_fns, 0, 0 }
9575 enum xtensa_opcode_id {
9576   OPCODE_EXCW,
9577   OPCODE_RFE,
9578   OPCODE_RFDE,
9579   OPCODE_SYSCALL,
9580   OPCODE_CALL12,
9581   OPCODE_CALL8,
9582   OPCODE_CALL4,
9583   OPCODE_CALLX12,
9584   OPCODE_CALLX8,
9585   OPCODE_CALLX4,
9586   OPCODE_ENTRY,
9587   OPCODE_MOVSP,
9588   OPCODE_ROTW,
9589   OPCODE_RETW,
9590   OPCODE_RETW_N,
9591   OPCODE_RFWO,
9592   OPCODE_RFWU,
9593   OPCODE_L32E,
9594   OPCODE_S32E,
9595   OPCODE_RSR_WINDOWBASE,
9596   OPCODE_WSR_WINDOWBASE,
9597   OPCODE_XSR_WINDOWBASE,
9598   OPCODE_RSR_WINDOWSTART,
9599   OPCODE_WSR_WINDOWSTART,
9600   OPCODE_XSR_WINDOWSTART,
9601   OPCODE_ADD_N,
9602   OPCODE_ADDI_N,
9603   OPCODE_BEQZ_N,
9604   OPCODE_BNEZ_N,
9605   OPCODE_ILL_N,
9606   OPCODE_L32I_N,
9607   OPCODE_MOV_N,
9608   OPCODE_MOVI_N,
9609   OPCODE_NOP_N,
9610   OPCODE_RET_N,
9611   OPCODE_S32I_N,
9612   OPCODE_ADDI,
9613   OPCODE_ADDMI,
9614   OPCODE_ADD,
9615   OPCODE_SUB,
9616   OPCODE_ADDX2,
9617   OPCODE_ADDX4,
9618   OPCODE_ADDX8,
9619   OPCODE_SUBX2,
9620   OPCODE_SUBX4,
9621   OPCODE_SUBX8,
9622   OPCODE_AND,
9623   OPCODE_OR,
9624   OPCODE_XOR,
9625   OPCODE_BEQI,
9626   OPCODE_BNEI,
9627   OPCODE_BGEI,
9628   OPCODE_BLTI,
9629   OPCODE_BBCI,
9630   OPCODE_BBSI,
9631   OPCODE_BGEUI,
9632   OPCODE_BLTUI,
9633   OPCODE_BEQ,
9634   OPCODE_BNE,
9635   OPCODE_BGE,
9636   OPCODE_BLT,
9637   OPCODE_BGEU,
9638   OPCODE_BLTU,
9639   OPCODE_BANY,
9640   OPCODE_BNONE,
9641   OPCODE_BALL,
9642   OPCODE_BNALL,
9643   OPCODE_BBC,
9644   OPCODE_BBS,
9645   OPCODE_BEQZ,
9646   OPCODE_BNEZ,
9647   OPCODE_BGEZ,
9648   OPCODE_BLTZ,
9649   OPCODE_CALL0,
9650   OPCODE_CALLX0,
9651   OPCODE_EXTUI,
9652   OPCODE_ILL,
9653   OPCODE_J,
9654   OPCODE_JX,
9655   OPCODE_L16UI,
9656   OPCODE_L16SI,
9657   OPCODE_L32I,
9658   OPCODE_L32R,
9659   OPCODE_L8UI,
9660   OPCODE_MOVI,
9661   OPCODE_MOVEQZ,
9662   OPCODE_MOVNEZ,
9663   OPCODE_MOVLTZ,
9664   OPCODE_MOVGEZ,
9665   OPCODE_NEG,
9666   OPCODE_ABS,
9667   OPCODE_NOP,
9668   OPCODE_RET,
9669   OPCODE_SIMCALL,
9670   OPCODE_S16I,
9671   OPCODE_S32I,
9672   OPCODE_S32NB,
9673   OPCODE_S8I,
9674   OPCODE_SSR,
9675   OPCODE_SSL,
9676   OPCODE_SSA8L,
9677   OPCODE_SSA8B,
9678   OPCODE_SSAI,
9679   OPCODE_SLL,
9680   OPCODE_SRC,
9681   OPCODE_SRL,
9682   OPCODE_SRA,
9683   OPCODE_SLLI,
9684   OPCODE_SRAI,
9685   OPCODE_SRLI,
9686   OPCODE_MEMW,
9687   OPCODE_EXTW,
9688   OPCODE_ISYNC,
9689   OPCODE_RSYNC,
9690   OPCODE_ESYNC,
9691   OPCODE_DSYNC,
9692   OPCODE_RSIL,
9693   OPCODE_RSR_SAR,
9694   OPCODE_WSR_SAR,
9695   OPCODE_XSR_SAR,
9696   OPCODE_RSR_MEMCTL,
9697   OPCODE_WSR_MEMCTL,
9698   OPCODE_XSR_MEMCTL,
9699   OPCODE_RSR_LITBASE,
9700   OPCODE_WSR_LITBASE,
9701   OPCODE_XSR_LITBASE,
9702   OPCODE_RSR_CONFIGID0,
9703   OPCODE_WSR_CONFIGID0,
9704   OPCODE_RSR_CONFIGID1,
9705   OPCODE_RSR_PS,
9706   OPCODE_WSR_PS,
9707   OPCODE_XSR_PS,
9708   OPCODE_RSR_EPC1,
9709   OPCODE_WSR_EPC1,
9710   OPCODE_XSR_EPC1,
9711   OPCODE_RSR_EXCSAVE1,
9712   OPCODE_WSR_EXCSAVE1,
9713   OPCODE_XSR_EXCSAVE1,
9714   OPCODE_RSR_EPC2,
9715   OPCODE_WSR_EPC2,
9716   OPCODE_XSR_EPC2,
9717   OPCODE_RSR_EXCSAVE2,
9718   OPCODE_WSR_EXCSAVE2,
9719   OPCODE_XSR_EXCSAVE2,
9720   OPCODE_RSR_EPC3,
9721   OPCODE_WSR_EPC3,
9722   OPCODE_XSR_EPC3,
9723   OPCODE_RSR_EXCSAVE3,
9724   OPCODE_WSR_EXCSAVE3,
9725   OPCODE_XSR_EXCSAVE3,
9726   OPCODE_RSR_EPC4,
9727   OPCODE_WSR_EPC4,
9728   OPCODE_XSR_EPC4,
9729   OPCODE_RSR_EXCSAVE4,
9730   OPCODE_WSR_EXCSAVE4,
9731   OPCODE_XSR_EXCSAVE4,
9732   OPCODE_RSR_EPC5,
9733   OPCODE_WSR_EPC5,
9734   OPCODE_XSR_EPC5,
9735   OPCODE_RSR_EXCSAVE5,
9736   OPCODE_WSR_EXCSAVE5,
9737   OPCODE_XSR_EXCSAVE5,
9738   OPCODE_RSR_EPC6,
9739   OPCODE_WSR_EPC6,
9740   OPCODE_XSR_EPC6,
9741   OPCODE_RSR_EXCSAVE6,
9742   OPCODE_WSR_EXCSAVE6,
9743   OPCODE_XSR_EXCSAVE6,
9744   OPCODE_RSR_EPC7,
9745   OPCODE_WSR_EPC7,
9746   OPCODE_XSR_EPC7,
9747   OPCODE_RSR_EXCSAVE7,
9748   OPCODE_WSR_EXCSAVE7,
9749   OPCODE_XSR_EXCSAVE7,
9750   OPCODE_RSR_EPS2,
9751   OPCODE_WSR_EPS2,
9752   OPCODE_XSR_EPS2,
9753   OPCODE_RSR_EPS3,
9754   OPCODE_WSR_EPS3,
9755   OPCODE_XSR_EPS3,
9756   OPCODE_RSR_EPS4,
9757   OPCODE_WSR_EPS4,
9758   OPCODE_XSR_EPS4,
9759   OPCODE_RSR_EPS5,
9760   OPCODE_WSR_EPS5,
9761   OPCODE_XSR_EPS5,
9762   OPCODE_RSR_EPS6,
9763   OPCODE_WSR_EPS6,
9764   OPCODE_XSR_EPS6,
9765   OPCODE_RSR_EPS7,
9766   OPCODE_WSR_EPS7,
9767   OPCODE_XSR_EPS7,
9768   OPCODE_RSR_EXCVADDR,
9769   OPCODE_WSR_EXCVADDR,
9770   OPCODE_XSR_EXCVADDR,
9771   OPCODE_RSR_DEPC,
9772   OPCODE_WSR_DEPC,
9773   OPCODE_XSR_DEPC,
9774   OPCODE_RSR_EXCCAUSE,
9775   OPCODE_WSR_EXCCAUSE,
9776   OPCODE_XSR_EXCCAUSE,
9777   OPCODE_RSR_MISC0,
9778   OPCODE_WSR_MISC0,
9779   OPCODE_XSR_MISC0,
9780   OPCODE_RSR_MISC1,
9781   OPCODE_WSR_MISC1,
9782   OPCODE_XSR_MISC1,
9783   OPCODE_RSR_PRID,
9784   OPCODE_RSR_VECBASE,
9785   OPCODE_WSR_VECBASE,
9786   OPCODE_XSR_VECBASE,
9787   OPCODE_SALT,
9788   OPCODE_SALTU,
9789   OPCODE_MUL16U,
9790   OPCODE_MUL16S,
9791   OPCODE_MULL,
9792   OPCODE_RFI,
9793   OPCODE_WAITI,
9794   OPCODE_RSR_INTERRUPT,
9795   OPCODE_WSR_INTSET,
9796   OPCODE_WSR_INTCLEAR,
9797   OPCODE_RSR_INTENABLE,
9798   OPCODE_WSR_INTENABLE,
9799   OPCODE_XSR_INTENABLE,
9800   OPCODE_BREAK,
9801   OPCODE_BREAK_N,
9802   OPCODE_RSR_DBREAKA0,
9803   OPCODE_WSR_DBREAKA0,
9804   OPCODE_XSR_DBREAKA0,
9805   OPCODE_RSR_DBREAKC0,
9806   OPCODE_WSR_DBREAKC0,
9807   OPCODE_XSR_DBREAKC0,
9808   OPCODE_RSR_DBREAKA1,
9809   OPCODE_WSR_DBREAKA1,
9810   OPCODE_XSR_DBREAKA1,
9811   OPCODE_RSR_DBREAKC1,
9812   OPCODE_WSR_DBREAKC1,
9813   OPCODE_XSR_DBREAKC1,
9814   OPCODE_RSR_IBREAKA0,
9815   OPCODE_WSR_IBREAKA0,
9816   OPCODE_XSR_IBREAKA0,
9817   OPCODE_RSR_IBREAKA1,
9818   OPCODE_WSR_IBREAKA1,
9819   OPCODE_XSR_IBREAKA1,
9820   OPCODE_RSR_IBREAKENABLE,
9821   OPCODE_WSR_IBREAKENABLE,
9822   OPCODE_XSR_IBREAKENABLE,
9823   OPCODE_RSR_DEBUGCAUSE,
9824   OPCODE_WSR_DEBUGCAUSE,
9825   OPCODE_XSR_DEBUGCAUSE,
9826   OPCODE_RSR_ICOUNT,
9827   OPCODE_WSR_ICOUNT,
9828   OPCODE_XSR_ICOUNT,
9829   OPCODE_RSR_ICOUNTLEVEL,
9830   OPCODE_WSR_ICOUNTLEVEL,
9831   OPCODE_XSR_ICOUNTLEVEL,
9832   OPCODE_RSR_DDR,
9833   OPCODE_WSR_DDR,
9834   OPCODE_XSR_DDR,
9835   OPCODE_LDDR32_P,
9836   OPCODE_SDDR32_P,
9837   OPCODE_RFDO,
9838   OPCODE_RFDD,
9839   OPCODE_WSR_MMID,
9840   OPCODE_RSR_CCOUNT,
9841   OPCODE_WSR_CCOUNT,
9842   OPCODE_XSR_CCOUNT,
9843   OPCODE_RSR_CCOMPARE0,
9844   OPCODE_WSR_CCOMPARE0,
9845   OPCODE_XSR_CCOMPARE0,
9846   OPCODE_RSR_CCOMPARE1,
9847   OPCODE_WSR_CCOMPARE1,
9848   OPCODE_XSR_CCOMPARE1,
9849   OPCODE_RSR_CCOMPARE2,
9850   OPCODE_WSR_CCOMPARE2,
9851   OPCODE_XSR_CCOMPARE2,
9852   OPCODE_IDTLB,
9853   OPCODE_PDTLB,
9854   OPCODE_RDTLB0,
9855   OPCODE_RDTLB1,
9856   OPCODE_WDTLB,
9857   OPCODE_IITLB,
9858   OPCODE_PITLB,
9859   OPCODE_RITLB0,
9860   OPCODE_RITLB1,
9861   OPCODE_WITLB,
9862   OPCODE_MIN,
9863   OPCODE_MAX,
9864   OPCODE_MINU,
9865   OPCODE_MAXU,
9866   OPCODE_NSA,
9867   OPCODE_NSAU,
9868   OPCODE_SEXT,
9869   OPCODE_L32AI,
9870   OPCODE_S32RI,
9871   OPCODE_S32C1I,
9872   OPCODE_RSR_SCOMPARE1,
9873   OPCODE_WSR_SCOMPARE1,
9874   OPCODE_XSR_SCOMPARE1,
9875   OPCODE_RSR_ATOMCTL,
9876   OPCODE_WSR_ATOMCTL,
9877   OPCODE_XSR_ATOMCTL,
9878   OPCODE_QUOU,
9879   OPCODE_QUOS,
9880   OPCODE_REMU,
9881   OPCODE_REMS,
9882   OPCODE_RSR_ERACCESS,
9883   OPCODE_WSR_ERACCESS,
9884   OPCODE_XSR_ERACCESS,
9885   OPCODE_RER,
9886   OPCODE_WER,
9887   OPCODE_RUR_EXPSTATE,
9888   OPCODE_WUR_EXPSTATE,
9889   OPCODE_READ_IMPWIRE,
9890   OPCODE_SETB_EXPSTATE,
9891   OPCODE_CLRB_EXPSTATE,
9892   OPCODE_WRMSK_EXPSTATE
9896 /* Slot-specific opcode decode functions.  */
9898 static int
9899 Slot_inst_decode (const xtensa_insnbuf insn)
9901   if (Field_op0_Slot_inst_get (insn) == 0)
9902     {
9903       if (Field_op1_Slot_inst_get (insn) == 0)
9904         {
9905           if (Field_op2_Slot_inst_get (insn) == 0)
9906             {
9907               if (Field_r_Slot_inst_get (insn) == 0)
9908                 {
9909                   if (Field_m_Slot_inst_get (insn) == 0 &&
9910                       Field_s_Slot_inst_get (insn) == 0 &&
9911                       Field_n_Slot_inst_get (insn) == 0)
9912                     return OPCODE_ILL;
9913                   if (Field_m_Slot_inst_get (insn) == 2)
9914                     {
9915                       if (Field_n_Slot_inst_get (insn) == 0)
9916                         return OPCODE_RET;
9917                       if (Field_n_Slot_inst_get (insn) == 1)
9918                         return OPCODE_RETW;
9919                       if (Field_n_Slot_inst_get (insn) == 2)
9920                         return OPCODE_JX;
9921                     }
9922                   if (Field_m_Slot_inst_get (insn) == 3)
9923                     {
9924                       if (Field_n_Slot_inst_get (insn) == 0)
9925                         return OPCODE_CALLX0;
9926                       if (Field_n_Slot_inst_get (insn) == 1)
9927                         return OPCODE_CALLX4;
9928                       if (Field_n_Slot_inst_get (insn) == 2)
9929                         return OPCODE_CALLX8;
9930                       if (Field_n_Slot_inst_get (insn) == 3)
9931                         return OPCODE_CALLX12;
9932                     }
9933                 }
9934               if (Field_r_Slot_inst_get (insn) == 1)
9935                 return OPCODE_MOVSP;
9936               if (Field_r_Slot_inst_get (insn) == 2)
9937                 {
9938                   if (Field_s_Slot_inst_get (insn) == 0)
9939                     {
9940                       if (Field_t_Slot_inst_get (insn) == 0)
9941                         return OPCODE_ISYNC;
9942                       if (Field_t_Slot_inst_get (insn) == 1)
9943                         return OPCODE_RSYNC;
9944                       if (Field_t_Slot_inst_get (insn) == 2)
9945                         return OPCODE_ESYNC;
9946                       if (Field_t_Slot_inst_get (insn) == 3)
9947                         return OPCODE_DSYNC;
9948                       if (Field_t_Slot_inst_get (insn) == 8)
9949                         return OPCODE_EXCW;
9950                       if (Field_t_Slot_inst_get (insn) == 12)
9951                         return OPCODE_MEMW;
9952                       if (Field_t_Slot_inst_get (insn) == 13)
9953                         return OPCODE_EXTW;
9954                       if (Field_t_Slot_inst_get (insn) == 15)
9955                         return OPCODE_NOP;
9956                     }
9957                 }
9958               if (Field_r_Slot_inst_get (insn) == 3)
9959                 {
9960                   if (Field_t_Slot_inst_get (insn) == 0)
9961                     {
9962                       if (Field_s_Slot_inst_get (insn) == 0)
9963                         return OPCODE_RFE;
9964                       if (Field_s_Slot_inst_get (insn) == 2)
9965                         return OPCODE_RFDE;
9966                       if (Field_s_Slot_inst_get (insn) == 4)
9967                         return OPCODE_RFWO;
9968                       if (Field_s_Slot_inst_get (insn) == 5)
9969                         return OPCODE_RFWU;
9970                     }
9971                   if (Field_t_Slot_inst_get (insn) == 1)
9972                     return OPCODE_RFI;
9973                 }
9974               if (Field_r_Slot_inst_get (insn) == 4)
9975                 return OPCODE_BREAK;
9976               if (Field_r_Slot_inst_get (insn) == 5)
9977                 {
9978                   if (Field_s_Slot_inst_get (insn) == 0 &&
9979                       Field_t_Slot_inst_get (insn) == 0)
9980                     return OPCODE_SYSCALL;
9981                   if (Field_s_Slot_inst_get (insn) == 1 &&
9982                       Field_t_Slot_inst_get (insn) == 0)
9983                     return OPCODE_SIMCALL;
9984                 }
9985               if (Field_r_Slot_inst_get (insn) == 6)
9986                 return OPCODE_RSIL;
9987               if (Field_r_Slot_inst_get (insn) == 7 &&
9988                   Field_t_Slot_inst_get (insn) == 0)
9989                 return OPCODE_WAITI;
9990               if (Field_r_Slot_inst_get (insn) == 7)
9991                 {
9992                   if (Field_t_Slot_inst_get (insn) == 14)
9993                     return OPCODE_LDDR32_P;
9994                   if (Field_t_Slot_inst_get (insn) == 15)
9995                     return OPCODE_SDDR32_P;
9996                 }
9997             }
9998           if (Field_op2_Slot_inst_get (insn) == 1)
9999             return OPCODE_AND;
10000           if (Field_op2_Slot_inst_get (insn) == 2)
10001             return OPCODE_OR;
10002           if (Field_op2_Slot_inst_get (insn) == 3)
10003             return OPCODE_XOR;
10004           if (Field_op2_Slot_inst_get (insn) == 4)
10005             {
10006               if (Field_r_Slot_inst_get (insn) == 0 &&
10007                   Field_t_Slot_inst_get (insn) == 0)
10008                 return OPCODE_SSR;
10009               if (Field_r_Slot_inst_get (insn) == 1 &&
10010                   Field_t_Slot_inst_get (insn) == 0)
10011                 return OPCODE_SSL;
10012               if (Field_r_Slot_inst_get (insn) == 2 &&
10013                   Field_t_Slot_inst_get (insn) == 0)
10014                 return OPCODE_SSA8L;
10015               if (Field_r_Slot_inst_get (insn) == 3 &&
10016                   Field_t_Slot_inst_get (insn) == 0)
10017                 return OPCODE_SSA8B;
10018               if (Field_r_Slot_inst_get (insn) == 4 &&
10019                   Field_thi3_Slot_inst_get (insn) == 0)
10020                 return OPCODE_SSAI;
10021               if (Field_r_Slot_inst_get (insn) == 6)
10022                 return OPCODE_RER;
10023               if (Field_r_Slot_inst_get (insn) == 7)
10024                 return OPCODE_WER;
10025               if (Field_r_Slot_inst_get (insn) == 8 &&
10026                   Field_s_Slot_inst_get (insn) == 0)
10027                 return OPCODE_ROTW;
10028               if (Field_r_Slot_inst_get (insn) == 14)
10029                 return OPCODE_NSA;
10030               if (Field_r_Slot_inst_get (insn) == 15)
10031                 return OPCODE_NSAU;
10032             }
10033           if (Field_op2_Slot_inst_get (insn) == 5)
10034             {
10035               if (Field_r_Slot_inst_get (insn) == 3)
10036                 return OPCODE_RITLB0;
10037               if (Field_r_Slot_inst_get (insn) == 4 &&
10038                   Field_t_Slot_inst_get (insn) == 0)
10039                 return OPCODE_IITLB;
10040               if (Field_r_Slot_inst_get (insn) == 5)
10041                 return OPCODE_PITLB;
10042               if (Field_r_Slot_inst_get (insn) == 6)
10043                 return OPCODE_WITLB;
10044               if (Field_r_Slot_inst_get (insn) == 7)
10045                 return OPCODE_RITLB1;
10046               if (Field_r_Slot_inst_get (insn) == 11)
10047                 return OPCODE_RDTLB0;
10048               if (Field_r_Slot_inst_get (insn) == 12 &&
10049                   Field_t_Slot_inst_get (insn) == 0)
10050                 return OPCODE_IDTLB;
10051               if (Field_r_Slot_inst_get (insn) == 13)
10052                 return OPCODE_PDTLB;
10053               if (Field_r_Slot_inst_get (insn) == 14)
10054                 return OPCODE_WDTLB;
10055               if (Field_r_Slot_inst_get (insn) == 15)
10056                 return OPCODE_RDTLB1;
10057             }
10058           if (Field_op2_Slot_inst_get (insn) == 6)
10059             {
10060               if (Field_s_Slot_inst_get (insn) == 0)
10061                 return OPCODE_NEG;
10062               if (Field_s_Slot_inst_get (insn) == 1)
10063                 return OPCODE_ABS;
10064             }
10065           if (Field_op2_Slot_inst_get (insn) == 8)
10066             return OPCODE_ADD;
10067           if (Field_op2_Slot_inst_get (insn) == 9)
10068             return OPCODE_ADDX2;
10069           if (Field_op2_Slot_inst_get (insn) == 10)
10070             return OPCODE_ADDX4;
10071           if (Field_op2_Slot_inst_get (insn) == 11)
10072             return OPCODE_ADDX8;
10073           if (Field_op2_Slot_inst_get (insn) == 12)
10074             return OPCODE_SUB;
10075           if (Field_op2_Slot_inst_get (insn) == 13)
10076             return OPCODE_SUBX2;
10077           if (Field_op2_Slot_inst_get (insn) == 14)
10078             return OPCODE_SUBX4;
10079           if (Field_op2_Slot_inst_get (insn) == 15)
10080             return OPCODE_SUBX8;
10081         }
10082       if (Field_op1_Slot_inst_get (insn) == 1)
10083         {
10084           if ((Field_op2_Slot_inst_get (insn) == 0 ||
10085                Field_op2_Slot_inst_get (insn) == 1))
10086             return OPCODE_SLLI;
10087           if ((Field_op2_Slot_inst_get (insn) == 2 ||
10088                Field_op2_Slot_inst_get (insn) == 3))
10089             return OPCODE_SRAI;
10090           if (Field_op2_Slot_inst_get (insn) == 4)
10091             return OPCODE_SRLI;
10092           if (Field_op2_Slot_inst_get (insn) == 6)
10093             {
10094               if (Field_sr_Slot_inst_get (insn) == 3)
10095                 return OPCODE_XSR_SAR;
10096               if (Field_sr_Slot_inst_get (insn) == 5)
10097                 return OPCODE_XSR_LITBASE;
10098               if (Field_sr_Slot_inst_get (insn) == 12)
10099                 return OPCODE_XSR_SCOMPARE1;
10100               if (Field_sr_Slot_inst_get (insn) == 72)
10101                 return OPCODE_XSR_WINDOWBASE;
10102               if (Field_sr_Slot_inst_get (insn) == 73)
10103                 return OPCODE_XSR_WINDOWSTART;
10104               if (Field_sr_Slot_inst_get (insn) == 95)
10105                 return OPCODE_XSR_ERACCESS;
10106               if (Field_sr_Slot_inst_get (insn) == 96)
10107                 return OPCODE_XSR_IBREAKENABLE;
10108               if (Field_sr_Slot_inst_get (insn) == 97)
10109                 return OPCODE_XSR_MEMCTL;
10110               if (Field_sr_Slot_inst_get (insn) == 99)
10111                 return OPCODE_XSR_ATOMCTL;
10112               if (Field_sr_Slot_inst_get (insn) == 104)
10113                 return OPCODE_XSR_DDR;
10114               if (Field_sr_Slot_inst_get (insn) == 128)
10115                 return OPCODE_XSR_IBREAKA0;
10116               if (Field_sr_Slot_inst_get (insn) == 129)
10117                 return OPCODE_XSR_IBREAKA1;
10118               if (Field_sr_Slot_inst_get (insn) == 144)
10119                 return OPCODE_XSR_DBREAKA0;
10120               if (Field_sr_Slot_inst_get (insn) == 145)
10121                 return OPCODE_XSR_DBREAKA1;
10122               if (Field_sr_Slot_inst_get (insn) == 160)
10123                 return OPCODE_XSR_DBREAKC0;
10124               if (Field_sr_Slot_inst_get (insn) == 161)
10125                 return OPCODE_XSR_DBREAKC1;
10126               if (Field_sr_Slot_inst_get (insn) == 177)
10127                 return OPCODE_XSR_EPC1;
10128               if (Field_sr_Slot_inst_get (insn) == 178)
10129                 return OPCODE_XSR_EPC2;
10130               if (Field_sr_Slot_inst_get (insn) == 179)
10131                 return OPCODE_XSR_EPC3;
10132               if (Field_sr_Slot_inst_get (insn) == 180)
10133                 return OPCODE_XSR_EPC4;
10134               if (Field_sr_Slot_inst_get (insn) == 181)
10135                 return OPCODE_XSR_EPC5;
10136               if (Field_sr_Slot_inst_get (insn) == 182)
10137                 return OPCODE_XSR_EPC6;
10138               if (Field_sr_Slot_inst_get (insn) == 183)
10139                 return OPCODE_XSR_EPC7;
10140               if (Field_sr_Slot_inst_get (insn) == 192)
10141                 return OPCODE_XSR_DEPC;
10142               if (Field_sr_Slot_inst_get (insn) == 194)
10143                 return OPCODE_XSR_EPS2;
10144               if (Field_sr_Slot_inst_get (insn) == 195)
10145                 return OPCODE_XSR_EPS3;
10146               if (Field_sr_Slot_inst_get (insn) == 196)
10147                 return OPCODE_XSR_EPS4;
10148               if (Field_sr_Slot_inst_get (insn) == 197)
10149                 return OPCODE_XSR_EPS5;
10150               if (Field_sr_Slot_inst_get (insn) == 198)
10151                 return OPCODE_XSR_EPS6;
10152               if (Field_sr_Slot_inst_get (insn) == 199)
10153                 return OPCODE_XSR_EPS7;
10154               if (Field_sr_Slot_inst_get (insn) == 209)
10155                 return OPCODE_XSR_EXCSAVE1;
10156               if (Field_sr_Slot_inst_get (insn) == 210)
10157                 return OPCODE_XSR_EXCSAVE2;
10158               if (Field_sr_Slot_inst_get (insn) == 211)
10159                 return OPCODE_XSR_EXCSAVE3;
10160               if (Field_sr_Slot_inst_get (insn) == 212)
10161                 return OPCODE_XSR_EXCSAVE4;
10162               if (Field_sr_Slot_inst_get (insn) == 213)
10163                 return OPCODE_XSR_EXCSAVE5;
10164               if (Field_sr_Slot_inst_get (insn) == 214)
10165                 return OPCODE_XSR_EXCSAVE6;
10166               if (Field_sr_Slot_inst_get (insn) == 215)
10167                 return OPCODE_XSR_EXCSAVE7;
10168               if (Field_sr_Slot_inst_get (insn) == 228)
10169                 return OPCODE_XSR_INTENABLE;
10170               if (Field_sr_Slot_inst_get (insn) == 230)
10171                 return OPCODE_XSR_PS;
10172               if (Field_sr_Slot_inst_get (insn) == 231)
10173                 return OPCODE_XSR_VECBASE;
10174               if (Field_sr_Slot_inst_get (insn) == 232)
10175                 return OPCODE_XSR_EXCCAUSE;
10176               if (Field_sr_Slot_inst_get (insn) == 233)
10177                 return OPCODE_XSR_DEBUGCAUSE;
10178               if (Field_sr_Slot_inst_get (insn) == 234)
10179                 return OPCODE_XSR_CCOUNT;
10180               if (Field_sr_Slot_inst_get (insn) == 236)
10181                 return OPCODE_XSR_ICOUNT;
10182               if (Field_sr_Slot_inst_get (insn) == 237)
10183                 return OPCODE_XSR_ICOUNTLEVEL;
10184               if (Field_sr_Slot_inst_get (insn) == 238)
10185                 return OPCODE_XSR_EXCVADDR;
10186               if (Field_sr_Slot_inst_get (insn) == 240)
10187                 return OPCODE_XSR_CCOMPARE0;
10188               if (Field_sr_Slot_inst_get (insn) == 241)
10189                 return OPCODE_XSR_CCOMPARE1;
10190               if (Field_sr_Slot_inst_get (insn) == 242)
10191                 return OPCODE_XSR_CCOMPARE2;
10192               if (Field_sr_Slot_inst_get (insn) == 244)
10193                 return OPCODE_XSR_MISC0;
10194               if (Field_sr_Slot_inst_get (insn) == 245)
10195                 return OPCODE_XSR_MISC1;
10196             }
10197           if (Field_op2_Slot_inst_get (insn) == 8)
10198             return OPCODE_SRC;
10199           if (Field_op2_Slot_inst_get (insn) == 9 &&
10200               Field_s_Slot_inst_get (insn) == 0)
10201             return OPCODE_SRL;
10202           if (Field_op2_Slot_inst_get (insn) == 10 &&
10203               Field_t_Slot_inst_get (insn) == 0)
10204             return OPCODE_SLL;
10205           if (Field_op2_Slot_inst_get (insn) == 11 &&
10206               Field_s_Slot_inst_get (insn) == 0)
10207             return OPCODE_SRA;
10208           if (Field_op2_Slot_inst_get (insn) == 12)
10209             return OPCODE_MUL16U;
10210           if (Field_op2_Slot_inst_get (insn) == 13)
10211             return OPCODE_MUL16S;
10212           if (Field_op2_Slot_inst_get (insn) == 15)
10213             {
10214               if (Field_r_Slot_inst_get (insn) == 14 &&
10215                   Field_t_Slot_inst_get (insn) == 0)
10216                 return OPCODE_RFDO;
10217               if (Field_r_Slot_inst_get (insn) == 14 &&
10218                   Field_t_Slot_inst_get (insn) == 1)
10219                 return OPCODE_RFDD;
10220             }
10221         }
10222       if (Field_op1_Slot_inst_get (insn) == 2)
10223         {
10224           if (Field_op2_Slot_inst_get (insn) == 6)
10225             return OPCODE_SALTU;
10226           if (Field_op2_Slot_inst_get (insn) == 7)
10227             return OPCODE_SALT;
10228           if (Field_op2_Slot_inst_get (insn) == 8)
10229             return OPCODE_MULL;
10230           if (Field_op2_Slot_inst_get (insn) == 12)
10231             return OPCODE_QUOU;
10232           if (Field_op2_Slot_inst_get (insn) == 13)
10233             return OPCODE_QUOS;
10234           if (Field_op2_Slot_inst_get (insn) == 14)
10235             return OPCODE_REMU;
10236           if (Field_op2_Slot_inst_get (insn) == 15)
10237             return OPCODE_REMS;
10238         }
10239       if (Field_op1_Slot_inst_get (insn) == 3)
10240         {
10241           if (Field_op2_Slot_inst_get (insn) == 0)
10242             {
10243               if (Field_sr_Slot_inst_get (insn) == 3)
10244                 return OPCODE_RSR_SAR;
10245               if (Field_sr_Slot_inst_get (insn) == 5)
10246                 return OPCODE_RSR_LITBASE;
10247               if (Field_sr_Slot_inst_get (insn) == 12)
10248                 return OPCODE_RSR_SCOMPARE1;
10249               if (Field_sr_Slot_inst_get (insn) == 72)
10250                 return OPCODE_RSR_WINDOWBASE;
10251               if (Field_sr_Slot_inst_get (insn) == 73)
10252                 return OPCODE_RSR_WINDOWSTART;
10253               if (Field_sr_Slot_inst_get (insn) == 95)
10254                 return OPCODE_RSR_ERACCESS;
10255               if (Field_sr_Slot_inst_get (insn) == 96)
10256                 return OPCODE_RSR_IBREAKENABLE;
10257               if (Field_sr_Slot_inst_get (insn) == 97)
10258                 return OPCODE_RSR_MEMCTL;
10259               if (Field_sr_Slot_inst_get (insn) == 99)
10260                 return OPCODE_RSR_ATOMCTL;
10261               if (Field_sr_Slot_inst_get (insn) == 104)
10262                 return OPCODE_RSR_DDR;
10263               if (Field_sr_Slot_inst_get (insn) == 128)
10264                 return OPCODE_RSR_IBREAKA0;
10265               if (Field_sr_Slot_inst_get (insn) == 129)
10266                 return OPCODE_RSR_IBREAKA1;
10267               if (Field_sr_Slot_inst_get (insn) == 144)
10268                 return OPCODE_RSR_DBREAKA0;
10269               if (Field_sr_Slot_inst_get (insn) == 145)
10270                 return OPCODE_RSR_DBREAKA1;
10271               if (Field_sr_Slot_inst_get (insn) == 160)
10272                 return OPCODE_RSR_DBREAKC0;
10273               if (Field_sr_Slot_inst_get (insn) == 161)
10274                 return OPCODE_RSR_DBREAKC1;
10275               if (Field_sr_Slot_inst_get (insn) == 176)
10276                 return OPCODE_RSR_CONFIGID0;
10277               if (Field_sr_Slot_inst_get (insn) == 177)
10278                 return OPCODE_RSR_EPC1;
10279               if (Field_sr_Slot_inst_get (insn) == 178)
10280                 return OPCODE_RSR_EPC2;
10281               if (Field_sr_Slot_inst_get (insn) == 179)
10282                 return OPCODE_RSR_EPC3;
10283               if (Field_sr_Slot_inst_get (insn) == 180)
10284                 return OPCODE_RSR_EPC4;
10285               if (Field_sr_Slot_inst_get (insn) == 181)
10286                 return OPCODE_RSR_EPC5;
10287               if (Field_sr_Slot_inst_get (insn) == 182)
10288                 return OPCODE_RSR_EPC6;
10289               if (Field_sr_Slot_inst_get (insn) == 183)
10290                 return OPCODE_RSR_EPC7;
10291               if (Field_sr_Slot_inst_get (insn) == 192)
10292                 return OPCODE_RSR_DEPC;
10293               if (Field_sr_Slot_inst_get (insn) == 194)
10294                 return OPCODE_RSR_EPS2;
10295               if (Field_sr_Slot_inst_get (insn) == 195)
10296                 return OPCODE_RSR_EPS3;
10297               if (Field_sr_Slot_inst_get (insn) == 196)
10298                 return OPCODE_RSR_EPS4;
10299               if (Field_sr_Slot_inst_get (insn) == 197)
10300                 return OPCODE_RSR_EPS5;
10301               if (Field_sr_Slot_inst_get (insn) == 198)
10302                 return OPCODE_RSR_EPS6;
10303               if (Field_sr_Slot_inst_get (insn) == 199)
10304                 return OPCODE_RSR_EPS7;
10305               if (Field_sr_Slot_inst_get (insn) == 208)
10306                 return OPCODE_RSR_CONFIGID1;
10307               if (Field_sr_Slot_inst_get (insn) == 209)
10308                 return OPCODE_RSR_EXCSAVE1;
10309               if (Field_sr_Slot_inst_get (insn) == 210)
10310                 return OPCODE_RSR_EXCSAVE2;
10311               if (Field_sr_Slot_inst_get (insn) == 211)
10312                 return OPCODE_RSR_EXCSAVE3;
10313               if (Field_sr_Slot_inst_get (insn) == 212)
10314                 return OPCODE_RSR_EXCSAVE4;
10315               if (Field_sr_Slot_inst_get (insn) == 213)
10316                 return OPCODE_RSR_EXCSAVE5;
10317               if (Field_sr_Slot_inst_get (insn) == 214)
10318                 return OPCODE_RSR_EXCSAVE6;
10319               if (Field_sr_Slot_inst_get (insn) == 215)
10320                 return OPCODE_RSR_EXCSAVE7;
10321               if (Field_sr_Slot_inst_get (insn) == 226)
10322                 return OPCODE_RSR_INTERRUPT;
10323               if (Field_sr_Slot_inst_get (insn) == 228)
10324                 return OPCODE_RSR_INTENABLE;
10325               if (Field_sr_Slot_inst_get (insn) == 230)
10326                 return OPCODE_RSR_PS;
10327               if (Field_sr_Slot_inst_get (insn) == 231)
10328                 return OPCODE_RSR_VECBASE;
10329               if (Field_sr_Slot_inst_get (insn) == 232)
10330                 return OPCODE_RSR_EXCCAUSE;
10331               if (Field_sr_Slot_inst_get (insn) == 233)
10332                 return OPCODE_RSR_DEBUGCAUSE;
10333               if (Field_sr_Slot_inst_get (insn) == 234)
10334                 return OPCODE_RSR_CCOUNT;
10335               if (Field_sr_Slot_inst_get (insn) == 235)
10336                 return OPCODE_RSR_PRID;
10337               if (Field_sr_Slot_inst_get (insn) == 236)
10338                 return OPCODE_RSR_ICOUNT;
10339               if (Field_sr_Slot_inst_get (insn) == 237)
10340                 return OPCODE_RSR_ICOUNTLEVEL;
10341               if (Field_sr_Slot_inst_get (insn) == 238)
10342                 return OPCODE_RSR_EXCVADDR;
10343               if (Field_sr_Slot_inst_get (insn) == 240)
10344                 return OPCODE_RSR_CCOMPARE0;
10345               if (Field_sr_Slot_inst_get (insn) == 241)
10346                 return OPCODE_RSR_CCOMPARE1;
10347               if (Field_sr_Slot_inst_get (insn) == 242)
10348                 return OPCODE_RSR_CCOMPARE2;
10349               if (Field_sr_Slot_inst_get (insn) == 244)
10350                 return OPCODE_RSR_MISC0;
10351               if (Field_sr_Slot_inst_get (insn) == 245)
10352                 return OPCODE_RSR_MISC1;
10353             }
10354           if (Field_op2_Slot_inst_get (insn) == 1)
10355             {
10356               if (Field_sr_Slot_inst_get (insn) == 3)
10357                 return OPCODE_WSR_SAR;
10358               if (Field_sr_Slot_inst_get (insn) == 5)
10359                 return OPCODE_WSR_LITBASE;
10360               if (Field_sr_Slot_inst_get (insn) == 12)
10361                 return OPCODE_WSR_SCOMPARE1;
10362               if (Field_sr_Slot_inst_get (insn) == 72)
10363                 return OPCODE_WSR_WINDOWBASE;
10364               if (Field_sr_Slot_inst_get (insn) == 73)
10365                 return OPCODE_WSR_WINDOWSTART;
10366               if (Field_sr_Slot_inst_get (insn) == 89)
10367                 return OPCODE_WSR_MMID;
10368               if (Field_sr_Slot_inst_get (insn) == 95)
10369                 return OPCODE_WSR_ERACCESS;
10370               if (Field_sr_Slot_inst_get (insn) == 96)
10371                 return OPCODE_WSR_IBREAKENABLE;
10372               if (Field_sr_Slot_inst_get (insn) == 97)
10373                 return OPCODE_WSR_MEMCTL;
10374               if (Field_sr_Slot_inst_get (insn) == 99)
10375                 return OPCODE_WSR_ATOMCTL;
10376               if (Field_sr_Slot_inst_get (insn) == 104)
10377                 return OPCODE_WSR_DDR;
10378               if (Field_sr_Slot_inst_get (insn) == 128)
10379                 return OPCODE_WSR_IBREAKA0;
10380               if (Field_sr_Slot_inst_get (insn) == 129)
10381                 return OPCODE_WSR_IBREAKA1;
10382               if (Field_sr_Slot_inst_get (insn) == 144)
10383                 return OPCODE_WSR_DBREAKA0;
10384               if (Field_sr_Slot_inst_get (insn) == 145)
10385                 return OPCODE_WSR_DBREAKA1;
10386               if (Field_sr_Slot_inst_get (insn) == 160)
10387                 return OPCODE_WSR_DBREAKC0;
10388               if (Field_sr_Slot_inst_get (insn) == 161)
10389                 return OPCODE_WSR_DBREAKC1;
10390               if (Field_sr_Slot_inst_get (insn) == 176)
10391                 return OPCODE_WSR_CONFIGID0;
10392               if (Field_sr_Slot_inst_get (insn) == 177)
10393                 return OPCODE_WSR_EPC1;
10394               if (Field_sr_Slot_inst_get (insn) == 178)
10395                 return OPCODE_WSR_EPC2;
10396               if (Field_sr_Slot_inst_get (insn) == 179)
10397                 return OPCODE_WSR_EPC3;
10398               if (Field_sr_Slot_inst_get (insn) == 180)
10399                 return OPCODE_WSR_EPC4;
10400               if (Field_sr_Slot_inst_get (insn) == 181)
10401                 return OPCODE_WSR_EPC5;
10402               if (Field_sr_Slot_inst_get (insn) == 182)
10403                 return OPCODE_WSR_EPC6;
10404               if (Field_sr_Slot_inst_get (insn) == 183)
10405                 return OPCODE_WSR_EPC7;
10406               if (Field_sr_Slot_inst_get (insn) == 192)
10407                 return OPCODE_WSR_DEPC;
10408               if (Field_sr_Slot_inst_get (insn) == 194)
10409                 return OPCODE_WSR_EPS2;
10410               if (Field_sr_Slot_inst_get (insn) == 195)
10411                 return OPCODE_WSR_EPS3;
10412               if (Field_sr_Slot_inst_get (insn) == 196)
10413                 return OPCODE_WSR_EPS4;
10414               if (Field_sr_Slot_inst_get (insn) == 197)
10415                 return OPCODE_WSR_EPS5;
10416               if (Field_sr_Slot_inst_get (insn) == 198)
10417                 return OPCODE_WSR_EPS6;
10418               if (Field_sr_Slot_inst_get (insn) == 199)
10419                 return OPCODE_WSR_EPS7;
10420               if (Field_sr_Slot_inst_get (insn) == 209)
10421                 return OPCODE_WSR_EXCSAVE1;
10422               if (Field_sr_Slot_inst_get (insn) == 210)
10423                 return OPCODE_WSR_EXCSAVE2;
10424               if (Field_sr_Slot_inst_get (insn) == 211)
10425                 return OPCODE_WSR_EXCSAVE3;
10426               if (Field_sr_Slot_inst_get (insn) == 212)
10427                 return OPCODE_WSR_EXCSAVE4;
10428               if (Field_sr_Slot_inst_get (insn) == 213)
10429                 return OPCODE_WSR_EXCSAVE5;
10430               if (Field_sr_Slot_inst_get (insn) == 214)
10431                 return OPCODE_WSR_EXCSAVE6;
10432               if (Field_sr_Slot_inst_get (insn) == 215)
10433                 return OPCODE_WSR_EXCSAVE7;
10434               if (Field_sr_Slot_inst_get (insn) == 226)
10435                 return OPCODE_WSR_INTSET;
10436               if (Field_sr_Slot_inst_get (insn) == 227)
10437                 return OPCODE_WSR_INTCLEAR;
10438               if (Field_sr_Slot_inst_get (insn) == 228)
10439                 return OPCODE_WSR_INTENABLE;
10440               if (Field_sr_Slot_inst_get (insn) == 230)
10441                 return OPCODE_WSR_PS;
10442               if (Field_sr_Slot_inst_get (insn) == 231)
10443                 return OPCODE_WSR_VECBASE;
10444               if (Field_sr_Slot_inst_get (insn) == 232)
10445                 return OPCODE_WSR_EXCCAUSE;
10446               if (Field_sr_Slot_inst_get (insn) == 233)
10447                 return OPCODE_WSR_DEBUGCAUSE;
10448               if (Field_sr_Slot_inst_get (insn) == 234)
10449                 return OPCODE_WSR_CCOUNT;
10450               if (Field_sr_Slot_inst_get (insn) == 236)
10451                 return OPCODE_WSR_ICOUNT;
10452               if (Field_sr_Slot_inst_get (insn) == 237)
10453                 return OPCODE_WSR_ICOUNTLEVEL;
10454               if (Field_sr_Slot_inst_get (insn) == 238)
10455                 return OPCODE_WSR_EXCVADDR;
10456               if (Field_sr_Slot_inst_get (insn) == 240)
10457                 return OPCODE_WSR_CCOMPARE0;
10458               if (Field_sr_Slot_inst_get (insn) == 241)
10459                 return OPCODE_WSR_CCOMPARE1;
10460               if (Field_sr_Slot_inst_get (insn) == 242)
10461                 return OPCODE_WSR_CCOMPARE2;
10462               if (Field_sr_Slot_inst_get (insn) == 244)
10463                 return OPCODE_WSR_MISC0;
10464               if (Field_sr_Slot_inst_get (insn) == 245)
10465                 return OPCODE_WSR_MISC1;
10466             }
10467           if (Field_op2_Slot_inst_get (insn) == 2)
10468             return OPCODE_SEXT;
10469           if (Field_op2_Slot_inst_get (insn) == 4)
10470             return OPCODE_MIN;
10471           if (Field_op2_Slot_inst_get (insn) == 5)
10472             return OPCODE_MAX;
10473           if (Field_op2_Slot_inst_get (insn) == 6)
10474             return OPCODE_MINU;
10475           if (Field_op2_Slot_inst_get (insn) == 7)
10476             return OPCODE_MAXU;
10477           if (Field_op2_Slot_inst_get (insn) == 8)
10478             return OPCODE_MOVEQZ;
10479           if (Field_op2_Slot_inst_get (insn) == 9)
10480             return OPCODE_MOVNEZ;
10481           if (Field_op2_Slot_inst_get (insn) == 10)
10482             return OPCODE_MOVLTZ;
10483           if (Field_op2_Slot_inst_get (insn) == 11)
10484             return OPCODE_MOVGEZ;
10485           if (Field_op2_Slot_inst_get (insn) == 14)
10486             {
10487               if (Field_st_Slot_inst_get (insn) == 230)
10488                 return OPCODE_RUR_EXPSTATE;
10489             }
10490           if (Field_op2_Slot_inst_get (insn) == 15)
10491             {
10492               if (Field_sr_Slot_inst_get (insn) == 230)
10493                 return OPCODE_WUR_EXPSTATE;
10494             }
10495         }
10496       if ((Field_op1_Slot_inst_get (insn) == 4 ||
10497            Field_op1_Slot_inst_get (insn) == 5))
10498         return OPCODE_EXTUI;
10499       if (Field_op1_Slot_inst_get (insn) == 9)
10500         {
10501           if (Field_op2_Slot_inst_get (insn) == 0)
10502             return OPCODE_L32E;
10503           if (Field_op2_Slot_inst_get (insn) == 4)
10504             return OPCODE_S32E;
10505           if (Field_op2_Slot_inst_get (insn) == 5)
10506             return OPCODE_S32NB;
10507         }
10508       if (Field_r_Slot_inst_get (insn) == 0 &&
10509           Field_s_Slot_inst_get (insn) == 0 &&
10510           Field_op2_Slot_inst_get (insn) == 0 &&
10511           Field_op1_Slot_inst_get (insn) == 14)
10512         return OPCODE_READ_IMPWIRE;
10513       if (Field_r_Slot_inst_get (insn) == 1 &&
10514           Field_s3to1_Slot_inst_get (insn) == 0 &&
10515           Field_op2_Slot_inst_get (insn) == 0 &&
10516           Field_op1_Slot_inst_get (insn) == 14)
10517         return OPCODE_SETB_EXPSTATE;
10518       if (Field_r_Slot_inst_get (insn) == 1 &&
10519           Field_s3to1_Slot_inst_get (insn) == 1 &&
10520           Field_op2_Slot_inst_get (insn) == 0 &&
10521           Field_op1_Slot_inst_get (insn) == 14)
10522         return OPCODE_CLRB_EXPSTATE;
10523       if (Field_r_Slot_inst_get (insn) == 2 &&
10524           Field_op2_Slot_inst_get (insn) == 0 &&
10525           Field_op1_Slot_inst_get (insn) == 14)
10526         return OPCODE_WRMSK_EXPSTATE;
10527     }
10528   if (Field_op0_Slot_inst_get (insn) == 1)
10529     return OPCODE_L32R;
10530   if (Field_op0_Slot_inst_get (insn) == 2)
10531     {
10532       if (Field_r_Slot_inst_get (insn) == 0)
10533         return OPCODE_L8UI;
10534       if (Field_r_Slot_inst_get (insn) == 1)
10535         return OPCODE_L16UI;
10536       if (Field_r_Slot_inst_get (insn) == 2)
10537         return OPCODE_L32I;
10538       if (Field_r_Slot_inst_get (insn) == 4)
10539         return OPCODE_S8I;
10540       if (Field_r_Slot_inst_get (insn) == 5)
10541         return OPCODE_S16I;
10542       if (Field_r_Slot_inst_get (insn) == 6)
10543         return OPCODE_S32I;
10544       if (Field_r_Slot_inst_get (insn) == 9)
10545         return OPCODE_L16SI;
10546       if (Field_r_Slot_inst_get (insn) == 10)
10547         return OPCODE_MOVI;
10548       if (Field_r_Slot_inst_get (insn) == 11)
10549         return OPCODE_L32AI;
10550       if (Field_r_Slot_inst_get (insn) == 12)
10551         return OPCODE_ADDI;
10552       if (Field_r_Slot_inst_get (insn) == 13)
10553         return OPCODE_ADDMI;
10554       if (Field_r_Slot_inst_get (insn) == 14)
10555         return OPCODE_S32C1I;
10556       if (Field_r_Slot_inst_get (insn) == 15)
10557         return OPCODE_S32RI;
10558     }
10559   if (Field_op0_Slot_inst_get (insn) == 5)
10560     {
10561       if (Field_n_Slot_inst_get (insn) == 0)
10562         return OPCODE_CALL0;
10563       if (Field_n_Slot_inst_get (insn) == 1)
10564         return OPCODE_CALL4;
10565       if (Field_n_Slot_inst_get (insn) == 2)
10566         return OPCODE_CALL8;
10567       if (Field_n_Slot_inst_get (insn) == 3)
10568         return OPCODE_CALL12;
10569     }
10570   if (Field_op0_Slot_inst_get (insn) == 6)
10571     {
10572       if (Field_n_Slot_inst_get (insn) == 0)
10573         return OPCODE_J;
10574       if (Field_n_Slot_inst_get (insn) == 1)
10575         {
10576           if (Field_m_Slot_inst_get (insn) == 0)
10577             return OPCODE_BEQZ;
10578           if (Field_m_Slot_inst_get (insn) == 1)
10579             return OPCODE_BNEZ;
10580           if (Field_m_Slot_inst_get (insn) == 2)
10581             return OPCODE_BLTZ;
10582           if (Field_m_Slot_inst_get (insn) == 3)
10583             return OPCODE_BGEZ;
10584         }
10585       if (Field_n_Slot_inst_get (insn) == 2)
10586         {
10587           if (Field_m_Slot_inst_get (insn) == 0)
10588             return OPCODE_BEQI;
10589           if (Field_m_Slot_inst_get (insn) == 1)
10590             return OPCODE_BNEI;
10591           if (Field_m_Slot_inst_get (insn) == 2)
10592             return OPCODE_BLTI;
10593           if (Field_m_Slot_inst_get (insn) == 3)
10594             return OPCODE_BGEI;
10595         }
10596       if (Field_n_Slot_inst_get (insn) == 3)
10597         {
10598           if (Field_m_Slot_inst_get (insn) == 0)
10599             return OPCODE_ENTRY;
10600           if (Field_m_Slot_inst_get (insn) == 2)
10601             return OPCODE_BLTUI;
10602           if (Field_m_Slot_inst_get (insn) == 3)
10603             return OPCODE_BGEUI;
10604         }
10605     }
10606   if (Field_op0_Slot_inst_get (insn) == 7)
10607     {
10608       if (Field_r_Slot_inst_get (insn) == 0)
10609         return OPCODE_BNONE;
10610       if (Field_r_Slot_inst_get (insn) == 1)
10611         return OPCODE_BEQ;
10612       if (Field_r_Slot_inst_get (insn) == 2)
10613         return OPCODE_BLT;
10614       if (Field_r_Slot_inst_get (insn) == 3)
10615         return OPCODE_BLTU;
10616       if (Field_r_Slot_inst_get (insn) == 4)
10617         return OPCODE_BALL;
10618       if (Field_r_Slot_inst_get (insn) == 5)
10619         return OPCODE_BBC;
10620       if ((Field_r_Slot_inst_get (insn) == 6 ||
10621            Field_r_Slot_inst_get (insn) == 7))
10622         return OPCODE_BBCI;
10623       if (Field_r_Slot_inst_get (insn) == 8)
10624         return OPCODE_BANY;
10625       if (Field_r_Slot_inst_get (insn) == 9)
10626         return OPCODE_BNE;
10627       if (Field_r_Slot_inst_get (insn) == 10)
10628         return OPCODE_BGE;
10629       if (Field_r_Slot_inst_get (insn) == 11)
10630         return OPCODE_BGEU;
10631       if (Field_r_Slot_inst_get (insn) == 12)
10632         return OPCODE_BNALL;
10633       if (Field_r_Slot_inst_get (insn) == 13)
10634         return OPCODE_BBS;
10635       if ((Field_r_Slot_inst_get (insn) == 14 ||
10636            Field_r_Slot_inst_get (insn) == 15))
10637         return OPCODE_BBSI;
10638     }
10639   return XTENSA_UNDEFINED;
10642 static int
10643 Slot_inst16b_decode (const xtensa_insnbuf insn)
10645   if (Field_op0_Slot_inst16b_get (insn) == 12)
10646     {
10647       if (Field_i_Slot_inst16b_get (insn) == 0)
10648         return OPCODE_MOVI_N;
10649       if (Field_i_Slot_inst16b_get (insn) == 1)
10650         {
10651           if (Field_z_Slot_inst16b_get (insn) == 0)
10652             return OPCODE_BEQZ_N;
10653           if (Field_z_Slot_inst16b_get (insn) == 1)
10654             return OPCODE_BNEZ_N;
10655         }
10656     }
10657   if (Field_op0_Slot_inst16b_get (insn) == 13)
10658     {
10659       if (Field_r_Slot_inst16b_get (insn) == 0)
10660         return OPCODE_MOV_N;
10661       if (Field_r_Slot_inst16b_get (insn) == 15)
10662         {
10663           if (Field_t_Slot_inst16b_get (insn) == 0)
10664             return OPCODE_RET_N;
10665           if (Field_t_Slot_inst16b_get (insn) == 1)
10666             return OPCODE_RETW_N;
10667           if (Field_t_Slot_inst16b_get (insn) == 2)
10668             return OPCODE_BREAK_N;
10669           if (Field_t_Slot_inst16b_get (insn) == 3 &&
10670               Field_s_Slot_inst16b_get (insn) == 0)
10671             return OPCODE_NOP_N;
10672           if (Field_t_Slot_inst16b_get (insn) == 6 &&
10673               Field_s_Slot_inst16b_get (insn) == 0)
10674             return OPCODE_ILL_N;
10675         }
10676     }
10677   return XTENSA_UNDEFINED;
10680 static int
10681 Slot_inst16a_decode (const xtensa_insnbuf insn)
10683   if (Field_op0_Slot_inst16a_get (insn) == 8)
10684     return OPCODE_L32I_N;
10685   if (Field_op0_Slot_inst16a_get (insn) == 9)
10686     return OPCODE_S32I_N;
10687   if (Field_op0_Slot_inst16a_get (insn) == 10)
10688     return OPCODE_ADD_N;
10689   if (Field_op0_Slot_inst16a_get (insn) == 11)
10690     return OPCODE_ADDI_N;
10691   return XTENSA_UNDEFINED;
10695 /* Instruction slots.  */
10697 static void
10698 Slot_x24_Format_inst_0_get (const xtensa_insnbuf insn,
10699                             xtensa_insnbuf slotbuf)
10701   slotbuf[0] = (insn[0] & 0xffffff);
10704 static void
10705 Slot_x24_Format_inst_0_set (xtensa_insnbuf insn,
10706                             const xtensa_insnbuf slotbuf)
10708   insn[0] = (insn[0] & ~0xffffff) | (slotbuf[0] & 0xffffff);
10711 static void
10712 Slot_x16a_Format_inst16a_0_get (const xtensa_insnbuf insn,
10713                                 xtensa_insnbuf slotbuf)
10715   slotbuf[0] = (insn[0] & 0xffff);
10718 static void
10719 Slot_x16a_Format_inst16a_0_set (xtensa_insnbuf insn,
10720                                 const xtensa_insnbuf slotbuf)
10722   insn[0] = (insn[0] & ~0xffff) | (slotbuf[0] & 0xffff);
10725 static void
10726 Slot_x16b_Format_inst16b_0_get (const xtensa_insnbuf insn,
10727                                 xtensa_insnbuf slotbuf)
10729   slotbuf[0] = (insn[0] & 0xffff);
10732 static void
10733 Slot_x16b_Format_inst16b_0_set (xtensa_insnbuf insn,
10734                                 const xtensa_insnbuf slotbuf)
10736   insn[0] = (insn[0] & ~0xffff) | (slotbuf[0] & 0xffff);
10739 static xtensa_get_field_fn
10740 Slot_inst_get_field_fns[] = {
10741   Field_t_Slot_inst_get,
10742   Field_bbi4_Slot_inst_get,
10743   Field_bbi_Slot_inst_get,
10744   Field_imm12_Slot_inst_get,
10745   Field_imm8_Slot_inst_get,
10746   Field_s_Slot_inst_get,
10747   Field_imm12b_Slot_inst_get,
10748   Field_imm16_Slot_inst_get,
10749   Field_m_Slot_inst_get,
10750   Field_n_Slot_inst_get,
10751   Field_offset_Slot_inst_get,
10752   Field_op0_Slot_inst_get,
10753   Field_op1_Slot_inst_get,
10754   Field_op2_Slot_inst_get,
10755   Field_r_Slot_inst_get,
10756   Field_sa4_Slot_inst_get,
10757   Field_sae4_Slot_inst_get,
10758   Field_sae_Slot_inst_get,
10759   Field_sal_Slot_inst_get,
10760   Field_sargt_Slot_inst_get,
10761   Field_sas4_Slot_inst_get,
10762   Field_sas_Slot_inst_get,
10763   Field_sr_Slot_inst_get,
10764   Field_st_Slot_inst_get,
10765   Field_thi3_Slot_inst_get,
10766   Field_imm4_Slot_inst_get,
10767   Field_mn_Slot_inst_get,
10768   0,
10769   0,
10770   0,
10771   0,
10772   0,
10773   0,
10774   0,
10775   0,
10776   Field_xt_wbr15_imm_Slot_inst_get,
10777   Field_xt_wbr18_imm_Slot_inst_get,
10778   Field_bitindex_Slot_inst_get,
10779   Field_s3to1_Slot_inst_get,
10780   Implicit_Field_ar0_get,
10781   Implicit_Field_ar4_get,
10782   Implicit_Field_ar8_get,
10783   Implicit_Field_ar12_get
10786 static xtensa_set_field_fn
10787 Slot_inst_set_field_fns[] = {
10788   Field_t_Slot_inst_set,
10789   Field_bbi4_Slot_inst_set,
10790   Field_bbi_Slot_inst_set,
10791   Field_imm12_Slot_inst_set,
10792   Field_imm8_Slot_inst_set,
10793   Field_s_Slot_inst_set,
10794   Field_imm12b_Slot_inst_set,
10795   Field_imm16_Slot_inst_set,
10796   Field_m_Slot_inst_set,
10797   Field_n_Slot_inst_set,
10798   Field_offset_Slot_inst_set,
10799   Field_op0_Slot_inst_set,
10800   Field_op1_Slot_inst_set,
10801   Field_op2_Slot_inst_set,
10802   Field_r_Slot_inst_set,
10803   Field_sa4_Slot_inst_set,
10804   Field_sae4_Slot_inst_set,
10805   Field_sae_Slot_inst_set,
10806   Field_sal_Slot_inst_set,
10807   Field_sargt_Slot_inst_set,
10808   Field_sas4_Slot_inst_set,
10809   Field_sas_Slot_inst_set,
10810   Field_sr_Slot_inst_set,
10811   Field_st_Slot_inst_set,
10812   Field_thi3_Slot_inst_set,
10813   Field_imm4_Slot_inst_set,
10814   Field_mn_Slot_inst_set,
10815   0,
10816   0,
10817   0,
10818   0,
10819   0,
10820   0,
10821   0,
10822   0,
10823   Field_xt_wbr15_imm_Slot_inst_set,
10824   Field_xt_wbr18_imm_Slot_inst_set,
10825   Field_bitindex_Slot_inst_set,
10826   Field_s3to1_Slot_inst_set,
10827   Implicit_Field_set,
10828   Implicit_Field_set,
10829   Implicit_Field_set,
10830   Implicit_Field_set
10833 static xtensa_get_field_fn
10834 Slot_inst16a_get_field_fns[] = {
10835   Field_t_Slot_inst16a_get,
10836   0,
10837   0,
10838   0,
10839   0,
10840   Field_s_Slot_inst16a_get,
10841   0,
10842   0,
10843   0,
10844   0,
10845   0,
10846   Field_op0_Slot_inst16a_get,
10847   0,
10848   0,
10849   Field_r_Slot_inst16a_get,
10850   0,
10851   0,
10852   0,
10853   0,
10854   0,
10855   0,
10856   0,
10857   Field_sr_Slot_inst16a_get,
10858   Field_st_Slot_inst16a_get,
10859   0,
10860   Field_imm4_Slot_inst16a_get,
10861   0,
10862   Field_i_Slot_inst16a_get,
10863   Field_imm6lo_Slot_inst16a_get,
10864   Field_imm6hi_Slot_inst16a_get,
10865   Field_imm7lo_Slot_inst16a_get,
10866   Field_imm7hi_Slot_inst16a_get,
10867   Field_z_Slot_inst16a_get,
10868   Field_imm6_Slot_inst16a_get,
10869   Field_imm7_Slot_inst16a_get,
10870   0,
10871   0,
10872   Field_bitindex_Slot_inst16a_get,
10873   Field_s3to1_Slot_inst16a_get,
10874   Implicit_Field_ar0_get,
10875   Implicit_Field_ar4_get,
10876   Implicit_Field_ar8_get,
10877   Implicit_Field_ar12_get
10880 static xtensa_set_field_fn
10881 Slot_inst16a_set_field_fns[] = {
10882   Field_t_Slot_inst16a_set,
10883   0,
10884   0,
10885   0,
10886   0,
10887   Field_s_Slot_inst16a_set,
10888   0,
10889   0,
10890   0,
10891   0,
10892   0,
10893   Field_op0_Slot_inst16a_set,
10894   0,
10895   0,
10896   Field_r_Slot_inst16a_set,
10897   0,
10898   0,
10899   0,
10900   0,
10901   0,
10902   0,
10903   0,
10904   Field_sr_Slot_inst16a_set,
10905   Field_st_Slot_inst16a_set,
10906   0,
10907   Field_imm4_Slot_inst16a_set,
10908   0,
10909   Field_i_Slot_inst16a_set,
10910   Field_imm6lo_Slot_inst16a_set,
10911   Field_imm6hi_Slot_inst16a_set,
10912   Field_imm7lo_Slot_inst16a_set,
10913   Field_imm7hi_Slot_inst16a_set,
10914   Field_z_Slot_inst16a_set,
10915   Field_imm6_Slot_inst16a_set,
10916   Field_imm7_Slot_inst16a_set,
10917   0,
10918   0,
10919   Field_bitindex_Slot_inst16a_set,
10920   Field_s3to1_Slot_inst16a_set,
10921   Implicit_Field_set,
10922   Implicit_Field_set,
10923   Implicit_Field_set,
10924   Implicit_Field_set
10927 static xtensa_get_field_fn
10928 Slot_inst16b_get_field_fns[] = {
10929   Field_t_Slot_inst16b_get,
10930   0,
10931   0,
10932   0,
10933   0,
10934   Field_s_Slot_inst16b_get,
10935   0,
10936   0,
10937   0,
10938   0,
10939   0,
10940   Field_op0_Slot_inst16b_get,
10941   0,
10942   0,
10943   Field_r_Slot_inst16b_get,
10944   0,
10945   0,
10946   0,
10947   0,
10948   0,
10949   0,
10950   0,
10951   Field_sr_Slot_inst16b_get,
10952   Field_st_Slot_inst16b_get,
10953   0,
10954   Field_imm4_Slot_inst16b_get,
10955   0,
10956   Field_i_Slot_inst16b_get,
10957   Field_imm6lo_Slot_inst16b_get,
10958   Field_imm6hi_Slot_inst16b_get,
10959   Field_imm7lo_Slot_inst16b_get,
10960   Field_imm7hi_Slot_inst16b_get,
10961   Field_z_Slot_inst16b_get,
10962   Field_imm6_Slot_inst16b_get,
10963   Field_imm7_Slot_inst16b_get,
10964   0,
10965   0,
10966   Field_bitindex_Slot_inst16b_get,
10967   Field_s3to1_Slot_inst16b_get,
10968   Implicit_Field_ar0_get,
10969   Implicit_Field_ar4_get,
10970   Implicit_Field_ar8_get,
10971   Implicit_Field_ar12_get
10974 static xtensa_set_field_fn
10975 Slot_inst16b_set_field_fns[] = {
10976   Field_t_Slot_inst16b_set,
10977   0,
10978   0,
10979   0,
10980   0,
10981   Field_s_Slot_inst16b_set,
10982   0,
10983   0,
10984   0,
10985   0,
10986   0,
10987   Field_op0_Slot_inst16b_set,
10988   0,
10989   0,
10990   Field_r_Slot_inst16b_set,
10991   0,
10992   0,
10993   0,
10994   0,
10995   0,
10996   0,
10997   0,
10998   Field_sr_Slot_inst16b_set,
10999   Field_st_Slot_inst16b_set,
11000   0,
11001   Field_imm4_Slot_inst16b_set,
11002   0,
11003   Field_i_Slot_inst16b_set,
11004   Field_imm6lo_Slot_inst16b_set,
11005   Field_imm6hi_Slot_inst16b_set,
11006   Field_imm7lo_Slot_inst16b_set,
11007   Field_imm7hi_Slot_inst16b_set,
11008   Field_z_Slot_inst16b_set,
11009   Field_imm6_Slot_inst16b_set,
11010   Field_imm7_Slot_inst16b_set,
11011   0,
11012   0,
11013   Field_bitindex_Slot_inst16b_set,
11014   Field_s3to1_Slot_inst16b_set,
11015   Implicit_Field_set,
11016   Implicit_Field_set,
11017   Implicit_Field_set,
11018   Implicit_Field_set
11021 static xtensa_slot_internal slots[] = {
11022   { "Inst", "x24", 0,
11023     Slot_x24_Format_inst_0_get, Slot_x24_Format_inst_0_set,
11024     Slot_inst_get_field_fns, Slot_inst_set_field_fns,
11025     Slot_inst_decode, "nop" },
11026   { "Inst16a", "x16a", 0,
11027     Slot_x16a_Format_inst16a_0_get, Slot_x16a_Format_inst16a_0_set,
11028     Slot_inst16a_get_field_fns, Slot_inst16a_set_field_fns,
11029     Slot_inst16a_decode, "" },
11030   { "Inst16b", "x16b", 0,
11031     Slot_x16b_Format_inst16b_0_get, Slot_x16b_Format_inst16b_0_set,
11032     Slot_inst16b_get_field_fns, Slot_inst16b_set_field_fns,
11033     Slot_inst16b_decode, "nop.n" }
11037 /* Instruction formats.  */
11039 static void
11040 Format_x24_encode (xtensa_insnbuf insn)
11042   insn[0] = 0;
11045 static void
11046 Format_x16a_encode (xtensa_insnbuf insn)
11048   insn[0] = 0x8;
11051 static void
11052 Format_x16b_encode (xtensa_insnbuf insn)
11054   insn[0] = 0xc;
11057 static int Format_x24_slots[] = { 0 };
11059 static int Format_x16a_slots[] = { 1 };
11061 static int Format_x16b_slots[] = { 2 };
11063 static xtensa_format_internal formats[] = {
11064   { "x24", 3, Format_x24_encode, 1, Format_x24_slots },
11065   { "x16a", 2, Format_x16a_encode, 1, Format_x16a_slots },
11066   { "x16b", 2, Format_x16b_encode, 1, Format_x16b_slots }
11070 static int
11071 format_decoder (const xtensa_insnbuf insn)
11073   if ((insn[0] & 0x8) == 0)
11074     return 0; /* x24 */
11075   if ((insn[0] & 0xc) == 0x8)
11076     return 1; /* x16a */
11077   if ((insn[0] & 0xe) == 0xc)
11078     return 2; /* x16b */
11079   return -1;
11082 static int length_table[256] = {
11083   3,
11084   3,
11085   3,
11086   3,
11087   3,
11088   3,
11089   3,
11090   3,
11091   2,
11092   2,
11093   2,
11094   2,
11095   2,
11096   2,
11097   -1,
11098   -1,
11099   3,
11100   3,
11101   3,
11102   3,
11103   3,
11104   3,
11105   3,
11106   3,
11107   2,
11108   2,
11109   2,
11110   2,
11111   2,
11112   2,
11113   -1,
11114   -1,
11115   3,
11116   3,
11117   3,
11118   3,
11119   3,
11120   3,
11121   3,
11122   3,
11123   2,
11124   2,
11125   2,
11126   2,
11127   2,
11128   2,
11129   -1,
11130   -1,
11131   3,
11132   3,
11133   3,
11134   3,
11135   3,
11136   3,
11137   3,
11138   3,
11139   2,
11140   2,
11141   2,
11142   2,
11143   2,
11144   2,
11145   -1,
11146   -1,
11147   3,
11148   3,
11149   3,
11150   3,
11151   3,
11152   3,
11153   3,
11154   3,
11155   2,
11156   2,
11157   2,
11158   2,
11159   2,
11160   2,
11161   -1,
11162   -1,
11163   3,
11164   3,
11165   3,
11166   3,
11167   3,
11168   3,
11169   3,
11170   3,
11171   2,
11172   2,
11173   2,
11174   2,
11175   2,
11176   2,
11177   -1,
11178   -1,
11179   3,
11180   3,
11181   3,
11182   3,
11183   3,
11184   3,
11185   3,
11186   3,
11187   2,
11188   2,
11189   2,
11190   2,
11191   2,
11192   2,
11193   -1,
11194   -1,
11195   3,
11196   3,
11197   3,
11198   3,
11199   3,
11200   3,
11201   3,
11202   3,
11203   2,
11204   2,
11205   2,
11206   2,
11207   2,
11208   2,
11209   -1,
11210   -1,
11211   3,
11212   3,
11213   3,
11214   3,
11215   3,
11216   3,
11217   3,
11218   3,
11219   2,
11220   2,
11221   2,
11222   2,
11223   2,
11224   2,
11225   -1,
11226   -1,
11227   3,
11228   3,
11229   3,
11230   3,
11231   3,
11232   3,
11233   3,
11234   3,
11235   2,
11236   2,
11237   2,
11238   2,
11239   2,
11240   2,
11241   -1,
11242   -1,
11243   3,
11244   3,
11245   3,
11246   3,
11247   3,
11248   3,
11249   3,
11250   3,
11251   2,
11252   2,
11253   2,
11254   2,
11255   2,
11256   2,
11257   -1,
11258   -1,
11259   3,
11260   3,
11261   3,
11262   3,
11263   3,
11264   3,
11265   3,
11266   3,
11267   2,
11268   2,
11269   2,
11270   2,
11271   2,
11272   2,
11273   -1,
11274   -1,
11275   3,
11276   3,
11277   3,
11278   3,
11279   3,
11280   3,
11281   3,
11282   3,
11283   2,
11284   2,
11285   2,
11286   2,
11287   2,
11288   2,
11289   -1,
11290   -1,
11291   3,
11292   3,
11293   3,
11294   3,
11295   3,
11296   3,
11297   3,
11298   3,
11299   2,
11300   2,
11301   2,
11302   2,
11303   2,
11304   2,
11305   -1,
11306   -1,
11307   3,
11308   3,
11309   3,
11310   3,
11311   3,
11312   3,
11313   3,
11314   3,
11315   2,
11316   2,
11317   2,
11318   2,
11319   2,
11320   2,
11321   -1,
11322   -1,
11323   3,
11324   3,
11325   3,
11326   3,
11327   3,
11328   3,
11329   3,
11330   3,
11331   2,
11332   2,
11333   2,
11334   2,
11335   2,
11336   2,
11337   -1,
11338   -1
11341 static int
11342 length_decoder (const unsigned char *insn)
11344   int l = insn[0];
11345   return length_table[l];
11349 /* Top-level ISA structure.  */
11351 xtensa_isa_internal xtensa_modules = {
11352   0 /* little-endian */,
11353   3 /* insn_size */, 0,
11354   3, formats, format_decoder, length_decoder,
11355   3, slots,
11356   43 /* num_fields */,
11357   77, operands,
11358   263, iclasses,
11359   317, opcodes, 0,
11360   1, regfiles,
11361   NUM_STATES, states, 0,
11362   NUM_SYSREGS, sysregs, 0,
11363   { MAX_SPECIAL_REG, MAX_USER_REG }, { 0, 0 },
11364   1, interfaces, 0,
11365   0, funcUnits, 0