1 /* Xtensa configuration-specific ISA information.
2 Copyright 2003, 2004, 2005 Free Software Foundation, Inc.
4 This file is part of BFD, the Binary File Descriptor library.
6 This program is free software; you can redistribute it and/or
7 modify it under the terms of the GNU General Public License as
8 published by the Free Software Foundation; either version 2 of the
9 License, or (at your option) any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
22 #include <xtensa-isa.h>
23 #include "xtensa-isa-internal.h"
28 static xtensa_sysreg_internal sysregs
[] = {
35 { "INTERRUPT", 226, 0 },
36 { "INTCLEAR", 227, 0 },
40 { "CCOMPARE0", 240, 0 },
41 { "CCOMPARE1", 241, 0 },
42 { "CCOMPARE2", 242, 0 },
47 { "EXCSAVE1", 209, 0 },
48 { "EXCSAVE2", 210, 0 },
49 { "EXCSAVE3", 211, 0 },
50 { "EXCSAVE4", 212, 0 },
54 { "EXCCAUSE", 232, 0 },
56 { "EXCVADDR", 238, 0 },
57 { "WINDOWBASE", 72, 0 },
58 { "WINDOWSTART", 73, 0 },
64 { "INTENABLE", 228, 0 },
65 { "DBREAKA0", 144, 0 },
66 { "DBREAKC0", 160, 0 },
67 { "DBREAKA1", 145, 0 },
68 { "DBREAKC1", 161, 0 },
69 { "IBREAKA0", 128, 0 },
70 { "IBREAKA1", 129, 0 },
71 { "IBREAKENABLE", 96, 0 },
72 { "ICOUNTLEVEL", 237, 0 },
73 { "DEBUGCAUSE", 233, 0 }
76 #define NUM_SYSREGS 45
77 #define MAX_SPECIAL_REG 245
78 #define MAX_USER_REG 0
81 /* Processor states. */
83 static xtensa_state_internal states
[] = {
88 { "INTERRUPT", 17, 0 },
95 { "EXCSAVE1", 32, 0 },
96 { "EXCSAVE2", 32, 0 },
97 { "EXCSAVE3", 32, 0 },
98 { "EXCSAVE4", 32, 0 },
102 { "EXCCAUSE", 6, 0 },
103 { "PSINTLEVEL", 4, 0 },
108 { "EXCVADDR", 32, 0 },
109 { "WindowBase", 4, 0 },
110 { "WindowStart", 16, 0 },
111 { "PSCALLINC", 2, 0 },
116 { "LITBADDR", 20, 0 },
120 { "InOCDMode", 1, 0 },
121 { "INTENABLE", 17, 0 },
122 { "DBREAKA0", 32, 0 },
123 { "DBREAKC0", 8, 0 },
124 { "DBREAKA1", 32, 0 },
125 { "DBREAKC1", 8, 0 },
126 { "IBREAKA0", 32, 0 },
127 { "IBREAKA1", 32, 0 },
128 { "IBREAKENABLE", 2, 0 },
129 { "ICOUNTLEVEL", 4, 0 },
130 { "DEBUGCAUSE", 6, 0 },
132 { "CCOMPARE0", 32, 0 },
133 { "CCOMPARE1", 32, 0 },
134 { "CCOMPARE2", 32, 0 }
137 #define NUM_STATES 51
139 /* Macros for xtensa_state numbers (for use in iclasses because the
140 state numbers are not available when the iclass table is generated). */
142 #define STATE_LCOUNT 0
144 #define STATE_ICOUNT 2
146 #define STATE_INTERRUPT 4
147 #define STATE_CCOUNT 5
148 #define STATE_XTSYNC 6
152 #define STATE_EPC4 10
153 #define STATE_EXCSAVE1 11
154 #define STATE_EXCSAVE2 12
155 #define STATE_EXCSAVE3 13
156 #define STATE_EXCSAVE4 14
157 #define STATE_EPS2 15
158 #define STATE_EPS3 16
159 #define STATE_EPS4 17
160 #define STATE_EXCCAUSE 18
161 #define STATE_PSINTLEVEL 19
162 #define STATE_PSUM 20
163 #define STATE_PSWOE 21
164 #define STATE_PSEXCM 22
165 #define STATE_DEPC 23
166 #define STATE_EXCVADDR 24
167 #define STATE_WindowBase 25
168 #define STATE_WindowStart 26
169 #define STATE_PSCALLINC 27
170 #define STATE_PSOWB 28
171 #define STATE_LBEG 29
172 #define STATE_LEND 30
174 #define STATE_LITBADDR 32
175 #define STATE_LITBEN 33
176 #define STATE_MISC0 34
177 #define STATE_MISC1 35
178 #define STATE_InOCDMode 36
179 #define STATE_INTENABLE 37
180 #define STATE_DBREAKA0 38
181 #define STATE_DBREAKC0 39
182 #define STATE_DBREAKA1 40
183 #define STATE_DBREAKC1 41
184 #define STATE_IBREAKA0 42
185 #define STATE_IBREAKA1 43
186 #define STATE_IBREAKENABLE 44
187 #define STATE_ICOUNTLEVEL 45
188 #define STATE_DEBUGCAUSE 46
189 #define STATE_DBNUM 47
190 #define STATE_CCOMPARE0 48
191 #define STATE_CCOMPARE1 49
192 #define STATE_CCOMPARE2 50
195 /* Field definitions. */
198 Field_t_Slot_inst_get (const xtensa_insnbuf insn
)
201 tie_t
= (tie_t
<< 4) | ((insn
[0] << 12) >> 28);
206 Field_t_Slot_inst_set (xtensa_insnbuf insn
, uint32 val
)
209 tie_t
= (val
<< 28) >> 28;
210 insn
[0] = (insn
[0] & ~0xf0000) | (tie_t
<< 16);
214 Field_s_Slot_inst_get (const xtensa_insnbuf insn
)
217 tie_t
= (tie_t
<< 4) | ((insn
[0] << 16) >> 28);
222 Field_s_Slot_inst_set (xtensa_insnbuf insn
, uint32 val
)
225 tie_t
= (val
<< 28) >> 28;
226 insn
[0] = (insn
[0] & ~0xf000) | (tie_t
<< 12);
230 Field_r_Slot_inst_get (const xtensa_insnbuf insn
)
233 tie_t
= (tie_t
<< 4) | ((insn
[0] << 20) >> 28);
238 Field_r_Slot_inst_set (xtensa_insnbuf insn
, uint32 val
)
241 tie_t
= (val
<< 28) >> 28;
242 insn
[0] = (insn
[0] & ~0xf00) | (tie_t
<< 8);
246 Field_op2_Slot_inst_get (const xtensa_insnbuf insn
)
249 tie_t
= (tie_t
<< 4) | ((insn
[0] << 28) >> 28);
254 Field_op2_Slot_inst_set (xtensa_insnbuf insn
, uint32 val
)
257 tie_t
= (val
<< 28) >> 28;
258 insn
[0] = (insn
[0] & ~0xf) | (tie_t
<< 0);
262 Field_op1_Slot_inst_get (const xtensa_insnbuf insn
)
265 tie_t
= (tie_t
<< 4) | ((insn
[0] << 24) >> 28);
270 Field_op1_Slot_inst_set (xtensa_insnbuf insn
, uint32 val
)
273 tie_t
= (val
<< 28) >> 28;
274 insn
[0] = (insn
[0] & ~0xf0) | (tie_t
<< 4);
278 Field_op0_Slot_inst_get (const xtensa_insnbuf insn
)
281 tie_t
= (tie_t
<< 4) | ((insn
[0] << 8) >> 28);
286 Field_op0_Slot_inst_set (xtensa_insnbuf insn
, uint32 val
)
289 tie_t
= (val
<< 28) >> 28;
290 insn
[0] = (insn
[0] & ~0xf00000) | (tie_t
<< 20);
294 Field_n_Slot_inst_get (const xtensa_insnbuf insn
)
297 tie_t
= (tie_t
<< 2) | ((insn
[0] << 12) >> 30);
302 Field_n_Slot_inst_set (xtensa_insnbuf insn
, uint32 val
)
305 tie_t
= (val
<< 30) >> 30;
306 insn
[0] = (insn
[0] & ~0xc0000) | (tie_t
<< 18);
310 Field_m_Slot_inst_get (const xtensa_insnbuf insn
)
313 tie_t
= (tie_t
<< 2) | ((insn
[0] << 14) >> 30);
318 Field_m_Slot_inst_set (xtensa_insnbuf insn
, uint32 val
)
321 tie_t
= (val
<< 30) >> 30;
322 insn
[0] = (insn
[0] & ~0x30000) | (tie_t
<< 16);
326 Field_sr_Slot_inst_get (const xtensa_insnbuf insn
)
329 tie_t
= (tie_t
<< 4) | ((insn
[0] << 16) >> 28);
330 tie_t
= (tie_t
<< 4) | ((insn
[0] << 20) >> 28);
335 Field_sr_Slot_inst_set (xtensa_insnbuf insn
, uint32 val
)
338 tie_t
= (val
<< 28) >> 28;
339 insn
[0] = (insn
[0] & ~0xf00) | (tie_t
<< 8);
340 tie_t
= (val
<< 24) >> 28;
341 insn
[0] = (insn
[0] & ~0xf000) | (tie_t
<< 12);
345 Field_thi3_Slot_inst_get (const xtensa_insnbuf insn
)
348 tie_t
= (tie_t
<< 3) | ((insn
[0] << 12) >> 29);
353 Field_thi3_Slot_inst_set (xtensa_insnbuf insn
, uint32 val
)
356 tie_t
= (val
<< 29) >> 29;
357 insn
[0] = (insn
[0] & ~0xe0000) | (tie_t
<< 17);
361 Field_op0_Slot_inst16a_get (const xtensa_insnbuf insn
)
364 tie_t
= (tie_t
<< 4) | ((insn
[0] << 16) >> 28);
369 Field_op0_Slot_inst16a_set (xtensa_insnbuf insn
, uint32 val
)
372 tie_t
= (val
<< 28) >> 28;
373 insn
[0] = (insn
[0] & ~0xf000) | (tie_t
<< 12);
377 Field_t_Slot_inst16b_get (const xtensa_insnbuf insn
)
380 tie_t
= (tie_t
<< 4) | ((insn
[0] << 20) >> 28);
385 Field_t_Slot_inst16b_set (xtensa_insnbuf insn
, uint32 val
)
388 tie_t
= (val
<< 28) >> 28;
389 insn
[0] = (insn
[0] & ~0xf00) | (tie_t
<< 8);
393 Field_r_Slot_inst16b_get (const xtensa_insnbuf insn
)
396 tie_t
= (tie_t
<< 4) | ((insn
[0] << 28) >> 28);
401 Field_r_Slot_inst16b_set (xtensa_insnbuf insn
, uint32 val
)
404 tie_t
= (val
<< 28) >> 28;
405 insn
[0] = (insn
[0] & ~0xf) | (tie_t
<< 0);
409 Field_op0_Slot_inst16b_get (const xtensa_insnbuf insn
)
412 tie_t
= (tie_t
<< 4) | ((insn
[0] << 16) >> 28);
417 Field_op0_Slot_inst16b_set (xtensa_insnbuf insn
, uint32 val
)
420 tie_t
= (val
<< 28) >> 28;
421 insn
[0] = (insn
[0] & ~0xf000) | (tie_t
<< 12);
425 Field_z_Slot_inst16b_get (const xtensa_insnbuf insn
)
428 tie_t
= (tie_t
<< 1) | ((insn
[0] << 21) >> 31);
433 Field_z_Slot_inst16b_set (xtensa_insnbuf insn
, uint32 val
)
436 tie_t
= (val
<< 31) >> 31;
437 insn
[0] = (insn
[0] & ~0x400) | (tie_t
<< 10);
441 Field_i_Slot_inst16b_get (const xtensa_insnbuf insn
)
444 tie_t
= (tie_t
<< 1) | ((insn
[0] << 20) >> 31);
449 Field_i_Slot_inst16b_set (xtensa_insnbuf insn
, uint32 val
)
452 tie_t
= (val
<< 31) >> 31;
453 insn
[0] = (insn
[0] & ~0x800) | (tie_t
<< 11);
457 Field_s_Slot_inst16b_get (const xtensa_insnbuf insn
)
460 tie_t
= (tie_t
<< 4) | ((insn
[0] << 24) >> 28);
465 Field_s_Slot_inst16b_set (xtensa_insnbuf insn
, uint32 val
)
468 tie_t
= (val
<< 28) >> 28;
469 insn
[0] = (insn
[0] & ~0xf0) | (tie_t
<< 4);
473 Field_t_Slot_inst16a_get (const xtensa_insnbuf insn
)
476 tie_t
= (tie_t
<< 4) | ((insn
[0] << 20) >> 28);
481 Field_t_Slot_inst16a_set (xtensa_insnbuf insn
, uint32 val
)
484 tie_t
= (val
<< 28) >> 28;
485 insn
[0] = (insn
[0] & ~0xf00) | (tie_t
<< 8);
489 Field_bbi4_Slot_inst_get (const xtensa_insnbuf insn
)
492 tie_t
= (tie_t
<< 1) | ((insn
[0] << 23) >> 31);
497 Field_bbi4_Slot_inst_set (xtensa_insnbuf insn
, uint32 val
)
500 tie_t
= (val
<< 31) >> 31;
501 insn
[0] = (insn
[0] & ~0x100) | (tie_t
<< 8);
505 Field_bbi_Slot_inst_get (const xtensa_insnbuf insn
)
508 tie_t
= (tie_t
<< 1) | ((insn
[0] << 23) >> 31);
509 tie_t
= (tie_t
<< 4) | ((insn
[0] << 12) >> 28);
514 Field_bbi_Slot_inst_set (xtensa_insnbuf insn
, uint32 val
)
517 tie_t
= (val
<< 28) >> 28;
518 insn
[0] = (insn
[0] & ~0xf0000) | (tie_t
<< 16);
519 tie_t
= (val
<< 27) >> 31;
520 insn
[0] = (insn
[0] & ~0x100) | (tie_t
<< 8);
524 Field_imm12_Slot_inst_get (const xtensa_insnbuf insn
)
527 tie_t
= (tie_t
<< 12) | ((insn
[0] << 20) >> 20);
532 Field_imm12_Slot_inst_set (xtensa_insnbuf insn
, uint32 val
)
535 tie_t
= (val
<< 20) >> 20;
536 insn
[0] = (insn
[0] & ~0xfff) | (tie_t
<< 0);
540 Field_imm8_Slot_inst_get (const xtensa_insnbuf insn
)
543 tie_t
= (tie_t
<< 8) | ((insn
[0] << 24) >> 24);
548 Field_imm8_Slot_inst_set (xtensa_insnbuf insn
, uint32 val
)
551 tie_t
= (val
<< 24) >> 24;
552 insn
[0] = (insn
[0] & ~0xff) | (tie_t
<< 0);
556 Field_s_Slot_inst16a_get (const xtensa_insnbuf insn
)
559 tie_t
= (tie_t
<< 4) | ((insn
[0] << 24) >> 28);
564 Field_s_Slot_inst16a_set (xtensa_insnbuf insn
, uint32 val
)
567 tie_t
= (val
<< 28) >> 28;
568 insn
[0] = (insn
[0] & ~0xf0) | (tie_t
<< 4);
572 Field_imm12b_Slot_inst_get (const xtensa_insnbuf insn
)
575 tie_t
= (tie_t
<< 4) | ((insn
[0] << 16) >> 28);
576 tie_t
= (tie_t
<< 8) | ((insn
[0] << 24) >> 24);
581 Field_imm12b_Slot_inst_set (xtensa_insnbuf insn
, uint32 val
)
584 tie_t
= (val
<< 24) >> 24;
585 insn
[0] = (insn
[0] & ~0xff) | (tie_t
<< 0);
586 tie_t
= (val
<< 20) >> 28;
587 insn
[0] = (insn
[0] & ~0xf000) | (tie_t
<< 12);
591 Field_imm16_Slot_inst_get (const xtensa_insnbuf insn
)
594 tie_t
= (tie_t
<< 16) | ((insn
[0] << 16) >> 16);
599 Field_imm16_Slot_inst_set (xtensa_insnbuf insn
, uint32 val
)
602 tie_t
= (val
<< 16) >> 16;
603 insn
[0] = (insn
[0] & ~0xffff) | (tie_t
<< 0);
607 Field_offset_Slot_inst_get (const xtensa_insnbuf insn
)
610 tie_t
= (tie_t
<< 18) | ((insn
[0] << 14) >> 14);
615 Field_offset_Slot_inst_set (xtensa_insnbuf insn
, uint32 val
)
618 tie_t
= (val
<< 14) >> 14;
619 insn
[0] = (insn
[0] & ~0x3ffff) | (tie_t
<< 0);
623 Field_r_Slot_inst16a_get (const xtensa_insnbuf insn
)
626 tie_t
= (tie_t
<< 4) | ((insn
[0] << 28) >> 28);
631 Field_r_Slot_inst16a_set (xtensa_insnbuf insn
, uint32 val
)
634 tie_t
= (val
<< 28) >> 28;
635 insn
[0] = (insn
[0] & ~0xf) | (tie_t
<< 0);
639 Field_sa4_Slot_inst_get (const xtensa_insnbuf insn
)
642 tie_t
= (tie_t
<< 1) | ((insn
[0] << 31) >> 31);
647 Field_sa4_Slot_inst_set (xtensa_insnbuf insn
, uint32 val
)
650 tie_t
= (val
<< 31) >> 31;
651 insn
[0] = (insn
[0] & ~0x1) | (tie_t
<< 0);
655 Field_sae4_Slot_inst_get (const xtensa_insnbuf insn
)
658 tie_t
= (tie_t
<< 1) | ((insn
[0] << 27) >> 31);
663 Field_sae4_Slot_inst_set (xtensa_insnbuf insn
, uint32 val
)
666 tie_t
= (val
<< 31) >> 31;
667 insn
[0] = (insn
[0] & ~0x10) | (tie_t
<< 4);
671 Field_sae_Slot_inst_get (const xtensa_insnbuf insn
)
674 tie_t
= (tie_t
<< 1) | ((insn
[0] << 27) >> 31);
675 tie_t
= (tie_t
<< 4) | ((insn
[0] << 16) >> 28);
680 Field_sae_Slot_inst_set (xtensa_insnbuf insn
, uint32 val
)
683 tie_t
= (val
<< 28) >> 28;
684 insn
[0] = (insn
[0] & ~0xf000) | (tie_t
<< 12);
685 tie_t
= (val
<< 27) >> 31;
686 insn
[0] = (insn
[0] & ~0x10) | (tie_t
<< 4);
690 Field_sal_Slot_inst_get (const xtensa_insnbuf insn
)
693 tie_t
= (tie_t
<< 1) | ((insn
[0] << 31) >> 31);
694 tie_t
= (tie_t
<< 4) | ((insn
[0] << 12) >> 28);
699 Field_sal_Slot_inst_set (xtensa_insnbuf insn
, uint32 val
)
702 tie_t
= (val
<< 28) >> 28;
703 insn
[0] = (insn
[0] & ~0xf0000) | (tie_t
<< 16);
704 tie_t
= (val
<< 27) >> 31;
705 insn
[0] = (insn
[0] & ~0x1) | (tie_t
<< 0);
709 Field_sargt_Slot_inst_get (const xtensa_insnbuf insn
)
712 tie_t
= (tie_t
<< 1) | ((insn
[0] << 31) >> 31);
713 tie_t
= (tie_t
<< 4) | ((insn
[0] << 16) >> 28);
718 Field_sargt_Slot_inst_set (xtensa_insnbuf insn
, uint32 val
)
721 tie_t
= (val
<< 28) >> 28;
722 insn
[0] = (insn
[0] & ~0xf000) | (tie_t
<< 12);
723 tie_t
= (val
<< 27) >> 31;
724 insn
[0] = (insn
[0] & ~0x1) | (tie_t
<< 0);
728 Field_sas4_Slot_inst_get (const xtensa_insnbuf insn
)
731 tie_t
= (tie_t
<< 1) | ((insn
[0] << 15) >> 31);
736 Field_sas4_Slot_inst_set (xtensa_insnbuf insn
, uint32 val
)
739 tie_t
= (val
<< 31) >> 31;
740 insn
[0] = (insn
[0] & ~0x10000) | (tie_t
<< 16);
744 Field_sas_Slot_inst_get (const xtensa_insnbuf insn
)
747 tie_t
= (tie_t
<< 1) | ((insn
[0] << 15) >> 31);
748 tie_t
= (tie_t
<< 4) | ((insn
[0] << 16) >> 28);
753 Field_sas_Slot_inst_set (xtensa_insnbuf insn
, uint32 val
)
756 tie_t
= (val
<< 28) >> 28;
757 insn
[0] = (insn
[0] & ~0xf000) | (tie_t
<< 12);
758 tie_t
= (val
<< 27) >> 31;
759 insn
[0] = (insn
[0] & ~0x10000) | (tie_t
<< 16);
763 Field_sr_Slot_inst16a_get (const xtensa_insnbuf insn
)
766 tie_t
= (tie_t
<< 4) | ((insn
[0] << 24) >> 28);
767 tie_t
= (tie_t
<< 4) | ((insn
[0] << 28) >> 28);
772 Field_sr_Slot_inst16a_set (xtensa_insnbuf insn
, uint32 val
)
775 tie_t
= (val
<< 28) >> 28;
776 insn
[0] = (insn
[0] & ~0xf) | (tie_t
<< 0);
777 tie_t
= (val
<< 24) >> 28;
778 insn
[0] = (insn
[0] & ~0xf0) | (tie_t
<< 4);
782 Field_sr_Slot_inst16b_get (const xtensa_insnbuf insn
)
785 tie_t
= (tie_t
<< 4) | ((insn
[0] << 24) >> 28);
786 tie_t
= (tie_t
<< 4) | ((insn
[0] << 28) >> 28);
791 Field_sr_Slot_inst16b_set (xtensa_insnbuf insn
, uint32 val
)
794 tie_t
= (val
<< 28) >> 28;
795 insn
[0] = (insn
[0] & ~0xf) | (tie_t
<< 0);
796 tie_t
= (val
<< 24) >> 28;
797 insn
[0] = (insn
[0] & ~0xf0) | (tie_t
<< 4);
801 Field_st_Slot_inst_get (const xtensa_insnbuf insn
)
804 tie_t
= (tie_t
<< 4) | ((insn
[0] << 16) >> 28);
805 tie_t
= (tie_t
<< 4) | ((insn
[0] << 12) >> 28);
810 Field_st_Slot_inst_set (xtensa_insnbuf insn
, uint32 val
)
813 tie_t
= (val
<< 28) >> 28;
814 insn
[0] = (insn
[0] & ~0xf0000) | (tie_t
<< 16);
815 tie_t
= (val
<< 24) >> 28;
816 insn
[0] = (insn
[0] & ~0xf000) | (tie_t
<< 12);
820 Field_st_Slot_inst16a_get (const xtensa_insnbuf insn
)
823 tie_t
= (tie_t
<< 4) | ((insn
[0] << 24) >> 28);
824 tie_t
= (tie_t
<< 4) | ((insn
[0] << 20) >> 28);
829 Field_st_Slot_inst16a_set (xtensa_insnbuf insn
, uint32 val
)
832 tie_t
= (val
<< 28) >> 28;
833 insn
[0] = (insn
[0] & ~0xf00) | (tie_t
<< 8);
834 tie_t
= (val
<< 24) >> 28;
835 insn
[0] = (insn
[0] & ~0xf0) | (tie_t
<< 4);
839 Field_st_Slot_inst16b_get (const xtensa_insnbuf insn
)
842 tie_t
= (tie_t
<< 4) | ((insn
[0] << 24) >> 28);
843 tie_t
= (tie_t
<< 4) | ((insn
[0] << 20) >> 28);
848 Field_st_Slot_inst16b_set (xtensa_insnbuf insn
, uint32 val
)
851 tie_t
= (val
<< 28) >> 28;
852 insn
[0] = (insn
[0] & ~0xf00) | (tie_t
<< 8);
853 tie_t
= (val
<< 24) >> 28;
854 insn
[0] = (insn
[0] & ~0xf0) | (tie_t
<< 4);
858 Field_imm4_Slot_inst_get (const xtensa_insnbuf insn
)
861 tie_t
= (tie_t
<< 4) | ((insn
[0] << 20) >> 28);
866 Field_imm4_Slot_inst_set (xtensa_insnbuf insn
, uint32 val
)
869 tie_t
= (val
<< 28) >> 28;
870 insn
[0] = (insn
[0] & ~0xf00) | (tie_t
<< 8);
874 Field_imm4_Slot_inst16a_get (const xtensa_insnbuf insn
)
877 tie_t
= (tie_t
<< 4) | ((insn
[0] << 28) >> 28);
882 Field_imm4_Slot_inst16a_set (xtensa_insnbuf insn
, uint32 val
)
885 tie_t
= (val
<< 28) >> 28;
886 insn
[0] = (insn
[0] & ~0xf) | (tie_t
<< 0);
890 Field_imm4_Slot_inst16b_get (const xtensa_insnbuf insn
)
893 tie_t
= (tie_t
<< 4) | ((insn
[0] << 28) >> 28);
898 Field_imm4_Slot_inst16b_set (xtensa_insnbuf insn
, uint32 val
)
901 tie_t
= (val
<< 28) >> 28;
902 insn
[0] = (insn
[0] & ~0xf) | (tie_t
<< 0);
906 Field_mn_Slot_inst_get (const xtensa_insnbuf insn
)
909 tie_t
= (tie_t
<< 2) | ((insn
[0] << 12) >> 30);
910 tie_t
= (tie_t
<< 2) | ((insn
[0] << 14) >> 30);
915 Field_mn_Slot_inst_set (xtensa_insnbuf insn
, uint32 val
)
918 tie_t
= (val
<< 30) >> 30;
919 insn
[0] = (insn
[0] & ~0x30000) | (tie_t
<< 16);
920 tie_t
= (val
<< 28) >> 30;
921 insn
[0] = (insn
[0] & ~0xc0000) | (tie_t
<< 18);
925 Field_i_Slot_inst16a_get (const xtensa_insnbuf insn
)
928 tie_t
= (tie_t
<< 1) | ((insn
[0] << 20) >> 31);
933 Field_i_Slot_inst16a_set (xtensa_insnbuf insn
, uint32 val
)
936 tie_t
= (val
<< 31) >> 31;
937 insn
[0] = (insn
[0] & ~0x800) | (tie_t
<< 11);
941 Field_imm6lo_Slot_inst16a_get (const xtensa_insnbuf insn
)
944 tie_t
= (tie_t
<< 4) | ((insn
[0] << 28) >> 28);
949 Field_imm6lo_Slot_inst16a_set (xtensa_insnbuf insn
, uint32 val
)
952 tie_t
= (val
<< 28) >> 28;
953 insn
[0] = (insn
[0] & ~0xf) | (tie_t
<< 0);
957 Field_imm6lo_Slot_inst16b_get (const xtensa_insnbuf insn
)
960 tie_t
= (tie_t
<< 4) | ((insn
[0] << 28) >> 28);
965 Field_imm6lo_Slot_inst16b_set (xtensa_insnbuf insn
, uint32 val
)
968 tie_t
= (val
<< 28) >> 28;
969 insn
[0] = (insn
[0] & ~0xf) | (tie_t
<< 0);
973 Field_imm6hi_Slot_inst16a_get (const xtensa_insnbuf insn
)
976 tie_t
= (tie_t
<< 2) | ((insn
[0] << 22) >> 30);
981 Field_imm6hi_Slot_inst16a_set (xtensa_insnbuf insn
, uint32 val
)
984 tie_t
= (val
<< 30) >> 30;
985 insn
[0] = (insn
[0] & ~0x300) | (tie_t
<< 8);
989 Field_imm6hi_Slot_inst16b_get (const xtensa_insnbuf insn
)
992 tie_t
= (tie_t
<< 2) | ((insn
[0] << 22) >> 30);
997 Field_imm6hi_Slot_inst16b_set (xtensa_insnbuf insn
, uint32 val
)
1000 tie_t
= (val
<< 30) >> 30;
1001 insn
[0] = (insn
[0] & ~0x300) | (tie_t
<< 8);
1005 Field_imm7lo_Slot_inst16a_get (const xtensa_insnbuf insn
)
1008 tie_t
= (tie_t
<< 4) | ((insn
[0] << 28) >> 28);
1013 Field_imm7lo_Slot_inst16a_set (xtensa_insnbuf insn
, uint32 val
)
1016 tie_t
= (val
<< 28) >> 28;
1017 insn
[0] = (insn
[0] & ~0xf) | (tie_t
<< 0);
1021 Field_imm7lo_Slot_inst16b_get (const xtensa_insnbuf insn
)
1024 tie_t
= (tie_t
<< 4) | ((insn
[0] << 28) >> 28);
1029 Field_imm7lo_Slot_inst16b_set (xtensa_insnbuf insn
, uint32 val
)
1032 tie_t
= (val
<< 28) >> 28;
1033 insn
[0] = (insn
[0] & ~0xf) | (tie_t
<< 0);
1037 Field_imm7hi_Slot_inst16a_get (const xtensa_insnbuf insn
)
1040 tie_t
= (tie_t
<< 3) | ((insn
[0] << 21) >> 29);
1045 Field_imm7hi_Slot_inst16a_set (xtensa_insnbuf insn
, uint32 val
)
1048 tie_t
= (val
<< 29) >> 29;
1049 insn
[0] = (insn
[0] & ~0x700) | (tie_t
<< 8);
1053 Field_imm7hi_Slot_inst16b_get (const xtensa_insnbuf insn
)
1056 tie_t
= (tie_t
<< 3) | ((insn
[0] << 21) >> 29);
1061 Field_imm7hi_Slot_inst16b_set (xtensa_insnbuf insn
, uint32 val
)
1064 tie_t
= (val
<< 29) >> 29;
1065 insn
[0] = (insn
[0] & ~0x700) | (tie_t
<< 8);
1069 Field_z_Slot_inst16a_get (const xtensa_insnbuf insn
)
1072 tie_t
= (tie_t
<< 1) | ((insn
[0] << 21) >> 31);
1077 Field_z_Slot_inst16a_set (xtensa_insnbuf insn
, uint32 val
)
1080 tie_t
= (val
<< 31) >> 31;
1081 insn
[0] = (insn
[0] & ~0x400) | (tie_t
<< 10);
1085 Field_imm6_Slot_inst16a_get (const xtensa_insnbuf insn
)
1088 tie_t
= (tie_t
<< 2) | ((insn
[0] << 22) >> 30);
1089 tie_t
= (tie_t
<< 4) | ((insn
[0] << 28) >> 28);
1094 Field_imm6_Slot_inst16a_set (xtensa_insnbuf insn
, uint32 val
)
1097 tie_t
= (val
<< 28) >> 28;
1098 insn
[0] = (insn
[0] & ~0xf) | (tie_t
<< 0);
1099 tie_t
= (val
<< 26) >> 30;
1100 insn
[0] = (insn
[0] & ~0x300) | (tie_t
<< 8);
1104 Field_imm6_Slot_inst16b_get (const xtensa_insnbuf insn
)
1107 tie_t
= (tie_t
<< 2) | ((insn
[0] << 22) >> 30);
1108 tie_t
= (tie_t
<< 4) | ((insn
[0] << 28) >> 28);
1113 Field_imm6_Slot_inst16b_set (xtensa_insnbuf insn
, uint32 val
)
1116 tie_t
= (val
<< 28) >> 28;
1117 insn
[0] = (insn
[0] & ~0xf) | (tie_t
<< 0);
1118 tie_t
= (val
<< 26) >> 30;
1119 insn
[0] = (insn
[0] & ~0x300) | (tie_t
<< 8);
1123 Field_imm7_Slot_inst16a_get (const xtensa_insnbuf insn
)
1126 tie_t
= (tie_t
<< 3) | ((insn
[0] << 21) >> 29);
1127 tie_t
= (tie_t
<< 4) | ((insn
[0] << 28) >> 28);
1132 Field_imm7_Slot_inst16a_set (xtensa_insnbuf insn
, uint32 val
)
1135 tie_t
= (val
<< 28) >> 28;
1136 insn
[0] = (insn
[0] & ~0xf) | (tie_t
<< 0);
1137 tie_t
= (val
<< 25) >> 29;
1138 insn
[0] = (insn
[0] & ~0x700) | (tie_t
<< 8);
1142 Field_imm7_Slot_inst16b_get (const xtensa_insnbuf insn
)
1145 tie_t
= (tie_t
<< 3) | ((insn
[0] << 21) >> 29);
1146 tie_t
= (tie_t
<< 4) | ((insn
[0] << 28) >> 28);
1151 Field_imm7_Slot_inst16b_set (xtensa_insnbuf insn
, uint32 val
)
1154 tie_t
= (val
<< 28) >> 28;
1155 insn
[0] = (insn
[0] & ~0xf) | (tie_t
<< 0);
1156 tie_t
= (val
<< 25) >> 29;
1157 insn
[0] = (insn
[0] & ~0x700) | (tie_t
<< 8);
1161 Implicit_Field_set (xtensa_insnbuf insn ATTRIBUTE_UNUSED
,
1162 uint32 val ATTRIBUTE_UNUSED
)
1168 Implicit_Field_ar0_get (const xtensa_insnbuf insn ATTRIBUTE_UNUSED
)
1174 Implicit_Field_ar4_get (const xtensa_insnbuf insn ATTRIBUTE_UNUSED
)
1180 Implicit_Field_ar8_get (const xtensa_insnbuf insn ATTRIBUTE_UNUSED
)
1186 Implicit_Field_ar12_get (const xtensa_insnbuf insn ATTRIBUTE_UNUSED
)
1192 /* Functional units. */
1194 static xtensa_funcUnit_internal funcUnits
[] = {
1199 /* Register files. */
1201 static xtensa_regfile_internal regfiles
[] = {
1202 { "AR", "a", 0, 32, 64 }
1208 static xtensa_interface_internal interfaces
[] = {
1213 /* Constant tables. */
1215 /* constant table ai4c */
1216 static const unsigned CONST_TBL_ai4c_0
[] = {
1236 /* constant table b4c */
1237 static const unsigned CONST_TBL_b4c_0
[] = {
1257 /* constant table b4cu */
1258 static const unsigned CONST_TBL_b4cu_0
[] = {
1279 /* Instruction operands. */
1282 Operand_soffsetx4_decode (uint32
*valp
)
1284 unsigned soffsetx4_0
, offset_0
;
1285 offset_0
= *valp
& 0x3ffff;
1286 soffsetx4_0
= 0x4 + ((((int) offset_0
<< 14) >> 14) << 2);
1287 *valp
= soffsetx4_0
;
1292 Operand_soffsetx4_encode (uint32
*valp
)
1294 unsigned offset_0
, soffsetx4_0
;
1295 soffsetx4_0
= *valp
;
1296 offset_0
= ((soffsetx4_0
- 0x4) >> 2) & 0x3ffff;
1302 Operand_soffsetx4_ator (uint32
*valp
, uint32 pc
)
1304 *valp
-= (pc
& ~0x3);
1309 Operand_soffsetx4_rtoa (uint32
*valp
, uint32 pc
)
1311 *valp
+= (pc
& ~0x3);
1316 Operand_uimm12x8_decode (uint32
*valp
)
1318 unsigned uimm12x8_0
, imm12_0
;
1319 imm12_0
= *valp
& 0xfff;
1320 uimm12x8_0
= imm12_0
<< 3;
1326 Operand_uimm12x8_encode (uint32
*valp
)
1328 unsigned imm12_0
, uimm12x8_0
;
1330 imm12_0
= ((uimm12x8_0
>> 3) & 0xfff);
1336 Operand_simm4_decode (uint32
*valp
)
1338 unsigned simm4_0
, mn_0
;
1340 simm4_0
= ((int) mn_0
<< 28) >> 28;
1346 Operand_simm4_encode (uint32
*valp
)
1348 unsigned mn_0
, simm4_0
;
1350 mn_0
= (simm4_0
& 0xf);
1356 Operand_arr_decode (uint32
*valp ATTRIBUTE_UNUSED
)
1362 Operand_arr_encode (uint32
*valp
)
1365 error
= (*valp
& ~0xf) != 0;
1370 Operand_ars_decode (uint32
*valp ATTRIBUTE_UNUSED
)
1376 Operand_ars_encode (uint32
*valp
)
1379 error
= (*valp
& ~0xf) != 0;
1384 Operand_art_decode (uint32
*valp ATTRIBUTE_UNUSED
)
1390 Operand_art_encode (uint32
*valp
)
1393 error
= (*valp
& ~0xf) != 0;
1398 Operand_ar0_decode (uint32
*valp ATTRIBUTE_UNUSED
)
1404 Operand_ar0_encode (uint32
*valp
)
1407 error
= (*valp
& ~0x3f) != 0;
1412 Operand_ar4_decode (uint32
*valp ATTRIBUTE_UNUSED
)
1418 Operand_ar4_encode (uint32
*valp
)
1421 error
= (*valp
& ~0x3f) != 0;
1426 Operand_ar8_decode (uint32
*valp ATTRIBUTE_UNUSED
)
1432 Operand_ar8_encode (uint32
*valp
)
1435 error
= (*valp
& ~0x3f) != 0;
1440 Operand_ar12_decode (uint32
*valp ATTRIBUTE_UNUSED
)
1446 Operand_ar12_encode (uint32
*valp
)
1449 error
= (*valp
& ~0x3f) != 0;
1454 Operand_ars_entry_decode (uint32
*valp ATTRIBUTE_UNUSED
)
1460 Operand_ars_entry_encode (uint32
*valp
)
1463 error
= (*valp
& ~0x3f) != 0;
1468 Operand_immrx4_decode (uint32
*valp
)
1470 unsigned immrx4_0
, r_0
;
1472 immrx4_0
= ((((0xfffffff)) << 4) | r_0
) << 2;
1478 Operand_immrx4_encode (uint32
*valp
)
1480 unsigned r_0
, immrx4_0
;
1482 r_0
= ((immrx4_0
>> 2) & 0xf);
1488 Operand_lsi4x4_decode (uint32
*valp
)
1490 unsigned lsi4x4_0
, r_0
;
1492 lsi4x4_0
= r_0
<< 2;
1498 Operand_lsi4x4_encode (uint32
*valp
)
1500 unsigned r_0
, lsi4x4_0
;
1502 r_0
= ((lsi4x4_0
>> 2) & 0xf);
1508 Operand_simm7_decode (uint32
*valp
)
1510 unsigned simm7_0
, imm7_0
;
1511 imm7_0
= *valp
& 0x7f;
1512 simm7_0
= ((((-((((imm7_0
>> 6) & 1)) & (((imm7_0
>> 5) & 1)))) & 0x1ffffff)) << 7) | imm7_0
;
1518 Operand_simm7_encode (uint32
*valp
)
1520 unsigned imm7_0
, simm7_0
;
1522 imm7_0
= (simm7_0
& 0x7f);
1528 Operand_uimm6_decode (uint32
*valp
)
1530 unsigned uimm6_0
, imm6_0
;
1531 imm6_0
= *valp
& 0x3f;
1532 uimm6_0
= 0x4 + ((((0)) << 6) | imm6_0
);
1538 Operand_uimm6_encode (uint32
*valp
)
1540 unsigned imm6_0
, uimm6_0
;
1542 imm6_0
= (uimm6_0
- 0x4) & 0x3f;
1548 Operand_uimm6_ator (uint32
*valp
, uint32 pc
)
1555 Operand_uimm6_rtoa (uint32
*valp
, uint32 pc
)
1562 Operand_ai4const_decode (uint32
*valp
)
1564 unsigned ai4const_0
, t_0
;
1566 ai4const_0
= CONST_TBL_ai4c_0
[t_0
& 0xf];
1572 Operand_ai4const_encode (uint32
*valp
)
1574 unsigned t_0
, ai4const_0
;
1578 case 0xffffffff: t_0
= 0; break;
1579 case 0x1: t_0
= 0x1; break;
1580 case 0x2: t_0
= 0x2; break;
1581 case 0x3: t_0
= 0x3; break;
1582 case 0x4: t_0
= 0x4; break;
1583 case 0x5: t_0
= 0x5; break;
1584 case 0x6: t_0
= 0x6; break;
1585 case 0x7: t_0
= 0x7; break;
1586 case 0x8: t_0
= 0x8; break;
1587 case 0x9: t_0
= 0x9; break;
1588 case 0xa: t_0
= 0xa; break;
1589 case 0xb: t_0
= 0xb; break;
1590 case 0xc: t_0
= 0xc; break;
1591 case 0xd: t_0
= 0xd; break;
1592 case 0xe: t_0
= 0xe; break;
1593 default: t_0
= 0xf; break;
1600 Operand_b4const_decode (uint32
*valp
)
1602 unsigned b4const_0
, r_0
;
1604 b4const_0
= CONST_TBL_b4c_0
[r_0
& 0xf];
1610 Operand_b4const_encode (uint32
*valp
)
1612 unsigned r_0
, b4const_0
;
1616 case 0xffffffff: r_0
= 0; break;
1617 case 0x1: r_0
= 0x1; break;
1618 case 0x2: r_0
= 0x2; break;
1619 case 0x3: r_0
= 0x3; break;
1620 case 0x4: r_0
= 0x4; break;
1621 case 0x5: r_0
= 0x5; break;
1622 case 0x6: r_0
= 0x6; break;
1623 case 0x7: r_0
= 0x7; break;
1624 case 0x8: r_0
= 0x8; break;
1625 case 0xa: r_0
= 0x9; break;
1626 case 0xc: r_0
= 0xa; break;
1627 case 0x10: r_0
= 0xb; break;
1628 case 0x20: r_0
= 0xc; break;
1629 case 0x40: r_0
= 0xd; break;
1630 case 0x80: r_0
= 0xe; break;
1631 default: r_0
= 0xf; break;
1638 Operand_b4constu_decode (uint32
*valp
)
1640 unsigned b4constu_0
, r_0
;
1642 b4constu_0
= CONST_TBL_b4cu_0
[r_0
& 0xf];
1648 Operand_b4constu_encode (uint32
*valp
)
1650 unsigned r_0
, b4constu_0
;
1654 case 0x8000: r_0
= 0; break;
1655 case 0x10000: r_0
= 0x1; break;
1656 case 0x2: r_0
= 0x2; break;
1657 case 0x3: r_0
= 0x3; break;
1658 case 0x4: r_0
= 0x4; break;
1659 case 0x5: r_0
= 0x5; break;
1660 case 0x6: r_0
= 0x6; break;
1661 case 0x7: r_0
= 0x7; break;
1662 case 0x8: r_0
= 0x8; break;
1663 case 0xa: r_0
= 0x9; break;
1664 case 0xc: r_0
= 0xa; break;
1665 case 0x10: r_0
= 0xb; break;
1666 case 0x20: r_0
= 0xc; break;
1667 case 0x40: r_0
= 0xd; break;
1668 case 0x80: r_0
= 0xe; break;
1669 default: r_0
= 0xf; break;
1676 Operand_uimm8_decode (uint32
*valp
)
1678 unsigned uimm8_0
, imm8_0
;
1679 imm8_0
= *valp
& 0xff;
1686 Operand_uimm8_encode (uint32
*valp
)
1688 unsigned imm8_0
, uimm8_0
;
1690 imm8_0
= (uimm8_0
& 0xff);
1696 Operand_uimm8x2_decode (uint32
*valp
)
1698 unsigned uimm8x2_0
, imm8_0
;
1699 imm8_0
= *valp
& 0xff;
1700 uimm8x2_0
= imm8_0
<< 1;
1706 Operand_uimm8x2_encode (uint32
*valp
)
1708 unsigned imm8_0
, uimm8x2_0
;
1710 imm8_0
= ((uimm8x2_0
>> 1) & 0xff);
1716 Operand_uimm8x4_decode (uint32
*valp
)
1718 unsigned uimm8x4_0
, imm8_0
;
1719 imm8_0
= *valp
& 0xff;
1720 uimm8x4_0
= imm8_0
<< 2;
1726 Operand_uimm8x4_encode (uint32
*valp
)
1728 unsigned imm8_0
, uimm8x4_0
;
1730 imm8_0
= ((uimm8x4_0
>> 2) & 0xff);
1736 Operand_uimm4x16_decode (uint32
*valp
)
1738 unsigned uimm4x16_0
, op2_0
;
1739 op2_0
= *valp
& 0xf;
1740 uimm4x16_0
= op2_0
<< 4;
1746 Operand_uimm4x16_encode (uint32
*valp
)
1748 unsigned op2_0
, uimm4x16_0
;
1750 op2_0
= ((uimm4x16_0
>> 4) & 0xf);
1756 Operand_simm8_decode (uint32
*valp
)
1758 unsigned simm8_0
, imm8_0
;
1759 imm8_0
= *valp
& 0xff;
1760 simm8_0
= ((int) imm8_0
<< 24) >> 24;
1766 Operand_simm8_encode (uint32
*valp
)
1768 unsigned imm8_0
, simm8_0
;
1770 imm8_0
= (simm8_0
& 0xff);
1776 Operand_simm8x256_decode (uint32
*valp
)
1778 unsigned simm8x256_0
, imm8_0
;
1779 imm8_0
= *valp
& 0xff;
1780 simm8x256_0
= (((int) imm8_0
<< 24) >> 24) << 8;
1781 *valp
= simm8x256_0
;
1786 Operand_simm8x256_encode (uint32
*valp
)
1788 unsigned imm8_0
, simm8x256_0
;
1789 simm8x256_0
= *valp
;
1790 imm8_0
= ((simm8x256_0
>> 8) & 0xff);
1796 Operand_simm12b_decode (uint32
*valp
)
1798 unsigned simm12b_0
, imm12b_0
;
1799 imm12b_0
= *valp
& 0xfff;
1800 simm12b_0
= ((int) imm12b_0
<< 20) >> 20;
1806 Operand_simm12b_encode (uint32
*valp
)
1808 unsigned imm12b_0
, simm12b_0
;
1810 imm12b_0
= (simm12b_0
& 0xfff);
1816 Operand_msalp32_decode (uint32
*valp
)
1818 unsigned msalp32_0
, sal_0
;
1819 sal_0
= *valp
& 0x1f;
1820 msalp32_0
= 0x20 - sal_0
;
1826 Operand_msalp32_encode (uint32
*valp
)
1828 unsigned sal_0
, msalp32_0
;
1830 sal_0
= (0x20 - msalp32_0
) & 0x1f;
1836 Operand_op2p1_decode (uint32
*valp
)
1838 unsigned op2p1_0
, op2_0
;
1839 op2_0
= *valp
& 0xf;
1840 op2p1_0
= op2_0
+ 0x1;
1846 Operand_op2p1_encode (uint32
*valp
)
1848 unsigned op2_0
, op2p1_0
;
1850 op2_0
= (op2p1_0
- 0x1) & 0xf;
1856 Operand_label8_decode (uint32
*valp
)
1858 unsigned label8_0
, imm8_0
;
1859 imm8_0
= *valp
& 0xff;
1860 label8_0
= 0x4 + (((int) imm8_0
<< 24) >> 24);
1866 Operand_label8_encode (uint32
*valp
)
1868 unsigned imm8_0
, label8_0
;
1870 imm8_0
= (label8_0
- 0x4) & 0xff;
1876 Operand_label8_ator (uint32
*valp
, uint32 pc
)
1883 Operand_label8_rtoa (uint32
*valp
, uint32 pc
)
1890 Operand_ulabel8_decode (uint32
*valp
)
1892 unsigned ulabel8_0
, imm8_0
;
1893 imm8_0
= *valp
& 0xff;
1894 ulabel8_0
= 0x4 + ((((0)) << 8) | imm8_0
);
1900 Operand_ulabel8_encode (uint32
*valp
)
1902 unsigned imm8_0
, ulabel8_0
;
1904 imm8_0
= (ulabel8_0
- 0x4) & 0xff;
1910 Operand_ulabel8_ator (uint32
*valp
, uint32 pc
)
1917 Operand_ulabel8_rtoa (uint32
*valp
, uint32 pc
)
1924 Operand_label12_decode (uint32
*valp
)
1926 unsigned label12_0
, imm12_0
;
1927 imm12_0
= *valp
& 0xfff;
1928 label12_0
= 0x4 + (((int) imm12_0
<< 20) >> 20);
1934 Operand_label12_encode (uint32
*valp
)
1936 unsigned imm12_0
, label12_0
;
1938 imm12_0
= (label12_0
- 0x4) & 0xfff;
1944 Operand_label12_ator (uint32
*valp
, uint32 pc
)
1951 Operand_label12_rtoa (uint32
*valp
, uint32 pc
)
1958 Operand_soffset_decode (uint32
*valp
)
1960 unsigned soffset_0
, offset_0
;
1961 offset_0
= *valp
& 0x3ffff;
1962 soffset_0
= 0x4 + (((int) offset_0
<< 14) >> 14);
1968 Operand_soffset_encode (uint32
*valp
)
1970 unsigned offset_0
, soffset_0
;
1972 offset_0
= (soffset_0
- 0x4) & 0x3ffff;
1978 Operand_soffset_ator (uint32
*valp
, uint32 pc
)
1985 Operand_soffset_rtoa (uint32
*valp
, uint32 pc
)
1992 Operand_uimm16x4_decode (uint32
*valp
)
1994 unsigned uimm16x4_0
, imm16_0
;
1995 imm16_0
= *valp
& 0xffff;
1996 uimm16x4_0
= ((((0xffff)) << 16) | imm16_0
) << 2;
2002 Operand_uimm16x4_encode (uint32
*valp
)
2004 unsigned imm16_0
, uimm16x4_0
;
2006 imm16_0
= (uimm16x4_0
>> 2) & 0xffff;
2012 Operand_uimm16x4_ator (uint32
*valp
, uint32 pc
)
2014 *valp
-= ((pc
+ 3) & ~0x3);
2019 Operand_uimm16x4_rtoa (uint32
*valp
, uint32 pc
)
2021 *valp
+= ((pc
+ 3) & ~0x3);
2026 Operand_immt_decode (uint32
*valp
)
2028 unsigned immt_0
, t_0
;
2036 Operand_immt_encode (uint32
*valp
)
2038 unsigned t_0
, immt_0
;
2046 Operand_imms_decode (uint32
*valp
)
2048 unsigned imms_0
, s_0
;
2056 Operand_imms_encode (uint32
*valp
)
2058 unsigned s_0
, imms_0
;
2065 static xtensa_operand_internal operands
[] = {
2066 { "soffsetx4", 10, -1, 0,
2067 XTENSA_OPERAND_IS_PCRELATIVE
,
2068 Operand_soffsetx4_encode
, Operand_soffsetx4_decode
,
2069 Operand_soffsetx4_ator
, Operand_soffsetx4_rtoa
},
2070 { "uimm12x8", 3, -1, 0,
2072 Operand_uimm12x8_encode
, Operand_uimm12x8_decode
,
2074 { "simm4", 26, -1, 0,
2076 Operand_simm4_encode
, Operand_simm4_decode
,
2079 XTENSA_OPERAND_IS_REGISTER
,
2080 Operand_arr_encode
, Operand_arr_decode
,
2083 XTENSA_OPERAND_IS_REGISTER
,
2084 Operand_ars_encode
, Operand_ars_decode
,
2086 { "*ars_invisible", 5, 0, 1,
2087 XTENSA_OPERAND_IS_REGISTER
| XTENSA_OPERAND_IS_INVISIBLE
,
2088 Operand_ars_encode
, Operand_ars_decode
,
2091 XTENSA_OPERAND_IS_REGISTER
,
2092 Operand_art_encode
, Operand_art_decode
,
2095 XTENSA_OPERAND_IS_REGISTER
| XTENSA_OPERAND_IS_INVISIBLE
,
2096 Operand_ar0_encode
, Operand_ar0_decode
,
2099 XTENSA_OPERAND_IS_REGISTER
| XTENSA_OPERAND_IS_INVISIBLE
,
2100 Operand_ar4_encode
, Operand_ar4_decode
,
2103 XTENSA_OPERAND_IS_REGISTER
| XTENSA_OPERAND_IS_INVISIBLE
,
2104 Operand_ar8_encode
, Operand_ar8_decode
,
2107 XTENSA_OPERAND_IS_REGISTER
| XTENSA_OPERAND_IS_INVISIBLE
,
2108 Operand_ar12_encode
, Operand_ar12_decode
,
2110 { "ars_entry", 5, 0, 1,
2111 XTENSA_OPERAND_IS_REGISTER
,
2112 Operand_ars_entry_encode
, Operand_ars_entry_decode
,
2114 { "immrx4", 14, -1, 0,
2116 Operand_immrx4_encode
, Operand_immrx4_decode
,
2118 { "lsi4x4", 14, -1, 0,
2120 Operand_lsi4x4_encode
, Operand_lsi4x4_decode
,
2122 { "simm7", 34, -1, 0,
2124 Operand_simm7_encode
, Operand_simm7_decode
,
2126 { "uimm6", 33, -1, 0,
2127 XTENSA_OPERAND_IS_PCRELATIVE
,
2128 Operand_uimm6_encode
, Operand_uimm6_decode
,
2129 Operand_uimm6_ator
, Operand_uimm6_rtoa
},
2130 { "ai4const", 0, -1, 0,
2132 Operand_ai4const_encode
, Operand_ai4const_decode
,
2134 { "b4const", 14, -1, 0,
2136 Operand_b4const_encode
, Operand_b4const_decode
,
2138 { "b4constu", 14, -1, 0,
2140 Operand_b4constu_encode
, Operand_b4constu_decode
,
2142 { "uimm8", 4, -1, 0,
2144 Operand_uimm8_encode
, Operand_uimm8_decode
,
2146 { "uimm8x2", 4, -1, 0,
2148 Operand_uimm8x2_encode
, Operand_uimm8x2_decode
,
2150 { "uimm8x4", 4, -1, 0,
2152 Operand_uimm8x4_encode
, Operand_uimm8x4_decode
,
2154 { "uimm4x16", 13, -1, 0,
2156 Operand_uimm4x16_encode
, Operand_uimm4x16_decode
,
2158 { "simm8", 4, -1, 0,
2160 Operand_simm8_encode
, Operand_simm8_decode
,
2162 { "simm8x256", 4, -1, 0,
2164 Operand_simm8x256_encode
, Operand_simm8x256_decode
,
2166 { "simm12b", 6, -1, 0,
2168 Operand_simm12b_encode
, Operand_simm12b_decode
,
2170 { "msalp32", 18, -1, 0,
2172 Operand_msalp32_encode
, Operand_msalp32_decode
,
2174 { "op2p1", 13, -1, 0,
2176 Operand_op2p1_encode
, Operand_op2p1_decode
,
2178 { "label8", 4, -1, 0,
2179 XTENSA_OPERAND_IS_PCRELATIVE
,
2180 Operand_label8_encode
, Operand_label8_decode
,
2181 Operand_label8_ator
, Operand_label8_rtoa
},
2182 { "ulabel8", 4, -1, 0,
2183 XTENSA_OPERAND_IS_PCRELATIVE
,
2184 Operand_ulabel8_encode
, Operand_ulabel8_decode
,
2185 Operand_ulabel8_ator
, Operand_ulabel8_rtoa
},
2186 { "label12", 3, -1, 0,
2187 XTENSA_OPERAND_IS_PCRELATIVE
,
2188 Operand_label12_encode
, Operand_label12_decode
,
2189 Operand_label12_ator
, Operand_label12_rtoa
},
2190 { "soffset", 10, -1, 0,
2191 XTENSA_OPERAND_IS_PCRELATIVE
,
2192 Operand_soffset_encode
, Operand_soffset_decode
,
2193 Operand_soffset_ator
, Operand_soffset_rtoa
},
2194 { "uimm16x4", 7, -1, 0,
2195 XTENSA_OPERAND_IS_PCRELATIVE
,
2196 Operand_uimm16x4_encode
, Operand_uimm16x4_decode
,
2197 Operand_uimm16x4_ator
, Operand_uimm16x4_rtoa
},
2200 Operand_immt_encode
, Operand_immt_decode
,
2204 Operand_imms_encode
, Operand_imms_decode
,
2206 { "t", 0, -1, 0, 0, 0, 0, 0, 0 },
2207 { "bbi4", 1, -1, 0, 0, 0, 0, 0, 0 },
2208 { "bbi", 2, -1, 0, 0, 0, 0, 0, 0 },
2209 { "imm12", 3, -1, 0, 0, 0, 0, 0, 0 },
2210 { "imm8", 4, -1, 0, 0, 0, 0, 0, 0 },
2211 { "s", 5, -1, 0, 0, 0, 0, 0, 0 },
2212 { "imm12b", 6, -1, 0, 0, 0, 0, 0, 0 },
2213 { "imm16", 7, -1, 0, 0, 0, 0, 0, 0 },
2214 { "m", 8, -1, 0, 0, 0, 0, 0, 0 },
2215 { "n", 9, -1, 0, 0, 0, 0, 0, 0 },
2216 { "offset", 10, -1, 0, 0, 0, 0, 0, 0 },
2217 { "op0", 11, -1, 0, 0, 0, 0, 0, 0 },
2218 { "op1", 12, -1, 0, 0, 0, 0, 0, 0 },
2219 { "op2", 13, -1, 0, 0, 0, 0, 0, 0 },
2220 { "r", 14, -1, 0, 0, 0, 0, 0, 0 },
2221 { "sa4", 15, -1, 0, 0, 0, 0, 0, 0 },
2222 { "sae4", 16, -1, 0, 0, 0, 0, 0, 0 },
2223 { "sae", 17, -1, 0, 0, 0, 0, 0, 0 },
2224 { "sal", 18, -1, 0, 0, 0, 0, 0, 0 },
2225 { "sargt", 19, -1, 0, 0, 0, 0, 0, 0 },
2226 { "sas4", 20, -1, 0, 0, 0, 0, 0, 0 },
2227 { "sas", 21, -1, 0, 0, 0, 0, 0, 0 },
2228 { "sr", 22, -1, 0, 0, 0, 0, 0, 0 },
2229 { "st", 23, -1, 0, 0, 0, 0, 0, 0 },
2230 { "thi3", 24, -1, 0, 0, 0, 0, 0, 0 },
2231 { "imm4", 25, -1, 0, 0, 0, 0, 0, 0 },
2232 { "mn", 26, -1, 0, 0, 0, 0, 0, 0 },
2233 { "i", 27, -1, 0, 0, 0, 0, 0, 0 },
2234 { "imm6lo", 28, -1, 0, 0, 0, 0, 0, 0 },
2235 { "imm6hi", 29, -1, 0, 0, 0, 0, 0, 0 },
2236 { "imm7lo", 30, -1, 0, 0, 0, 0, 0, 0 },
2237 { "imm7hi", 31, -1, 0, 0, 0, 0, 0, 0 },
2238 { "z", 32, -1, 0, 0, 0, 0, 0, 0 },
2239 { "imm6", 33, -1, 0, 0, 0, 0, 0, 0 },
2240 { "imm7", 34, -1, 0, 0, 0, 0, 0, 0 }
2246 static xtensa_arg_internal Iclass_xt_iclass_rfe_stateArgs
[] = {
2247 { { STATE_PSEXCM
}, 'o' },
2248 { { STATE_EPC1
}, 'i' }
2251 static xtensa_arg_internal Iclass_xt_iclass_rfde_stateArgs
[] = {
2252 { { STATE_DEPC
}, 'i' }
2255 static xtensa_arg_internal Iclass_xt_iclass_call12_args
[] = {
2256 { { 0 /* soffsetx4 */ }, 'i' },
2257 { { 10 /* ar12 */ }, 'o' }
2260 static xtensa_arg_internal Iclass_xt_iclass_call12_stateArgs
[] = {
2261 { { STATE_PSCALLINC
}, 'o' }
2264 static xtensa_arg_internal Iclass_xt_iclass_call8_args
[] = {
2265 { { 0 /* soffsetx4 */ }, 'i' },
2266 { { 9 /* ar8 */ }, 'o' }
2269 static xtensa_arg_internal Iclass_xt_iclass_call8_stateArgs
[] = {
2270 { { STATE_PSCALLINC
}, 'o' }
2273 static xtensa_arg_internal Iclass_xt_iclass_call4_args
[] = {
2274 { { 0 /* soffsetx4 */ }, 'i' },
2275 { { 8 /* ar4 */ }, 'o' }
2278 static xtensa_arg_internal Iclass_xt_iclass_call4_stateArgs
[] = {
2279 { { STATE_PSCALLINC
}, 'o' }
2282 static xtensa_arg_internal Iclass_xt_iclass_callx12_args
[] = {
2283 { { 4 /* ars */ }, 'i' },
2284 { { 10 /* ar12 */ }, 'o' }
2287 static xtensa_arg_internal Iclass_xt_iclass_callx12_stateArgs
[] = {
2288 { { STATE_PSCALLINC
}, 'o' }
2291 static xtensa_arg_internal Iclass_xt_iclass_callx8_args
[] = {
2292 { { 4 /* ars */ }, 'i' },
2293 { { 9 /* ar8 */ }, 'o' }
2296 static xtensa_arg_internal Iclass_xt_iclass_callx8_stateArgs
[] = {
2297 { { STATE_PSCALLINC
}, 'o' }
2300 static xtensa_arg_internal Iclass_xt_iclass_callx4_args
[] = {
2301 { { 4 /* ars */ }, 'i' },
2302 { { 8 /* ar4 */ }, 'o' }
2305 static xtensa_arg_internal Iclass_xt_iclass_callx4_stateArgs
[] = {
2306 { { STATE_PSCALLINC
}, 'o' }
2309 static xtensa_arg_internal Iclass_xt_iclass_entry_args
[] = {
2310 { { 11 /* ars_entry */ }, 's' },
2311 { { 4 /* ars */ }, 'i' },
2312 { { 1 /* uimm12x8 */ }, 'i' }
2315 static xtensa_arg_internal Iclass_xt_iclass_entry_stateArgs
[] = {
2316 { { STATE_PSCALLINC
}, 'i' },
2317 { { STATE_PSEXCM
}, 'i' },
2318 { { STATE_PSWOE
}, 'i' },
2319 { { STATE_WindowBase
}, 'm' },
2320 { { STATE_WindowStart
}, 'm' }
2323 static xtensa_arg_internal Iclass_xt_iclass_movsp_args
[] = {
2324 { { 6 /* art */ }, 'o' },
2325 { { 4 /* ars */ }, 'i' }
2328 static xtensa_arg_internal Iclass_xt_iclass_movsp_stateArgs
[] = {
2329 { { STATE_WindowBase
}, 'i' },
2330 { { STATE_WindowStart
}, 'i' }
2333 static xtensa_arg_internal Iclass_xt_iclass_rotw_args
[] = {
2334 { { 2 /* simm4 */ }, 'i' }
2337 static xtensa_arg_internal Iclass_xt_iclass_rotw_stateArgs
[] = {
2338 { { STATE_WindowBase
}, 'm' }
2341 static xtensa_arg_internal Iclass_xt_iclass_retw_args
[] = {
2342 { { 5 /* *ars_invisible */ }, 'i' }
2345 static xtensa_arg_internal Iclass_xt_iclass_retw_stateArgs
[] = {
2346 { { STATE_WindowBase
}, 'm' },
2347 { { STATE_WindowStart
}, 'm' },
2348 { { STATE_PSEXCM
}, 'i' },
2349 { { STATE_PSWOE
}, 'i' }
2352 static xtensa_arg_internal Iclass_xt_iclass_rfwou_stateArgs
[] = {
2353 { { STATE_EPC1
}, 'i' },
2354 { { STATE_PSEXCM
}, 'o' },
2355 { { STATE_WindowBase
}, 'm' },
2356 { { STATE_WindowStart
}, 'm' },
2357 { { STATE_PSOWB
}, 'i' }
2360 static xtensa_arg_internal Iclass_xt_iclass_l32e_args
[] = {
2361 { { 6 /* art */ }, 'o' },
2362 { { 4 /* ars */ }, 'i' },
2363 { { 12 /* immrx4 */ }, 'i' }
2366 static xtensa_arg_internal Iclass_xt_iclass_s32e_args
[] = {
2367 { { 6 /* art */ }, 'i' },
2368 { { 4 /* ars */ }, 'i' },
2369 { { 12 /* immrx4 */ }, 'i' }
2372 static xtensa_arg_internal Iclass_xt_iclass_rsr_windowbase_args
[] = {
2373 { { 6 /* art */ }, 'o' }
2376 static xtensa_arg_internal Iclass_xt_iclass_rsr_windowbase_stateArgs
[] = {
2377 { { STATE_WindowBase
}, 'i' }
2380 static xtensa_arg_internal Iclass_xt_iclass_wsr_windowbase_args
[] = {
2381 { { 6 /* art */ }, 'i' }
2384 static xtensa_arg_internal Iclass_xt_iclass_wsr_windowbase_stateArgs
[] = {
2385 { { STATE_WindowBase
}, 'o' }
2388 static xtensa_arg_internal Iclass_xt_iclass_xsr_windowbase_args
[] = {
2389 { { 6 /* art */ }, 'm' }
2392 static xtensa_arg_internal Iclass_xt_iclass_xsr_windowbase_stateArgs
[] = {
2393 { { STATE_WindowBase
}, 'm' }
2396 static xtensa_arg_internal Iclass_xt_iclass_rsr_windowstart_args
[] = {
2397 { { 6 /* art */ }, 'o' }
2400 static xtensa_arg_internal Iclass_xt_iclass_rsr_windowstart_stateArgs
[] = {
2401 { { STATE_WindowStart
}, 'i' }
2404 static xtensa_arg_internal Iclass_xt_iclass_wsr_windowstart_args
[] = {
2405 { { 6 /* art */ }, 'i' }
2408 static xtensa_arg_internal Iclass_xt_iclass_wsr_windowstart_stateArgs
[] = {
2409 { { STATE_WindowStart
}, 'o' }
2412 static xtensa_arg_internal Iclass_xt_iclass_xsr_windowstart_args
[] = {
2413 { { 6 /* art */ }, 'm' }
2416 static xtensa_arg_internal Iclass_xt_iclass_xsr_windowstart_stateArgs
[] = {
2417 { { STATE_WindowStart
}, 'm' }
2420 static xtensa_arg_internal Iclass_xt_iclass_add_n_args
[] = {
2421 { { 3 /* arr */ }, 'o' },
2422 { { 4 /* ars */ }, 'i' },
2423 { { 6 /* art */ }, 'i' }
2426 static xtensa_arg_internal Iclass_xt_iclass_addi_n_args
[] = {
2427 { { 3 /* arr */ }, 'o' },
2428 { { 4 /* ars */ }, 'i' },
2429 { { 16 /* ai4const */ }, 'i' }
2432 static xtensa_arg_internal Iclass_xt_iclass_bz6_args
[] = {
2433 { { 4 /* ars */ }, 'i' },
2434 { { 15 /* uimm6 */ }, 'i' }
2437 static xtensa_arg_internal Iclass_xt_iclass_loadi4_args
[] = {
2438 { { 6 /* art */ }, 'o' },
2439 { { 4 /* ars */ }, 'i' },
2440 { { 13 /* lsi4x4 */ }, 'i' }
2443 static xtensa_arg_internal Iclass_xt_iclass_mov_n_args
[] = {
2444 { { 6 /* art */ }, 'o' },
2445 { { 4 /* ars */ }, 'i' }
2448 static xtensa_arg_internal Iclass_xt_iclass_movi_n_args
[] = {
2449 { { 4 /* ars */ }, 'o' },
2450 { { 14 /* simm7 */ }, 'i' }
2453 static xtensa_arg_internal Iclass_xt_iclass_retn_args
[] = {
2454 { { 5 /* *ars_invisible */ }, 'i' }
2457 static xtensa_arg_internal Iclass_xt_iclass_storei4_args
[] = {
2458 { { 6 /* art */ }, 'i' },
2459 { { 4 /* ars */ }, 'i' },
2460 { { 13 /* lsi4x4 */ }, 'i' }
2463 static xtensa_arg_internal Iclass_xt_iclass_addi_args
[] = {
2464 { { 6 /* art */ }, 'o' },
2465 { { 4 /* ars */ }, 'i' },
2466 { { 23 /* simm8 */ }, 'i' }
2469 static xtensa_arg_internal Iclass_xt_iclass_addmi_args
[] = {
2470 { { 6 /* art */ }, 'o' },
2471 { { 4 /* ars */ }, 'i' },
2472 { { 24 /* simm8x256 */ }, 'i' }
2475 static xtensa_arg_internal Iclass_xt_iclass_addsub_args
[] = {
2476 { { 3 /* arr */ }, 'o' },
2477 { { 4 /* ars */ }, 'i' },
2478 { { 6 /* art */ }, 'i' }
2481 static xtensa_arg_internal Iclass_xt_iclass_bit_args
[] = {
2482 { { 3 /* arr */ }, 'o' },
2483 { { 4 /* ars */ }, 'i' },
2484 { { 6 /* art */ }, 'i' }
2487 static xtensa_arg_internal Iclass_xt_iclass_bsi8_args
[] = {
2488 { { 4 /* ars */ }, 'i' },
2489 { { 17 /* b4const */ }, 'i' },
2490 { { 28 /* label8 */ }, 'i' }
2493 static xtensa_arg_internal Iclass_xt_iclass_bsi8b_args
[] = {
2494 { { 4 /* ars */ }, 'i' },
2495 { { 37 /* bbi */ }, 'i' },
2496 { { 28 /* label8 */ }, 'i' }
2499 static xtensa_arg_internal Iclass_xt_iclass_bsi8u_args
[] = {
2500 { { 4 /* ars */ }, 'i' },
2501 { { 18 /* b4constu */ }, 'i' },
2502 { { 28 /* label8 */ }, 'i' }
2505 static xtensa_arg_internal Iclass_xt_iclass_bst8_args
[] = {
2506 { { 4 /* ars */ }, 'i' },
2507 { { 6 /* art */ }, 'i' },
2508 { { 28 /* label8 */ }, 'i' }
2511 static xtensa_arg_internal Iclass_xt_iclass_bsz12_args
[] = {
2512 { { 4 /* ars */ }, 'i' },
2513 { { 30 /* label12 */ }, 'i' }
2516 static xtensa_arg_internal Iclass_xt_iclass_call0_args
[] = {
2517 { { 0 /* soffsetx4 */ }, 'i' },
2518 { { 7 /* ar0 */ }, 'o' }
2521 static xtensa_arg_internal Iclass_xt_iclass_callx0_args
[] = {
2522 { { 4 /* ars */ }, 'i' },
2523 { { 7 /* ar0 */ }, 'o' }
2526 static xtensa_arg_internal Iclass_xt_iclass_exti_args
[] = {
2527 { { 3 /* arr */ }, 'o' },
2528 { { 6 /* art */ }, 'i' },
2529 { { 52 /* sae */ }, 'i' },
2530 { { 27 /* op2p1 */ }, 'i' }
2533 static xtensa_arg_internal Iclass_xt_iclass_jump_args
[] = {
2534 { { 31 /* soffset */ }, 'i' }
2537 static xtensa_arg_internal Iclass_xt_iclass_jumpx_args
[] = {
2538 { { 4 /* ars */ }, 'i' }
2541 static xtensa_arg_internal Iclass_xt_iclass_l16ui_args
[] = {
2542 { { 6 /* art */ }, 'o' },
2543 { { 4 /* ars */ }, 'i' },
2544 { { 20 /* uimm8x2 */ }, 'i' }
2547 static xtensa_arg_internal Iclass_xt_iclass_l16si_args
[] = {
2548 { { 6 /* art */ }, 'o' },
2549 { { 4 /* ars */ }, 'i' },
2550 { { 20 /* uimm8x2 */ }, 'i' }
2553 static xtensa_arg_internal Iclass_xt_iclass_l32i_args
[] = {
2554 { { 6 /* art */ }, 'o' },
2555 { { 4 /* ars */ }, 'i' },
2556 { { 21 /* uimm8x4 */ }, 'i' }
2559 static xtensa_arg_internal Iclass_xt_iclass_l32r_args
[] = {
2560 { { 6 /* art */ }, 'o' },
2561 { { 32 /* uimm16x4 */ }, 'i' }
2564 static xtensa_arg_internal Iclass_xt_iclass_l32r_stateArgs
[] = {
2565 { { STATE_LITBADDR
}, 'i' },
2566 { { STATE_LITBEN
}, 'i' }
2569 static xtensa_arg_internal Iclass_xt_iclass_l8i_args
[] = {
2570 { { 6 /* art */ }, 'o' },
2571 { { 4 /* ars */ }, 'i' },
2572 { { 19 /* uimm8 */ }, 'i' }
2575 static xtensa_arg_internal Iclass_xt_iclass_loop_args
[] = {
2576 { { 4 /* ars */ }, 'i' },
2577 { { 29 /* ulabel8 */ }, 'i' }
2580 static xtensa_arg_internal Iclass_xt_iclass_loop_stateArgs
[] = {
2581 { { STATE_LBEG
}, 'o' },
2582 { { STATE_LEND
}, 'o' },
2583 { { STATE_LCOUNT
}, 'o' }
2586 static xtensa_arg_internal Iclass_xt_iclass_loopz_args
[] = {
2587 { { 4 /* ars */ }, 'i' },
2588 { { 29 /* ulabel8 */ }, 'i' }
2591 static xtensa_arg_internal Iclass_xt_iclass_loopz_stateArgs
[] = {
2592 { { STATE_LBEG
}, 'o' },
2593 { { STATE_LEND
}, 'o' },
2594 { { STATE_LCOUNT
}, 'o' }
2597 static xtensa_arg_internal Iclass_xt_iclass_movi_args
[] = {
2598 { { 6 /* art */ }, 'o' },
2599 { { 25 /* simm12b */ }, 'i' }
2602 static xtensa_arg_internal Iclass_xt_iclass_movz_args
[] = {
2603 { { 3 /* arr */ }, 'm' },
2604 { { 4 /* ars */ }, 'i' },
2605 { { 6 /* art */ }, 'i' }
2608 static xtensa_arg_internal Iclass_xt_iclass_neg_args
[] = {
2609 { { 3 /* arr */ }, 'o' },
2610 { { 6 /* art */ }, 'i' }
2613 static xtensa_arg_internal Iclass_xt_iclass_return_args
[] = {
2614 { { 5 /* *ars_invisible */ }, 'i' }
2617 static xtensa_arg_internal Iclass_xt_iclass_s16i_args
[] = {
2618 { { 6 /* art */ }, 'i' },
2619 { { 4 /* ars */ }, 'i' },
2620 { { 20 /* uimm8x2 */ }, 'i' }
2623 static xtensa_arg_internal Iclass_xt_iclass_s32i_args
[] = {
2624 { { 6 /* art */ }, 'i' },
2625 { { 4 /* ars */ }, 'i' },
2626 { { 21 /* uimm8x4 */ }, 'i' }
2629 static xtensa_arg_internal Iclass_xt_iclass_s8i_args
[] = {
2630 { { 6 /* art */ }, 'i' },
2631 { { 4 /* ars */ }, 'i' },
2632 { { 19 /* uimm8 */ }, 'i' }
2635 static xtensa_arg_internal Iclass_xt_iclass_sar_args
[] = {
2636 { { 4 /* ars */ }, 'i' }
2639 static xtensa_arg_internal Iclass_xt_iclass_sar_stateArgs
[] = {
2640 { { STATE_SAR
}, 'o' }
2643 static xtensa_arg_internal Iclass_xt_iclass_sari_args
[] = {
2644 { { 56 /* sas */ }, 'i' }
2647 static xtensa_arg_internal Iclass_xt_iclass_sari_stateArgs
[] = {
2648 { { STATE_SAR
}, 'o' }
2651 static xtensa_arg_internal Iclass_xt_iclass_shifts_args
[] = {
2652 { { 3 /* arr */ }, 'o' },
2653 { { 4 /* ars */ }, 'i' }
2656 static xtensa_arg_internal Iclass_xt_iclass_shifts_stateArgs
[] = {
2657 { { STATE_SAR
}, 'i' }
2660 static xtensa_arg_internal Iclass_xt_iclass_shiftst_args
[] = {
2661 { { 3 /* arr */ }, 'o' },
2662 { { 4 /* ars */ }, 'i' },
2663 { { 6 /* art */ }, 'i' }
2666 static xtensa_arg_internal Iclass_xt_iclass_shiftst_stateArgs
[] = {
2667 { { STATE_SAR
}, 'i' }
2670 static xtensa_arg_internal Iclass_xt_iclass_shiftt_args
[] = {
2671 { { 3 /* arr */ }, 'o' },
2672 { { 6 /* art */ }, 'i' }
2675 static xtensa_arg_internal Iclass_xt_iclass_shiftt_stateArgs
[] = {
2676 { { STATE_SAR
}, 'i' }
2679 static xtensa_arg_internal Iclass_xt_iclass_slli_args
[] = {
2680 { { 3 /* arr */ }, 'o' },
2681 { { 4 /* ars */ }, 'i' },
2682 { { 26 /* msalp32 */ }, 'i' }
2685 static xtensa_arg_internal Iclass_xt_iclass_srai_args
[] = {
2686 { { 3 /* arr */ }, 'o' },
2687 { { 6 /* art */ }, 'i' },
2688 { { 54 /* sargt */ }, 'i' }
2691 static xtensa_arg_internal Iclass_xt_iclass_srli_args
[] = {
2692 { { 3 /* arr */ }, 'o' },
2693 { { 6 /* art */ }, 'i' },
2694 { { 40 /* s */ }, 'i' }
2697 static xtensa_arg_internal Iclass_xt_iclass_sync_stateArgs
[] = {
2698 { { STATE_XTSYNC
}, 'i' }
2701 static xtensa_arg_internal Iclass_xt_iclass_rsil_args
[] = {
2702 { { 6 /* art */ }, 'o' },
2703 { { 40 /* s */ }, 'i' }
2706 static xtensa_arg_internal Iclass_xt_iclass_rsil_stateArgs
[] = {
2707 { { STATE_PSWOE
}, 'i' },
2708 { { STATE_PSCALLINC
}, 'i' },
2709 { { STATE_PSOWB
}, 'i' },
2710 { { STATE_PSUM
}, 'i' },
2711 { { STATE_PSEXCM
}, 'i' },
2712 { { STATE_PSINTLEVEL
}, 'm' }
2715 static xtensa_arg_internal Iclass_xt_iclass_rsr_lend_args
[] = {
2716 { { 6 /* art */ }, 'o' }
2719 static xtensa_arg_internal Iclass_xt_iclass_rsr_lend_stateArgs
[] = {
2720 { { STATE_LEND
}, 'i' }
2723 static xtensa_arg_internal Iclass_xt_iclass_wsr_lend_args
[] = {
2724 { { 6 /* art */ }, 'i' }
2727 static xtensa_arg_internal Iclass_xt_iclass_wsr_lend_stateArgs
[] = {
2728 { { STATE_LEND
}, 'o' }
2731 static xtensa_arg_internal Iclass_xt_iclass_xsr_lend_args
[] = {
2732 { { 6 /* art */ }, 'm' }
2735 static xtensa_arg_internal Iclass_xt_iclass_xsr_lend_stateArgs
[] = {
2736 { { STATE_LEND
}, 'm' }
2739 static xtensa_arg_internal Iclass_xt_iclass_rsr_lcount_args
[] = {
2740 { { 6 /* art */ }, 'o' }
2743 static xtensa_arg_internal Iclass_xt_iclass_rsr_lcount_stateArgs
[] = {
2744 { { STATE_LCOUNT
}, 'i' }
2747 static xtensa_arg_internal Iclass_xt_iclass_wsr_lcount_args
[] = {
2748 { { 6 /* art */ }, 'i' }
2751 static xtensa_arg_internal Iclass_xt_iclass_wsr_lcount_stateArgs
[] = {
2752 { { STATE_XTSYNC
}, 'o' },
2753 { { STATE_LCOUNT
}, 'o' }
2756 static xtensa_arg_internal Iclass_xt_iclass_xsr_lcount_args
[] = {
2757 { { 6 /* art */ }, 'm' }
2760 static xtensa_arg_internal Iclass_xt_iclass_xsr_lcount_stateArgs
[] = {
2761 { { STATE_XTSYNC
}, 'o' },
2762 { { STATE_LCOUNT
}, 'm' }
2765 static xtensa_arg_internal Iclass_xt_iclass_rsr_lbeg_args
[] = {
2766 { { 6 /* art */ }, 'o' }
2769 static xtensa_arg_internal Iclass_xt_iclass_rsr_lbeg_stateArgs
[] = {
2770 { { STATE_LBEG
}, 'i' }
2773 static xtensa_arg_internal Iclass_xt_iclass_wsr_lbeg_args
[] = {
2774 { { 6 /* art */ }, 'i' }
2777 static xtensa_arg_internal Iclass_xt_iclass_wsr_lbeg_stateArgs
[] = {
2778 { { STATE_LBEG
}, 'o' }
2781 static xtensa_arg_internal Iclass_xt_iclass_xsr_lbeg_args
[] = {
2782 { { 6 /* art */ }, 'm' }
2785 static xtensa_arg_internal Iclass_xt_iclass_xsr_lbeg_stateArgs
[] = {
2786 { { STATE_LBEG
}, 'm' }
2789 static xtensa_arg_internal Iclass_xt_iclass_rsr_sar_args
[] = {
2790 { { 6 /* art */ }, 'o' }
2793 static xtensa_arg_internal Iclass_xt_iclass_rsr_sar_stateArgs
[] = {
2794 { { STATE_SAR
}, 'i' }
2797 static xtensa_arg_internal Iclass_xt_iclass_wsr_sar_args
[] = {
2798 { { 6 /* art */ }, 'i' }
2801 static xtensa_arg_internal Iclass_xt_iclass_wsr_sar_stateArgs
[] = {
2802 { { STATE_SAR
}, 'o' },
2803 { { STATE_XTSYNC
}, 'o' }
2806 static xtensa_arg_internal Iclass_xt_iclass_xsr_sar_args
[] = {
2807 { { 6 /* art */ }, 'm' }
2810 static xtensa_arg_internal Iclass_xt_iclass_xsr_sar_stateArgs
[] = {
2811 { { STATE_SAR
}, 'm' }
2814 static xtensa_arg_internal Iclass_xt_iclass_rsr_litbase_args
[] = {
2815 { { 6 /* art */ }, 'o' }
2818 static xtensa_arg_internal Iclass_xt_iclass_rsr_litbase_stateArgs
[] = {
2819 { { STATE_LITBADDR
}, 'i' },
2820 { { STATE_LITBEN
}, 'i' }
2823 static xtensa_arg_internal Iclass_xt_iclass_wsr_litbase_args
[] = {
2824 { { 6 /* art */ }, 'i' }
2827 static xtensa_arg_internal Iclass_xt_iclass_wsr_litbase_stateArgs
[] = {
2828 { { STATE_LITBADDR
}, 'o' },
2829 { { STATE_LITBEN
}, 'o' }
2832 static xtensa_arg_internal Iclass_xt_iclass_xsr_litbase_args
[] = {
2833 { { 6 /* art */ }, 'm' }
2836 static xtensa_arg_internal Iclass_xt_iclass_xsr_litbase_stateArgs
[] = {
2837 { { STATE_LITBADDR
}, 'm' },
2838 { { STATE_LITBEN
}, 'm' }
2841 static xtensa_arg_internal Iclass_xt_iclass_rsr_176_args
[] = {
2842 { { 6 /* art */ }, 'o' }
2845 static xtensa_arg_internal Iclass_xt_iclass_rsr_208_args
[] = {
2846 { { 6 /* art */ }, 'o' }
2849 static xtensa_arg_internal Iclass_xt_iclass_rsr_ps_args
[] = {
2850 { { 6 /* art */ }, 'o' }
2853 static xtensa_arg_internal Iclass_xt_iclass_rsr_ps_stateArgs
[] = {
2854 { { STATE_PSWOE
}, 'i' },
2855 { { STATE_PSCALLINC
}, 'i' },
2856 { { STATE_PSOWB
}, 'i' },
2857 { { STATE_PSUM
}, 'i' },
2858 { { STATE_PSEXCM
}, 'i' },
2859 { { STATE_PSINTLEVEL
}, 'i' }
2862 static xtensa_arg_internal Iclass_xt_iclass_wsr_ps_args
[] = {
2863 { { 6 /* art */ }, 'i' }
2866 static xtensa_arg_internal Iclass_xt_iclass_wsr_ps_stateArgs
[] = {
2867 { { STATE_PSWOE
}, 'o' },
2868 { { STATE_PSCALLINC
}, 'o' },
2869 { { STATE_PSOWB
}, 'o' },
2870 { { STATE_PSUM
}, 'o' },
2871 { { STATE_PSEXCM
}, 'o' },
2872 { { STATE_PSINTLEVEL
}, 'o' }
2875 static xtensa_arg_internal Iclass_xt_iclass_xsr_ps_args
[] = {
2876 { { 6 /* art */ }, 'm' }
2879 static xtensa_arg_internal Iclass_xt_iclass_xsr_ps_stateArgs
[] = {
2880 { { STATE_PSWOE
}, 'm' },
2881 { { STATE_PSCALLINC
}, 'm' },
2882 { { STATE_PSOWB
}, 'm' },
2883 { { STATE_PSUM
}, 'm' },
2884 { { STATE_PSEXCM
}, 'm' },
2885 { { STATE_PSINTLEVEL
}, 'm' }
2888 static xtensa_arg_internal Iclass_xt_iclass_rsr_epc1_args
[] = {
2889 { { 6 /* art */ }, 'o' }
2892 static xtensa_arg_internal Iclass_xt_iclass_rsr_epc1_stateArgs
[] = {
2893 { { STATE_EPC1
}, 'i' }
2896 static xtensa_arg_internal Iclass_xt_iclass_wsr_epc1_args
[] = {
2897 { { 6 /* art */ }, 'i' }
2900 static xtensa_arg_internal Iclass_xt_iclass_wsr_epc1_stateArgs
[] = {
2901 { { STATE_EPC1
}, 'o' }
2904 static xtensa_arg_internal Iclass_xt_iclass_xsr_epc1_args
[] = {
2905 { { 6 /* art */ }, 'm' }
2908 static xtensa_arg_internal Iclass_xt_iclass_xsr_epc1_stateArgs
[] = {
2909 { { STATE_EPC1
}, 'm' }
2912 static xtensa_arg_internal Iclass_xt_iclass_rsr_excsave1_args
[] = {
2913 { { 6 /* art */ }, 'o' }
2916 static xtensa_arg_internal Iclass_xt_iclass_rsr_excsave1_stateArgs
[] = {
2917 { { STATE_EXCSAVE1
}, 'i' }
2920 static xtensa_arg_internal Iclass_xt_iclass_wsr_excsave1_args
[] = {
2921 { { 6 /* art */ }, 'i' }
2924 static xtensa_arg_internal Iclass_xt_iclass_wsr_excsave1_stateArgs
[] = {
2925 { { STATE_EXCSAVE1
}, 'o' }
2928 static xtensa_arg_internal Iclass_xt_iclass_xsr_excsave1_args
[] = {
2929 { { 6 /* art */ }, 'm' }
2932 static xtensa_arg_internal Iclass_xt_iclass_xsr_excsave1_stateArgs
[] = {
2933 { { STATE_EXCSAVE1
}, 'm' }
2936 static xtensa_arg_internal Iclass_xt_iclass_rsr_epc2_args
[] = {
2937 { { 6 /* art */ }, 'o' }
2940 static xtensa_arg_internal Iclass_xt_iclass_rsr_epc2_stateArgs
[] = {
2941 { { STATE_EPC2
}, 'i' }
2944 static xtensa_arg_internal Iclass_xt_iclass_wsr_epc2_args
[] = {
2945 { { 6 /* art */ }, 'i' }
2948 static xtensa_arg_internal Iclass_xt_iclass_wsr_epc2_stateArgs
[] = {
2949 { { STATE_EPC2
}, 'o' }
2952 static xtensa_arg_internal Iclass_xt_iclass_xsr_epc2_args
[] = {
2953 { { 6 /* art */ }, 'm' }
2956 static xtensa_arg_internal Iclass_xt_iclass_xsr_epc2_stateArgs
[] = {
2957 { { STATE_EPC2
}, 'm' }
2960 static xtensa_arg_internal Iclass_xt_iclass_rsr_excsave2_args
[] = {
2961 { { 6 /* art */ }, 'o' }
2964 static xtensa_arg_internal Iclass_xt_iclass_rsr_excsave2_stateArgs
[] = {
2965 { { STATE_EXCSAVE2
}, 'i' }
2968 static xtensa_arg_internal Iclass_xt_iclass_wsr_excsave2_args
[] = {
2969 { { 6 /* art */ }, 'i' }
2972 static xtensa_arg_internal Iclass_xt_iclass_wsr_excsave2_stateArgs
[] = {
2973 { { STATE_EXCSAVE2
}, 'o' }
2976 static xtensa_arg_internal Iclass_xt_iclass_xsr_excsave2_args
[] = {
2977 { { 6 /* art */ }, 'm' }
2980 static xtensa_arg_internal Iclass_xt_iclass_xsr_excsave2_stateArgs
[] = {
2981 { { STATE_EXCSAVE2
}, 'm' }
2984 static xtensa_arg_internal Iclass_xt_iclass_rsr_epc3_args
[] = {
2985 { { 6 /* art */ }, 'o' }
2988 static xtensa_arg_internal Iclass_xt_iclass_rsr_epc3_stateArgs
[] = {
2989 { { STATE_EPC3
}, 'i' }
2992 static xtensa_arg_internal Iclass_xt_iclass_wsr_epc3_args
[] = {
2993 { { 6 /* art */ }, 'i' }
2996 static xtensa_arg_internal Iclass_xt_iclass_wsr_epc3_stateArgs
[] = {
2997 { { STATE_EPC3
}, 'o' }
3000 static xtensa_arg_internal Iclass_xt_iclass_xsr_epc3_args
[] = {
3001 { { 6 /* art */ }, 'm' }
3004 static xtensa_arg_internal Iclass_xt_iclass_xsr_epc3_stateArgs
[] = {
3005 { { STATE_EPC3
}, 'm' }
3008 static xtensa_arg_internal Iclass_xt_iclass_rsr_excsave3_args
[] = {
3009 { { 6 /* art */ }, 'o' }
3012 static xtensa_arg_internal Iclass_xt_iclass_rsr_excsave3_stateArgs
[] = {
3013 { { STATE_EXCSAVE3
}, 'i' }
3016 static xtensa_arg_internal Iclass_xt_iclass_wsr_excsave3_args
[] = {
3017 { { 6 /* art */ }, 'i' }
3020 static xtensa_arg_internal Iclass_xt_iclass_wsr_excsave3_stateArgs
[] = {
3021 { { STATE_EXCSAVE3
}, 'o' }
3024 static xtensa_arg_internal Iclass_xt_iclass_xsr_excsave3_args
[] = {
3025 { { 6 /* art */ }, 'm' }
3028 static xtensa_arg_internal Iclass_xt_iclass_xsr_excsave3_stateArgs
[] = {
3029 { { STATE_EXCSAVE3
}, 'm' }
3032 static xtensa_arg_internal Iclass_xt_iclass_rsr_epc4_args
[] = {
3033 { { 6 /* art */ }, 'o' }
3036 static xtensa_arg_internal Iclass_xt_iclass_rsr_epc4_stateArgs
[] = {
3037 { { STATE_EPC4
}, 'i' }
3040 static xtensa_arg_internal Iclass_xt_iclass_wsr_epc4_args
[] = {
3041 { { 6 /* art */ }, 'i' }
3044 static xtensa_arg_internal Iclass_xt_iclass_wsr_epc4_stateArgs
[] = {
3045 { { STATE_EPC4
}, 'o' }
3048 static xtensa_arg_internal Iclass_xt_iclass_xsr_epc4_args
[] = {
3049 { { 6 /* art */ }, 'm' }
3052 static xtensa_arg_internal Iclass_xt_iclass_xsr_epc4_stateArgs
[] = {
3053 { { STATE_EPC4
}, 'm' }
3056 static xtensa_arg_internal Iclass_xt_iclass_rsr_excsave4_args
[] = {
3057 { { 6 /* art */ }, 'o' }
3060 static xtensa_arg_internal Iclass_xt_iclass_rsr_excsave4_stateArgs
[] = {
3061 { { STATE_EXCSAVE4
}, 'i' }
3064 static xtensa_arg_internal Iclass_xt_iclass_wsr_excsave4_args
[] = {
3065 { { 6 /* art */ }, 'i' }
3068 static xtensa_arg_internal Iclass_xt_iclass_wsr_excsave4_stateArgs
[] = {
3069 { { STATE_EXCSAVE4
}, 'o' }
3072 static xtensa_arg_internal Iclass_xt_iclass_xsr_excsave4_args
[] = {
3073 { { 6 /* art */ }, 'm' }
3076 static xtensa_arg_internal Iclass_xt_iclass_xsr_excsave4_stateArgs
[] = {
3077 { { STATE_EXCSAVE4
}, 'm' }
3080 static xtensa_arg_internal Iclass_xt_iclass_rsr_eps2_args
[] = {
3081 { { 6 /* art */ }, 'o' }
3084 static xtensa_arg_internal Iclass_xt_iclass_rsr_eps2_stateArgs
[] = {
3085 { { STATE_EPS2
}, 'i' }
3088 static xtensa_arg_internal Iclass_xt_iclass_wsr_eps2_args
[] = {
3089 { { 6 /* art */ }, 'i' }
3092 static xtensa_arg_internal Iclass_xt_iclass_wsr_eps2_stateArgs
[] = {
3093 { { STATE_EPS2
}, 'o' }
3096 static xtensa_arg_internal Iclass_xt_iclass_xsr_eps2_args
[] = {
3097 { { 6 /* art */ }, 'm' }
3100 static xtensa_arg_internal Iclass_xt_iclass_xsr_eps2_stateArgs
[] = {
3101 { { STATE_EPS2
}, 'm' }
3104 static xtensa_arg_internal Iclass_xt_iclass_rsr_eps3_args
[] = {
3105 { { 6 /* art */ }, 'o' }
3108 static xtensa_arg_internal Iclass_xt_iclass_rsr_eps3_stateArgs
[] = {
3109 { { STATE_EPS3
}, 'i' }
3112 static xtensa_arg_internal Iclass_xt_iclass_wsr_eps3_args
[] = {
3113 { { 6 /* art */ }, 'i' }
3116 static xtensa_arg_internal Iclass_xt_iclass_wsr_eps3_stateArgs
[] = {
3117 { { STATE_EPS3
}, 'o' }
3120 static xtensa_arg_internal Iclass_xt_iclass_xsr_eps3_args
[] = {
3121 { { 6 /* art */ }, 'm' }
3124 static xtensa_arg_internal Iclass_xt_iclass_xsr_eps3_stateArgs
[] = {
3125 { { STATE_EPS3
}, 'm' }
3128 static xtensa_arg_internal Iclass_xt_iclass_rsr_eps4_args
[] = {
3129 { { 6 /* art */ }, 'o' }
3132 static xtensa_arg_internal Iclass_xt_iclass_rsr_eps4_stateArgs
[] = {
3133 { { STATE_EPS4
}, 'i' }
3136 static xtensa_arg_internal Iclass_xt_iclass_wsr_eps4_args
[] = {
3137 { { 6 /* art */ }, 'i' }
3140 static xtensa_arg_internal Iclass_xt_iclass_wsr_eps4_stateArgs
[] = {
3141 { { STATE_EPS4
}, 'o' }
3144 static xtensa_arg_internal Iclass_xt_iclass_xsr_eps4_args
[] = {
3145 { { 6 /* art */ }, 'm' }
3148 static xtensa_arg_internal Iclass_xt_iclass_xsr_eps4_stateArgs
[] = {
3149 { { STATE_EPS4
}, 'm' }
3152 static xtensa_arg_internal Iclass_xt_iclass_rsr_excvaddr_args
[] = {
3153 { { 6 /* art */ }, 'o' }
3156 static xtensa_arg_internal Iclass_xt_iclass_rsr_excvaddr_stateArgs
[] = {
3157 { { STATE_EXCVADDR
}, 'i' }
3160 static xtensa_arg_internal Iclass_xt_iclass_wsr_excvaddr_args
[] = {
3161 { { 6 /* art */ }, 'i' }
3164 static xtensa_arg_internal Iclass_xt_iclass_wsr_excvaddr_stateArgs
[] = {
3165 { { STATE_EXCVADDR
}, 'o' }
3168 static xtensa_arg_internal Iclass_xt_iclass_xsr_excvaddr_args
[] = {
3169 { { 6 /* art */ }, 'm' }
3172 static xtensa_arg_internal Iclass_xt_iclass_xsr_excvaddr_stateArgs
[] = {
3173 { { STATE_EXCVADDR
}, 'm' }
3176 static xtensa_arg_internal Iclass_xt_iclass_rsr_depc_args
[] = {
3177 { { 6 /* art */ }, 'o' }
3180 static xtensa_arg_internal Iclass_xt_iclass_rsr_depc_stateArgs
[] = {
3181 { { STATE_DEPC
}, 'i' }
3184 static xtensa_arg_internal Iclass_xt_iclass_wsr_depc_args
[] = {
3185 { { 6 /* art */ }, 'i' }
3188 static xtensa_arg_internal Iclass_xt_iclass_wsr_depc_stateArgs
[] = {
3189 { { STATE_DEPC
}, 'o' }
3192 static xtensa_arg_internal Iclass_xt_iclass_xsr_depc_args
[] = {
3193 { { 6 /* art */ }, 'm' }
3196 static xtensa_arg_internal Iclass_xt_iclass_xsr_depc_stateArgs
[] = {
3197 { { STATE_DEPC
}, 'm' }
3200 static xtensa_arg_internal Iclass_xt_iclass_rsr_exccause_args
[] = {
3201 { { 6 /* art */ }, 'o' }
3204 static xtensa_arg_internal Iclass_xt_iclass_rsr_exccause_stateArgs
[] = {
3205 { { STATE_EXCCAUSE
}, 'i' },
3206 { { STATE_XTSYNC
}, 'i' }
3209 static xtensa_arg_internal Iclass_xt_iclass_wsr_exccause_args
[] = {
3210 { { 6 /* art */ }, 'i' }
3213 static xtensa_arg_internal Iclass_xt_iclass_wsr_exccause_stateArgs
[] = {
3214 { { STATE_EXCCAUSE
}, 'o' }
3217 static xtensa_arg_internal Iclass_xt_iclass_xsr_exccause_args
[] = {
3218 { { 6 /* art */ }, 'm' }
3221 static xtensa_arg_internal Iclass_xt_iclass_xsr_exccause_stateArgs
[] = {
3222 { { STATE_EXCCAUSE
}, 'm' }
3225 static xtensa_arg_internal Iclass_xt_iclass_rsr_misc0_args
[] = {
3226 { { 6 /* art */ }, 'o' }
3229 static xtensa_arg_internal Iclass_xt_iclass_rsr_misc0_stateArgs
[] = {
3230 { { STATE_MISC0
}, 'i' }
3233 static xtensa_arg_internal Iclass_xt_iclass_wsr_misc0_args
[] = {
3234 { { 6 /* art */ }, 'i' }
3237 static xtensa_arg_internal Iclass_xt_iclass_wsr_misc0_stateArgs
[] = {
3238 { { STATE_MISC0
}, 'o' }
3241 static xtensa_arg_internal Iclass_xt_iclass_xsr_misc0_args
[] = {
3242 { { 6 /* art */ }, 'm' }
3245 static xtensa_arg_internal Iclass_xt_iclass_xsr_misc0_stateArgs
[] = {
3246 { { STATE_MISC0
}, 'm' }
3249 static xtensa_arg_internal Iclass_xt_iclass_rsr_misc1_args
[] = {
3250 { { 6 /* art */ }, 'o' }
3253 static xtensa_arg_internal Iclass_xt_iclass_rsr_misc1_stateArgs
[] = {
3254 { { STATE_MISC1
}, 'i' }
3257 static xtensa_arg_internal Iclass_xt_iclass_wsr_misc1_args
[] = {
3258 { { 6 /* art */ }, 'i' }
3261 static xtensa_arg_internal Iclass_xt_iclass_wsr_misc1_stateArgs
[] = {
3262 { { STATE_MISC1
}, 'o' }
3265 static xtensa_arg_internal Iclass_xt_iclass_xsr_misc1_args
[] = {
3266 { { 6 /* art */ }, 'm' }
3269 static xtensa_arg_internal Iclass_xt_iclass_xsr_misc1_stateArgs
[] = {
3270 { { STATE_MISC1
}, 'm' }
3273 static xtensa_arg_internal Iclass_xt_iclass_rsr_prid_args
[] = {
3274 { { 6 /* art */ }, 'o' }
3277 static xtensa_arg_internal Iclass_xt_iclass_rfi_args
[] = {
3278 { { 40 /* s */ }, 'i' }
3281 static xtensa_arg_internal Iclass_xt_iclass_rfi_stateArgs
[] = {
3282 { { STATE_PSWOE
}, 'o' },
3283 { { STATE_PSCALLINC
}, 'o' },
3284 { { STATE_PSOWB
}, 'o' },
3285 { { STATE_PSUM
}, 'o' },
3286 { { STATE_PSEXCM
}, 'o' },
3287 { { STATE_PSINTLEVEL
}, 'o' },
3288 { { STATE_EPC1
}, 'i' },
3289 { { STATE_EPC2
}, 'i' },
3290 { { STATE_EPC3
}, 'i' },
3291 { { STATE_EPC4
}, 'i' },
3292 { { STATE_EPS2
}, 'i' },
3293 { { STATE_EPS3
}, 'i' },
3294 { { STATE_EPS4
}, 'i' },
3295 { { STATE_InOCDMode
}, 'm' }
3298 static xtensa_arg_internal Iclass_xt_iclass_wait_args
[] = {
3299 { { 40 /* s */ }, 'i' }
3302 static xtensa_arg_internal Iclass_xt_iclass_wait_stateArgs
[] = {
3303 { { STATE_PSINTLEVEL
}, 'o' }
3306 static xtensa_arg_internal Iclass_xt_iclass_rsr_interrupt_args
[] = {
3307 { { 6 /* art */ }, 'o' }
3310 static xtensa_arg_internal Iclass_xt_iclass_rsr_interrupt_stateArgs
[] = {
3311 { { STATE_INTERRUPT
}, 'i' }
3314 static xtensa_arg_internal Iclass_xt_iclass_wsr_intset_args
[] = {
3315 { { 6 /* art */ }, 'i' }
3318 static xtensa_arg_internal Iclass_xt_iclass_wsr_intset_stateArgs
[] = {
3319 { { STATE_XTSYNC
}, 'o' },
3320 { { STATE_INTERRUPT
}, 'm' }
3323 static xtensa_arg_internal Iclass_xt_iclass_wsr_intclear_args
[] = {
3324 { { 6 /* art */ }, 'i' }
3327 static xtensa_arg_internal Iclass_xt_iclass_wsr_intclear_stateArgs
[] = {
3328 { { STATE_XTSYNC
}, 'o' },
3329 { { STATE_INTERRUPT
}, 'm' }
3332 static xtensa_arg_internal Iclass_xt_iclass_rsr_intenable_args
[] = {
3333 { { 6 /* art */ }, 'o' }
3336 static xtensa_arg_internal Iclass_xt_iclass_rsr_intenable_stateArgs
[] = {
3337 { { STATE_INTENABLE
}, 'i' }
3340 static xtensa_arg_internal Iclass_xt_iclass_wsr_intenable_args
[] = {
3341 { { 6 /* art */ }, 'i' }
3344 static xtensa_arg_internal Iclass_xt_iclass_wsr_intenable_stateArgs
[] = {
3345 { { STATE_INTENABLE
}, 'o' }
3348 static xtensa_arg_internal Iclass_xt_iclass_xsr_intenable_args
[] = {
3349 { { 6 /* art */ }, 'm' }
3352 static xtensa_arg_internal Iclass_xt_iclass_xsr_intenable_stateArgs
[] = {
3353 { { STATE_INTENABLE
}, 'm' }
3356 static xtensa_arg_internal Iclass_xt_iclass_break_args
[] = {
3357 { { 34 /* imms */ }, 'i' },
3358 { { 33 /* immt */ }, 'i' }
3361 static xtensa_arg_internal Iclass_xt_iclass_break_stateArgs
[] = {
3362 { { STATE_PSEXCM
}, 'i' },
3363 { { STATE_PSINTLEVEL
}, 'i' }
3366 static xtensa_arg_internal Iclass_xt_iclass_break_n_args
[] = {
3367 { { 34 /* imms */ }, 'i' }
3370 static xtensa_arg_internal Iclass_xt_iclass_break_n_stateArgs
[] = {
3371 { { STATE_PSEXCM
}, 'i' },
3372 { { STATE_PSINTLEVEL
}, 'i' }
3375 static xtensa_arg_internal Iclass_xt_iclass_rsr_dbreaka0_args
[] = {
3376 { { 6 /* art */ }, 'o' }
3379 static xtensa_arg_internal Iclass_xt_iclass_rsr_dbreaka0_stateArgs
[] = {
3380 { { STATE_DBREAKA0
}, 'i' }
3383 static xtensa_arg_internal Iclass_xt_iclass_wsr_dbreaka0_args
[] = {
3384 { { 6 /* art */ }, 'i' }
3387 static xtensa_arg_internal Iclass_xt_iclass_wsr_dbreaka0_stateArgs
[] = {
3388 { { STATE_DBREAKA0
}, 'o' },
3389 { { STATE_XTSYNC
}, 'o' }
3392 static xtensa_arg_internal Iclass_xt_iclass_xsr_dbreaka0_args
[] = {
3393 { { 6 /* art */ }, 'm' }
3396 static xtensa_arg_internal Iclass_xt_iclass_xsr_dbreaka0_stateArgs
[] = {
3397 { { STATE_DBREAKA0
}, 'm' },
3398 { { STATE_XTSYNC
}, 'o' }
3401 static xtensa_arg_internal Iclass_xt_iclass_rsr_dbreakc0_args
[] = {
3402 { { 6 /* art */ }, 'o' }
3405 static xtensa_arg_internal Iclass_xt_iclass_rsr_dbreakc0_stateArgs
[] = {
3406 { { STATE_DBREAKC0
}, 'i' }
3409 static xtensa_arg_internal Iclass_xt_iclass_wsr_dbreakc0_args
[] = {
3410 { { 6 /* art */ }, 'i' }
3413 static xtensa_arg_internal Iclass_xt_iclass_wsr_dbreakc0_stateArgs
[] = {
3414 { { STATE_DBREAKC0
}, 'o' },
3415 { { STATE_XTSYNC
}, 'o' }
3418 static xtensa_arg_internal Iclass_xt_iclass_xsr_dbreakc0_args
[] = {
3419 { { 6 /* art */ }, 'm' }
3422 static xtensa_arg_internal Iclass_xt_iclass_xsr_dbreakc0_stateArgs
[] = {
3423 { { STATE_DBREAKC0
}, 'm' },
3424 { { STATE_XTSYNC
}, 'o' }
3427 static xtensa_arg_internal Iclass_xt_iclass_rsr_dbreaka1_args
[] = {
3428 { { 6 /* art */ }, 'o' }
3431 static xtensa_arg_internal Iclass_xt_iclass_rsr_dbreaka1_stateArgs
[] = {
3432 { { STATE_DBREAKA1
}, 'i' }
3435 static xtensa_arg_internal Iclass_xt_iclass_wsr_dbreaka1_args
[] = {
3436 { { 6 /* art */ }, 'i' }
3439 static xtensa_arg_internal Iclass_xt_iclass_wsr_dbreaka1_stateArgs
[] = {
3440 { { STATE_DBREAKA1
}, 'o' },
3441 { { STATE_XTSYNC
}, 'o' }
3444 static xtensa_arg_internal Iclass_xt_iclass_xsr_dbreaka1_args
[] = {
3445 { { 6 /* art */ }, 'm' }
3448 static xtensa_arg_internal Iclass_xt_iclass_xsr_dbreaka1_stateArgs
[] = {
3449 { { STATE_DBREAKA1
}, 'm' },
3450 { { STATE_XTSYNC
}, 'o' }
3453 static xtensa_arg_internal Iclass_xt_iclass_rsr_dbreakc1_args
[] = {
3454 { { 6 /* art */ }, 'o' }
3457 static xtensa_arg_internal Iclass_xt_iclass_rsr_dbreakc1_stateArgs
[] = {
3458 { { STATE_DBREAKC1
}, 'i' }
3461 static xtensa_arg_internal Iclass_xt_iclass_wsr_dbreakc1_args
[] = {
3462 { { 6 /* art */ }, 'i' }
3465 static xtensa_arg_internal Iclass_xt_iclass_wsr_dbreakc1_stateArgs
[] = {
3466 { { STATE_DBREAKC1
}, 'o' },
3467 { { STATE_XTSYNC
}, 'o' }
3470 static xtensa_arg_internal Iclass_xt_iclass_xsr_dbreakc1_args
[] = {
3471 { { 6 /* art */ }, 'm' }
3474 static xtensa_arg_internal Iclass_xt_iclass_xsr_dbreakc1_stateArgs
[] = {
3475 { { STATE_DBREAKC1
}, 'm' },
3476 { { STATE_XTSYNC
}, 'o' }
3479 static xtensa_arg_internal Iclass_xt_iclass_rsr_ibreaka0_args
[] = {
3480 { { 6 /* art */ }, 'o' }
3483 static xtensa_arg_internal Iclass_xt_iclass_rsr_ibreaka0_stateArgs
[] = {
3484 { { STATE_IBREAKA0
}, 'i' }
3487 static xtensa_arg_internal Iclass_xt_iclass_wsr_ibreaka0_args
[] = {
3488 { { 6 /* art */ }, 'i' }
3491 static xtensa_arg_internal Iclass_xt_iclass_wsr_ibreaka0_stateArgs
[] = {
3492 { { STATE_IBREAKA0
}, 'o' }
3495 static xtensa_arg_internal Iclass_xt_iclass_xsr_ibreaka0_args
[] = {
3496 { { 6 /* art */ }, 'm' }
3499 static xtensa_arg_internal Iclass_xt_iclass_xsr_ibreaka0_stateArgs
[] = {
3500 { { STATE_IBREAKA0
}, 'm' }
3503 static xtensa_arg_internal Iclass_xt_iclass_rsr_ibreaka1_args
[] = {
3504 { { 6 /* art */ }, 'o' }
3507 static xtensa_arg_internal Iclass_xt_iclass_rsr_ibreaka1_stateArgs
[] = {
3508 { { STATE_IBREAKA1
}, 'i' }
3511 static xtensa_arg_internal Iclass_xt_iclass_wsr_ibreaka1_args
[] = {
3512 { { 6 /* art */ }, 'i' }
3515 static xtensa_arg_internal Iclass_xt_iclass_wsr_ibreaka1_stateArgs
[] = {
3516 { { STATE_IBREAKA1
}, 'o' }
3519 static xtensa_arg_internal Iclass_xt_iclass_xsr_ibreaka1_args
[] = {
3520 { { 6 /* art */ }, 'm' }
3523 static xtensa_arg_internal Iclass_xt_iclass_xsr_ibreaka1_stateArgs
[] = {
3524 { { STATE_IBREAKA1
}, 'm' }
3527 static xtensa_arg_internal Iclass_xt_iclass_rsr_ibreakenable_args
[] = {
3528 { { 6 /* art */ }, 'o' }
3531 static xtensa_arg_internal Iclass_xt_iclass_rsr_ibreakenable_stateArgs
[] = {
3532 { { STATE_IBREAKENABLE
}, 'i' }
3535 static xtensa_arg_internal Iclass_xt_iclass_wsr_ibreakenable_args
[] = {
3536 { { 6 /* art */ }, 'i' }
3539 static xtensa_arg_internal Iclass_xt_iclass_wsr_ibreakenable_stateArgs
[] = {
3540 { { STATE_IBREAKENABLE
}, 'o' }
3543 static xtensa_arg_internal Iclass_xt_iclass_xsr_ibreakenable_args
[] = {
3544 { { 6 /* art */ }, 'm' }
3547 static xtensa_arg_internal Iclass_xt_iclass_xsr_ibreakenable_stateArgs
[] = {
3548 { { STATE_IBREAKENABLE
}, 'm' }
3551 static xtensa_arg_internal Iclass_xt_iclass_rsr_debugcause_args
[] = {
3552 { { 6 /* art */ }, 'o' }
3555 static xtensa_arg_internal Iclass_xt_iclass_rsr_debugcause_stateArgs
[] = {
3556 { { STATE_DEBUGCAUSE
}, 'i' },
3557 { { STATE_DBNUM
}, 'i' }
3560 static xtensa_arg_internal Iclass_xt_iclass_wsr_debugcause_args
[] = {
3561 { { 6 /* art */ }, 'i' }
3564 static xtensa_arg_internal Iclass_xt_iclass_wsr_debugcause_stateArgs
[] = {
3565 { { STATE_DEBUGCAUSE
}, 'o' },
3566 { { STATE_DBNUM
}, 'o' }
3569 static xtensa_arg_internal Iclass_xt_iclass_xsr_debugcause_args
[] = {
3570 { { 6 /* art */ }, 'm' }
3573 static xtensa_arg_internal Iclass_xt_iclass_xsr_debugcause_stateArgs
[] = {
3574 { { STATE_DEBUGCAUSE
}, 'm' },
3575 { { STATE_DBNUM
}, 'm' }
3578 static xtensa_arg_internal Iclass_xt_iclass_rsr_icount_args
[] = {
3579 { { 6 /* art */ }, 'o' }
3582 static xtensa_arg_internal Iclass_xt_iclass_rsr_icount_stateArgs
[] = {
3583 { { STATE_ICOUNT
}, 'i' }
3586 static xtensa_arg_internal Iclass_xt_iclass_wsr_icount_args
[] = {
3587 { { 6 /* art */ }, 'i' }
3590 static xtensa_arg_internal Iclass_xt_iclass_wsr_icount_stateArgs
[] = {
3591 { { STATE_XTSYNC
}, 'o' },
3592 { { STATE_ICOUNT
}, 'o' }
3595 static xtensa_arg_internal Iclass_xt_iclass_xsr_icount_args
[] = {
3596 { { 6 /* art */ }, 'm' }
3599 static xtensa_arg_internal Iclass_xt_iclass_xsr_icount_stateArgs
[] = {
3600 { { STATE_XTSYNC
}, 'o' },
3601 { { STATE_ICOUNT
}, 'm' }
3604 static xtensa_arg_internal Iclass_xt_iclass_rsr_icountlevel_args
[] = {
3605 { { 6 /* art */ }, 'o' }
3608 static xtensa_arg_internal Iclass_xt_iclass_rsr_icountlevel_stateArgs
[] = {
3609 { { STATE_ICOUNTLEVEL
}, 'i' }
3612 static xtensa_arg_internal Iclass_xt_iclass_wsr_icountlevel_args
[] = {
3613 { { 6 /* art */ }, 'i' }
3616 static xtensa_arg_internal Iclass_xt_iclass_wsr_icountlevel_stateArgs
[] = {
3617 { { STATE_ICOUNTLEVEL
}, 'o' }
3620 static xtensa_arg_internal Iclass_xt_iclass_xsr_icountlevel_args
[] = {
3621 { { 6 /* art */ }, 'm' }
3624 static xtensa_arg_internal Iclass_xt_iclass_xsr_icountlevel_stateArgs
[] = {
3625 { { STATE_ICOUNTLEVEL
}, 'm' }
3628 static xtensa_arg_internal Iclass_xt_iclass_rsr_ddr_args
[] = {
3629 { { 6 /* art */ }, 'o' }
3632 static xtensa_arg_internal Iclass_xt_iclass_rsr_ddr_stateArgs
[] = {
3633 { { STATE_DDR
}, 'i' }
3636 static xtensa_arg_internal Iclass_xt_iclass_wsr_ddr_args
[] = {
3637 { { 6 /* art */ }, 'i' }
3640 static xtensa_arg_internal Iclass_xt_iclass_wsr_ddr_stateArgs
[] = {
3641 { { STATE_XTSYNC
}, 'o' },
3642 { { STATE_DDR
}, 'o' }
3645 static xtensa_arg_internal Iclass_xt_iclass_xsr_ddr_args
[] = {
3646 { { 6 /* art */ }, 'm' }
3649 static xtensa_arg_internal Iclass_xt_iclass_xsr_ddr_stateArgs
[] = {
3650 { { STATE_XTSYNC
}, 'o' },
3651 { { STATE_DDR
}, 'm' }
3654 static xtensa_arg_internal Iclass_xt_iclass_rfdo_stateArgs
[] = {
3655 { { STATE_InOCDMode
}, 'm' },
3656 { { STATE_EPC4
}, 'i' },
3657 { { STATE_PSWOE
}, 'o' },
3658 { { STATE_PSCALLINC
}, 'o' },
3659 { { STATE_PSOWB
}, 'o' },
3660 { { STATE_PSUM
}, 'o' },
3661 { { STATE_PSEXCM
}, 'o' },
3662 { { STATE_PSINTLEVEL
}, 'o' },
3663 { { STATE_EPS4
}, 'i' }
3666 static xtensa_arg_internal Iclass_xt_iclass_rfdd_stateArgs
[] = {
3667 { { STATE_InOCDMode
}, 'm' }
3670 static xtensa_arg_internal Iclass_xt_iclass_rsr_ccount_args
[] = {
3671 { { 6 /* art */ }, 'o' }
3674 static xtensa_arg_internal Iclass_xt_iclass_rsr_ccount_stateArgs
[] = {
3675 { { STATE_CCOUNT
}, 'i' }
3678 static xtensa_arg_internal Iclass_xt_iclass_wsr_ccount_args
[] = {
3679 { { 6 /* art */ }, 'i' }
3682 static xtensa_arg_internal Iclass_xt_iclass_wsr_ccount_stateArgs
[] = {
3683 { { STATE_XTSYNC
}, 'o' },
3684 { { STATE_CCOUNT
}, 'o' }
3687 static xtensa_arg_internal Iclass_xt_iclass_xsr_ccount_args
[] = {
3688 { { 6 /* art */ }, 'm' }
3691 static xtensa_arg_internal Iclass_xt_iclass_xsr_ccount_stateArgs
[] = {
3692 { { STATE_XTSYNC
}, 'o' },
3693 { { STATE_CCOUNT
}, 'm' }
3696 static xtensa_arg_internal Iclass_xt_iclass_rsr_ccompare0_args
[] = {
3697 { { 6 /* art */ }, 'o' }
3700 static xtensa_arg_internal Iclass_xt_iclass_rsr_ccompare0_stateArgs
[] = {
3701 { { STATE_CCOMPARE0
}, 'i' }
3704 static xtensa_arg_internal Iclass_xt_iclass_wsr_ccompare0_args
[] = {
3705 { { 6 /* art */ }, 'i' }
3708 static xtensa_arg_internal Iclass_xt_iclass_wsr_ccompare0_stateArgs
[] = {
3709 { { STATE_CCOMPARE0
}, 'o' },
3710 { { STATE_INTERRUPT
}, 'm' }
3713 static xtensa_arg_internal Iclass_xt_iclass_xsr_ccompare0_args
[] = {
3714 { { 6 /* art */ }, 'm' }
3717 static xtensa_arg_internal Iclass_xt_iclass_xsr_ccompare0_stateArgs
[] = {
3718 { { STATE_CCOMPARE0
}, 'm' },
3719 { { STATE_INTERRUPT
}, 'm' }
3722 static xtensa_arg_internal Iclass_xt_iclass_rsr_ccompare1_args
[] = {
3723 { { 6 /* art */ }, 'o' }
3726 static xtensa_arg_internal Iclass_xt_iclass_rsr_ccompare1_stateArgs
[] = {
3727 { { STATE_CCOMPARE1
}, 'i' }
3730 static xtensa_arg_internal Iclass_xt_iclass_wsr_ccompare1_args
[] = {
3731 { { 6 /* art */ }, 'i' }
3734 static xtensa_arg_internal Iclass_xt_iclass_wsr_ccompare1_stateArgs
[] = {
3735 { { STATE_CCOMPARE1
}, 'o' },
3736 { { STATE_INTERRUPT
}, 'm' }
3739 static xtensa_arg_internal Iclass_xt_iclass_xsr_ccompare1_args
[] = {
3740 { { 6 /* art */ }, 'm' }
3743 static xtensa_arg_internal Iclass_xt_iclass_xsr_ccompare1_stateArgs
[] = {
3744 { { STATE_CCOMPARE1
}, 'm' },
3745 { { STATE_INTERRUPT
}, 'm' }
3748 static xtensa_arg_internal Iclass_xt_iclass_rsr_ccompare2_args
[] = {
3749 { { 6 /* art */ }, 'o' }
3752 static xtensa_arg_internal Iclass_xt_iclass_rsr_ccompare2_stateArgs
[] = {
3753 { { STATE_CCOMPARE2
}, 'i' }
3756 static xtensa_arg_internal Iclass_xt_iclass_wsr_ccompare2_args
[] = {
3757 { { 6 /* art */ }, 'i' }
3760 static xtensa_arg_internal Iclass_xt_iclass_wsr_ccompare2_stateArgs
[] = {
3761 { { STATE_CCOMPARE2
}, 'o' },
3762 { { STATE_INTERRUPT
}, 'm' }
3765 static xtensa_arg_internal Iclass_xt_iclass_xsr_ccompare2_args
[] = {
3766 { { 6 /* art */ }, 'm' }
3769 static xtensa_arg_internal Iclass_xt_iclass_xsr_ccompare2_stateArgs
[] = {
3770 { { STATE_CCOMPARE2
}, 'm' },
3771 { { STATE_INTERRUPT
}, 'm' }
3774 static xtensa_arg_internal Iclass_xt_iclass_icache_args
[] = {
3775 { { 4 /* ars */ }, 'i' },
3776 { { 21 /* uimm8x4 */ }, 'i' }
3779 static xtensa_arg_internal Iclass_xt_iclass_icache_inv_args
[] = {
3780 { { 4 /* ars */ }, 'i' },
3781 { { 21 /* uimm8x4 */ }, 'i' }
3784 static xtensa_arg_internal Iclass_xt_iclass_licx_args
[] = {
3785 { { 6 /* art */ }, 'o' },
3786 { { 4 /* ars */ }, 'i' }
3789 static xtensa_arg_internal Iclass_xt_iclass_sicx_args
[] = {
3790 { { 6 /* art */ }, 'i' },
3791 { { 4 /* ars */ }, 'i' }
3794 static xtensa_arg_internal Iclass_xt_iclass_dcache_args
[] = {
3795 { { 4 /* ars */ }, 'i' },
3796 { { 21 /* uimm8x4 */ }, 'i' }
3799 static xtensa_arg_internal Iclass_xt_iclass_dcache_ind_args
[] = {
3800 { { 4 /* ars */ }, 'i' },
3801 { { 22 /* uimm4x16 */ }, 'i' }
3804 static xtensa_arg_internal Iclass_xt_iclass_dcache_inv_args
[] = {
3805 { { 4 /* ars */ }, 'i' },
3806 { { 21 /* uimm8x4 */ }, 'i' }
3809 static xtensa_arg_internal Iclass_xt_iclass_dpf_args
[] = {
3810 { { 4 /* ars */ }, 'i' },
3811 { { 21 /* uimm8x4 */ }, 'i' }
3814 static xtensa_arg_internal Iclass_xt_iclass_sdct_args
[] = {
3815 { { 6 /* art */ }, 'i' },
3816 { { 4 /* ars */ }, 'i' }
3819 static xtensa_arg_internal Iclass_xt_iclass_ldct_args
[] = {
3820 { { 6 /* art */ }, 'o' },
3821 { { 4 /* ars */ }, 'i' }
3824 static xtensa_arg_internal Iclass_xt_iclass_idtlb_args
[] = {
3825 { { 4 /* ars */ }, 'i' }
3828 static xtensa_arg_internal Iclass_xt_iclass_idtlb_stateArgs
[] = {
3829 { { STATE_XTSYNC
}, 'o' }
3832 static xtensa_arg_internal Iclass_xt_iclass_rdtlb_args
[] = {
3833 { { 6 /* art */ }, 'o' },
3834 { { 4 /* ars */ }, 'i' }
3837 static xtensa_arg_internal Iclass_xt_iclass_wdtlb_args
[] = {
3838 { { 6 /* art */ }, 'i' },
3839 { { 4 /* ars */ }, 'i' }
3842 static xtensa_arg_internal Iclass_xt_iclass_wdtlb_stateArgs
[] = {
3843 { { STATE_XTSYNC
}, 'o' }
3846 static xtensa_arg_internal Iclass_xt_iclass_iitlb_args
[] = {
3847 { { 4 /* ars */ }, 'i' }
3850 static xtensa_arg_internal Iclass_xt_iclass_ritlb_args
[] = {
3851 { { 6 /* art */ }, 'o' },
3852 { { 4 /* ars */ }, 'i' }
3855 static xtensa_arg_internal Iclass_xt_iclass_witlb_args
[] = {
3856 { { 6 /* art */ }, 'i' },
3857 { { 4 /* ars */ }, 'i' }
3860 static xtensa_arg_internal Iclass_xt_iclass_nsa_args
[] = {
3861 { { 6 /* art */ }, 'o' },
3862 { { 4 /* ars */ }, 'i' }
3865 static xtensa_iclass_internal iclasses
[] = {
3866 { 0, 0 /* xt_iclass_excw */,
3868 { 0, 0 /* xt_iclass_rfe */,
3869 2, Iclass_xt_iclass_rfe_stateArgs
, 0, 0 },
3870 { 0, 0 /* xt_iclass_rfde */,
3871 1, Iclass_xt_iclass_rfde_stateArgs
, 0, 0 },
3872 { 0, 0 /* xt_iclass_syscall */,
3874 { 0, 0 /* xt_iclass_simcall */,
3876 { 2, Iclass_xt_iclass_call12_args
,
3877 1, Iclass_xt_iclass_call12_stateArgs
, 0, 0 },
3878 { 2, Iclass_xt_iclass_call8_args
,
3879 1, Iclass_xt_iclass_call8_stateArgs
, 0, 0 },
3880 { 2, Iclass_xt_iclass_call4_args
,
3881 1, Iclass_xt_iclass_call4_stateArgs
, 0, 0 },
3882 { 2, Iclass_xt_iclass_callx12_args
,
3883 1, Iclass_xt_iclass_callx12_stateArgs
, 0, 0 },
3884 { 2, Iclass_xt_iclass_callx8_args
,
3885 1, Iclass_xt_iclass_callx8_stateArgs
, 0, 0 },
3886 { 2, Iclass_xt_iclass_callx4_args
,
3887 1, Iclass_xt_iclass_callx4_stateArgs
, 0, 0 },
3888 { 3, Iclass_xt_iclass_entry_args
,
3889 5, Iclass_xt_iclass_entry_stateArgs
, 0, 0 },
3890 { 2, Iclass_xt_iclass_movsp_args
,
3891 2, Iclass_xt_iclass_movsp_stateArgs
, 0, 0 },
3892 { 1, Iclass_xt_iclass_rotw_args
,
3893 1, Iclass_xt_iclass_rotw_stateArgs
, 0, 0 },
3894 { 1, Iclass_xt_iclass_retw_args
,
3895 4, Iclass_xt_iclass_retw_stateArgs
, 0, 0 },
3896 { 0, 0 /* xt_iclass_rfwou */,
3897 5, Iclass_xt_iclass_rfwou_stateArgs
, 0, 0 },
3898 { 3, Iclass_xt_iclass_l32e_args
,
3900 { 3, Iclass_xt_iclass_s32e_args
,
3902 { 1, Iclass_xt_iclass_rsr_windowbase_args
,
3903 1, Iclass_xt_iclass_rsr_windowbase_stateArgs
, 0, 0 },
3904 { 1, Iclass_xt_iclass_wsr_windowbase_args
,
3905 1, Iclass_xt_iclass_wsr_windowbase_stateArgs
, 0, 0 },
3906 { 1, Iclass_xt_iclass_xsr_windowbase_args
,
3907 1, Iclass_xt_iclass_xsr_windowbase_stateArgs
, 0, 0 },
3908 { 1, Iclass_xt_iclass_rsr_windowstart_args
,
3909 1, Iclass_xt_iclass_rsr_windowstart_stateArgs
, 0, 0 },
3910 { 1, Iclass_xt_iclass_wsr_windowstart_args
,
3911 1, Iclass_xt_iclass_wsr_windowstart_stateArgs
, 0, 0 },
3912 { 1, Iclass_xt_iclass_xsr_windowstart_args
,
3913 1, Iclass_xt_iclass_xsr_windowstart_stateArgs
, 0, 0 },
3914 { 3, Iclass_xt_iclass_add_n_args
,
3916 { 3, Iclass_xt_iclass_addi_n_args
,
3918 { 2, Iclass_xt_iclass_bz6_args
,
3920 { 0, 0 /* xt_iclass_ill_n */,
3922 { 3, Iclass_xt_iclass_loadi4_args
,
3924 { 2, Iclass_xt_iclass_mov_n_args
,
3926 { 2, Iclass_xt_iclass_movi_n_args
,
3928 { 0, 0 /* xt_iclass_nopn */,
3930 { 1, Iclass_xt_iclass_retn_args
,
3932 { 3, Iclass_xt_iclass_storei4_args
,
3934 { 3, Iclass_xt_iclass_addi_args
,
3936 { 3, Iclass_xt_iclass_addmi_args
,
3938 { 3, Iclass_xt_iclass_addsub_args
,
3940 { 3, Iclass_xt_iclass_bit_args
,
3942 { 3, Iclass_xt_iclass_bsi8_args
,
3944 { 3, Iclass_xt_iclass_bsi8b_args
,
3946 { 3, Iclass_xt_iclass_bsi8u_args
,
3948 { 3, Iclass_xt_iclass_bst8_args
,
3950 { 2, Iclass_xt_iclass_bsz12_args
,
3952 { 2, Iclass_xt_iclass_call0_args
,
3954 { 2, Iclass_xt_iclass_callx0_args
,
3956 { 4, Iclass_xt_iclass_exti_args
,
3958 { 0, 0 /* xt_iclass_ill */,
3960 { 1, Iclass_xt_iclass_jump_args
,
3962 { 1, Iclass_xt_iclass_jumpx_args
,
3964 { 3, Iclass_xt_iclass_l16ui_args
,
3966 { 3, Iclass_xt_iclass_l16si_args
,
3968 { 3, Iclass_xt_iclass_l32i_args
,
3970 { 2, Iclass_xt_iclass_l32r_args
,
3971 2, Iclass_xt_iclass_l32r_stateArgs
, 0, 0 },
3972 { 3, Iclass_xt_iclass_l8i_args
,
3974 { 2, Iclass_xt_iclass_loop_args
,
3975 3, Iclass_xt_iclass_loop_stateArgs
, 0, 0 },
3976 { 2, Iclass_xt_iclass_loopz_args
,
3977 3, Iclass_xt_iclass_loopz_stateArgs
, 0, 0 },
3978 { 2, Iclass_xt_iclass_movi_args
,
3980 { 3, Iclass_xt_iclass_movz_args
,
3982 { 2, Iclass_xt_iclass_neg_args
,
3984 { 0, 0 /* xt_iclass_nop */,
3986 { 1, Iclass_xt_iclass_return_args
,
3988 { 3, Iclass_xt_iclass_s16i_args
,
3990 { 3, Iclass_xt_iclass_s32i_args
,
3992 { 3, Iclass_xt_iclass_s8i_args
,
3994 { 1, Iclass_xt_iclass_sar_args
,
3995 1, Iclass_xt_iclass_sar_stateArgs
, 0, 0 },
3996 { 1, Iclass_xt_iclass_sari_args
,
3997 1, Iclass_xt_iclass_sari_stateArgs
, 0, 0 },
3998 { 2, Iclass_xt_iclass_shifts_args
,
3999 1, Iclass_xt_iclass_shifts_stateArgs
, 0, 0 },
4000 { 3, Iclass_xt_iclass_shiftst_args
,
4001 1, Iclass_xt_iclass_shiftst_stateArgs
, 0, 0 },
4002 { 2, Iclass_xt_iclass_shiftt_args
,
4003 1, Iclass_xt_iclass_shiftt_stateArgs
, 0, 0 },
4004 { 3, Iclass_xt_iclass_slli_args
,
4006 { 3, Iclass_xt_iclass_srai_args
,
4008 { 3, Iclass_xt_iclass_srli_args
,
4010 { 0, 0 /* xt_iclass_memw */,
4012 { 0, 0 /* xt_iclass_extw */,
4014 { 0, 0 /* xt_iclass_isync */,
4016 { 0, 0 /* xt_iclass_sync */,
4017 1, Iclass_xt_iclass_sync_stateArgs
, 0, 0 },
4018 { 2, Iclass_xt_iclass_rsil_args
,
4019 6, Iclass_xt_iclass_rsil_stateArgs
, 0, 0 },
4020 { 1, Iclass_xt_iclass_rsr_lend_args
,
4021 1, Iclass_xt_iclass_rsr_lend_stateArgs
, 0, 0 },
4022 { 1, Iclass_xt_iclass_wsr_lend_args
,
4023 1, Iclass_xt_iclass_wsr_lend_stateArgs
, 0, 0 },
4024 { 1, Iclass_xt_iclass_xsr_lend_args
,
4025 1, Iclass_xt_iclass_xsr_lend_stateArgs
, 0, 0 },
4026 { 1, Iclass_xt_iclass_rsr_lcount_args
,
4027 1, Iclass_xt_iclass_rsr_lcount_stateArgs
, 0, 0 },
4028 { 1, Iclass_xt_iclass_wsr_lcount_args
,
4029 2, Iclass_xt_iclass_wsr_lcount_stateArgs
, 0, 0 },
4030 { 1, Iclass_xt_iclass_xsr_lcount_args
,
4031 2, Iclass_xt_iclass_xsr_lcount_stateArgs
, 0, 0 },
4032 { 1, Iclass_xt_iclass_rsr_lbeg_args
,
4033 1, Iclass_xt_iclass_rsr_lbeg_stateArgs
, 0, 0 },
4034 { 1, Iclass_xt_iclass_wsr_lbeg_args
,
4035 1, Iclass_xt_iclass_wsr_lbeg_stateArgs
, 0, 0 },
4036 { 1, Iclass_xt_iclass_xsr_lbeg_args
,
4037 1, Iclass_xt_iclass_xsr_lbeg_stateArgs
, 0, 0 },
4038 { 1, Iclass_xt_iclass_rsr_sar_args
,
4039 1, Iclass_xt_iclass_rsr_sar_stateArgs
, 0, 0 },
4040 { 1, Iclass_xt_iclass_wsr_sar_args
,
4041 2, Iclass_xt_iclass_wsr_sar_stateArgs
, 0, 0 },
4042 { 1, Iclass_xt_iclass_xsr_sar_args
,
4043 1, Iclass_xt_iclass_xsr_sar_stateArgs
, 0, 0 },
4044 { 1, Iclass_xt_iclass_rsr_litbase_args
,
4045 2, Iclass_xt_iclass_rsr_litbase_stateArgs
, 0, 0 },
4046 { 1, Iclass_xt_iclass_wsr_litbase_args
,
4047 2, Iclass_xt_iclass_wsr_litbase_stateArgs
, 0, 0 },
4048 { 1, Iclass_xt_iclass_xsr_litbase_args
,
4049 2, Iclass_xt_iclass_xsr_litbase_stateArgs
, 0, 0 },
4050 { 1, Iclass_xt_iclass_rsr_176_args
,
4052 { 1, Iclass_xt_iclass_rsr_208_args
,
4054 { 1, Iclass_xt_iclass_rsr_ps_args
,
4055 6, Iclass_xt_iclass_rsr_ps_stateArgs
, 0, 0 },
4056 { 1, Iclass_xt_iclass_wsr_ps_args
,
4057 6, Iclass_xt_iclass_wsr_ps_stateArgs
, 0, 0 },
4058 { 1, Iclass_xt_iclass_xsr_ps_args
,
4059 6, Iclass_xt_iclass_xsr_ps_stateArgs
, 0, 0 },
4060 { 1, Iclass_xt_iclass_rsr_epc1_args
,
4061 1, Iclass_xt_iclass_rsr_epc1_stateArgs
, 0, 0 },
4062 { 1, Iclass_xt_iclass_wsr_epc1_args
,
4063 1, Iclass_xt_iclass_wsr_epc1_stateArgs
, 0, 0 },
4064 { 1, Iclass_xt_iclass_xsr_epc1_args
,
4065 1, Iclass_xt_iclass_xsr_epc1_stateArgs
, 0, 0 },
4066 { 1, Iclass_xt_iclass_rsr_excsave1_args
,
4067 1, Iclass_xt_iclass_rsr_excsave1_stateArgs
, 0, 0 },
4068 { 1, Iclass_xt_iclass_wsr_excsave1_args
,
4069 1, Iclass_xt_iclass_wsr_excsave1_stateArgs
, 0, 0 },
4070 { 1, Iclass_xt_iclass_xsr_excsave1_args
,
4071 1, Iclass_xt_iclass_xsr_excsave1_stateArgs
, 0, 0 },
4072 { 1, Iclass_xt_iclass_rsr_epc2_args
,
4073 1, Iclass_xt_iclass_rsr_epc2_stateArgs
, 0, 0 },
4074 { 1, Iclass_xt_iclass_wsr_epc2_args
,
4075 1, Iclass_xt_iclass_wsr_epc2_stateArgs
, 0, 0 },
4076 { 1, Iclass_xt_iclass_xsr_epc2_args
,
4077 1, Iclass_xt_iclass_xsr_epc2_stateArgs
, 0, 0 },
4078 { 1, Iclass_xt_iclass_rsr_excsave2_args
,
4079 1, Iclass_xt_iclass_rsr_excsave2_stateArgs
, 0, 0 },
4080 { 1, Iclass_xt_iclass_wsr_excsave2_args
,
4081 1, Iclass_xt_iclass_wsr_excsave2_stateArgs
, 0, 0 },
4082 { 1, Iclass_xt_iclass_xsr_excsave2_args
,
4083 1, Iclass_xt_iclass_xsr_excsave2_stateArgs
, 0, 0 },
4084 { 1, Iclass_xt_iclass_rsr_epc3_args
,
4085 1, Iclass_xt_iclass_rsr_epc3_stateArgs
, 0, 0 },
4086 { 1, Iclass_xt_iclass_wsr_epc3_args
,
4087 1, Iclass_xt_iclass_wsr_epc3_stateArgs
, 0, 0 },
4088 { 1, Iclass_xt_iclass_xsr_epc3_args
,
4089 1, Iclass_xt_iclass_xsr_epc3_stateArgs
, 0, 0 },
4090 { 1, Iclass_xt_iclass_rsr_excsave3_args
,
4091 1, Iclass_xt_iclass_rsr_excsave3_stateArgs
, 0, 0 },
4092 { 1, Iclass_xt_iclass_wsr_excsave3_args
,
4093 1, Iclass_xt_iclass_wsr_excsave3_stateArgs
, 0, 0 },
4094 { 1, Iclass_xt_iclass_xsr_excsave3_args
,
4095 1, Iclass_xt_iclass_xsr_excsave3_stateArgs
, 0, 0 },
4096 { 1, Iclass_xt_iclass_rsr_epc4_args
,
4097 1, Iclass_xt_iclass_rsr_epc4_stateArgs
, 0, 0 },
4098 { 1, Iclass_xt_iclass_wsr_epc4_args
,
4099 1, Iclass_xt_iclass_wsr_epc4_stateArgs
, 0, 0 },
4100 { 1, Iclass_xt_iclass_xsr_epc4_args
,
4101 1, Iclass_xt_iclass_xsr_epc4_stateArgs
, 0, 0 },
4102 { 1, Iclass_xt_iclass_rsr_excsave4_args
,
4103 1, Iclass_xt_iclass_rsr_excsave4_stateArgs
, 0, 0 },
4104 { 1, Iclass_xt_iclass_wsr_excsave4_args
,
4105 1, Iclass_xt_iclass_wsr_excsave4_stateArgs
, 0, 0 },
4106 { 1, Iclass_xt_iclass_xsr_excsave4_args
,
4107 1, Iclass_xt_iclass_xsr_excsave4_stateArgs
, 0, 0 },
4108 { 1, Iclass_xt_iclass_rsr_eps2_args
,
4109 1, Iclass_xt_iclass_rsr_eps2_stateArgs
, 0, 0 },
4110 { 1, Iclass_xt_iclass_wsr_eps2_args
,
4111 1, Iclass_xt_iclass_wsr_eps2_stateArgs
, 0, 0 },
4112 { 1, Iclass_xt_iclass_xsr_eps2_args
,
4113 1, Iclass_xt_iclass_xsr_eps2_stateArgs
, 0, 0 },
4114 { 1, Iclass_xt_iclass_rsr_eps3_args
,
4115 1, Iclass_xt_iclass_rsr_eps3_stateArgs
, 0, 0 },
4116 { 1, Iclass_xt_iclass_wsr_eps3_args
,
4117 1, Iclass_xt_iclass_wsr_eps3_stateArgs
, 0, 0 },
4118 { 1, Iclass_xt_iclass_xsr_eps3_args
,
4119 1, Iclass_xt_iclass_xsr_eps3_stateArgs
, 0, 0 },
4120 { 1, Iclass_xt_iclass_rsr_eps4_args
,
4121 1, Iclass_xt_iclass_rsr_eps4_stateArgs
, 0, 0 },
4122 { 1, Iclass_xt_iclass_wsr_eps4_args
,
4123 1, Iclass_xt_iclass_wsr_eps4_stateArgs
, 0, 0 },
4124 { 1, Iclass_xt_iclass_xsr_eps4_args
,
4125 1, Iclass_xt_iclass_xsr_eps4_stateArgs
, 0, 0 },
4126 { 1, Iclass_xt_iclass_rsr_excvaddr_args
,
4127 1, Iclass_xt_iclass_rsr_excvaddr_stateArgs
, 0, 0 },
4128 { 1, Iclass_xt_iclass_wsr_excvaddr_args
,
4129 1, Iclass_xt_iclass_wsr_excvaddr_stateArgs
, 0, 0 },
4130 { 1, Iclass_xt_iclass_xsr_excvaddr_args
,
4131 1, Iclass_xt_iclass_xsr_excvaddr_stateArgs
, 0, 0 },
4132 { 1, Iclass_xt_iclass_rsr_depc_args
,
4133 1, Iclass_xt_iclass_rsr_depc_stateArgs
, 0, 0 },
4134 { 1, Iclass_xt_iclass_wsr_depc_args
,
4135 1, Iclass_xt_iclass_wsr_depc_stateArgs
, 0, 0 },
4136 { 1, Iclass_xt_iclass_xsr_depc_args
,
4137 1, Iclass_xt_iclass_xsr_depc_stateArgs
, 0, 0 },
4138 { 1, Iclass_xt_iclass_rsr_exccause_args
,
4139 2, Iclass_xt_iclass_rsr_exccause_stateArgs
, 0, 0 },
4140 { 1, Iclass_xt_iclass_wsr_exccause_args
,
4141 1, Iclass_xt_iclass_wsr_exccause_stateArgs
, 0, 0 },
4142 { 1, Iclass_xt_iclass_xsr_exccause_args
,
4143 1, Iclass_xt_iclass_xsr_exccause_stateArgs
, 0, 0 },
4144 { 1, Iclass_xt_iclass_rsr_misc0_args
,
4145 1, Iclass_xt_iclass_rsr_misc0_stateArgs
, 0, 0 },
4146 { 1, Iclass_xt_iclass_wsr_misc0_args
,
4147 1, Iclass_xt_iclass_wsr_misc0_stateArgs
, 0, 0 },
4148 { 1, Iclass_xt_iclass_xsr_misc0_args
,
4149 1, Iclass_xt_iclass_xsr_misc0_stateArgs
, 0, 0 },
4150 { 1, Iclass_xt_iclass_rsr_misc1_args
,
4151 1, Iclass_xt_iclass_rsr_misc1_stateArgs
, 0, 0 },
4152 { 1, Iclass_xt_iclass_wsr_misc1_args
,
4153 1, Iclass_xt_iclass_wsr_misc1_stateArgs
, 0, 0 },
4154 { 1, Iclass_xt_iclass_xsr_misc1_args
,
4155 1, Iclass_xt_iclass_xsr_misc1_stateArgs
, 0, 0 },
4156 { 1, Iclass_xt_iclass_rsr_prid_args
,
4158 { 1, Iclass_xt_iclass_rfi_args
,
4159 14, Iclass_xt_iclass_rfi_stateArgs
, 0, 0 },
4160 { 1, Iclass_xt_iclass_wait_args
,
4161 1, Iclass_xt_iclass_wait_stateArgs
, 0, 0 },
4162 { 1, Iclass_xt_iclass_rsr_interrupt_args
,
4163 1, Iclass_xt_iclass_rsr_interrupt_stateArgs
, 0, 0 },
4164 { 1, Iclass_xt_iclass_wsr_intset_args
,
4165 2, Iclass_xt_iclass_wsr_intset_stateArgs
, 0, 0 },
4166 { 1, Iclass_xt_iclass_wsr_intclear_args
,
4167 2, Iclass_xt_iclass_wsr_intclear_stateArgs
, 0, 0 },
4168 { 1, Iclass_xt_iclass_rsr_intenable_args
,
4169 1, Iclass_xt_iclass_rsr_intenable_stateArgs
, 0, 0 },
4170 { 1, Iclass_xt_iclass_wsr_intenable_args
,
4171 1, Iclass_xt_iclass_wsr_intenable_stateArgs
, 0, 0 },
4172 { 1, Iclass_xt_iclass_xsr_intenable_args
,
4173 1, Iclass_xt_iclass_xsr_intenable_stateArgs
, 0, 0 },
4174 { 2, Iclass_xt_iclass_break_args
,
4175 2, Iclass_xt_iclass_break_stateArgs
, 0, 0 },
4176 { 1, Iclass_xt_iclass_break_n_args
,
4177 2, Iclass_xt_iclass_break_n_stateArgs
, 0, 0 },
4178 { 1, Iclass_xt_iclass_rsr_dbreaka0_args
,
4179 1, Iclass_xt_iclass_rsr_dbreaka0_stateArgs
, 0, 0 },
4180 { 1, Iclass_xt_iclass_wsr_dbreaka0_args
,
4181 2, Iclass_xt_iclass_wsr_dbreaka0_stateArgs
, 0, 0 },
4182 { 1, Iclass_xt_iclass_xsr_dbreaka0_args
,
4183 2, Iclass_xt_iclass_xsr_dbreaka0_stateArgs
, 0, 0 },
4184 { 1, Iclass_xt_iclass_rsr_dbreakc0_args
,
4185 1, Iclass_xt_iclass_rsr_dbreakc0_stateArgs
, 0, 0 },
4186 { 1, Iclass_xt_iclass_wsr_dbreakc0_args
,
4187 2, Iclass_xt_iclass_wsr_dbreakc0_stateArgs
, 0, 0 },
4188 { 1, Iclass_xt_iclass_xsr_dbreakc0_args
,
4189 2, Iclass_xt_iclass_xsr_dbreakc0_stateArgs
, 0, 0 },
4190 { 1, Iclass_xt_iclass_rsr_dbreaka1_args
,
4191 1, Iclass_xt_iclass_rsr_dbreaka1_stateArgs
, 0, 0 },
4192 { 1, Iclass_xt_iclass_wsr_dbreaka1_args
,
4193 2, Iclass_xt_iclass_wsr_dbreaka1_stateArgs
, 0, 0 },
4194 { 1, Iclass_xt_iclass_xsr_dbreaka1_args
,
4195 2, Iclass_xt_iclass_xsr_dbreaka1_stateArgs
, 0, 0 },
4196 { 1, Iclass_xt_iclass_rsr_dbreakc1_args
,
4197 1, Iclass_xt_iclass_rsr_dbreakc1_stateArgs
, 0, 0 },
4198 { 1, Iclass_xt_iclass_wsr_dbreakc1_args
,
4199 2, Iclass_xt_iclass_wsr_dbreakc1_stateArgs
, 0, 0 },
4200 { 1, Iclass_xt_iclass_xsr_dbreakc1_args
,
4201 2, Iclass_xt_iclass_xsr_dbreakc1_stateArgs
, 0, 0 },
4202 { 1, Iclass_xt_iclass_rsr_ibreaka0_args
,
4203 1, Iclass_xt_iclass_rsr_ibreaka0_stateArgs
, 0, 0 },
4204 { 1, Iclass_xt_iclass_wsr_ibreaka0_args
,
4205 1, Iclass_xt_iclass_wsr_ibreaka0_stateArgs
, 0, 0 },
4206 { 1, Iclass_xt_iclass_xsr_ibreaka0_args
,
4207 1, Iclass_xt_iclass_xsr_ibreaka0_stateArgs
, 0, 0 },
4208 { 1, Iclass_xt_iclass_rsr_ibreaka1_args
,
4209 1, Iclass_xt_iclass_rsr_ibreaka1_stateArgs
, 0, 0 },
4210 { 1, Iclass_xt_iclass_wsr_ibreaka1_args
,
4211 1, Iclass_xt_iclass_wsr_ibreaka1_stateArgs
, 0, 0 },
4212 { 1, Iclass_xt_iclass_xsr_ibreaka1_args
,
4213 1, Iclass_xt_iclass_xsr_ibreaka1_stateArgs
, 0, 0 },
4214 { 1, Iclass_xt_iclass_rsr_ibreakenable_args
,
4215 1, Iclass_xt_iclass_rsr_ibreakenable_stateArgs
, 0, 0 },
4216 { 1, Iclass_xt_iclass_wsr_ibreakenable_args
,
4217 1, Iclass_xt_iclass_wsr_ibreakenable_stateArgs
, 0, 0 },
4218 { 1, Iclass_xt_iclass_xsr_ibreakenable_args
,
4219 1, Iclass_xt_iclass_xsr_ibreakenable_stateArgs
, 0, 0 },
4220 { 1, Iclass_xt_iclass_rsr_debugcause_args
,
4221 2, Iclass_xt_iclass_rsr_debugcause_stateArgs
, 0, 0 },
4222 { 1, Iclass_xt_iclass_wsr_debugcause_args
,
4223 2, Iclass_xt_iclass_wsr_debugcause_stateArgs
, 0, 0 },
4224 { 1, Iclass_xt_iclass_xsr_debugcause_args
,
4225 2, Iclass_xt_iclass_xsr_debugcause_stateArgs
, 0, 0 },
4226 { 1, Iclass_xt_iclass_rsr_icount_args
,
4227 1, Iclass_xt_iclass_rsr_icount_stateArgs
, 0, 0 },
4228 { 1, Iclass_xt_iclass_wsr_icount_args
,
4229 2, Iclass_xt_iclass_wsr_icount_stateArgs
, 0, 0 },
4230 { 1, Iclass_xt_iclass_xsr_icount_args
,
4231 2, Iclass_xt_iclass_xsr_icount_stateArgs
, 0, 0 },
4232 { 1, Iclass_xt_iclass_rsr_icountlevel_args
,
4233 1, Iclass_xt_iclass_rsr_icountlevel_stateArgs
, 0, 0 },
4234 { 1, Iclass_xt_iclass_wsr_icountlevel_args
,
4235 1, Iclass_xt_iclass_wsr_icountlevel_stateArgs
, 0, 0 },
4236 { 1, Iclass_xt_iclass_xsr_icountlevel_args
,
4237 1, Iclass_xt_iclass_xsr_icountlevel_stateArgs
, 0, 0 },
4238 { 1, Iclass_xt_iclass_rsr_ddr_args
,
4239 1, Iclass_xt_iclass_rsr_ddr_stateArgs
, 0, 0 },
4240 { 1, Iclass_xt_iclass_wsr_ddr_args
,
4241 2, Iclass_xt_iclass_wsr_ddr_stateArgs
, 0, 0 },
4242 { 1, Iclass_xt_iclass_xsr_ddr_args
,
4243 2, Iclass_xt_iclass_xsr_ddr_stateArgs
, 0, 0 },
4244 { 0, 0 /* xt_iclass_rfdo */,
4245 9, Iclass_xt_iclass_rfdo_stateArgs
, 0, 0 },
4246 { 0, 0 /* xt_iclass_rfdd */,
4247 1, Iclass_xt_iclass_rfdd_stateArgs
, 0, 0 },
4248 { 1, Iclass_xt_iclass_rsr_ccount_args
,
4249 1, Iclass_xt_iclass_rsr_ccount_stateArgs
, 0, 0 },
4250 { 1, Iclass_xt_iclass_wsr_ccount_args
,
4251 2, Iclass_xt_iclass_wsr_ccount_stateArgs
, 0, 0 },
4252 { 1, Iclass_xt_iclass_xsr_ccount_args
,
4253 2, Iclass_xt_iclass_xsr_ccount_stateArgs
, 0, 0 },
4254 { 1, Iclass_xt_iclass_rsr_ccompare0_args
,
4255 1, Iclass_xt_iclass_rsr_ccompare0_stateArgs
, 0, 0 },
4256 { 1, Iclass_xt_iclass_wsr_ccompare0_args
,
4257 2, Iclass_xt_iclass_wsr_ccompare0_stateArgs
, 0, 0 },
4258 { 1, Iclass_xt_iclass_xsr_ccompare0_args
,
4259 2, Iclass_xt_iclass_xsr_ccompare0_stateArgs
, 0, 0 },
4260 { 1, Iclass_xt_iclass_rsr_ccompare1_args
,
4261 1, Iclass_xt_iclass_rsr_ccompare1_stateArgs
, 0, 0 },
4262 { 1, Iclass_xt_iclass_wsr_ccompare1_args
,
4263 2, Iclass_xt_iclass_wsr_ccompare1_stateArgs
, 0, 0 },
4264 { 1, Iclass_xt_iclass_xsr_ccompare1_args
,
4265 2, Iclass_xt_iclass_xsr_ccompare1_stateArgs
, 0, 0 },
4266 { 1, Iclass_xt_iclass_rsr_ccompare2_args
,
4267 1, Iclass_xt_iclass_rsr_ccompare2_stateArgs
, 0, 0 },
4268 { 1, Iclass_xt_iclass_wsr_ccompare2_args
,
4269 2, Iclass_xt_iclass_wsr_ccompare2_stateArgs
, 0, 0 },
4270 { 1, Iclass_xt_iclass_xsr_ccompare2_args
,
4271 2, Iclass_xt_iclass_xsr_ccompare2_stateArgs
, 0, 0 },
4272 { 2, Iclass_xt_iclass_icache_args
,
4274 { 2, Iclass_xt_iclass_icache_inv_args
,
4276 { 2, Iclass_xt_iclass_licx_args
,
4278 { 2, Iclass_xt_iclass_sicx_args
,
4280 { 2, Iclass_xt_iclass_dcache_args
,
4282 { 2, Iclass_xt_iclass_dcache_ind_args
,
4284 { 2, Iclass_xt_iclass_dcache_inv_args
,
4286 { 2, Iclass_xt_iclass_dpf_args
,
4288 { 2, Iclass_xt_iclass_sdct_args
,
4290 { 2, Iclass_xt_iclass_ldct_args
,
4292 { 1, Iclass_xt_iclass_idtlb_args
,
4293 1, Iclass_xt_iclass_idtlb_stateArgs
, 0, 0 },
4294 { 2, Iclass_xt_iclass_rdtlb_args
,
4296 { 2, Iclass_xt_iclass_wdtlb_args
,
4297 1, Iclass_xt_iclass_wdtlb_stateArgs
, 0, 0 },
4298 { 1, Iclass_xt_iclass_iitlb_args
,
4300 { 2, Iclass_xt_iclass_ritlb_args
,
4302 { 2, Iclass_xt_iclass_witlb_args
,
4304 { 2, Iclass_xt_iclass_nsa_args
,
4309 /* Opcode encodings. */
4312 Opcode_excw_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4314 slotbuf
[0] = 0x80200;
4318 Opcode_rfe_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4324 Opcode_rfde_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4326 slotbuf
[0] = 0x2300;
4330 Opcode_syscall_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4336 Opcode_simcall_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4338 slotbuf
[0] = 0x1500;
4342 Opcode_call12_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4344 slotbuf
[0] = 0x5c0000;
4348 Opcode_call8_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4350 slotbuf
[0] = 0x580000;
4354 Opcode_call4_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4356 slotbuf
[0] = 0x540000;
4360 Opcode_callx12_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4362 slotbuf
[0] = 0xf0000;
4366 Opcode_callx8_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4368 slotbuf
[0] = 0xb0000;
4372 Opcode_callx4_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4374 slotbuf
[0] = 0x70000;
4378 Opcode_entry_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4380 slotbuf
[0] = 0x6c0000;
4384 Opcode_movsp_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4390 Opcode_rotw_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4396 Opcode_retw_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4398 slotbuf
[0] = 0x60000;
4402 Opcode_retw_n_Slot_inst16b_encode (xtensa_insnbuf slotbuf
)
4404 slotbuf
[0] = 0xd10f;
4408 Opcode_rfwo_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4410 slotbuf
[0] = 0x4300;
4414 Opcode_rfwu_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4416 slotbuf
[0] = 0x5300;
4420 Opcode_l32e_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4426 Opcode_s32e_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4432 Opcode_rsr_windowbase_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4434 slotbuf
[0] = 0x4830;
4438 Opcode_wsr_windowbase_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4440 slotbuf
[0] = 0x4831;
4444 Opcode_xsr_windowbase_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4446 slotbuf
[0] = 0x4816;
4450 Opcode_rsr_windowstart_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4452 slotbuf
[0] = 0x4930;
4456 Opcode_wsr_windowstart_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4458 slotbuf
[0] = 0x4931;
4462 Opcode_xsr_windowstart_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4464 slotbuf
[0] = 0x4916;
4468 Opcode_add_n_Slot_inst16a_encode (xtensa_insnbuf slotbuf
)
4470 slotbuf
[0] = 0xa000;
4474 Opcode_addi_n_Slot_inst16a_encode (xtensa_insnbuf slotbuf
)
4476 slotbuf
[0] = 0xb000;
4480 Opcode_beqz_n_Slot_inst16b_encode (xtensa_insnbuf slotbuf
)
4482 slotbuf
[0] = 0xc800;
4486 Opcode_bnez_n_Slot_inst16b_encode (xtensa_insnbuf slotbuf
)
4488 slotbuf
[0] = 0xcc00;
4492 Opcode_ill_n_Slot_inst16b_encode (xtensa_insnbuf slotbuf
)
4494 slotbuf
[0] = 0xd60f;
4498 Opcode_l32i_n_Slot_inst16a_encode (xtensa_insnbuf slotbuf
)
4500 slotbuf
[0] = 0x8000;
4504 Opcode_mov_n_Slot_inst16b_encode (xtensa_insnbuf slotbuf
)
4506 slotbuf
[0] = 0xd000;
4510 Opcode_movi_n_Slot_inst16b_encode (xtensa_insnbuf slotbuf
)
4512 slotbuf
[0] = 0xc000;
4516 Opcode_nop_n_Slot_inst16b_encode (xtensa_insnbuf slotbuf
)
4518 slotbuf
[0] = 0xd30f;
4522 Opcode_ret_n_Slot_inst16b_encode (xtensa_insnbuf slotbuf
)
4524 slotbuf
[0] = 0xd00f;
4528 Opcode_s32i_n_Slot_inst16a_encode (xtensa_insnbuf slotbuf
)
4530 slotbuf
[0] = 0x9000;
4534 Opcode_addi_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4536 slotbuf
[0] = 0x200c00;
4540 Opcode_addmi_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4542 slotbuf
[0] = 0x200d00;
4546 Opcode_add_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4552 Opcode_sub_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4558 Opcode_addx2_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4564 Opcode_addx4_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4570 Opcode_addx8_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4576 Opcode_subx2_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4582 Opcode_subx4_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4588 Opcode_subx8_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4594 Opcode_and_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4600 Opcode_or_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4606 Opcode_xor_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4612 Opcode_beqi_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4614 slotbuf
[0] = 0x680000;
4618 Opcode_bnei_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4620 slotbuf
[0] = 0x690000;
4624 Opcode_bgei_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4626 slotbuf
[0] = 0x6b0000;
4630 Opcode_blti_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4632 slotbuf
[0] = 0x6a0000;
4636 Opcode_bbci_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4638 slotbuf
[0] = 0x700600;
4642 Opcode_bbsi_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4644 slotbuf
[0] = 0x700e00;
4648 Opcode_bgeui_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4650 slotbuf
[0] = 0x6f0000;
4654 Opcode_bltui_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4656 slotbuf
[0] = 0x6e0000;
4660 Opcode_beq_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4662 slotbuf
[0] = 0x700100;
4666 Opcode_bne_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4668 slotbuf
[0] = 0x700900;
4672 Opcode_bge_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4674 slotbuf
[0] = 0x700a00;
4678 Opcode_blt_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4680 slotbuf
[0] = 0x700200;
4684 Opcode_bgeu_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4686 slotbuf
[0] = 0x700b00;
4690 Opcode_bltu_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4692 slotbuf
[0] = 0x700300;
4696 Opcode_bany_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4698 slotbuf
[0] = 0x700800;
4702 Opcode_bnone_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4704 slotbuf
[0] = 0x700000;
4708 Opcode_ball_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4710 slotbuf
[0] = 0x700400;
4714 Opcode_bnall_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4716 slotbuf
[0] = 0x700c00;
4720 Opcode_bbc_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4722 slotbuf
[0] = 0x700500;
4726 Opcode_bbs_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4728 slotbuf
[0] = 0x700d00;
4732 Opcode_beqz_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4734 slotbuf
[0] = 0x640000;
4738 Opcode_bnez_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4740 slotbuf
[0] = 0x650000;
4744 Opcode_bgez_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4746 slotbuf
[0] = 0x670000;
4750 Opcode_bltz_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4752 slotbuf
[0] = 0x660000;
4756 Opcode_call0_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4758 slotbuf
[0] = 0x500000;
4762 Opcode_callx0_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4764 slotbuf
[0] = 0x30000;
4768 Opcode_extui_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4774 Opcode_ill_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4780 Opcode_j_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4782 slotbuf
[0] = 0x600000;
4786 Opcode_jx_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4788 slotbuf
[0] = 0xa0000;
4792 Opcode_l16ui_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4794 slotbuf
[0] = 0x200100;
4798 Opcode_l16si_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4800 slotbuf
[0] = 0x200900;
4804 Opcode_l32i_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4806 slotbuf
[0] = 0x200200;
4810 Opcode_l32r_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4812 slotbuf
[0] = 0x100000;
4816 Opcode_l8ui_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4818 slotbuf
[0] = 0x200000;
4822 Opcode_loop_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4824 slotbuf
[0] = 0x6d0800;
4828 Opcode_loopnez_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4830 slotbuf
[0] = 0x6d0900;
4834 Opcode_loopgtz_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4836 slotbuf
[0] = 0x6d0a00;
4840 Opcode_movi_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4842 slotbuf
[0] = 0x200a00;
4846 Opcode_moveqz_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4852 Opcode_movnez_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4858 Opcode_movltz_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4864 Opcode_movgez_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4870 Opcode_neg_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4876 Opcode_abs_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4878 slotbuf
[0] = 0x1006;
4882 Opcode_nop_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4884 slotbuf
[0] = 0xf0200;
4888 Opcode_ret_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4890 slotbuf
[0] = 0x20000;
4894 Opcode_s16i_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4896 slotbuf
[0] = 0x200500;
4900 Opcode_s32i_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4902 slotbuf
[0] = 0x200600;
4906 Opcode_s8i_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4908 slotbuf
[0] = 0x200400;
4912 Opcode_ssr_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4918 Opcode_ssl_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4924 Opcode_ssa8l_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4930 Opcode_ssa8b_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4936 Opcode_ssai_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4942 Opcode_sll_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4948 Opcode_src_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4954 Opcode_srl_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4960 Opcode_sra_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4966 Opcode_slli_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4972 Opcode_srai_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4978 Opcode_srli_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4984 Opcode_memw_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4986 slotbuf
[0] = 0xc0200;
4990 Opcode_extw_Slot_inst_encode (xtensa_insnbuf slotbuf
)
4992 slotbuf
[0] = 0xd0200;
4996 Opcode_isync_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5002 Opcode_rsync_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5004 slotbuf
[0] = 0x10200;
5008 Opcode_esync_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5010 slotbuf
[0] = 0x20200;
5014 Opcode_dsync_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5016 slotbuf
[0] = 0x30200;
5020 Opcode_rsil_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5026 Opcode_rsr_lend_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5032 Opcode_wsr_lend_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5038 Opcode_xsr_lend_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5044 Opcode_rsr_lcount_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5050 Opcode_wsr_lcount_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5056 Opcode_xsr_lcount_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5062 Opcode_rsr_lbeg_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5068 Opcode_wsr_lbeg_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5074 Opcode_xsr_lbeg_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5080 Opcode_rsr_sar_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5086 Opcode_wsr_sar_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5092 Opcode_xsr_sar_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5098 Opcode_rsr_litbase_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5104 Opcode_wsr_litbase_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5110 Opcode_xsr_litbase_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5116 Opcode_rsr_176_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5118 slotbuf
[0] = 0xb030;
5122 Opcode_rsr_208_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5124 slotbuf
[0] = 0xd030;
5128 Opcode_rsr_ps_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5130 slotbuf
[0] = 0xe630;
5134 Opcode_wsr_ps_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5136 slotbuf
[0] = 0xe631;
5140 Opcode_xsr_ps_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5142 slotbuf
[0] = 0xe616;
5146 Opcode_rsr_epc1_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5148 slotbuf
[0] = 0xb130;
5152 Opcode_wsr_epc1_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5154 slotbuf
[0] = 0xb131;
5158 Opcode_xsr_epc1_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5160 slotbuf
[0] = 0xb116;
5164 Opcode_rsr_excsave1_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5166 slotbuf
[0] = 0xd130;
5170 Opcode_wsr_excsave1_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5172 slotbuf
[0] = 0xd131;
5176 Opcode_xsr_excsave1_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5178 slotbuf
[0] = 0xd116;
5182 Opcode_rsr_epc2_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5184 slotbuf
[0] = 0xb230;
5188 Opcode_wsr_epc2_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5190 slotbuf
[0] = 0xb231;
5194 Opcode_xsr_epc2_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5196 slotbuf
[0] = 0xb216;
5200 Opcode_rsr_excsave2_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5202 slotbuf
[0] = 0xd230;
5206 Opcode_wsr_excsave2_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5208 slotbuf
[0] = 0xd231;
5212 Opcode_xsr_excsave2_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5214 slotbuf
[0] = 0xd216;
5218 Opcode_rsr_epc3_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5220 slotbuf
[0] = 0xb330;
5224 Opcode_wsr_epc3_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5226 slotbuf
[0] = 0xb331;
5230 Opcode_xsr_epc3_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5232 slotbuf
[0] = 0xb316;
5236 Opcode_rsr_excsave3_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5238 slotbuf
[0] = 0xd330;
5242 Opcode_wsr_excsave3_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5244 slotbuf
[0] = 0xd331;
5248 Opcode_xsr_excsave3_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5250 slotbuf
[0] = 0xd316;
5254 Opcode_rsr_epc4_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5256 slotbuf
[0] = 0xb430;
5260 Opcode_wsr_epc4_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5262 slotbuf
[0] = 0xb431;
5266 Opcode_xsr_epc4_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5268 slotbuf
[0] = 0xb416;
5272 Opcode_rsr_excsave4_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5274 slotbuf
[0] = 0xd430;
5278 Opcode_wsr_excsave4_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5280 slotbuf
[0] = 0xd431;
5284 Opcode_xsr_excsave4_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5286 slotbuf
[0] = 0xd416;
5290 Opcode_rsr_eps2_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5292 slotbuf
[0] = 0xc230;
5296 Opcode_wsr_eps2_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5298 slotbuf
[0] = 0xc231;
5302 Opcode_xsr_eps2_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5304 slotbuf
[0] = 0xc216;
5308 Opcode_rsr_eps3_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5310 slotbuf
[0] = 0xc330;
5314 Opcode_wsr_eps3_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5316 slotbuf
[0] = 0xc331;
5320 Opcode_xsr_eps3_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5322 slotbuf
[0] = 0xc316;
5326 Opcode_rsr_eps4_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5328 slotbuf
[0] = 0xc430;
5332 Opcode_wsr_eps4_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5334 slotbuf
[0] = 0xc431;
5338 Opcode_xsr_eps4_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5340 slotbuf
[0] = 0xc416;
5344 Opcode_rsr_excvaddr_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5346 slotbuf
[0] = 0xee30;
5350 Opcode_wsr_excvaddr_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5352 slotbuf
[0] = 0xee31;
5356 Opcode_xsr_excvaddr_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5358 slotbuf
[0] = 0xee16;
5362 Opcode_rsr_depc_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5364 slotbuf
[0] = 0xc030;
5368 Opcode_wsr_depc_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5370 slotbuf
[0] = 0xc031;
5374 Opcode_xsr_depc_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5376 slotbuf
[0] = 0xc016;
5380 Opcode_rsr_exccause_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5382 slotbuf
[0] = 0xe830;
5386 Opcode_wsr_exccause_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5388 slotbuf
[0] = 0xe831;
5392 Opcode_xsr_exccause_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5394 slotbuf
[0] = 0xe816;
5398 Opcode_rsr_misc0_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5400 slotbuf
[0] = 0xf430;
5404 Opcode_wsr_misc0_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5406 slotbuf
[0] = 0xf431;
5410 Opcode_xsr_misc0_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5412 slotbuf
[0] = 0xf416;
5416 Opcode_rsr_misc1_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5418 slotbuf
[0] = 0xf530;
5422 Opcode_wsr_misc1_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5424 slotbuf
[0] = 0xf531;
5428 Opcode_xsr_misc1_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5430 slotbuf
[0] = 0xf516;
5434 Opcode_rsr_prid_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5436 slotbuf
[0] = 0xeb30;
5440 Opcode_rfi_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5442 slotbuf
[0] = 0x10300;
5446 Opcode_waiti_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5452 Opcode_rsr_interrupt_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5454 slotbuf
[0] = 0xe230;
5458 Opcode_wsr_intset_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5460 slotbuf
[0] = 0xe231;
5464 Opcode_wsr_intclear_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5466 slotbuf
[0] = 0xe331;
5470 Opcode_rsr_intenable_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5472 slotbuf
[0] = 0xe430;
5476 Opcode_wsr_intenable_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5478 slotbuf
[0] = 0xe431;
5482 Opcode_xsr_intenable_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5484 slotbuf
[0] = 0xe416;
5488 Opcode_break_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5494 Opcode_break_n_Slot_inst16b_encode (xtensa_insnbuf slotbuf
)
5496 slotbuf
[0] = 0xd20f;
5500 Opcode_rsr_dbreaka0_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5502 slotbuf
[0] = 0x9030;
5506 Opcode_wsr_dbreaka0_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5508 slotbuf
[0] = 0x9031;
5512 Opcode_xsr_dbreaka0_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5514 slotbuf
[0] = 0x9016;
5518 Opcode_rsr_dbreakc0_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5520 slotbuf
[0] = 0xa030;
5524 Opcode_wsr_dbreakc0_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5526 slotbuf
[0] = 0xa031;
5530 Opcode_xsr_dbreakc0_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5532 slotbuf
[0] = 0xa016;
5536 Opcode_rsr_dbreaka1_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5538 slotbuf
[0] = 0x9130;
5542 Opcode_wsr_dbreaka1_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5544 slotbuf
[0] = 0x9131;
5548 Opcode_xsr_dbreaka1_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5550 slotbuf
[0] = 0x9116;
5554 Opcode_rsr_dbreakc1_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5556 slotbuf
[0] = 0xa130;
5560 Opcode_wsr_dbreakc1_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5562 slotbuf
[0] = 0xa131;
5566 Opcode_xsr_dbreakc1_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5568 slotbuf
[0] = 0xa116;
5572 Opcode_rsr_ibreaka0_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5574 slotbuf
[0] = 0x8030;
5578 Opcode_wsr_ibreaka0_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5580 slotbuf
[0] = 0x8031;
5584 Opcode_xsr_ibreaka0_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5586 slotbuf
[0] = 0x8016;
5590 Opcode_rsr_ibreaka1_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5592 slotbuf
[0] = 0x8130;
5596 Opcode_wsr_ibreaka1_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5598 slotbuf
[0] = 0x8131;
5602 Opcode_xsr_ibreaka1_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5604 slotbuf
[0] = 0x8116;
5608 Opcode_rsr_ibreakenable_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5610 slotbuf
[0] = 0x6030;
5614 Opcode_wsr_ibreakenable_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5616 slotbuf
[0] = 0x6031;
5620 Opcode_xsr_ibreakenable_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5622 slotbuf
[0] = 0x6016;
5626 Opcode_rsr_debugcause_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5628 slotbuf
[0] = 0xe930;
5632 Opcode_wsr_debugcause_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5634 slotbuf
[0] = 0xe931;
5638 Opcode_xsr_debugcause_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5640 slotbuf
[0] = 0xe916;
5644 Opcode_rsr_icount_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5646 slotbuf
[0] = 0xec30;
5650 Opcode_wsr_icount_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5652 slotbuf
[0] = 0xec31;
5656 Opcode_xsr_icount_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5658 slotbuf
[0] = 0xec16;
5662 Opcode_rsr_icountlevel_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5664 slotbuf
[0] = 0xed30;
5668 Opcode_wsr_icountlevel_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5670 slotbuf
[0] = 0xed31;
5674 Opcode_xsr_icountlevel_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5676 slotbuf
[0] = 0xed16;
5680 Opcode_rsr_ddr_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5682 slotbuf
[0] = 0x6830;
5686 Opcode_wsr_ddr_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5688 slotbuf
[0] = 0x6831;
5692 Opcode_xsr_ddr_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5694 slotbuf
[0] = 0x6816;
5698 Opcode_rfdo_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5704 Opcode_rfdd_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5706 slotbuf
[0] = 0x10e1f;
5710 Opcode_rsr_ccount_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5712 slotbuf
[0] = 0xea30;
5716 Opcode_wsr_ccount_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5718 slotbuf
[0] = 0xea31;
5722 Opcode_xsr_ccount_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5724 slotbuf
[0] = 0xea16;
5728 Opcode_rsr_ccompare0_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5730 slotbuf
[0] = 0xf030;
5734 Opcode_wsr_ccompare0_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5736 slotbuf
[0] = 0xf031;
5740 Opcode_xsr_ccompare0_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5742 slotbuf
[0] = 0xf016;
5746 Opcode_rsr_ccompare1_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5748 slotbuf
[0] = 0xf130;
5752 Opcode_wsr_ccompare1_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5754 slotbuf
[0] = 0xf131;
5758 Opcode_xsr_ccompare1_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5760 slotbuf
[0] = 0xf116;
5764 Opcode_rsr_ccompare2_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5766 slotbuf
[0] = 0xf230;
5770 Opcode_wsr_ccompare2_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5772 slotbuf
[0] = 0xf231;
5776 Opcode_xsr_ccompare2_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5778 slotbuf
[0] = 0xf216;
5782 Opcode_ipf_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5784 slotbuf
[0] = 0x2c0700;
5788 Opcode_ihi_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5790 slotbuf
[0] = 0x2e0700;
5794 Opcode_iii_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5796 slotbuf
[0] = 0x2f0700;
5800 Opcode_lict_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5806 Opcode_licw_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5812 Opcode_sict_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5818 Opcode_sicw_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5824 Opcode_dhwb_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5826 slotbuf
[0] = 0x240700;
5830 Opcode_dhwbi_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5832 slotbuf
[0] = 0x250700;
5836 Opcode_diwb_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5838 slotbuf
[0] = 0x280740;
5842 Opcode_diwbi_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5844 slotbuf
[0] = 0x280750;
5848 Opcode_dhi_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5850 slotbuf
[0] = 0x260700;
5854 Opcode_dii_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5856 slotbuf
[0] = 0x270700;
5860 Opcode_dpfr_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5862 slotbuf
[0] = 0x200700;
5866 Opcode_dpfw_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5868 slotbuf
[0] = 0x210700;
5872 Opcode_dpfro_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5874 slotbuf
[0] = 0x220700;
5878 Opcode_dpfwo_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5880 slotbuf
[0] = 0x230700;
5884 Opcode_sdct_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5890 Opcode_ldct_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5896 Opcode_idtlb_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5902 Opcode_pdtlb_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5908 Opcode_rdtlb0_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5914 Opcode_rdtlb1_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5920 Opcode_wdtlb_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5926 Opcode_iitlb_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5932 Opcode_pitlb_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5938 Opcode_ritlb0_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5944 Opcode_ritlb1_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5950 Opcode_witlb_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5956 Opcode_nsa_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5962 Opcode_nsau_Slot_inst_encode (xtensa_insnbuf slotbuf
)
5967 xtensa_opcode_encode_fn Opcode_excw_encode_fns
[] = {
5968 Opcode_excw_Slot_inst_encode
, 0, 0
5971 xtensa_opcode_encode_fn Opcode_rfe_encode_fns
[] = {
5972 Opcode_rfe_Slot_inst_encode
, 0, 0
5975 xtensa_opcode_encode_fn Opcode_rfde_encode_fns
[] = {
5976 Opcode_rfde_Slot_inst_encode
, 0, 0
5979 xtensa_opcode_encode_fn Opcode_syscall_encode_fns
[] = {
5980 Opcode_syscall_Slot_inst_encode
, 0, 0
5983 xtensa_opcode_encode_fn Opcode_simcall_encode_fns
[] = {
5984 Opcode_simcall_Slot_inst_encode
, 0, 0
5987 xtensa_opcode_encode_fn Opcode_call12_encode_fns
[] = {
5988 Opcode_call12_Slot_inst_encode
, 0, 0
5991 xtensa_opcode_encode_fn Opcode_call8_encode_fns
[] = {
5992 Opcode_call8_Slot_inst_encode
, 0, 0
5995 xtensa_opcode_encode_fn Opcode_call4_encode_fns
[] = {
5996 Opcode_call4_Slot_inst_encode
, 0, 0
5999 xtensa_opcode_encode_fn Opcode_callx12_encode_fns
[] = {
6000 Opcode_callx12_Slot_inst_encode
, 0, 0
6003 xtensa_opcode_encode_fn Opcode_callx8_encode_fns
[] = {
6004 Opcode_callx8_Slot_inst_encode
, 0, 0
6007 xtensa_opcode_encode_fn Opcode_callx4_encode_fns
[] = {
6008 Opcode_callx4_Slot_inst_encode
, 0, 0
6011 xtensa_opcode_encode_fn Opcode_entry_encode_fns
[] = {
6012 Opcode_entry_Slot_inst_encode
, 0, 0
6015 xtensa_opcode_encode_fn Opcode_movsp_encode_fns
[] = {
6016 Opcode_movsp_Slot_inst_encode
, 0, 0
6019 xtensa_opcode_encode_fn Opcode_rotw_encode_fns
[] = {
6020 Opcode_rotw_Slot_inst_encode
, 0, 0
6023 xtensa_opcode_encode_fn Opcode_retw_encode_fns
[] = {
6024 Opcode_retw_Slot_inst_encode
, 0, 0
6027 xtensa_opcode_encode_fn Opcode_retw_n_encode_fns
[] = {
6028 0, 0, Opcode_retw_n_Slot_inst16b_encode
6031 xtensa_opcode_encode_fn Opcode_rfwo_encode_fns
[] = {
6032 Opcode_rfwo_Slot_inst_encode
, 0, 0
6035 xtensa_opcode_encode_fn Opcode_rfwu_encode_fns
[] = {
6036 Opcode_rfwu_Slot_inst_encode
, 0, 0
6039 xtensa_opcode_encode_fn Opcode_l32e_encode_fns
[] = {
6040 Opcode_l32e_Slot_inst_encode
, 0, 0
6043 xtensa_opcode_encode_fn Opcode_s32e_encode_fns
[] = {
6044 Opcode_s32e_Slot_inst_encode
, 0, 0
6047 xtensa_opcode_encode_fn Opcode_rsr_windowbase_encode_fns
[] = {
6048 Opcode_rsr_windowbase_Slot_inst_encode
, 0, 0
6051 xtensa_opcode_encode_fn Opcode_wsr_windowbase_encode_fns
[] = {
6052 Opcode_wsr_windowbase_Slot_inst_encode
, 0, 0
6055 xtensa_opcode_encode_fn Opcode_xsr_windowbase_encode_fns
[] = {
6056 Opcode_xsr_windowbase_Slot_inst_encode
, 0, 0
6059 xtensa_opcode_encode_fn Opcode_rsr_windowstart_encode_fns
[] = {
6060 Opcode_rsr_windowstart_Slot_inst_encode
, 0, 0
6063 xtensa_opcode_encode_fn Opcode_wsr_windowstart_encode_fns
[] = {
6064 Opcode_wsr_windowstart_Slot_inst_encode
, 0, 0
6067 xtensa_opcode_encode_fn Opcode_xsr_windowstart_encode_fns
[] = {
6068 Opcode_xsr_windowstart_Slot_inst_encode
, 0, 0
6071 xtensa_opcode_encode_fn Opcode_add_n_encode_fns
[] = {
6072 0, Opcode_add_n_Slot_inst16a_encode
, 0
6075 xtensa_opcode_encode_fn Opcode_addi_n_encode_fns
[] = {
6076 0, Opcode_addi_n_Slot_inst16a_encode
, 0
6079 xtensa_opcode_encode_fn Opcode_beqz_n_encode_fns
[] = {
6080 0, 0, Opcode_beqz_n_Slot_inst16b_encode
6083 xtensa_opcode_encode_fn Opcode_bnez_n_encode_fns
[] = {
6084 0, 0, Opcode_bnez_n_Slot_inst16b_encode
6087 xtensa_opcode_encode_fn Opcode_ill_n_encode_fns
[] = {
6088 0, 0, Opcode_ill_n_Slot_inst16b_encode
6091 xtensa_opcode_encode_fn Opcode_l32i_n_encode_fns
[] = {
6092 0, Opcode_l32i_n_Slot_inst16a_encode
, 0
6095 xtensa_opcode_encode_fn Opcode_mov_n_encode_fns
[] = {
6096 0, 0, Opcode_mov_n_Slot_inst16b_encode
6099 xtensa_opcode_encode_fn Opcode_movi_n_encode_fns
[] = {
6100 0, 0, Opcode_movi_n_Slot_inst16b_encode
6103 xtensa_opcode_encode_fn Opcode_nop_n_encode_fns
[] = {
6104 0, 0, Opcode_nop_n_Slot_inst16b_encode
6107 xtensa_opcode_encode_fn Opcode_ret_n_encode_fns
[] = {
6108 0, 0, Opcode_ret_n_Slot_inst16b_encode
6111 xtensa_opcode_encode_fn Opcode_s32i_n_encode_fns
[] = {
6112 0, Opcode_s32i_n_Slot_inst16a_encode
, 0
6115 xtensa_opcode_encode_fn Opcode_addi_encode_fns
[] = {
6116 Opcode_addi_Slot_inst_encode
, 0, 0
6119 xtensa_opcode_encode_fn Opcode_addmi_encode_fns
[] = {
6120 Opcode_addmi_Slot_inst_encode
, 0, 0
6123 xtensa_opcode_encode_fn Opcode_add_encode_fns
[] = {
6124 Opcode_add_Slot_inst_encode
, 0, 0
6127 xtensa_opcode_encode_fn Opcode_sub_encode_fns
[] = {
6128 Opcode_sub_Slot_inst_encode
, 0, 0
6131 xtensa_opcode_encode_fn Opcode_addx2_encode_fns
[] = {
6132 Opcode_addx2_Slot_inst_encode
, 0, 0
6135 xtensa_opcode_encode_fn Opcode_addx4_encode_fns
[] = {
6136 Opcode_addx4_Slot_inst_encode
, 0, 0
6139 xtensa_opcode_encode_fn Opcode_addx8_encode_fns
[] = {
6140 Opcode_addx8_Slot_inst_encode
, 0, 0
6143 xtensa_opcode_encode_fn Opcode_subx2_encode_fns
[] = {
6144 Opcode_subx2_Slot_inst_encode
, 0, 0
6147 xtensa_opcode_encode_fn Opcode_subx4_encode_fns
[] = {
6148 Opcode_subx4_Slot_inst_encode
, 0, 0
6151 xtensa_opcode_encode_fn Opcode_subx8_encode_fns
[] = {
6152 Opcode_subx8_Slot_inst_encode
, 0, 0
6155 xtensa_opcode_encode_fn Opcode_and_encode_fns
[] = {
6156 Opcode_and_Slot_inst_encode
, 0, 0
6159 xtensa_opcode_encode_fn Opcode_or_encode_fns
[] = {
6160 Opcode_or_Slot_inst_encode
, 0, 0
6163 xtensa_opcode_encode_fn Opcode_xor_encode_fns
[] = {
6164 Opcode_xor_Slot_inst_encode
, 0, 0
6167 xtensa_opcode_encode_fn Opcode_beqi_encode_fns
[] = {
6168 Opcode_beqi_Slot_inst_encode
, 0, 0
6171 xtensa_opcode_encode_fn Opcode_bnei_encode_fns
[] = {
6172 Opcode_bnei_Slot_inst_encode
, 0, 0
6175 xtensa_opcode_encode_fn Opcode_bgei_encode_fns
[] = {
6176 Opcode_bgei_Slot_inst_encode
, 0, 0
6179 xtensa_opcode_encode_fn Opcode_blti_encode_fns
[] = {
6180 Opcode_blti_Slot_inst_encode
, 0, 0
6183 xtensa_opcode_encode_fn Opcode_bbci_encode_fns
[] = {
6184 Opcode_bbci_Slot_inst_encode
, 0, 0
6187 xtensa_opcode_encode_fn Opcode_bbsi_encode_fns
[] = {
6188 Opcode_bbsi_Slot_inst_encode
, 0, 0
6191 xtensa_opcode_encode_fn Opcode_bgeui_encode_fns
[] = {
6192 Opcode_bgeui_Slot_inst_encode
, 0, 0
6195 xtensa_opcode_encode_fn Opcode_bltui_encode_fns
[] = {
6196 Opcode_bltui_Slot_inst_encode
, 0, 0
6199 xtensa_opcode_encode_fn Opcode_beq_encode_fns
[] = {
6200 Opcode_beq_Slot_inst_encode
, 0, 0
6203 xtensa_opcode_encode_fn Opcode_bne_encode_fns
[] = {
6204 Opcode_bne_Slot_inst_encode
, 0, 0
6207 xtensa_opcode_encode_fn Opcode_bge_encode_fns
[] = {
6208 Opcode_bge_Slot_inst_encode
, 0, 0
6211 xtensa_opcode_encode_fn Opcode_blt_encode_fns
[] = {
6212 Opcode_blt_Slot_inst_encode
, 0, 0
6215 xtensa_opcode_encode_fn Opcode_bgeu_encode_fns
[] = {
6216 Opcode_bgeu_Slot_inst_encode
, 0, 0
6219 xtensa_opcode_encode_fn Opcode_bltu_encode_fns
[] = {
6220 Opcode_bltu_Slot_inst_encode
, 0, 0
6223 xtensa_opcode_encode_fn Opcode_bany_encode_fns
[] = {
6224 Opcode_bany_Slot_inst_encode
, 0, 0
6227 xtensa_opcode_encode_fn Opcode_bnone_encode_fns
[] = {
6228 Opcode_bnone_Slot_inst_encode
, 0, 0
6231 xtensa_opcode_encode_fn Opcode_ball_encode_fns
[] = {
6232 Opcode_ball_Slot_inst_encode
, 0, 0
6235 xtensa_opcode_encode_fn Opcode_bnall_encode_fns
[] = {
6236 Opcode_bnall_Slot_inst_encode
, 0, 0
6239 xtensa_opcode_encode_fn Opcode_bbc_encode_fns
[] = {
6240 Opcode_bbc_Slot_inst_encode
, 0, 0
6243 xtensa_opcode_encode_fn Opcode_bbs_encode_fns
[] = {
6244 Opcode_bbs_Slot_inst_encode
, 0, 0
6247 xtensa_opcode_encode_fn Opcode_beqz_encode_fns
[] = {
6248 Opcode_beqz_Slot_inst_encode
, 0, 0
6251 xtensa_opcode_encode_fn Opcode_bnez_encode_fns
[] = {
6252 Opcode_bnez_Slot_inst_encode
, 0, 0
6255 xtensa_opcode_encode_fn Opcode_bgez_encode_fns
[] = {
6256 Opcode_bgez_Slot_inst_encode
, 0, 0
6259 xtensa_opcode_encode_fn Opcode_bltz_encode_fns
[] = {
6260 Opcode_bltz_Slot_inst_encode
, 0, 0
6263 xtensa_opcode_encode_fn Opcode_call0_encode_fns
[] = {
6264 Opcode_call0_Slot_inst_encode
, 0, 0
6267 xtensa_opcode_encode_fn Opcode_callx0_encode_fns
[] = {
6268 Opcode_callx0_Slot_inst_encode
, 0, 0
6271 xtensa_opcode_encode_fn Opcode_extui_encode_fns
[] = {
6272 Opcode_extui_Slot_inst_encode
, 0, 0
6275 xtensa_opcode_encode_fn Opcode_ill_encode_fns
[] = {
6276 Opcode_ill_Slot_inst_encode
, 0, 0
6279 xtensa_opcode_encode_fn Opcode_j_encode_fns
[] = {
6280 Opcode_j_Slot_inst_encode
, 0, 0
6283 xtensa_opcode_encode_fn Opcode_jx_encode_fns
[] = {
6284 Opcode_jx_Slot_inst_encode
, 0, 0
6287 xtensa_opcode_encode_fn Opcode_l16ui_encode_fns
[] = {
6288 Opcode_l16ui_Slot_inst_encode
, 0, 0
6291 xtensa_opcode_encode_fn Opcode_l16si_encode_fns
[] = {
6292 Opcode_l16si_Slot_inst_encode
, 0, 0
6295 xtensa_opcode_encode_fn Opcode_l32i_encode_fns
[] = {
6296 Opcode_l32i_Slot_inst_encode
, 0, 0
6299 xtensa_opcode_encode_fn Opcode_l32r_encode_fns
[] = {
6300 Opcode_l32r_Slot_inst_encode
, 0, 0
6303 xtensa_opcode_encode_fn Opcode_l8ui_encode_fns
[] = {
6304 Opcode_l8ui_Slot_inst_encode
, 0, 0
6307 xtensa_opcode_encode_fn Opcode_loop_encode_fns
[] = {
6308 Opcode_loop_Slot_inst_encode
, 0, 0
6311 xtensa_opcode_encode_fn Opcode_loopnez_encode_fns
[] = {
6312 Opcode_loopnez_Slot_inst_encode
, 0, 0
6315 xtensa_opcode_encode_fn Opcode_loopgtz_encode_fns
[] = {
6316 Opcode_loopgtz_Slot_inst_encode
, 0, 0
6319 xtensa_opcode_encode_fn Opcode_movi_encode_fns
[] = {
6320 Opcode_movi_Slot_inst_encode
, 0, 0
6323 xtensa_opcode_encode_fn Opcode_moveqz_encode_fns
[] = {
6324 Opcode_moveqz_Slot_inst_encode
, 0, 0
6327 xtensa_opcode_encode_fn Opcode_movnez_encode_fns
[] = {
6328 Opcode_movnez_Slot_inst_encode
, 0, 0
6331 xtensa_opcode_encode_fn Opcode_movltz_encode_fns
[] = {
6332 Opcode_movltz_Slot_inst_encode
, 0, 0
6335 xtensa_opcode_encode_fn Opcode_movgez_encode_fns
[] = {
6336 Opcode_movgez_Slot_inst_encode
, 0, 0
6339 xtensa_opcode_encode_fn Opcode_neg_encode_fns
[] = {
6340 Opcode_neg_Slot_inst_encode
, 0, 0
6343 xtensa_opcode_encode_fn Opcode_abs_encode_fns
[] = {
6344 Opcode_abs_Slot_inst_encode
, 0, 0
6347 xtensa_opcode_encode_fn Opcode_nop_encode_fns
[] = {
6348 Opcode_nop_Slot_inst_encode
, 0, 0
6351 xtensa_opcode_encode_fn Opcode_ret_encode_fns
[] = {
6352 Opcode_ret_Slot_inst_encode
, 0, 0
6355 xtensa_opcode_encode_fn Opcode_s16i_encode_fns
[] = {
6356 Opcode_s16i_Slot_inst_encode
, 0, 0
6359 xtensa_opcode_encode_fn Opcode_s32i_encode_fns
[] = {
6360 Opcode_s32i_Slot_inst_encode
, 0, 0
6363 xtensa_opcode_encode_fn Opcode_s8i_encode_fns
[] = {
6364 Opcode_s8i_Slot_inst_encode
, 0, 0
6367 xtensa_opcode_encode_fn Opcode_ssr_encode_fns
[] = {
6368 Opcode_ssr_Slot_inst_encode
, 0, 0
6371 xtensa_opcode_encode_fn Opcode_ssl_encode_fns
[] = {
6372 Opcode_ssl_Slot_inst_encode
, 0, 0
6375 xtensa_opcode_encode_fn Opcode_ssa8l_encode_fns
[] = {
6376 Opcode_ssa8l_Slot_inst_encode
, 0, 0
6379 xtensa_opcode_encode_fn Opcode_ssa8b_encode_fns
[] = {
6380 Opcode_ssa8b_Slot_inst_encode
, 0, 0
6383 xtensa_opcode_encode_fn Opcode_ssai_encode_fns
[] = {
6384 Opcode_ssai_Slot_inst_encode
, 0, 0
6387 xtensa_opcode_encode_fn Opcode_sll_encode_fns
[] = {
6388 Opcode_sll_Slot_inst_encode
, 0, 0
6391 xtensa_opcode_encode_fn Opcode_src_encode_fns
[] = {
6392 Opcode_src_Slot_inst_encode
, 0, 0
6395 xtensa_opcode_encode_fn Opcode_srl_encode_fns
[] = {
6396 Opcode_srl_Slot_inst_encode
, 0, 0
6399 xtensa_opcode_encode_fn Opcode_sra_encode_fns
[] = {
6400 Opcode_sra_Slot_inst_encode
, 0, 0
6403 xtensa_opcode_encode_fn Opcode_slli_encode_fns
[] = {
6404 Opcode_slli_Slot_inst_encode
, 0, 0
6407 xtensa_opcode_encode_fn Opcode_srai_encode_fns
[] = {
6408 Opcode_srai_Slot_inst_encode
, 0, 0
6411 xtensa_opcode_encode_fn Opcode_srli_encode_fns
[] = {
6412 Opcode_srli_Slot_inst_encode
, 0, 0
6415 xtensa_opcode_encode_fn Opcode_memw_encode_fns
[] = {
6416 Opcode_memw_Slot_inst_encode
, 0, 0
6419 xtensa_opcode_encode_fn Opcode_extw_encode_fns
[] = {
6420 Opcode_extw_Slot_inst_encode
, 0, 0
6423 xtensa_opcode_encode_fn Opcode_isync_encode_fns
[] = {
6424 Opcode_isync_Slot_inst_encode
, 0, 0
6427 xtensa_opcode_encode_fn Opcode_rsync_encode_fns
[] = {
6428 Opcode_rsync_Slot_inst_encode
, 0, 0
6431 xtensa_opcode_encode_fn Opcode_esync_encode_fns
[] = {
6432 Opcode_esync_Slot_inst_encode
, 0, 0
6435 xtensa_opcode_encode_fn Opcode_dsync_encode_fns
[] = {
6436 Opcode_dsync_Slot_inst_encode
, 0, 0
6439 xtensa_opcode_encode_fn Opcode_rsil_encode_fns
[] = {
6440 Opcode_rsil_Slot_inst_encode
, 0, 0
6443 xtensa_opcode_encode_fn Opcode_rsr_lend_encode_fns
[] = {
6444 Opcode_rsr_lend_Slot_inst_encode
, 0, 0
6447 xtensa_opcode_encode_fn Opcode_wsr_lend_encode_fns
[] = {
6448 Opcode_wsr_lend_Slot_inst_encode
, 0, 0
6451 xtensa_opcode_encode_fn Opcode_xsr_lend_encode_fns
[] = {
6452 Opcode_xsr_lend_Slot_inst_encode
, 0, 0
6455 xtensa_opcode_encode_fn Opcode_rsr_lcount_encode_fns
[] = {
6456 Opcode_rsr_lcount_Slot_inst_encode
, 0, 0
6459 xtensa_opcode_encode_fn Opcode_wsr_lcount_encode_fns
[] = {
6460 Opcode_wsr_lcount_Slot_inst_encode
, 0, 0
6463 xtensa_opcode_encode_fn Opcode_xsr_lcount_encode_fns
[] = {
6464 Opcode_xsr_lcount_Slot_inst_encode
, 0, 0
6467 xtensa_opcode_encode_fn Opcode_rsr_lbeg_encode_fns
[] = {
6468 Opcode_rsr_lbeg_Slot_inst_encode
, 0, 0
6471 xtensa_opcode_encode_fn Opcode_wsr_lbeg_encode_fns
[] = {
6472 Opcode_wsr_lbeg_Slot_inst_encode
, 0, 0
6475 xtensa_opcode_encode_fn Opcode_xsr_lbeg_encode_fns
[] = {
6476 Opcode_xsr_lbeg_Slot_inst_encode
, 0, 0
6479 xtensa_opcode_encode_fn Opcode_rsr_sar_encode_fns
[] = {
6480 Opcode_rsr_sar_Slot_inst_encode
, 0, 0
6483 xtensa_opcode_encode_fn Opcode_wsr_sar_encode_fns
[] = {
6484 Opcode_wsr_sar_Slot_inst_encode
, 0, 0
6487 xtensa_opcode_encode_fn Opcode_xsr_sar_encode_fns
[] = {
6488 Opcode_xsr_sar_Slot_inst_encode
, 0, 0
6491 xtensa_opcode_encode_fn Opcode_rsr_litbase_encode_fns
[] = {
6492 Opcode_rsr_litbase_Slot_inst_encode
, 0, 0
6495 xtensa_opcode_encode_fn Opcode_wsr_litbase_encode_fns
[] = {
6496 Opcode_wsr_litbase_Slot_inst_encode
, 0, 0
6499 xtensa_opcode_encode_fn Opcode_xsr_litbase_encode_fns
[] = {
6500 Opcode_xsr_litbase_Slot_inst_encode
, 0, 0
6503 xtensa_opcode_encode_fn Opcode_rsr_176_encode_fns
[] = {
6504 Opcode_rsr_176_Slot_inst_encode
, 0, 0
6507 xtensa_opcode_encode_fn Opcode_rsr_208_encode_fns
[] = {
6508 Opcode_rsr_208_Slot_inst_encode
, 0, 0
6511 xtensa_opcode_encode_fn Opcode_rsr_ps_encode_fns
[] = {
6512 Opcode_rsr_ps_Slot_inst_encode
, 0, 0
6515 xtensa_opcode_encode_fn Opcode_wsr_ps_encode_fns
[] = {
6516 Opcode_wsr_ps_Slot_inst_encode
, 0, 0
6519 xtensa_opcode_encode_fn Opcode_xsr_ps_encode_fns
[] = {
6520 Opcode_xsr_ps_Slot_inst_encode
, 0, 0
6523 xtensa_opcode_encode_fn Opcode_rsr_epc1_encode_fns
[] = {
6524 Opcode_rsr_epc1_Slot_inst_encode
, 0, 0
6527 xtensa_opcode_encode_fn Opcode_wsr_epc1_encode_fns
[] = {
6528 Opcode_wsr_epc1_Slot_inst_encode
, 0, 0
6531 xtensa_opcode_encode_fn Opcode_xsr_epc1_encode_fns
[] = {
6532 Opcode_xsr_epc1_Slot_inst_encode
, 0, 0
6535 xtensa_opcode_encode_fn Opcode_rsr_excsave1_encode_fns
[] = {
6536 Opcode_rsr_excsave1_Slot_inst_encode
, 0, 0
6539 xtensa_opcode_encode_fn Opcode_wsr_excsave1_encode_fns
[] = {
6540 Opcode_wsr_excsave1_Slot_inst_encode
, 0, 0
6543 xtensa_opcode_encode_fn Opcode_xsr_excsave1_encode_fns
[] = {
6544 Opcode_xsr_excsave1_Slot_inst_encode
, 0, 0
6547 xtensa_opcode_encode_fn Opcode_rsr_epc2_encode_fns
[] = {
6548 Opcode_rsr_epc2_Slot_inst_encode
, 0, 0
6551 xtensa_opcode_encode_fn Opcode_wsr_epc2_encode_fns
[] = {
6552 Opcode_wsr_epc2_Slot_inst_encode
, 0, 0
6555 xtensa_opcode_encode_fn Opcode_xsr_epc2_encode_fns
[] = {
6556 Opcode_xsr_epc2_Slot_inst_encode
, 0, 0
6559 xtensa_opcode_encode_fn Opcode_rsr_excsave2_encode_fns
[] = {
6560 Opcode_rsr_excsave2_Slot_inst_encode
, 0, 0
6563 xtensa_opcode_encode_fn Opcode_wsr_excsave2_encode_fns
[] = {
6564 Opcode_wsr_excsave2_Slot_inst_encode
, 0, 0
6567 xtensa_opcode_encode_fn Opcode_xsr_excsave2_encode_fns
[] = {
6568 Opcode_xsr_excsave2_Slot_inst_encode
, 0, 0
6571 xtensa_opcode_encode_fn Opcode_rsr_epc3_encode_fns
[] = {
6572 Opcode_rsr_epc3_Slot_inst_encode
, 0, 0
6575 xtensa_opcode_encode_fn Opcode_wsr_epc3_encode_fns
[] = {
6576 Opcode_wsr_epc3_Slot_inst_encode
, 0, 0
6579 xtensa_opcode_encode_fn Opcode_xsr_epc3_encode_fns
[] = {
6580 Opcode_xsr_epc3_Slot_inst_encode
, 0, 0
6583 xtensa_opcode_encode_fn Opcode_rsr_excsave3_encode_fns
[] = {
6584 Opcode_rsr_excsave3_Slot_inst_encode
, 0, 0
6587 xtensa_opcode_encode_fn Opcode_wsr_excsave3_encode_fns
[] = {
6588 Opcode_wsr_excsave3_Slot_inst_encode
, 0, 0
6591 xtensa_opcode_encode_fn Opcode_xsr_excsave3_encode_fns
[] = {
6592 Opcode_xsr_excsave3_Slot_inst_encode
, 0, 0
6595 xtensa_opcode_encode_fn Opcode_rsr_epc4_encode_fns
[] = {
6596 Opcode_rsr_epc4_Slot_inst_encode
, 0, 0
6599 xtensa_opcode_encode_fn Opcode_wsr_epc4_encode_fns
[] = {
6600 Opcode_wsr_epc4_Slot_inst_encode
, 0, 0
6603 xtensa_opcode_encode_fn Opcode_xsr_epc4_encode_fns
[] = {
6604 Opcode_xsr_epc4_Slot_inst_encode
, 0, 0
6607 xtensa_opcode_encode_fn Opcode_rsr_excsave4_encode_fns
[] = {
6608 Opcode_rsr_excsave4_Slot_inst_encode
, 0, 0
6611 xtensa_opcode_encode_fn Opcode_wsr_excsave4_encode_fns
[] = {
6612 Opcode_wsr_excsave4_Slot_inst_encode
, 0, 0
6615 xtensa_opcode_encode_fn Opcode_xsr_excsave4_encode_fns
[] = {
6616 Opcode_xsr_excsave4_Slot_inst_encode
, 0, 0
6619 xtensa_opcode_encode_fn Opcode_rsr_eps2_encode_fns
[] = {
6620 Opcode_rsr_eps2_Slot_inst_encode
, 0, 0
6623 xtensa_opcode_encode_fn Opcode_wsr_eps2_encode_fns
[] = {
6624 Opcode_wsr_eps2_Slot_inst_encode
, 0, 0
6627 xtensa_opcode_encode_fn Opcode_xsr_eps2_encode_fns
[] = {
6628 Opcode_xsr_eps2_Slot_inst_encode
, 0, 0
6631 xtensa_opcode_encode_fn Opcode_rsr_eps3_encode_fns
[] = {
6632 Opcode_rsr_eps3_Slot_inst_encode
, 0, 0
6635 xtensa_opcode_encode_fn Opcode_wsr_eps3_encode_fns
[] = {
6636 Opcode_wsr_eps3_Slot_inst_encode
, 0, 0
6639 xtensa_opcode_encode_fn Opcode_xsr_eps3_encode_fns
[] = {
6640 Opcode_xsr_eps3_Slot_inst_encode
, 0, 0
6643 xtensa_opcode_encode_fn Opcode_rsr_eps4_encode_fns
[] = {
6644 Opcode_rsr_eps4_Slot_inst_encode
, 0, 0
6647 xtensa_opcode_encode_fn Opcode_wsr_eps4_encode_fns
[] = {
6648 Opcode_wsr_eps4_Slot_inst_encode
, 0, 0
6651 xtensa_opcode_encode_fn Opcode_xsr_eps4_encode_fns
[] = {
6652 Opcode_xsr_eps4_Slot_inst_encode
, 0, 0
6655 xtensa_opcode_encode_fn Opcode_rsr_excvaddr_encode_fns
[] = {
6656 Opcode_rsr_excvaddr_Slot_inst_encode
, 0, 0
6659 xtensa_opcode_encode_fn Opcode_wsr_excvaddr_encode_fns
[] = {
6660 Opcode_wsr_excvaddr_Slot_inst_encode
, 0, 0
6663 xtensa_opcode_encode_fn Opcode_xsr_excvaddr_encode_fns
[] = {
6664 Opcode_xsr_excvaddr_Slot_inst_encode
, 0, 0
6667 xtensa_opcode_encode_fn Opcode_rsr_depc_encode_fns
[] = {
6668 Opcode_rsr_depc_Slot_inst_encode
, 0, 0
6671 xtensa_opcode_encode_fn Opcode_wsr_depc_encode_fns
[] = {
6672 Opcode_wsr_depc_Slot_inst_encode
, 0, 0
6675 xtensa_opcode_encode_fn Opcode_xsr_depc_encode_fns
[] = {
6676 Opcode_xsr_depc_Slot_inst_encode
, 0, 0
6679 xtensa_opcode_encode_fn Opcode_rsr_exccause_encode_fns
[] = {
6680 Opcode_rsr_exccause_Slot_inst_encode
, 0, 0
6683 xtensa_opcode_encode_fn Opcode_wsr_exccause_encode_fns
[] = {
6684 Opcode_wsr_exccause_Slot_inst_encode
, 0, 0
6687 xtensa_opcode_encode_fn Opcode_xsr_exccause_encode_fns
[] = {
6688 Opcode_xsr_exccause_Slot_inst_encode
, 0, 0
6691 xtensa_opcode_encode_fn Opcode_rsr_misc0_encode_fns
[] = {
6692 Opcode_rsr_misc0_Slot_inst_encode
, 0, 0
6695 xtensa_opcode_encode_fn Opcode_wsr_misc0_encode_fns
[] = {
6696 Opcode_wsr_misc0_Slot_inst_encode
, 0, 0
6699 xtensa_opcode_encode_fn Opcode_xsr_misc0_encode_fns
[] = {
6700 Opcode_xsr_misc0_Slot_inst_encode
, 0, 0
6703 xtensa_opcode_encode_fn Opcode_rsr_misc1_encode_fns
[] = {
6704 Opcode_rsr_misc1_Slot_inst_encode
, 0, 0
6707 xtensa_opcode_encode_fn Opcode_wsr_misc1_encode_fns
[] = {
6708 Opcode_wsr_misc1_Slot_inst_encode
, 0, 0
6711 xtensa_opcode_encode_fn Opcode_xsr_misc1_encode_fns
[] = {
6712 Opcode_xsr_misc1_Slot_inst_encode
, 0, 0
6715 xtensa_opcode_encode_fn Opcode_rsr_prid_encode_fns
[] = {
6716 Opcode_rsr_prid_Slot_inst_encode
, 0, 0
6719 xtensa_opcode_encode_fn Opcode_rfi_encode_fns
[] = {
6720 Opcode_rfi_Slot_inst_encode
, 0, 0
6723 xtensa_opcode_encode_fn Opcode_waiti_encode_fns
[] = {
6724 Opcode_waiti_Slot_inst_encode
, 0, 0
6727 xtensa_opcode_encode_fn Opcode_rsr_interrupt_encode_fns
[] = {
6728 Opcode_rsr_interrupt_Slot_inst_encode
, 0, 0
6731 xtensa_opcode_encode_fn Opcode_wsr_intset_encode_fns
[] = {
6732 Opcode_wsr_intset_Slot_inst_encode
, 0, 0
6735 xtensa_opcode_encode_fn Opcode_wsr_intclear_encode_fns
[] = {
6736 Opcode_wsr_intclear_Slot_inst_encode
, 0, 0
6739 xtensa_opcode_encode_fn Opcode_rsr_intenable_encode_fns
[] = {
6740 Opcode_rsr_intenable_Slot_inst_encode
, 0, 0
6743 xtensa_opcode_encode_fn Opcode_wsr_intenable_encode_fns
[] = {
6744 Opcode_wsr_intenable_Slot_inst_encode
, 0, 0
6747 xtensa_opcode_encode_fn Opcode_xsr_intenable_encode_fns
[] = {
6748 Opcode_xsr_intenable_Slot_inst_encode
, 0, 0
6751 xtensa_opcode_encode_fn Opcode_break_encode_fns
[] = {
6752 Opcode_break_Slot_inst_encode
, 0, 0
6755 xtensa_opcode_encode_fn Opcode_break_n_encode_fns
[] = {
6756 0, 0, Opcode_break_n_Slot_inst16b_encode
6759 xtensa_opcode_encode_fn Opcode_rsr_dbreaka0_encode_fns
[] = {
6760 Opcode_rsr_dbreaka0_Slot_inst_encode
, 0, 0
6763 xtensa_opcode_encode_fn Opcode_wsr_dbreaka0_encode_fns
[] = {
6764 Opcode_wsr_dbreaka0_Slot_inst_encode
, 0, 0
6767 xtensa_opcode_encode_fn Opcode_xsr_dbreaka0_encode_fns
[] = {
6768 Opcode_xsr_dbreaka0_Slot_inst_encode
, 0, 0
6771 xtensa_opcode_encode_fn Opcode_rsr_dbreakc0_encode_fns
[] = {
6772 Opcode_rsr_dbreakc0_Slot_inst_encode
, 0, 0
6775 xtensa_opcode_encode_fn Opcode_wsr_dbreakc0_encode_fns
[] = {
6776 Opcode_wsr_dbreakc0_Slot_inst_encode
, 0, 0
6779 xtensa_opcode_encode_fn Opcode_xsr_dbreakc0_encode_fns
[] = {
6780 Opcode_xsr_dbreakc0_Slot_inst_encode
, 0, 0
6783 xtensa_opcode_encode_fn Opcode_rsr_dbreaka1_encode_fns
[] = {
6784 Opcode_rsr_dbreaka1_Slot_inst_encode
, 0, 0
6787 xtensa_opcode_encode_fn Opcode_wsr_dbreaka1_encode_fns
[] = {
6788 Opcode_wsr_dbreaka1_Slot_inst_encode
, 0, 0
6791 xtensa_opcode_encode_fn Opcode_xsr_dbreaka1_encode_fns
[] = {
6792 Opcode_xsr_dbreaka1_Slot_inst_encode
, 0, 0
6795 xtensa_opcode_encode_fn Opcode_rsr_dbreakc1_encode_fns
[] = {
6796 Opcode_rsr_dbreakc1_Slot_inst_encode
, 0, 0
6799 xtensa_opcode_encode_fn Opcode_wsr_dbreakc1_encode_fns
[] = {
6800 Opcode_wsr_dbreakc1_Slot_inst_encode
, 0, 0
6803 xtensa_opcode_encode_fn Opcode_xsr_dbreakc1_encode_fns
[] = {
6804 Opcode_xsr_dbreakc1_Slot_inst_encode
, 0, 0
6807 xtensa_opcode_encode_fn Opcode_rsr_ibreaka0_encode_fns
[] = {
6808 Opcode_rsr_ibreaka0_Slot_inst_encode
, 0, 0
6811 xtensa_opcode_encode_fn Opcode_wsr_ibreaka0_encode_fns
[] = {
6812 Opcode_wsr_ibreaka0_Slot_inst_encode
, 0, 0
6815 xtensa_opcode_encode_fn Opcode_xsr_ibreaka0_encode_fns
[] = {
6816 Opcode_xsr_ibreaka0_Slot_inst_encode
, 0, 0
6819 xtensa_opcode_encode_fn Opcode_rsr_ibreaka1_encode_fns
[] = {
6820 Opcode_rsr_ibreaka1_Slot_inst_encode
, 0, 0
6823 xtensa_opcode_encode_fn Opcode_wsr_ibreaka1_encode_fns
[] = {
6824 Opcode_wsr_ibreaka1_Slot_inst_encode
, 0, 0
6827 xtensa_opcode_encode_fn Opcode_xsr_ibreaka1_encode_fns
[] = {
6828 Opcode_xsr_ibreaka1_Slot_inst_encode
, 0, 0
6831 xtensa_opcode_encode_fn Opcode_rsr_ibreakenable_encode_fns
[] = {
6832 Opcode_rsr_ibreakenable_Slot_inst_encode
, 0, 0
6835 xtensa_opcode_encode_fn Opcode_wsr_ibreakenable_encode_fns
[] = {
6836 Opcode_wsr_ibreakenable_Slot_inst_encode
, 0, 0
6839 xtensa_opcode_encode_fn Opcode_xsr_ibreakenable_encode_fns
[] = {
6840 Opcode_xsr_ibreakenable_Slot_inst_encode
, 0, 0
6843 xtensa_opcode_encode_fn Opcode_rsr_debugcause_encode_fns
[] = {
6844 Opcode_rsr_debugcause_Slot_inst_encode
, 0, 0
6847 xtensa_opcode_encode_fn Opcode_wsr_debugcause_encode_fns
[] = {
6848 Opcode_wsr_debugcause_Slot_inst_encode
, 0, 0
6851 xtensa_opcode_encode_fn Opcode_xsr_debugcause_encode_fns
[] = {
6852 Opcode_xsr_debugcause_Slot_inst_encode
, 0, 0
6855 xtensa_opcode_encode_fn Opcode_rsr_icount_encode_fns
[] = {
6856 Opcode_rsr_icount_Slot_inst_encode
, 0, 0
6859 xtensa_opcode_encode_fn Opcode_wsr_icount_encode_fns
[] = {
6860 Opcode_wsr_icount_Slot_inst_encode
, 0, 0
6863 xtensa_opcode_encode_fn Opcode_xsr_icount_encode_fns
[] = {
6864 Opcode_xsr_icount_Slot_inst_encode
, 0, 0
6867 xtensa_opcode_encode_fn Opcode_rsr_icountlevel_encode_fns
[] = {
6868 Opcode_rsr_icountlevel_Slot_inst_encode
, 0, 0
6871 xtensa_opcode_encode_fn Opcode_wsr_icountlevel_encode_fns
[] = {
6872 Opcode_wsr_icountlevel_Slot_inst_encode
, 0, 0
6875 xtensa_opcode_encode_fn Opcode_xsr_icountlevel_encode_fns
[] = {
6876 Opcode_xsr_icountlevel_Slot_inst_encode
, 0, 0
6879 xtensa_opcode_encode_fn Opcode_rsr_ddr_encode_fns
[] = {
6880 Opcode_rsr_ddr_Slot_inst_encode
, 0, 0
6883 xtensa_opcode_encode_fn Opcode_wsr_ddr_encode_fns
[] = {
6884 Opcode_wsr_ddr_Slot_inst_encode
, 0, 0
6887 xtensa_opcode_encode_fn Opcode_xsr_ddr_encode_fns
[] = {
6888 Opcode_xsr_ddr_Slot_inst_encode
, 0, 0
6891 xtensa_opcode_encode_fn Opcode_rfdo_encode_fns
[] = {
6892 Opcode_rfdo_Slot_inst_encode
, 0, 0
6895 xtensa_opcode_encode_fn Opcode_rfdd_encode_fns
[] = {
6896 Opcode_rfdd_Slot_inst_encode
, 0, 0
6899 xtensa_opcode_encode_fn Opcode_rsr_ccount_encode_fns
[] = {
6900 Opcode_rsr_ccount_Slot_inst_encode
, 0, 0
6903 xtensa_opcode_encode_fn Opcode_wsr_ccount_encode_fns
[] = {
6904 Opcode_wsr_ccount_Slot_inst_encode
, 0, 0
6907 xtensa_opcode_encode_fn Opcode_xsr_ccount_encode_fns
[] = {
6908 Opcode_xsr_ccount_Slot_inst_encode
, 0, 0
6911 xtensa_opcode_encode_fn Opcode_rsr_ccompare0_encode_fns
[] = {
6912 Opcode_rsr_ccompare0_Slot_inst_encode
, 0, 0
6915 xtensa_opcode_encode_fn Opcode_wsr_ccompare0_encode_fns
[] = {
6916 Opcode_wsr_ccompare0_Slot_inst_encode
, 0, 0
6919 xtensa_opcode_encode_fn Opcode_xsr_ccompare0_encode_fns
[] = {
6920 Opcode_xsr_ccompare0_Slot_inst_encode
, 0, 0
6923 xtensa_opcode_encode_fn Opcode_rsr_ccompare1_encode_fns
[] = {
6924 Opcode_rsr_ccompare1_Slot_inst_encode
, 0, 0
6927 xtensa_opcode_encode_fn Opcode_wsr_ccompare1_encode_fns
[] = {
6928 Opcode_wsr_ccompare1_Slot_inst_encode
, 0, 0
6931 xtensa_opcode_encode_fn Opcode_xsr_ccompare1_encode_fns
[] = {
6932 Opcode_xsr_ccompare1_Slot_inst_encode
, 0, 0
6935 xtensa_opcode_encode_fn Opcode_rsr_ccompare2_encode_fns
[] = {
6936 Opcode_rsr_ccompare2_Slot_inst_encode
, 0, 0
6939 xtensa_opcode_encode_fn Opcode_wsr_ccompare2_encode_fns
[] = {
6940 Opcode_wsr_ccompare2_Slot_inst_encode
, 0, 0
6943 xtensa_opcode_encode_fn Opcode_xsr_ccompare2_encode_fns
[] = {
6944 Opcode_xsr_ccompare2_Slot_inst_encode
, 0, 0
6947 xtensa_opcode_encode_fn Opcode_ipf_encode_fns
[] = {
6948 Opcode_ipf_Slot_inst_encode
, 0, 0
6951 xtensa_opcode_encode_fn Opcode_ihi_encode_fns
[] = {
6952 Opcode_ihi_Slot_inst_encode
, 0, 0
6955 xtensa_opcode_encode_fn Opcode_iii_encode_fns
[] = {
6956 Opcode_iii_Slot_inst_encode
, 0, 0
6959 xtensa_opcode_encode_fn Opcode_lict_encode_fns
[] = {
6960 Opcode_lict_Slot_inst_encode
, 0, 0
6963 xtensa_opcode_encode_fn Opcode_licw_encode_fns
[] = {
6964 Opcode_licw_Slot_inst_encode
, 0, 0
6967 xtensa_opcode_encode_fn Opcode_sict_encode_fns
[] = {
6968 Opcode_sict_Slot_inst_encode
, 0, 0
6971 xtensa_opcode_encode_fn Opcode_sicw_encode_fns
[] = {
6972 Opcode_sicw_Slot_inst_encode
, 0, 0
6975 xtensa_opcode_encode_fn Opcode_dhwb_encode_fns
[] = {
6976 Opcode_dhwb_Slot_inst_encode
, 0, 0
6979 xtensa_opcode_encode_fn Opcode_dhwbi_encode_fns
[] = {
6980 Opcode_dhwbi_Slot_inst_encode
, 0, 0
6983 xtensa_opcode_encode_fn Opcode_diwb_encode_fns
[] = {
6984 Opcode_diwb_Slot_inst_encode
, 0, 0
6987 xtensa_opcode_encode_fn Opcode_diwbi_encode_fns
[] = {
6988 Opcode_diwbi_Slot_inst_encode
, 0, 0
6991 xtensa_opcode_encode_fn Opcode_dhi_encode_fns
[] = {
6992 Opcode_dhi_Slot_inst_encode
, 0, 0
6995 xtensa_opcode_encode_fn Opcode_dii_encode_fns
[] = {
6996 Opcode_dii_Slot_inst_encode
, 0, 0
6999 xtensa_opcode_encode_fn Opcode_dpfr_encode_fns
[] = {
7000 Opcode_dpfr_Slot_inst_encode
, 0, 0
7003 xtensa_opcode_encode_fn Opcode_dpfw_encode_fns
[] = {
7004 Opcode_dpfw_Slot_inst_encode
, 0, 0
7007 xtensa_opcode_encode_fn Opcode_dpfro_encode_fns
[] = {
7008 Opcode_dpfro_Slot_inst_encode
, 0, 0
7011 xtensa_opcode_encode_fn Opcode_dpfwo_encode_fns
[] = {
7012 Opcode_dpfwo_Slot_inst_encode
, 0, 0
7015 xtensa_opcode_encode_fn Opcode_sdct_encode_fns
[] = {
7016 Opcode_sdct_Slot_inst_encode
, 0, 0
7019 xtensa_opcode_encode_fn Opcode_ldct_encode_fns
[] = {
7020 Opcode_ldct_Slot_inst_encode
, 0, 0
7023 xtensa_opcode_encode_fn Opcode_idtlb_encode_fns
[] = {
7024 Opcode_idtlb_Slot_inst_encode
, 0, 0
7027 xtensa_opcode_encode_fn Opcode_pdtlb_encode_fns
[] = {
7028 Opcode_pdtlb_Slot_inst_encode
, 0, 0
7031 xtensa_opcode_encode_fn Opcode_rdtlb0_encode_fns
[] = {
7032 Opcode_rdtlb0_Slot_inst_encode
, 0, 0
7035 xtensa_opcode_encode_fn Opcode_rdtlb1_encode_fns
[] = {
7036 Opcode_rdtlb1_Slot_inst_encode
, 0, 0
7039 xtensa_opcode_encode_fn Opcode_wdtlb_encode_fns
[] = {
7040 Opcode_wdtlb_Slot_inst_encode
, 0, 0
7043 xtensa_opcode_encode_fn Opcode_iitlb_encode_fns
[] = {
7044 Opcode_iitlb_Slot_inst_encode
, 0, 0
7047 xtensa_opcode_encode_fn Opcode_pitlb_encode_fns
[] = {
7048 Opcode_pitlb_Slot_inst_encode
, 0, 0
7051 xtensa_opcode_encode_fn Opcode_ritlb0_encode_fns
[] = {
7052 Opcode_ritlb0_Slot_inst_encode
, 0, 0
7055 xtensa_opcode_encode_fn Opcode_ritlb1_encode_fns
[] = {
7056 Opcode_ritlb1_Slot_inst_encode
, 0, 0
7059 xtensa_opcode_encode_fn Opcode_witlb_encode_fns
[] = {
7060 Opcode_witlb_Slot_inst_encode
, 0, 0
7063 xtensa_opcode_encode_fn Opcode_nsa_encode_fns
[] = {
7064 Opcode_nsa_Slot_inst_encode
, 0, 0
7067 xtensa_opcode_encode_fn Opcode_nsau_encode_fns
[] = {
7068 Opcode_nsau_Slot_inst_encode
, 0, 0
7074 static xtensa_opcode_internal opcodes
[] = {
7075 { "excw", 0 /* xt_iclass_excw */,
7077 Opcode_excw_encode_fns
, 0, 0 },
7078 { "rfe", 1 /* xt_iclass_rfe */,
7079 XTENSA_OPCODE_IS_JUMP
,
7080 Opcode_rfe_encode_fns
, 0, 0 },
7081 { "rfde", 2 /* xt_iclass_rfde */,
7082 XTENSA_OPCODE_IS_JUMP
,
7083 Opcode_rfde_encode_fns
, 0, 0 },
7084 { "syscall", 3 /* xt_iclass_syscall */,
7086 Opcode_syscall_encode_fns
, 0, 0 },
7087 { "simcall", 4 /* xt_iclass_simcall */,
7089 Opcode_simcall_encode_fns
, 0, 0 },
7090 { "call12", 5 /* xt_iclass_call12 */,
7091 XTENSA_OPCODE_IS_CALL
,
7092 Opcode_call12_encode_fns
, 0, 0 },
7093 { "call8", 6 /* xt_iclass_call8 */,
7094 XTENSA_OPCODE_IS_CALL
,
7095 Opcode_call8_encode_fns
, 0, 0 },
7096 { "call4", 7 /* xt_iclass_call4 */,
7097 XTENSA_OPCODE_IS_CALL
,
7098 Opcode_call4_encode_fns
, 0, 0 },
7099 { "callx12", 8 /* xt_iclass_callx12 */,
7100 XTENSA_OPCODE_IS_CALL
,
7101 Opcode_callx12_encode_fns
, 0, 0 },
7102 { "callx8", 9 /* xt_iclass_callx8 */,
7103 XTENSA_OPCODE_IS_CALL
,
7104 Opcode_callx8_encode_fns
, 0, 0 },
7105 { "callx4", 10 /* xt_iclass_callx4 */,
7106 XTENSA_OPCODE_IS_CALL
,
7107 Opcode_callx4_encode_fns
, 0, 0 },
7108 { "entry", 11 /* xt_iclass_entry */,
7110 Opcode_entry_encode_fns
, 0, 0 },
7111 { "movsp", 12 /* xt_iclass_movsp */,
7113 Opcode_movsp_encode_fns
, 0, 0 },
7114 { "rotw", 13 /* xt_iclass_rotw */,
7116 Opcode_rotw_encode_fns
, 0, 0 },
7117 { "retw", 14 /* xt_iclass_retw */,
7118 XTENSA_OPCODE_IS_JUMP
,
7119 Opcode_retw_encode_fns
, 0, 0 },
7120 { "retw.n", 14 /* xt_iclass_retw */,
7121 XTENSA_OPCODE_IS_JUMP
,
7122 Opcode_retw_n_encode_fns
, 0, 0 },
7123 { "rfwo", 15 /* xt_iclass_rfwou */,
7124 XTENSA_OPCODE_IS_JUMP
,
7125 Opcode_rfwo_encode_fns
, 0, 0 },
7126 { "rfwu", 15 /* xt_iclass_rfwou */,
7127 XTENSA_OPCODE_IS_JUMP
,
7128 Opcode_rfwu_encode_fns
, 0, 0 },
7129 { "l32e", 16 /* xt_iclass_l32e */,
7131 Opcode_l32e_encode_fns
, 0, 0 },
7132 { "s32e", 17 /* xt_iclass_s32e */,
7134 Opcode_s32e_encode_fns
, 0, 0 },
7135 { "rsr.windowbase", 18 /* xt_iclass_rsr.windowbase */,
7137 Opcode_rsr_windowbase_encode_fns
, 0, 0 },
7138 { "wsr.windowbase", 19 /* xt_iclass_wsr.windowbase */,
7140 Opcode_wsr_windowbase_encode_fns
, 0, 0 },
7141 { "xsr.windowbase", 20 /* xt_iclass_xsr.windowbase */,
7143 Opcode_xsr_windowbase_encode_fns
, 0, 0 },
7144 { "rsr.windowstart", 21 /* xt_iclass_rsr.windowstart */,
7146 Opcode_rsr_windowstart_encode_fns
, 0, 0 },
7147 { "wsr.windowstart", 22 /* xt_iclass_wsr.windowstart */,
7149 Opcode_wsr_windowstart_encode_fns
, 0, 0 },
7150 { "xsr.windowstart", 23 /* xt_iclass_xsr.windowstart */,
7152 Opcode_xsr_windowstart_encode_fns
, 0, 0 },
7153 { "add.n", 24 /* xt_iclass_add.n */,
7155 Opcode_add_n_encode_fns
, 0, 0 },
7156 { "addi.n", 25 /* xt_iclass_addi.n */,
7158 Opcode_addi_n_encode_fns
, 0, 0 },
7159 { "beqz.n", 26 /* xt_iclass_bz6 */,
7160 XTENSA_OPCODE_IS_BRANCH
,
7161 Opcode_beqz_n_encode_fns
, 0, 0 },
7162 { "bnez.n", 26 /* xt_iclass_bz6 */,
7163 XTENSA_OPCODE_IS_BRANCH
,
7164 Opcode_bnez_n_encode_fns
, 0, 0 },
7165 { "ill.n", 27 /* xt_iclass_ill.n */,
7167 Opcode_ill_n_encode_fns
, 0, 0 },
7168 { "l32i.n", 28 /* xt_iclass_loadi4 */,
7170 Opcode_l32i_n_encode_fns
, 0, 0 },
7171 { "mov.n", 29 /* xt_iclass_mov.n */,
7173 Opcode_mov_n_encode_fns
, 0, 0 },
7174 { "movi.n", 30 /* xt_iclass_movi.n */,
7176 Opcode_movi_n_encode_fns
, 0, 0 },
7177 { "nop.n", 31 /* xt_iclass_nopn */,
7179 Opcode_nop_n_encode_fns
, 0, 0 },
7180 { "ret.n", 32 /* xt_iclass_retn */,
7181 XTENSA_OPCODE_IS_JUMP
,
7182 Opcode_ret_n_encode_fns
, 0, 0 },
7183 { "s32i.n", 33 /* xt_iclass_storei4 */,
7185 Opcode_s32i_n_encode_fns
, 0, 0 },
7186 { "addi", 34 /* xt_iclass_addi */,
7188 Opcode_addi_encode_fns
, 0, 0 },
7189 { "addmi", 35 /* xt_iclass_addmi */,
7191 Opcode_addmi_encode_fns
, 0, 0 },
7192 { "add", 36 /* xt_iclass_addsub */,
7194 Opcode_add_encode_fns
, 0, 0 },
7195 { "sub", 36 /* xt_iclass_addsub */,
7197 Opcode_sub_encode_fns
, 0, 0 },
7198 { "addx2", 36 /* xt_iclass_addsub */,
7200 Opcode_addx2_encode_fns
, 0, 0 },
7201 { "addx4", 36 /* xt_iclass_addsub */,
7203 Opcode_addx4_encode_fns
, 0, 0 },
7204 { "addx8", 36 /* xt_iclass_addsub */,
7206 Opcode_addx8_encode_fns
, 0, 0 },
7207 { "subx2", 36 /* xt_iclass_addsub */,
7209 Opcode_subx2_encode_fns
, 0, 0 },
7210 { "subx4", 36 /* xt_iclass_addsub */,
7212 Opcode_subx4_encode_fns
, 0, 0 },
7213 { "subx8", 36 /* xt_iclass_addsub */,
7215 Opcode_subx8_encode_fns
, 0, 0 },
7216 { "and", 37 /* xt_iclass_bit */,
7218 Opcode_and_encode_fns
, 0, 0 },
7219 { "or", 37 /* xt_iclass_bit */,
7221 Opcode_or_encode_fns
, 0, 0 },
7222 { "xor", 37 /* xt_iclass_bit */,
7224 Opcode_xor_encode_fns
, 0, 0 },
7225 { "beqi", 38 /* xt_iclass_bsi8 */,
7226 XTENSA_OPCODE_IS_BRANCH
,
7227 Opcode_beqi_encode_fns
, 0, 0 },
7228 { "bnei", 38 /* xt_iclass_bsi8 */,
7229 XTENSA_OPCODE_IS_BRANCH
,
7230 Opcode_bnei_encode_fns
, 0, 0 },
7231 { "bgei", 38 /* xt_iclass_bsi8 */,
7232 XTENSA_OPCODE_IS_BRANCH
,
7233 Opcode_bgei_encode_fns
, 0, 0 },
7234 { "blti", 38 /* xt_iclass_bsi8 */,
7235 XTENSA_OPCODE_IS_BRANCH
,
7236 Opcode_blti_encode_fns
, 0, 0 },
7237 { "bbci", 39 /* xt_iclass_bsi8b */,
7238 XTENSA_OPCODE_IS_BRANCH
,
7239 Opcode_bbci_encode_fns
, 0, 0 },
7240 { "bbsi", 39 /* xt_iclass_bsi8b */,
7241 XTENSA_OPCODE_IS_BRANCH
,
7242 Opcode_bbsi_encode_fns
, 0, 0 },
7243 { "bgeui", 40 /* xt_iclass_bsi8u */,
7244 XTENSA_OPCODE_IS_BRANCH
,
7245 Opcode_bgeui_encode_fns
, 0, 0 },
7246 { "bltui", 40 /* xt_iclass_bsi8u */,
7247 XTENSA_OPCODE_IS_BRANCH
,
7248 Opcode_bltui_encode_fns
, 0, 0 },
7249 { "beq", 41 /* xt_iclass_bst8 */,
7250 XTENSA_OPCODE_IS_BRANCH
,
7251 Opcode_beq_encode_fns
, 0, 0 },
7252 { "bne", 41 /* xt_iclass_bst8 */,
7253 XTENSA_OPCODE_IS_BRANCH
,
7254 Opcode_bne_encode_fns
, 0, 0 },
7255 { "bge", 41 /* xt_iclass_bst8 */,
7256 XTENSA_OPCODE_IS_BRANCH
,
7257 Opcode_bge_encode_fns
, 0, 0 },
7258 { "blt", 41 /* xt_iclass_bst8 */,
7259 XTENSA_OPCODE_IS_BRANCH
,
7260 Opcode_blt_encode_fns
, 0, 0 },
7261 { "bgeu", 41 /* xt_iclass_bst8 */,
7262 XTENSA_OPCODE_IS_BRANCH
,
7263 Opcode_bgeu_encode_fns
, 0, 0 },
7264 { "bltu", 41 /* xt_iclass_bst8 */,
7265 XTENSA_OPCODE_IS_BRANCH
,
7266 Opcode_bltu_encode_fns
, 0, 0 },
7267 { "bany", 41 /* xt_iclass_bst8 */,
7268 XTENSA_OPCODE_IS_BRANCH
,
7269 Opcode_bany_encode_fns
, 0, 0 },
7270 { "bnone", 41 /* xt_iclass_bst8 */,
7271 XTENSA_OPCODE_IS_BRANCH
,
7272 Opcode_bnone_encode_fns
, 0, 0 },
7273 { "ball", 41 /* xt_iclass_bst8 */,
7274 XTENSA_OPCODE_IS_BRANCH
,
7275 Opcode_ball_encode_fns
, 0, 0 },
7276 { "bnall", 41 /* xt_iclass_bst8 */,
7277 XTENSA_OPCODE_IS_BRANCH
,
7278 Opcode_bnall_encode_fns
, 0, 0 },
7279 { "bbc", 41 /* xt_iclass_bst8 */,
7280 XTENSA_OPCODE_IS_BRANCH
,
7281 Opcode_bbc_encode_fns
, 0, 0 },
7282 { "bbs", 41 /* xt_iclass_bst8 */,
7283 XTENSA_OPCODE_IS_BRANCH
,
7284 Opcode_bbs_encode_fns
, 0, 0 },
7285 { "beqz", 42 /* xt_iclass_bsz12 */,
7286 XTENSA_OPCODE_IS_BRANCH
,
7287 Opcode_beqz_encode_fns
, 0, 0 },
7288 { "bnez", 42 /* xt_iclass_bsz12 */,
7289 XTENSA_OPCODE_IS_BRANCH
,
7290 Opcode_bnez_encode_fns
, 0, 0 },
7291 { "bgez", 42 /* xt_iclass_bsz12 */,
7292 XTENSA_OPCODE_IS_BRANCH
,
7293 Opcode_bgez_encode_fns
, 0, 0 },
7294 { "bltz", 42 /* xt_iclass_bsz12 */,
7295 XTENSA_OPCODE_IS_BRANCH
,
7296 Opcode_bltz_encode_fns
, 0, 0 },
7297 { "call0", 43 /* xt_iclass_call0 */,
7298 XTENSA_OPCODE_IS_CALL
,
7299 Opcode_call0_encode_fns
, 0, 0 },
7300 { "callx0", 44 /* xt_iclass_callx0 */,
7301 XTENSA_OPCODE_IS_CALL
,
7302 Opcode_callx0_encode_fns
, 0, 0 },
7303 { "extui", 45 /* xt_iclass_exti */,
7305 Opcode_extui_encode_fns
, 0, 0 },
7306 { "ill", 46 /* xt_iclass_ill */,
7308 Opcode_ill_encode_fns
, 0, 0 },
7309 { "j", 47 /* xt_iclass_jump */,
7310 XTENSA_OPCODE_IS_JUMP
,
7311 Opcode_j_encode_fns
, 0, 0 },
7312 { "jx", 48 /* xt_iclass_jumpx */,
7313 XTENSA_OPCODE_IS_JUMP
,
7314 Opcode_jx_encode_fns
, 0, 0 },
7315 { "l16ui", 49 /* xt_iclass_l16ui */,
7317 Opcode_l16ui_encode_fns
, 0, 0 },
7318 { "l16si", 50 /* xt_iclass_l16si */,
7320 Opcode_l16si_encode_fns
, 0, 0 },
7321 { "l32i", 51 /* xt_iclass_l32i */,
7323 Opcode_l32i_encode_fns
, 0, 0 },
7324 { "l32r", 52 /* xt_iclass_l32r */,
7326 Opcode_l32r_encode_fns
, 0, 0 },
7327 { "l8ui", 53 /* xt_iclass_l8i */,
7329 Opcode_l8ui_encode_fns
, 0, 0 },
7330 { "loop", 54 /* xt_iclass_loop */,
7331 XTENSA_OPCODE_IS_LOOP
,
7332 Opcode_loop_encode_fns
, 0, 0 },
7333 { "loopnez", 55 /* xt_iclass_loopz */,
7334 XTENSA_OPCODE_IS_LOOP
,
7335 Opcode_loopnez_encode_fns
, 0, 0 },
7336 { "loopgtz", 55 /* xt_iclass_loopz */,
7337 XTENSA_OPCODE_IS_LOOP
,
7338 Opcode_loopgtz_encode_fns
, 0, 0 },
7339 { "movi", 56 /* xt_iclass_movi */,
7341 Opcode_movi_encode_fns
, 0, 0 },
7342 { "moveqz", 57 /* xt_iclass_movz */,
7344 Opcode_moveqz_encode_fns
, 0, 0 },
7345 { "movnez", 57 /* xt_iclass_movz */,
7347 Opcode_movnez_encode_fns
, 0, 0 },
7348 { "movltz", 57 /* xt_iclass_movz */,
7350 Opcode_movltz_encode_fns
, 0, 0 },
7351 { "movgez", 57 /* xt_iclass_movz */,
7353 Opcode_movgez_encode_fns
, 0, 0 },
7354 { "neg", 58 /* xt_iclass_neg */,
7356 Opcode_neg_encode_fns
, 0, 0 },
7357 { "abs", 58 /* xt_iclass_neg */,
7359 Opcode_abs_encode_fns
, 0, 0 },
7360 { "nop", 59 /* xt_iclass_nop */,
7362 Opcode_nop_encode_fns
, 0, 0 },
7363 { "ret", 60 /* xt_iclass_return */,
7364 XTENSA_OPCODE_IS_JUMP
,
7365 Opcode_ret_encode_fns
, 0, 0 },
7366 { "s16i", 61 /* xt_iclass_s16i */,
7368 Opcode_s16i_encode_fns
, 0, 0 },
7369 { "s32i", 62 /* xt_iclass_s32i */,
7371 Opcode_s32i_encode_fns
, 0, 0 },
7372 { "s8i", 63 /* xt_iclass_s8i */,
7374 Opcode_s8i_encode_fns
, 0, 0 },
7375 { "ssr", 64 /* xt_iclass_sar */,
7377 Opcode_ssr_encode_fns
, 0, 0 },
7378 { "ssl", 64 /* xt_iclass_sar */,
7380 Opcode_ssl_encode_fns
, 0, 0 },
7381 { "ssa8l", 64 /* xt_iclass_sar */,
7383 Opcode_ssa8l_encode_fns
, 0, 0 },
7384 { "ssa8b", 64 /* xt_iclass_sar */,
7386 Opcode_ssa8b_encode_fns
, 0, 0 },
7387 { "ssai", 65 /* xt_iclass_sari */,
7389 Opcode_ssai_encode_fns
, 0, 0 },
7390 { "sll", 66 /* xt_iclass_shifts */,
7392 Opcode_sll_encode_fns
, 0, 0 },
7393 { "src", 67 /* xt_iclass_shiftst */,
7395 Opcode_src_encode_fns
, 0, 0 },
7396 { "srl", 68 /* xt_iclass_shiftt */,
7398 Opcode_srl_encode_fns
, 0, 0 },
7399 { "sra", 68 /* xt_iclass_shiftt */,
7401 Opcode_sra_encode_fns
, 0, 0 },
7402 { "slli", 69 /* xt_iclass_slli */,
7404 Opcode_slli_encode_fns
, 0, 0 },
7405 { "srai", 70 /* xt_iclass_srai */,
7407 Opcode_srai_encode_fns
, 0, 0 },
7408 { "srli", 71 /* xt_iclass_srli */,
7410 Opcode_srli_encode_fns
, 0, 0 },
7411 { "memw", 72 /* xt_iclass_memw */,
7413 Opcode_memw_encode_fns
, 0, 0 },
7414 { "extw", 73 /* xt_iclass_extw */,
7416 Opcode_extw_encode_fns
, 0, 0 },
7417 { "isync", 74 /* xt_iclass_isync */,
7419 Opcode_isync_encode_fns
, 0, 0 },
7420 { "rsync", 75 /* xt_iclass_sync */,
7422 Opcode_rsync_encode_fns
, 0, 0 },
7423 { "esync", 75 /* xt_iclass_sync */,
7425 Opcode_esync_encode_fns
, 0, 0 },
7426 { "dsync", 75 /* xt_iclass_sync */,
7428 Opcode_dsync_encode_fns
, 0, 0 },
7429 { "rsil", 76 /* xt_iclass_rsil */,
7431 Opcode_rsil_encode_fns
, 0, 0 },
7432 { "rsr.lend", 77 /* xt_iclass_rsr.lend */,
7434 Opcode_rsr_lend_encode_fns
, 0, 0 },
7435 { "wsr.lend", 78 /* xt_iclass_wsr.lend */,
7437 Opcode_wsr_lend_encode_fns
, 0, 0 },
7438 { "xsr.lend", 79 /* xt_iclass_xsr.lend */,
7440 Opcode_xsr_lend_encode_fns
, 0, 0 },
7441 { "rsr.lcount", 80 /* xt_iclass_rsr.lcount */,
7443 Opcode_rsr_lcount_encode_fns
, 0, 0 },
7444 { "wsr.lcount", 81 /* xt_iclass_wsr.lcount */,
7446 Opcode_wsr_lcount_encode_fns
, 0, 0 },
7447 { "xsr.lcount", 82 /* xt_iclass_xsr.lcount */,
7449 Opcode_xsr_lcount_encode_fns
, 0, 0 },
7450 { "rsr.lbeg", 83 /* xt_iclass_rsr.lbeg */,
7452 Opcode_rsr_lbeg_encode_fns
, 0, 0 },
7453 { "wsr.lbeg", 84 /* xt_iclass_wsr.lbeg */,
7455 Opcode_wsr_lbeg_encode_fns
, 0, 0 },
7456 { "xsr.lbeg", 85 /* xt_iclass_xsr.lbeg */,
7458 Opcode_xsr_lbeg_encode_fns
, 0, 0 },
7459 { "rsr.sar", 86 /* xt_iclass_rsr.sar */,
7461 Opcode_rsr_sar_encode_fns
, 0, 0 },
7462 { "wsr.sar", 87 /* xt_iclass_wsr.sar */,
7464 Opcode_wsr_sar_encode_fns
, 0, 0 },
7465 { "xsr.sar", 88 /* xt_iclass_xsr.sar */,
7467 Opcode_xsr_sar_encode_fns
, 0, 0 },
7468 { "rsr.litbase", 89 /* xt_iclass_rsr.litbase */,
7470 Opcode_rsr_litbase_encode_fns
, 0, 0 },
7471 { "wsr.litbase", 90 /* xt_iclass_wsr.litbase */,
7473 Opcode_wsr_litbase_encode_fns
, 0, 0 },
7474 { "xsr.litbase", 91 /* xt_iclass_xsr.litbase */,
7476 Opcode_xsr_litbase_encode_fns
, 0, 0 },
7477 { "rsr.176", 92 /* xt_iclass_rsr.176 */,
7479 Opcode_rsr_176_encode_fns
, 0, 0 },
7480 { "rsr.208", 93 /* xt_iclass_rsr.208 */,
7482 Opcode_rsr_208_encode_fns
, 0, 0 },
7483 { "rsr.ps", 94 /* xt_iclass_rsr.ps */,
7485 Opcode_rsr_ps_encode_fns
, 0, 0 },
7486 { "wsr.ps", 95 /* xt_iclass_wsr.ps */,
7488 Opcode_wsr_ps_encode_fns
, 0, 0 },
7489 { "xsr.ps", 96 /* xt_iclass_xsr.ps */,
7491 Opcode_xsr_ps_encode_fns
, 0, 0 },
7492 { "rsr.epc1", 97 /* xt_iclass_rsr.epc1 */,
7494 Opcode_rsr_epc1_encode_fns
, 0, 0 },
7495 { "wsr.epc1", 98 /* xt_iclass_wsr.epc1 */,
7497 Opcode_wsr_epc1_encode_fns
, 0, 0 },
7498 { "xsr.epc1", 99 /* xt_iclass_xsr.epc1 */,
7500 Opcode_xsr_epc1_encode_fns
, 0, 0 },
7501 { "rsr.excsave1", 100 /* xt_iclass_rsr.excsave1 */,
7503 Opcode_rsr_excsave1_encode_fns
, 0, 0 },
7504 { "wsr.excsave1", 101 /* xt_iclass_wsr.excsave1 */,
7506 Opcode_wsr_excsave1_encode_fns
, 0, 0 },
7507 { "xsr.excsave1", 102 /* xt_iclass_xsr.excsave1 */,
7509 Opcode_xsr_excsave1_encode_fns
, 0, 0 },
7510 { "rsr.epc2", 103 /* xt_iclass_rsr.epc2 */,
7512 Opcode_rsr_epc2_encode_fns
, 0, 0 },
7513 { "wsr.epc2", 104 /* xt_iclass_wsr.epc2 */,
7515 Opcode_wsr_epc2_encode_fns
, 0, 0 },
7516 { "xsr.epc2", 105 /* xt_iclass_xsr.epc2 */,
7518 Opcode_xsr_epc2_encode_fns
, 0, 0 },
7519 { "rsr.excsave2", 106 /* xt_iclass_rsr.excsave2 */,
7521 Opcode_rsr_excsave2_encode_fns
, 0, 0 },
7522 { "wsr.excsave2", 107 /* xt_iclass_wsr.excsave2 */,
7524 Opcode_wsr_excsave2_encode_fns
, 0, 0 },
7525 { "xsr.excsave2", 108 /* xt_iclass_xsr.excsave2 */,
7527 Opcode_xsr_excsave2_encode_fns
, 0, 0 },
7528 { "rsr.epc3", 109 /* xt_iclass_rsr.epc3 */,
7530 Opcode_rsr_epc3_encode_fns
, 0, 0 },
7531 { "wsr.epc3", 110 /* xt_iclass_wsr.epc3 */,
7533 Opcode_wsr_epc3_encode_fns
, 0, 0 },
7534 { "xsr.epc3", 111 /* xt_iclass_xsr.epc3 */,
7536 Opcode_xsr_epc3_encode_fns
, 0, 0 },
7537 { "rsr.excsave3", 112 /* xt_iclass_rsr.excsave3 */,
7539 Opcode_rsr_excsave3_encode_fns
, 0, 0 },
7540 { "wsr.excsave3", 113 /* xt_iclass_wsr.excsave3 */,
7542 Opcode_wsr_excsave3_encode_fns
, 0, 0 },
7543 { "xsr.excsave3", 114 /* xt_iclass_xsr.excsave3 */,
7545 Opcode_xsr_excsave3_encode_fns
, 0, 0 },
7546 { "rsr.epc4", 115 /* xt_iclass_rsr.epc4 */,
7548 Opcode_rsr_epc4_encode_fns
, 0, 0 },
7549 { "wsr.epc4", 116 /* xt_iclass_wsr.epc4 */,
7551 Opcode_wsr_epc4_encode_fns
, 0, 0 },
7552 { "xsr.epc4", 117 /* xt_iclass_xsr.epc4 */,
7554 Opcode_xsr_epc4_encode_fns
, 0, 0 },
7555 { "rsr.excsave4", 118 /* xt_iclass_rsr.excsave4 */,
7557 Opcode_rsr_excsave4_encode_fns
, 0, 0 },
7558 { "wsr.excsave4", 119 /* xt_iclass_wsr.excsave4 */,
7560 Opcode_wsr_excsave4_encode_fns
, 0, 0 },
7561 { "xsr.excsave4", 120 /* xt_iclass_xsr.excsave4 */,
7563 Opcode_xsr_excsave4_encode_fns
, 0, 0 },
7564 { "rsr.eps2", 121 /* xt_iclass_rsr.eps2 */,
7566 Opcode_rsr_eps2_encode_fns
, 0, 0 },
7567 { "wsr.eps2", 122 /* xt_iclass_wsr.eps2 */,
7569 Opcode_wsr_eps2_encode_fns
, 0, 0 },
7570 { "xsr.eps2", 123 /* xt_iclass_xsr.eps2 */,
7572 Opcode_xsr_eps2_encode_fns
, 0, 0 },
7573 { "rsr.eps3", 124 /* xt_iclass_rsr.eps3 */,
7575 Opcode_rsr_eps3_encode_fns
, 0, 0 },
7576 { "wsr.eps3", 125 /* xt_iclass_wsr.eps3 */,
7578 Opcode_wsr_eps3_encode_fns
, 0, 0 },
7579 { "xsr.eps3", 126 /* xt_iclass_xsr.eps3 */,
7581 Opcode_xsr_eps3_encode_fns
, 0, 0 },
7582 { "rsr.eps4", 127 /* xt_iclass_rsr.eps4 */,
7584 Opcode_rsr_eps4_encode_fns
, 0, 0 },
7585 { "wsr.eps4", 128 /* xt_iclass_wsr.eps4 */,
7587 Opcode_wsr_eps4_encode_fns
, 0, 0 },
7588 { "xsr.eps4", 129 /* xt_iclass_xsr.eps4 */,
7590 Opcode_xsr_eps4_encode_fns
, 0, 0 },
7591 { "rsr.excvaddr", 130 /* xt_iclass_rsr.excvaddr */,
7593 Opcode_rsr_excvaddr_encode_fns
, 0, 0 },
7594 { "wsr.excvaddr", 131 /* xt_iclass_wsr.excvaddr */,
7596 Opcode_wsr_excvaddr_encode_fns
, 0, 0 },
7597 { "xsr.excvaddr", 132 /* xt_iclass_xsr.excvaddr */,
7599 Opcode_xsr_excvaddr_encode_fns
, 0, 0 },
7600 { "rsr.depc", 133 /* xt_iclass_rsr.depc */,
7602 Opcode_rsr_depc_encode_fns
, 0, 0 },
7603 { "wsr.depc", 134 /* xt_iclass_wsr.depc */,
7605 Opcode_wsr_depc_encode_fns
, 0, 0 },
7606 { "xsr.depc", 135 /* xt_iclass_xsr.depc */,
7608 Opcode_xsr_depc_encode_fns
, 0, 0 },
7609 { "rsr.exccause", 136 /* xt_iclass_rsr.exccause */,
7611 Opcode_rsr_exccause_encode_fns
, 0, 0 },
7612 { "wsr.exccause", 137 /* xt_iclass_wsr.exccause */,
7614 Opcode_wsr_exccause_encode_fns
, 0, 0 },
7615 { "xsr.exccause", 138 /* xt_iclass_xsr.exccause */,
7617 Opcode_xsr_exccause_encode_fns
, 0, 0 },
7618 { "rsr.misc0", 139 /* xt_iclass_rsr.misc0 */,
7620 Opcode_rsr_misc0_encode_fns
, 0, 0 },
7621 { "wsr.misc0", 140 /* xt_iclass_wsr.misc0 */,
7623 Opcode_wsr_misc0_encode_fns
, 0, 0 },
7624 { "xsr.misc0", 141 /* xt_iclass_xsr.misc0 */,
7626 Opcode_xsr_misc0_encode_fns
, 0, 0 },
7627 { "rsr.misc1", 142 /* xt_iclass_rsr.misc1 */,
7629 Opcode_rsr_misc1_encode_fns
, 0, 0 },
7630 { "wsr.misc1", 143 /* xt_iclass_wsr.misc1 */,
7632 Opcode_wsr_misc1_encode_fns
, 0, 0 },
7633 { "xsr.misc1", 144 /* xt_iclass_xsr.misc1 */,
7635 Opcode_xsr_misc1_encode_fns
, 0, 0 },
7636 { "rsr.prid", 145 /* xt_iclass_rsr.prid */,
7638 Opcode_rsr_prid_encode_fns
, 0, 0 },
7639 { "rfi", 146 /* xt_iclass_rfi */,
7640 XTENSA_OPCODE_IS_JUMP
,
7641 Opcode_rfi_encode_fns
, 0, 0 },
7642 { "waiti", 147 /* xt_iclass_wait */,
7644 Opcode_waiti_encode_fns
, 0, 0 },
7645 { "rsr.interrupt", 148 /* xt_iclass_rsr.interrupt */,
7647 Opcode_rsr_interrupt_encode_fns
, 0, 0 },
7648 { "wsr.intset", 149 /* xt_iclass_wsr.intset */,
7650 Opcode_wsr_intset_encode_fns
, 0, 0 },
7651 { "wsr.intclear", 150 /* xt_iclass_wsr.intclear */,
7653 Opcode_wsr_intclear_encode_fns
, 0, 0 },
7654 { "rsr.intenable", 151 /* xt_iclass_rsr.intenable */,
7656 Opcode_rsr_intenable_encode_fns
, 0, 0 },
7657 { "wsr.intenable", 152 /* xt_iclass_wsr.intenable */,
7659 Opcode_wsr_intenable_encode_fns
, 0, 0 },
7660 { "xsr.intenable", 153 /* xt_iclass_xsr.intenable */,
7662 Opcode_xsr_intenable_encode_fns
, 0, 0 },
7663 { "break", 154 /* xt_iclass_break */,
7665 Opcode_break_encode_fns
, 0, 0 },
7666 { "break.n", 155 /* xt_iclass_break.n */,
7668 Opcode_break_n_encode_fns
, 0, 0 },
7669 { "rsr.dbreaka0", 156 /* xt_iclass_rsr.dbreaka0 */,
7671 Opcode_rsr_dbreaka0_encode_fns
, 0, 0 },
7672 { "wsr.dbreaka0", 157 /* xt_iclass_wsr.dbreaka0 */,
7674 Opcode_wsr_dbreaka0_encode_fns
, 0, 0 },
7675 { "xsr.dbreaka0", 158 /* xt_iclass_xsr.dbreaka0 */,
7677 Opcode_xsr_dbreaka0_encode_fns
, 0, 0 },
7678 { "rsr.dbreakc0", 159 /* xt_iclass_rsr.dbreakc0 */,
7680 Opcode_rsr_dbreakc0_encode_fns
, 0, 0 },
7681 { "wsr.dbreakc0", 160 /* xt_iclass_wsr.dbreakc0 */,
7683 Opcode_wsr_dbreakc0_encode_fns
, 0, 0 },
7684 { "xsr.dbreakc0", 161 /* xt_iclass_xsr.dbreakc0 */,
7686 Opcode_xsr_dbreakc0_encode_fns
, 0, 0 },
7687 { "rsr.dbreaka1", 162 /* xt_iclass_rsr.dbreaka1 */,
7689 Opcode_rsr_dbreaka1_encode_fns
, 0, 0 },
7690 { "wsr.dbreaka1", 163 /* xt_iclass_wsr.dbreaka1 */,
7692 Opcode_wsr_dbreaka1_encode_fns
, 0, 0 },
7693 { "xsr.dbreaka1", 164 /* xt_iclass_xsr.dbreaka1 */,
7695 Opcode_xsr_dbreaka1_encode_fns
, 0, 0 },
7696 { "rsr.dbreakc1", 165 /* xt_iclass_rsr.dbreakc1 */,
7698 Opcode_rsr_dbreakc1_encode_fns
, 0, 0 },
7699 { "wsr.dbreakc1", 166 /* xt_iclass_wsr.dbreakc1 */,
7701 Opcode_wsr_dbreakc1_encode_fns
, 0, 0 },
7702 { "xsr.dbreakc1", 167 /* xt_iclass_xsr.dbreakc1 */,
7704 Opcode_xsr_dbreakc1_encode_fns
, 0, 0 },
7705 { "rsr.ibreaka0", 168 /* xt_iclass_rsr.ibreaka0 */,
7707 Opcode_rsr_ibreaka0_encode_fns
, 0, 0 },
7708 { "wsr.ibreaka0", 169 /* xt_iclass_wsr.ibreaka0 */,
7710 Opcode_wsr_ibreaka0_encode_fns
, 0, 0 },
7711 { "xsr.ibreaka0", 170 /* xt_iclass_xsr.ibreaka0 */,
7713 Opcode_xsr_ibreaka0_encode_fns
, 0, 0 },
7714 { "rsr.ibreaka1", 171 /* xt_iclass_rsr.ibreaka1 */,
7716 Opcode_rsr_ibreaka1_encode_fns
, 0, 0 },
7717 { "wsr.ibreaka1", 172 /* xt_iclass_wsr.ibreaka1 */,
7719 Opcode_wsr_ibreaka1_encode_fns
, 0, 0 },
7720 { "xsr.ibreaka1", 173 /* xt_iclass_xsr.ibreaka1 */,
7722 Opcode_xsr_ibreaka1_encode_fns
, 0, 0 },
7723 { "rsr.ibreakenable", 174 /* xt_iclass_rsr.ibreakenable */,
7725 Opcode_rsr_ibreakenable_encode_fns
, 0, 0 },
7726 { "wsr.ibreakenable", 175 /* xt_iclass_wsr.ibreakenable */,
7728 Opcode_wsr_ibreakenable_encode_fns
, 0, 0 },
7729 { "xsr.ibreakenable", 176 /* xt_iclass_xsr.ibreakenable */,
7731 Opcode_xsr_ibreakenable_encode_fns
, 0, 0 },
7732 { "rsr.debugcause", 177 /* xt_iclass_rsr.debugcause */,
7734 Opcode_rsr_debugcause_encode_fns
, 0, 0 },
7735 { "wsr.debugcause", 178 /* xt_iclass_wsr.debugcause */,
7737 Opcode_wsr_debugcause_encode_fns
, 0, 0 },
7738 { "xsr.debugcause", 179 /* xt_iclass_xsr.debugcause */,
7740 Opcode_xsr_debugcause_encode_fns
, 0, 0 },
7741 { "rsr.icount", 180 /* xt_iclass_rsr.icount */,
7743 Opcode_rsr_icount_encode_fns
, 0, 0 },
7744 { "wsr.icount", 181 /* xt_iclass_wsr.icount */,
7746 Opcode_wsr_icount_encode_fns
, 0, 0 },
7747 { "xsr.icount", 182 /* xt_iclass_xsr.icount */,
7749 Opcode_xsr_icount_encode_fns
, 0, 0 },
7750 { "rsr.icountlevel", 183 /* xt_iclass_rsr.icountlevel */,
7752 Opcode_rsr_icountlevel_encode_fns
, 0, 0 },
7753 { "wsr.icountlevel", 184 /* xt_iclass_wsr.icountlevel */,
7755 Opcode_wsr_icountlevel_encode_fns
, 0, 0 },
7756 { "xsr.icountlevel", 185 /* xt_iclass_xsr.icountlevel */,
7758 Opcode_xsr_icountlevel_encode_fns
, 0, 0 },
7759 { "rsr.ddr", 186 /* xt_iclass_rsr.ddr */,
7761 Opcode_rsr_ddr_encode_fns
, 0, 0 },
7762 { "wsr.ddr", 187 /* xt_iclass_wsr.ddr */,
7764 Opcode_wsr_ddr_encode_fns
, 0, 0 },
7765 { "xsr.ddr", 188 /* xt_iclass_xsr.ddr */,
7767 Opcode_xsr_ddr_encode_fns
, 0, 0 },
7768 { "rfdo", 189 /* xt_iclass_rfdo */,
7769 XTENSA_OPCODE_IS_JUMP
,
7770 Opcode_rfdo_encode_fns
, 0, 0 },
7771 { "rfdd", 190 /* xt_iclass_rfdd */,
7772 XTENSA_OPCODE_IS_JUMP
,
7773 Opcode_rfdd_encode_fns
, 0, 0 },
7774 { "rsr.ccount", 191 /* xt_iclass_rsr.ccount */,
7776 Opcode_rsr_ccount_encode_fns
, 0, 0 },
7777 { "wsr.ccount", 192 /* xt_iclass_wsr.ccount */,
7779 Opcode_wsr_ccount_encode_fns
, 0, 0 },
7780 { "xsr.ccount", 193 /* xt_iclass_xsr.ccount */,
7782 Opcode_xsr_ccount_encode_fns
, 0, 0 },
7783 { "rsr.ccompare0", 194 /* xt_iclass_rsr.ccompare0 */,
7785 Opcode_rsr_ccompare0_encode_fns
, 0, 0 },
7786 { "wsr.ccompare0", 195 /* xt_iclass_wsr.ccompare0 */,
7788 Opcode_wsr_ccompare0_encode_fns
, 0, 0 },
7789 { "xsr.ccompare0", 196 /* xt_iclass_xsr.ccompare0 */,
7791 Opcode_xsr_ccompare0_encode_fns
, 0, 0 },
7792 { "rsr.ccompare1", 197 /* xt_iclass_rsr.ccompare1 */,
7794 Opcode_rsr_ccompare1_encode_fns
, 0, 0 },
7795 { "wsr.ccompare1", 198 /* xt_iclass_wsr.ccompare1 */,
7797 Opcode_wsr_ccompare1_encode_fns
, 0, 0 },
7798 { "xsr.ccompare1", 199 /* xt_iclass_xsr.ccompare1 */,
7800 Opcode_xsr_ccompare1_encode_fns
, 0, 0 },
7801 { "rsr.ccompare2", 200 /* xt_iclass_rsr.ccompare2 */,
7803 Opcode_rsr_ccompare2_encode_fns
, 0, 0 },
7804 { "wsr.ccompare2", 201 /* xt_iclass_wsr.ccompare2 */,
7806 Opcode_wsr_ccompare2_encode_fns
, 0, 0 },
7807 { "xsr.ccompare2", 202 /* xt_iclass_xsr.ccompare2 */,
7809 Opcode_xsr_ccompare2_encode_fns
, 0, 0 },
7810 { "ipf", 203 /* xt_iclass_icache */,
7812 Opcode_ipf_encode_fns
, 0, 0 },
7813 { "ihi", 203 /* xt_iclass_icache */,
7815 Opcode_ihi_encode_fns
, 0, 0 },
7816 { "iii", 204 /* xt_iclass_icache_inv */,
7818 Opcode_iii_encode_fns
, 0, 0 },
7819 { "lict", 205 /* xt_iclass_licx */,
7821 Opcode_lict_encode_fns
, 0, 0 },
7822 { "licw", 205 /* xt_iclass_licx */,
7824 Opcode_licw_encode_fns
, 0, 0 },
7825 { "sict", 206 /* xt_iclass_sicx */,
7827 Opcode_sict_encode_fns
, 0, 0 },
7828 { "sicw", 206 /* xt_iclass_sicx */,
7830 Opcode_sicw_encode_fns
, 0, 0 },
7831 { "dhwb", 207 /* xt_iclass_dcache */,
7833 Opcode_dhwb_encode_fns
, 0, 0 },
7834 { "dhwbi", 207 /* xt_iclass_dcache */,
7836 Opcode_dhwbi_encode_fns
, 0, 0 },
7837 { "diwb", 208 /* xt_iclass_dcache_ind */,
7839 Opcode_diwb_encode_fns
, 0, 0 },
7840 { "diwbi", 208 /* xt_iclass_dcache_ind */,
7842 Opcode_diwbi_encode_fns
, 0, 0 },
7843 { "dhi", 209 /* xt_iclass_dcache_inv */,
7845 Opcode_dhi_encode_fns
, 0, 0 },
7846 { "dii", 209 /* xt_iclass_dcache_inv */,
7848 Opcode_dii_encode_fns
, 0, 0 },
7849 { "dpfr", 210 /* xt_iclass_dpf */,
7851 Opcode_dpfr_encode_fns
, 0, 0 },
7852 { "dpfw", 210 /* xt_iclass_dpf */,
7854 Opcode_dpfw_encode_fns
, 0, 0 },
7855 { "dpfro", 210 /* xt_iclass_dpf */,
7857 Opcode_dpfro_encode_fns
, 0, 0 },
7858 { "dpfwo", 210 /* xt_iclass_dpf */,
7860 Opcode_dpfwo_encode_fns
, 0, 0 },
7861 { "sdct", 211 /* xt_iclass_sdct */,
7863 Opcode_sdct_encode_fns
, 0, 0 },
7864 { "ldct", 212 /* xt_iclass_ldct */,
7866 Opcode_ldct_encode_fns
, 0, 0 },
7867 { "idtlb", 213 /* xt_iclass_idtlb */,
7869 Opcode_idtlb_encode_fns
, 0, 0 },
7870 { "pdtlb", 214 /* xt_iclass_rdtlb */,
7872 Opcode_pdtlb_encode_fns
, 0, 0 },
7873 { "rdtlb0", 214 /* xt_iclass_rdtlb */,
7875 Opcode_rdtlb0_encode_fns
, 0, 0 },
7876 { "rdtlb1", 214 /* xt_iclass_rdtlb */,
7878 Opcode_rdtlb1_encode_fns
, 0, 0 },
7879 { "wdtlb", 215 /* xt_iclass_wdtlb */,
7881 Opcode_wdtlb_encode_fns
, 0, 0 },
7882 { "iitlb", 216 /* xt_iclass_iitlb */,
7884 Opcode_iitlb_encode_fns
, 0, 0 },
7885 { "pitlb", 217 /* xt_iclass_ritlb */,
7887 Opcode_pitlb_encode_fns
, 0, 0 },
7888 { "ritlb0", 217 /* xt_iclass_ritlb */,
7890 Opcode_ritlb0_encode_fns
, 0, 0 },
7891 { "ritlb1", 217 /* xt_iclass_ritlb */,
7893 Opcode_ritlb1_encode_fns
, 0, 0 },
7894 { "witlb", 218 /* xt_iclass_witlb */,
7896 Opcode_witlb_encode_fns
, 0, 0 },
7897 { "nsa", 219 /* xt_iclass_nsa */,
7899 Opcode_nsa_encode_fns
, 0, 0 },
7900 { "nsau", 219 /* xt_iclass_nsa */,
7902 Opcode_nsau_encode_fns
, 0, 0 }
7906 /* Slot-specific opcode decode functions. */
7909 Slot_inst_decode (const xtensa_insnbuf insn
)
7911 switch (Field_op0_Slot_inst_get (insn
))
7914 switch (Field_op1_Slot_inst_get (insn
))
7917 switch (Field_op2_Slot_inst_get (insn
))
7920 switch (Field_r_Slot_inst_get (insn
))
7923 switch (Field_m_Slot_inst_get (insn
))
7926 return 77; /* ill */
7928 switch (Field_n_Slot_inst_get (insn
))
7931 return 96; /* ret */
7933 return 14; /* retw */
7939 switch (Field_n_Slot_inst_get (insn
))
7942 return 75; /* callx0 */
7944 return 10; /* callx4 */
7946 return 9; /* callx8 */
7948 return 8; /* callx12 */
7954 return 12; /* movsp */
7956 if (Field_s_Slot_inst_get (insn
) == 0)
7958 switch (Field_t_Slot_inst_get (insn
))
7961 return 114; /* isync */
7963 return 115; /* rsync */
7965 return 116; /* esync */
7967 return 117; /* dsync */
7969 return 0; /* excw */
7971 return 112; /* memw */
7973 return 113; /* extw */
7975 return 95; /* nop */
7980 switch (Field_t_Slot_inst_get (insn
))
7983 switch (Field_s_Slot_inst_get (insn
))
7988 return 2; /* rfde */
7990 return 16; /* rfwo */
7992 return 17; /* rfwu */
7996 return 188; /* rfi */
8000 return 196; /* break */
8002 switch (Field_s_Slot_inst_get (insn
))
8005 if (Field_t_Slot_inst_get (insn
) == 0)
8006 return 3; /* syscall */
8009 if (Field_t_Slot_inst_get (insn
) == 0)
8010 return 4; /* simcall */
8015 return 118; /* rsil */
8017 if (Field_t_Slot_inst_get (insn
) == 0)
8018 return 189; /* waiti */
8023 return 47; /* and */
8027 return 49; /* xor */
8029 switch (Field_r_Slot_inst_get (insn
))
8032 if (Field_t_Slot_inst_get (insn
) == 0)
8033 return 100; /* ssr */
8036 if (Field_t_Slot_inst_get (insn
) == 0)
8037 return 101; /* ssl */
8040 if (Field_t_Slot_inst_get (insn
) == 0)
8041 return 102; /* ssa8l */
8044 if (Field_t_Slot_inst_get (insn
) == 0)
8045 return 103; /* ssa8b */
8048 if (Field_thi3_Slot_inst_get (insn
) == 0)
8049 return 104; /* ssai */
8052 if (Field_s_Slot_inst_get (insn
) == 0)
8053 return 13; /* rotw */
8056 return 274; /* nsa */
8058 return 275; /* nsau */
8062 switch (Field_r_Slot_inst_get (insn
))
8065 return 271; /* ritlb0 */
8067 return 269; /* iitlb */
8069 return 270; /* pitlb */
8071 return 273; /* witlb */
8073 return 272; /* ritlb1 */
8075 return 266; /* rdtlb0 */
8077 return 264; /* idtlb */
8079 return 265; /* pdtlb */
8081 return 268; /* wdtlb */
8083 return 267; /* rdtlb1 */
8087 switch (Field_s_Slot_inst_get (insn
))
8090 return 93; /* neg */
8092 return 94; /* abs */
8096 return 39; /* add */
8098 return 41; /* addx2 */
8100 return 42; /* addx4 */
8102 return 43; /* addx8 */
8104 return 40; /* sub */
8106 return 44; /* subx2 */
8108 return 45; /* subx4 */
8110 return 46; /* subx8 */
8114 switch (Field_op2_Slot_inst_get (insn
))
8118 return 109; /* slli */
8121 return 110; /* srai */
8123 return 111; /* srli */
8125 switch (Field_sr_Slot_inst_get (insn
))
8128 return 127; /* xsr.lbeg */
8130 return 121; /* xsr.lend */
8132 return 124; /* xsr.lcount */
8134 return 130; /* xsr.sar */
8136 return 133; /* xsr.litbase */
8138 return 22; /* xsr.windowbase */
8140 return 25; /* xsr.windowstart */
8142 return 218; /* xsr.ibreakenable */
8144 return 230; /* xsr.ddr */
8146 return 212; /* xsr.ibreaka0 */
8148 return 215; /* xsr.ibreaka1 */
8150 return 200; /* xsr.dbreaka0 */
8152 return 206; /* xsr.dbreaka1 */
8154 return 203; /* xsr.dbreakc0 */
8156 return 209; /* xsr.dbreakc1 */
8158 return 141; /* xsr.epc1 */
8160 return 147; /* xsr.epc2 */
8162 return 153; /* xsr.epc3 */
8164 return 159; /* xsr.epc4 */
8166 return 177; /* xsr.depc */
8168 return 165; /* xsr.eps2 */
8170 return 168; /* xsr.eps3 */
8172 return 171; /* xsr.eps4 */
8174 return 144; /* xsr.excsave1 */
8176 return 150; /* xsr.excsave2 */
8178 return 156; /* xsr.excsave3 */
8180 return 162; /* xsr.excsave4 */
8182 return 195; /* xsr.intenable */
8184 return 138; /* xsr.ps */
8186 return 180; /* xsr.exccause */
8188 return 221; /* xsr.debugcause */
8190 return 235; /* xsr.ccount */
8192 return 224; /* xsr.icount */
8194 return 227; /* xsr.icountlevel */
8196 return 174; /* xsr.excvaddr */
8198 return 238; /* xsr.ccompare0 */
8200 return 241; /* xsr.ccompare1 */
8202 return 244; /* xsr.ccompare2 */
8204 return 183; /* xsr.misc0 */
8206 return 186; /* xsr.misc1 */
8210 return 106; /* src */
8212 if (Field_s_Slot_inst_get (insn
) == 0)
8213 return 107; /* srl */
8216 if (Field_t_Slot_inst_get (insn
) == 0)
8217 return 105; /* sll */
8220 if (Field_s_Slot_inst_get (insn
) == 0)
8221 return 108; /* sra */
8224 switch (Field_r_Slot_inst_get (insn
))
8227 return 248; /* lict */
8229 return 250; /* sict */
8231 return 249; /* licw */
8233 return 251; /* sicw */
8235 return 263; /* ldct */
8237 return 262; /* sdct */
8239 if (Field_t_Slot_inst_get (insn
) == 0)
8240 return 231; /* rfdo */
8241 if (Field_t_Slot_inst_get (insn
) == 1)
8242 return 232; /* rfdd */
8249 switch (Field_op2_Slot_inst_get (insn
))
8252 switch (Field_sr_Slot_inst_get (insn
))
8255 return 125; /* rsr.lbeg */
8257 return 119; /* rsr.lend */
8259 return 122; /* rsr.lcount */
8261 return 128; /* rsr.sar */
8263 return 131; /* rsr.litbase */
8265 return 20; /* rsr.windowbase */
8267 return 23; /* rsr.windowstart */
8269 return 216; /* rsr.ibreakenable */
8271 return 228; /* rsr.ddr */
8273 return 210; /* rsr.ibreaka0 */
8275 return 213; /* rsr.ibreaka1 */
8277 return 198; /* rsr.dbreaka0 */
8279 return 204; /* rsr.dbreaka1 */
8281 return 201; /* rsr.dbreakc0 */
8283 return 207; /* rsr.dbreakc1 */
8285 return 134; /* rsr.176 */
8287 return 139; /* rsr.epc1 */
8289 return 145; /* rsr.epc2 */
8291 return 151; /* rsr.epc3 */
8293 return 157; /* rsr.epc4 */
8295 return 175; /* rsr.depc */
8297 return 163; /* rsr.eps2 */
8299 return 166; /* rsr.eps3 */
8301 return 169; /* rsr.eps4 */
8303 return 135; /* rsr.208 */
8305 return 142; /* rsr.excsave1 */
8307 return 148; /* rsr.excsave2 */
8309 return 154; /* rsr.excsave3 */
8311 return 160; /* rsr.excsave4 */
8313 return 190; /* rsr.interrupt */
8315 return 193; /* rsr.intenable */
8317 return 136; /* rsr.ps */
8319 return 178; /* rsr.exccause */
8321 return 219; /* rsr.debugcause */
8323 return 233; /* rsr.ccount */
8325 return 187; /* rsr.prid */
8327 return 222; /* rsr.icount */
8329 return 225; /* rsr.icountlevel */
8331 return 172; /* rsr.excvaddr */
8333 return 236; /* rsr.ccompare0 */
8335 return 239; /* rsr.ccompare1 */
8337 return 242; /* rsr.ccompare2 */
8339 return 181; /* rsr.misc0 */
8341 return 184; /* rsr.misc1 */
8345 switch (Field_sr_Slot_inst_get (insn
))
8348 return 126; /* wsr.lbeg */
8350 return 120; /* wsr.lend */
8352 return 123; /* wsr.lcount */
8354 return 129; /* wsr.sar */
8356 return 132; /* wsr.litbase */
8358 return 21; /* wsr.windowbase */
8360 return 24; /* wsr.windowstart */
8362 return 217; /* wsr.ibreakenable */
8364 return 229; /* wsr.ddr */
8366 return 211; /* wsr.ibreaka0 */
8368 return 214; /* wsr.ibreaka1 */
8370 return 199; /* wsr.dbreaka0 */
8372 return 205; /* wsr.dbreaka1 */
8374 return 202; /* wsr.dbreakc0 */
8376 return 208; /* wsr.dbreakc1 */
8378 return 140; /* wsr.epc1 */
8380 return 146; /* wsr.epc2 */
8382 return 152; /* wsr.epc3 */
8384 return 158; /* wsr.epc4 */
8386 return 176; /* wsr.depc */
8388 return 164; /* wsr.eps2 */
8390 return 167; /* wsr.eps3 */
8392 return 170; /* wsr.eps4 */
8394 return 143; /* wsr.excsave1 */
8396 return 149; /* wsr.excsave2 */
8398 return 155; /* wsr.excsave3 */
8400 return 161; /* wsr.excsave4 */
8402 return 191; /* wsr.intset */
8404 return 192; /* wsr.intclear */
8406 return 194; /* wsr.intenable */
8408 return 137; /* wsr.ps */
8410 return 179; /* wsr.exccause */
8412 return 220; /* wsr.debugcause */
8414 return 234; /* wsr.ccount */
8416 return 223; /* wsr.icount */
8418 return 226; /* wsr.icountlevel */
8420 return 173; /* wsr.excvaddr */
8422 return 237; /* wsr.ccompare0 */
8424 return 240; /* wsr.ccompare1 */
8426 return 243; /* wsr.ccompare2 */
8428 return 182; /* wsr.misc0 */
8430 return 185; /* wsr.misc1 */
8434 return 89; /* moveqz */
8436 return 90; /* movnez */
8438 return 91; /* movltz */
8440 return 92; /* movgez */
8445 return 76; /* extui */
8447 switch (Field_op2_Slot_inst_get (insn
))
8450 return 18; /* l32e */
8452 return 19; /* s32e */
8458 return 83; /* l32r */
8460 switch (Field_r_Slot_inst_get (insn
))
8463 return 84; /* l8ui */
8465 return 80; /* l16ui */
8467 return 82; /* l32i */
8469 return 99; /* s8i */
8471 return 97; /* s16i */
8473 return 98; /* s32i */
8475 switch (Field_t_Slot_inst_get (insn
))
8478 return 258; /* dpfr */
8480 return 259; /* dpfw */
8482 return 260; /* dpfro */
8484 return 261; /* dpfwo */
8486 return 252; /* dhwb */
8488 return 253; /* dhwbi */
8490 return 256; /* dhi */
8492 return 257; /* dii */
8494 switch (Field_op1_Slot_inst_get (insn
))
8497 return 254; /* diwb */
8499 return 255; /* diwbi */
8503 return 245; /* ipf */
8505 return 246; /* ihi */
8507 return 247; /* iii */
8511 return 81; /* l16si */
8513 return 88; /* movi */
8515 return 37; /* addi */
8517 return 38; /* addmi */
8521 switch (Field_n_Slot_inst_get (insn
))
8524 return 74; /* call0 */
8526 return 7; /* call4 */
8528 return 6; /* call8 */
8530 return 5; /* call12 */
8534 switch (Field_n_Slot_inst_get (insn
))
8539 switch (Field_m_Slot_inst_get (insn
))
8542 return 70; /* beqz */
8544 return 71; /* bnez */
8546 return 73; /* bltz */
8548 return 72; /* bgez */
8552 switch (Field_m_Slot_inst_get (insn
))
8555 return 50; /* beqi */
8557 return 51; /* bnei */
8559 return 53; /* blti */
8561 return 52; /* bgei */
8565 switch (Field_m_Slot_inst_get (insn
))
8568 return 11; /* entry */
8570 switch (Field_r_Slot_inst_get (insn
))
8573 return 85; /* loop */
8575 return 86; /* loopnez */
8577 return 87; /* loopgtz */
8581 return 57; /* bltui */
8583 return 56; /* bgeui */
8589 switch (Field_r_Slot_inst_get (insn
))
8592 return 65; /* bnone */
8594 return 58; /* beq */
8596 return 61; /* blt */
8598 return 63; /* bltu */
8600 return 66; /* ball */
8602 return 68; /* bbc */
8605 return 54; /* bbci */
8607 return 64; /* bany */
8609 return 59; /* bne */
8611 return 60; /* bge */
8613 return 62; /* bgeu */
8615 return 67; /* bnall */
8617 return 69; /* bbs */
8620 return 55; /* bbsi */
8628 Slot_inst16b_decode (const xtensa_insnbuf insn
)
8630 switch (Field_op0_Slot_inst16b_get (insn
))
8633 switch (Field_i_Slot_inst16b_get (insn
))
8636 return 33; /* movi.n */
8638 switch (Field_z_Slot_inst16b_get (insn
))
8641 return 28; /* beqz.n */
8643 return 29; /* bnez.n */
8649 switch (Field_r_Slot_inst16b_get (insn
))
8652 return 32; /* mov.n */
8654 switch (Field_t_Slot_inst16b_get (insn
))
8657 return 35; /* ret.n */
8659 return 15; /* retw.n */
8661 return 197; /* break.n */
8663 if (Field_s_Slot_inst16b_get (insn
) == 0)
8664 return 34; /* nop.n */
8667 return 30; /* ill.n */
8677 Slot_inst16a_decode (const xtensa_insnbuf insn
)
8679 switch (Field_op0_Slot_inst16a_get (insn
))
8682 return 31; /* l32i.n */
8684 return 36; /* s32i.n */
8686 return 26; /* add.n */
8688 return 27; /* addi.n */
8694 /* Instruction slots. */
8697 Slot_x24_Format_inst_0_get (const xtensa_insnbuf insn
,
8698 xtensa_insnbuf slotbuf
)
8700 slotbuf
[0] = (insn
[0] & 0xffffff);
8704 Slot_x24_Format_inst_0_set (xtensa_insnbuf insn
,
8705 const xtensa_insnbuf slotbuf
)
8707 insn
[0] = (insn
[0] & ~0xffffff) | (slotbuf
[0] & 0xffffff);
8711 Slot_x16a_Format_inst16a_0_get (const xtensa_insnbuf insn
,
8712 xtensa_insnbuf slotbuf
)
8714 slotbuf
[0] = ((insn
[0] & 0xffff00) >> 8);
8718 Slot_x16a_Format_inst16a_0_set (xtensa_insnbuf insn
,
8719 const xtensa_insnbuf slotbuf
)
8721 insn
[0] = (insn
[0] & ~0xffff00) | ((slotbuf
[0] & 0xffff) << 8);
8725 Slot_x16b_Format_inst16b_0_get (const xtensa_insnbuf insn
,
8726 xtensa_insnbuf slotbuf
)
8728 slotbuf
[0] = ((insn
[0] & 0xffff00) >> 8);
8732 Slot_x16b_Format_inst16b_0_set (xtensa_insnbuf insn
,
8733 const xtensa_insnbuf slotbuf
)
8735 insn
[0] = (insn
[0] & ~0xffff00) | ((slotbuf
[0] & 0xffff) << 8);
8738 static xtensa_get_field_fn
8739 Slot_inst_get_field_fns
[] = {
8740 Field_t_Slot_inst_get
,
8741 Field_bbi4_Slot_inst_get
,
8742 Field_bbi_Slot_inst_get
,
8743 Field_imm12_Slot_inst_get
,
8744 Field_imm8_Slot_inst_get
,
8745 Field_s_Slot_inst_get
,
8746 Field_imm12b_Slot_inst_get
,
8747 Field_imm16_Slot_inst_get
,
8748 Field_m_Slot_inst_get
,
8749 Field_n_Slot_inst_get
,
8750 Field_offset_Slot_inst_get
,
8751 Field_op0_Slot_inst_get
,
8752 Field_op1_Slot_inst_get
,
8753 Field_op2_Slot_inst_get
,
8754 Field_r_Slot_inst_get
,
8755 Field_sa4_Slot_inst_get
,
8756 Field_sae4_Slot_inst_get
,
8757 Field_sae_Slot_inst_get
,
8758 Field_sal_Slot_inst_get
,
8759 Field_sargt_Slot_inst_get
,
8760 Field_sas4_Slot_inst_get
,
8761 Field_sas_Slot_inst_get
,
8762 Field_sr_Slot_inst_get
,
8763 Field_st_Slot_inst_get
,
8764 Field_thi3_Slot_inst_get
,
8765 Field_imm4_Slot_inst_get
,
8766 Field_mn_Slot_inst_get
,
8775 Implicit_Field_ar0_get
,
8776 Implicit_Field_ar4_get
,
8777 Implicit_Field_ar8_get
,
8778 Implicit_Field_ar12_get
8781 static xtensa_set_field_fn
8782 Slot_inst_set_field_fns
[] = {
8783 Field_t_Slot_inst_set
,
8784 Field_bbi4_Slot_inst_set
,
8785 Field_bbi_Slot_inst_set
,
8786 Field_imm12_Slot_inst_set
,
8787 Field_imm8_Slot_inst_set
,
8788 Field_s_Slot_inst_set
,
8789 Field_imm12b_Slot_inst_set
,
8790 Field_imm16_Slot_inst_set
,
8791 Field_m_Slot_inst_set
,
8792 Field_n_Slot_inst_set
,
8793 Field_offset_Slot_inst_set
,
8794 Field_op0_Slot_inst_set
,
8795 Field_op1_Slot_inst_set
,
8796 Field_op2_Slot_inst_set
,
8797 Field_r_Slot_inst_set
,
8798 Field_sa4_Slot_inst_set
,
8799 Field_sae4_Slot_inst_set
,
8800 Field_sae_Slot_inst_set
,
8801 Field_sal_Slot_inst_set
,
8802 Field_sargt_Slot_inst_set
,
8803 Field_sas4_Slot_inst_set
,
8804 Field_sas_Slot_inst_set
,
8805 Field_sr_Slot_inst_set
,
8806 Field_st_Slot_inst_set
,
8807 Field_thi3_Slot_inst_set
,
8808 Field_imm4_Slot_inst_set
,
8809 Field_mn_Slot_inst_set
,
8824 static xtensa_get_field_fn
8825 Slot_inst16a_get_field_fns
[] = {
8826 Field_t_Slot_inst16a_get
,
8831 Field_s_Slot_inst16a_get
,
8837 Field_op0_Slot_inst16a_get
,
8840 Field_r_Slot_inst16a_get
,
8848 Field_sr_Slot_inst16a_get
,
8849 Field_st_Slot_inst16a_get
,
8851 Field_imm4_Slot_inst16a_get
,
8853 Field_i_Slot_inst16a_get
,
8854 Field_imm6lo_Slot_inst16a_get
,
8855 Field_imm6hi_Slot_inst16a_get
,
8856 Field_imm7lo_Slot_inst16a_get
,
8857 Field_imm7hi_Slot_inst16a_get
,
8858 Field_z_Slot_inst16a_get
,
8859 Field_imm6_Slot_inst16a_get
,
8860 Field_imm7_Slot_inst16a_get
,
8861 Implicit_Field_ar0_get
,
8862 Implicit_Field_ar4_get
,
8863 Implicit_Field_ar8_get
,
8864 Implicit_Field_ar12_get
8867 static xtensa_set_field_fn
8868 Slot_inst16a_set_field_fns
[] = {
8869 Field_t_Slot_inst16a_set
,
8874 Field_s_Slot_inst16a_set
,
8880 Field_op0_Slot_inst16a_set
,
8883 Field_r_Slot_inst16a_set
,
8891 Field_sr_Slot_inst16a_set
,
8892 Field_st_Slot_inst16a_set
,
8894 Field_imm4_Slot_inst16a_set
,
8896 Field_i_Slot_inst16a_set
,
8897 Field_imm6lo_Slot_inst16a_set
,
8898 Field_imm6hi_Slot_inst16a_set
,
8899 Field_imm7lo_Slot_inst16a_set
,
8900 Field_imm7hi_Slot_inst16a_set
,
8901 Field_z_Slot_inst16a_set
,
8902 Field_imm6_Slot_inst16a_set
,
8903 Field_imm7_Slot_inst16a_set
,
8910 static xtensa_get_field_fn
8911 Slot_inst16b_get_field_fns
[] = {
8912 Field_t_Slot_inst16b_get
,
8917 Field_s_Slot_inst16b_get
,
8923 Field_op0_Slot_inst16b_get
,
8926 Field_r_Slot_inst16b_get
,
8934 Field_sr_Slot_inst16b_get
,
8935 Field_st_Slot_inst16b_get
,
8937 Field_imm4_Slot_inst16b_get
,
8939 Field_i_Slot_inst16b_get
,
8940 Field_imm6lo_Slot_inst16b_get
,
8941 Field_imm6hi_Slot_inst16b_get
,
8942 Field_imm7lo_Slot_inst16b_get
,
8943 Field_imm7hi_Slot_inst16b_get
,
8944 Field_z_Slot_inst16b_get
,
8945 Field_imm6_Slot_inst16b_get
,
8946 Field_imm7_Slot_inst16b_get
,
8947 Implicit_Field_ar0_get
,
8948 Implicit_Field_ar4_get
,
8949 Implicit_Field_ar8_get
,
8950 Implicit_Field_ar12_get
8953 static xtensa_set_field_fn
8954 Slot_inst16b_set_field_fns
[] = {
8955 Field_t_Slot_inst16b_set
,
8960 Field_s_Slot_inst16b_set
,
8966 Field_op0_Slot_inst16b_set
,
8969 Field_r_Slot_inst16b_set
,
8977 Field_sr_Slot_inst16b_set
,
8978 Field_st_Slot_inst16b_set
,
8980 Field_imm4_Slot_inst16b_set
,
8982 Field_i_Slot_inst16b_set
,
8983 Field_imm6lo_Slot_inst16b_set
,
8984 Field_imm6hi_Slot_inst16b_set
,
8985 Field_imm7lo_Slot_inst16b_set
,
8986 Field_imm7hi_Slot_inst16b_set
,
8987 Field_z_Slot_inst16b_set
,
8988 Field_imm6_Slot_inst16b_set
,
8989 Field_imm7_Slot_inst16b_set
,
8996 static xtensa_slot_internal slots
[] = {
8998 Slot_x24_Format_inst_0_get
, Slot_x24_Format_inst_0_set
,
8999 Slot_inst_get_field_fns
, Slot_inst_set_field_fns
,
9000 Slot_inst_decode
, "nop" },
9001 { "Inst16a", "x16a", 0,
9002 Slot_x16a_Format_inst16a_0_get
, Slot_x16a_Format_inst16a_0_set
,
9003 Slot_inst16a_get_field_fns
, Slot_inst16a_set_field_fns
,
9004 Slot_inst16a_decode
, "" },
9005 { "Inst16b", "x16b", 0,
9006 Slot_x16b_Format_inst16b_0_get
, Slot_x16b_Format_inst16b_0_set
,
9007 Slot_inst16b_get_field_fns
, Slot_inst16b_set_field_fns
,
9008 Slot_inst16b_decode
, "nop.n" }
9012 /* Instruction formats. */
9015 Format_x24_encode (xtensa_insnbuf insn
)
9021 Format_x16a_encode (xtensa_insnbuf insn
)
9027 Format_x16b_encode (xtensa_insnbuf insn
)
9032 static int Format_x24_slots
[] = { 0 };
9034 static int Format_x16a_slots
[] = { 1 };
9036 static int Format_x16b_slots
[] = { 2 };
9038 static xtensa_format_internal formats
[] = {
9039 { "x24", 3, Format_x24_encode
, 1, Format_x24_slots
},
9040 { "x16a", 2, Format_x16a_encode
, 1, Format_x16a_slots
},
9041 { "x16b", 2, Format_x16b_encode
, 1, Format_x16b_slots
}
9046 format_decoder (const xtensa_insnbuf insn
)
9048 if ((insn
[0] & 0x800000) == 0)
9050 if ((insn
[0] & 0xc00000) == 0x800000)
9051 return 1; /* x16a */
9052 if ((insn
[0] & 0xe00000) == 0xc00000)
9053 return 2; /* x16b */
9057 static int length_table
[16] = {
9077 length_decoder (const unsigned char *insn
)
9079 int op0
= (insn
[0] >> 4) & 0xf;
9080 return length_table
[op0
];
9084 /* Top-level ISA structure. */
9086 xtensa_isa_internal xtensa_modules
= {
9088 3 /* insn_size */, 0,
9089 3, formats
, format_decoder
, length_decoder
,
9091 39 /* num_fields */,
9096 NUM_STATES
, states
, 0,
9097 NUM_SYSREGS
, sysregs
, 0,
9098 { MAX_SPECIAL_REG
, MAX_USER_REG
}, { 0, 0 },