blob: 7700ff2487317aabac8d34b7e0d190f43a2d9e5e [file] [log] [blame]
Elliott Hughesabd62612013-11-08 11:45:48 -08001/****************************************************************************
2 ****************************************************************************
3 ***
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
9 ***
10 *** To edit the content of this header, modify the corresponding
11 *** source file (e.g. under external/kernel-headers/original/) then
12 *** run bionic/libc/kernel/tools/update_all.py
13 ***
14 *** Any manual change here will be lost the next time this script will
15 *** be run. You've been warned!
16 ***
17 ****************************************************************************
18 ****************************************************************************/
19#ifndef _UAPI_ASM_INST_H
20#define _UAPI_ASM_INST_H
Christopher Ferrisba8d4f42014-09-03 19:56:49 -070021#include <asm/bitfield.h>
Elliott Hughesabd62612013-11-08 11:45:48 -080022enum major_op {
Elliott Hughesabd62612013-11-08 11:45:48 -080023/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080024 spec_op,
25 bcond_op,
26 j_op,
27 jal_op,
Elliott Hughesabd62612013-11-08 11:45:48 -080028/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080029 beq_op,
30 bne_op,
31 blez_op,
32 bgtz_op,
Elliott Hughesabd62612013-11-08 11:45:48 -080033/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080034 addi_op,
Christopher Ferris49f525c2016-12-12 14:55:36 -080035 pop10_op = addi_op,
Tao Baod7db5942015-01-28 10:07:51 -080036 addiu_op,
37 slti_op,
Elliott Hughesabd62612013-11-08 11:45:48 -080038/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -080039 sltiu_op,
Tao Baod7db5942015-01-28 10:07:51 -080040 andi_op,
41 ori_op,
42 xori_op,
Tao Baod7db5942015-01-28 10:07:51 -080043/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -080044 lui_op,
Tao Baod7db5942015-01-28 10:07:51 -080045 cop0_op,
46 cop1_op,
47 cop2_op,
Tao Baod7db5942015-01-28 10:07:51 -080048/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -080049 cop1x_op,
Tao Baod7db5942015-01-28 10:07:51 -080050 beql_op,
51 bnel_op,
52 blezl_op,
Tao Baod7db5942015-01-28 10:07:51 -080053/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -080054 bgtzl_op,
Tao Baod7db5942015-01-28 10:07:51 -080055 daddi_op,
Christopher Ferris49f525c2016-12-12 14:55:36 -080056 pop30_op = daddi_op,
Tao Baod7db5942015-01-28 10:07:51 -080057 daddiu_op,
Christopher Ferris05d08e92016-02-04 13:16:38 -080058/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080059 ldl_op,
60 ldr_op,
Tao Baod7db5942015-01-28 10:07:51 -080061 spec2_op,
62 jalx_op,
Tao Baod7db5942015-01-28 10:07:51 -080063/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -080064 mdmx_op,
65 msa_op = mdmx_op,
66 spec3_op,
Tao Baod7db5942015-01-28 10:07:51 -080067 lb_op,
Christopher Ferris05d08e92016-02-04 13:16:38 -080068/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080069 lh_op,
70 lwl_op,
71 lw_op,
Tao Baod7db5942015-01-28 10:07:51 -080072 lbu_op,
Christopher Ferris05d08e92016-02-04 13:16:38 -080073/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080074 lhu_op,
75 lwr_op,
76 lwu_op,
Tao Baod7db5942015-01-28 10:07:51 -080077 sb_op,
Christopher Ferris05d08e92016-02-04 13:16:38 -080078/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080079 sh_op,
80 swl_op,
81 sw_op,
Tao Baod7db5942015-01-28 10:07:51 -080082 sdl_op,
Christopher Ferris05d08e92016-02-04 13:16:38 -080083/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080084 sdr_op,
85 swr_op,
86 cache_op,
Tao Baod7db5942015-01-28 10:07:51 -080087 ll_op,
Christopher Ferris05d08e92016-02-04 13:16:38 -080088/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080089 lwc1_op,
90 lwc2_op,
Christopher Ferris05d08e92016-02-04 13:16:38 -080091 bc6_op = lwc2_op,
Tao Baod7db5942015-01-28 10:07:51 -080092 pref_op,
93/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
94 lld_op,
95 ldc1_op,
96 ldc2_op,
Christopher Ferris49f525c2016-12-12 14:55:36 -080097 pop66_op = ldc2_op,
Tao Baod7db5942015-01-28 10:07:51 -080098/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -080099 ld_op,
Tao Baod7db5942015-01-28 10:07:51 -0800100 sc_op,
101 swc1_op,
102 swc2_op,
Tao Baod7db5942015-01-28 10:07:51 -0800103/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800104 balc6_op = swc2_op,
105 major_3b_op,
Tao Baod7db5942015-01-28 10:07:51 -0800106 scd_op,
107 sdc1_op,
Elliott Hughesabd62612013-11-08 11:45:48 -0800108/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800109 sdc2_op,
Christopher Ferris49f525c2016-12-12 14:55:36 -0800110 pop76_op = sdc2_op,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800111 sd_op
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700112};
Christopher Ferris05d08e92016-02-04 13:16:38 -0800113/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Elliott Hughesabd62612013-11-08 11:45:48 -0800114enum spec_op {
Tao Baod7db5942015-01-28 10:07:51 -0800115 sll_op,
116 movc_op,
Tao Baod7db5942015-01-28 10:07:51 -0800117 srl_op,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800118/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800119 sra_op,
120 sllv_op,
121 pmon_op,
Tao Baod7db5942015-01-28 10:07:51 -0800122 srlv_op,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800123/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800124 srav_op,
125 jr_op,
126 jalr_op,
Tao Baod7db5942015-01-28 10:07:51 -0800127 movz_op,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800128/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800129 movn_op,
130 syscall_op,
131 break_op,
Tao Baod7db5942015-01-28 10:07:51 -0800132 spim_op,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800133/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800134 sync_op,
135 mfhi_op,
136 mthi_op,
Tao Baod7db5942015-01-28 10:07:51 -0800137 mflo_op,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800138/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800139 mtlo_op,
140 dsllv_op,
141 spec2_unused_op,
Tao Baod7db5942015-01-28 10:07:51 -0800142 dsrlv_op,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800143/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800144 dsrav_op,
145 mult_op,
146 multu_op,
Tao Baod7db5942015-01-28 10:07:51 -0800147 div_op,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800148/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800149 divu_op,
150 dmult_op,
151 dmultu_op,
Tao Baod7db5942015-01-28 10:07:51 -0800152 ddiv_op,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800153/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800154 ddivu_op,
155 add_op,
156 addu_op,
Tao Baod7db5942015-01-28 10:07:51 -0800157 sub_op,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800158/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800159 subu_op,
160 and_op,
161 or_op,
Tao Baod7db5942015-01-28 10:07:51 -0800162 xor_op,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800163/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800164 nor_op,
165 spec3_unused_op,
166 spec4_unused_op,
Tao Baod7db5942015-01-28 10:07:51 -0800167 slt_op,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800168/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800169 sltu_op,
170 dadd_op,
171 daddu_op,
Tao Baod7db5942015-01-28 10:07:51 -0800172 dsub_op,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800173/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800174 dsubu_op,
175 tge_op,
176 tgeu_op,
Tao Baod7db5942015-01-28 10:07:51 -0800177 tlt_op,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800178/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800179 tltu_op,
180 teq_op,
181 spec5_unused_op,
Tao Baod7db5942015-01-28 10:07:51 -0800182 tne_op,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800183/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800184 spec6_unused_op,
185 dsll_op,
186 spec7_unused_op,
Tao Baod7db5942015-01-28 10:07:51 -0800187 dsrl_op,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800188/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800189 dsra_op,
190 dsll32_op,
191 spec8_unused_op,
Tao Baod7db5942015-01-28 10:07:51 -0800192 dsrl32_op,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800193/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800194 dsra32_op
Elliott Hughesabd62612013-11-08 11:45:48 -0800195};
196enum spec2_op {
Tao Baod7db5942015-01-28 10:07:51 -0800197 madd_op,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800198/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800199 maddu_op,
200 mul_op,
201 spec2_3_unused_op,
Tao Baod7db5942015-01-28 10:07:51 -0800202 msub_op,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800203/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800204 msubu_op,
205 clz_op = 0x20,
206 clo_op,
Tao Baod7db5942015-01-28 10:07:51 -0800207 dclz_op = 0x24,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800208/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800209 dclo_op,
210 sdbpp_op = 0x3f
Elliott Hughesabd62612013-11-08 11:45:48 -0800211};
212enum spec3_op {
Christopher Ferris05d08e92016-02-04 13:16:38 -0800213/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800214 ext_op,
215 dextm_op,
216 dextu_op,
Tao Baod7db5942015-01-28 10:07:51 -0800217 dext_op,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800218/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800219 ins_op,
220 dinsm_op,
221 dinsu_op,
Tao Baod7db5942015-01-28 10:07:51 -0800222 dins_op,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800223/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800224 yield_op = 0x09,
225 lx_op = 0x0a,
226 lwle_op = 0x19,
Tao Baod7db5942015-01-28 10:07:51 -0800227 lwre_op = 0x1a,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800228/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800229 cachee_op = 0x1b,
230 sbe_op = 0x1c,
231 she_op = 0x1d,
Tao Baod7db5942015-01-28 10:07:51 -0800232 sce_op = 0x1e,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800233/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800234 swe_op = 0x1f,
235 bshfl_op = 0x20,
236 swle_op = 0x21,
Tao Baod7db5942015-01-28 10:07:51 -0800237 swre_op = 0x22,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800238/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800239 prefe_op = 0x23,
240 dbshfl_op = 0x24,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800241 cache6_op = 0x25,
242 sc6_op = 0x26,
Tao Baod7db5942015-01-28 10:07:51 -0800243/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800244 scd6_op = 0x27,
245 lbue_op = 0x28,
Tao Baod7db5942015-01-28 10:07:51 -0800246 lhue_op = 0x29,
247 lbe_op = 0x2c,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800248/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800249 lhe_op = 0x2d,
250 lle_op = 0x2e,
Tao Baod7db5942015-01-28 10:07:51 -0800251 lwe_op = 0x2f,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800252 pref6_op = 0x35,
253/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
254 ll6_op = 0x36,
255 lld6_op = 0x37,
Tao Baod7db5942015-01-28 10:07:51 -0800256 rdhwr_op = 0x3b
Elliott Hughesabd62612013-11-08 11:45:48 -0800257};
Elliott Hughesabd62612013-11-08 11:45:48 -0800258/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -0800259enum mult_op {
260 mult_mult_op = 0x0,
261 mult_mul_op = 0x2,
262 mult_muh_op = 0x3,
263/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
264};
265enum multu_op {
266 multu_multu_op = 0x0,
267 multu_mulu_op = 0x2,
268/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
269 multu_muhu_op = 0x3,
270};
271enum div_op {
272 div_div_op = 0x0,
273/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
274 div_div6_op = 0x2,
275 div_mod_op = 0x3,
276};
277enum divu_op {
278/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
279 divu_divu_op = 0x0,
280 divu_divu6_op = 0x2,
281 divu_modu_op = 0x3,
282};
283/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
284enum dmult_op {
285 dmult_dmult_op = 0x0,
286 dmult_dmul_op = 0x2,
287 dmult_dmuh_op = 0x3,
288/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
289};
290enum dmultu_op {
291 dmultu_dmultu_op = 0x0,
292 dmultu_dmulu_op = 0x2,
293/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
294 dmultu_dmuhu_op = 0x3,
295};
296enum ddiv_op {
297 ddiv_ddiv_op = 0x0,
298/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
299 ddiv_ddiv6_op = 0x2,
300 ddiv_dmod_op = 0x3,
301};
302enum ddivu_op {
303/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
304 ddivu_ddivu_op = 0x0,
305 ddivu_ddivu6_op = 0x2,
306 ddivu_dmodu_op = 0x3,
307};
308/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800309enum rt_op {
Tao Baod7db5942015-01-28 10:07:51 -0800310 bltz_op,
311 bgez_op,
312 bltzl_op,
Elliott Hughesabd62612013-11-08 11:45:48 -0800313/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800314 bgezl_op,
Tao Baod7db5942015-01-28 10:07:51 -0800315 spimi_op,
316 unused_rt_op_0x05,
317 unused_rt_op_0x06,
Tao Baod7db5942015-01-28 10:07:51 -0800318/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800319 unused_rt_op_0x07,
Tao Baod7db5942015-01-28 10:07:51 -0800320 tgei_op,
321 tgeiu_op,
322 tlti_op,
Tao Baod7db5942015-01-28 10:07:51 -0800323/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800324 tltiu_op,
Tao Baod7db5942015-01-28 10:07:51 -0800325 teqi_op,
326 unused_0x0d_rt_op,
327 tnei_op,
Tao Baod7db5942015-01-28 10:07:51 -0800328/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800329 unused_0x0f_rt_op,
Tao Baod7db5942015-01-28 10:07:51 -0800330 bltzal_op,
331 bgezal_op,
332 bltzall_op,
Tao Baod7db5942015-01-28 10:07:51 -0800333/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800334 bgezall_op,
Tao Baod7db5942015-01-28 10:07:51 -0800335 rt_op_0x14,
336 rt_op_0x15,
337 rt_op_0x16,
Tao Baod7db5942015-01-28 10:07:51 -0800338/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800339 rt_op_0x17,
Tao Baod7db5942015-01-28 10:07:51 -0800340 rt_op_0x18,
341 rt_op_0x19,
342 rt_op_0x1a,
Tao Baod7db5942015-01-28 10:07:51 -0800343/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800344 rt_op_0x1b,
Tao Baod7db5942015-01-28 10:07:51 -0800345 bposge32_op,
346 rt_op_0x1d,
347 rt_op_0x1e,
Tao Baod7db5942015-01-28 10:07:51 -0800348/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -0800349 synci_op
Elliott Hughesabd62612013-11-08 11:45:48 -0800350};
351enum cop_op {
Tao Baod7db5942015-01-28 10:07:51 -0800352 mfc_op = 0x00,
Elliott Hughesabd62612013-11-08 11:45:48 -0800353/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800354 dmfc_op = 0x01,
Tao Baod7db5942015-01-28 10:07:51 -0800355 cfc_op = 0x02,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800356 mfhc0_op = 0x02,
Tao Baod7db5942015-01-28 10:07:51 -0800357 mfhc_op = 0x03,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800358/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800359 mtc_op = 0x04,
360 dmtc_op = 0x05,
Tao Baod7db5942015-01-28 10:07:51 -0800361 ctc_op = 0x06,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800362 mthc0_op = 0x06,
363/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800364 mthc_op = 0x07,
365 bc_op = 0x08,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800366 bc1eqz_op = 0x09,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700367 mfmc0_op = 0x0b,
Tao Baod7db5942015-01-28 10:07:51 -0800368/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris106b3a82016-08-24 12:15:38 -0700369 bc1nez_op = 0x0d,
370 wrpgpr_op = 0x0e,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800371 cop_op = 0x10,
Tao Baod7db5942015-01-28 10:07:51 -0800372 copm_op = 0x18
Christopher Ferris106b3a82016-08-24 12:15:38 -0700373/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Elliott Hughesabd62612013-11-08 11:45:48 -0800374};
375enum bcop_op {
Christopher Ferris05d08e92016-02-04 13:16:38 -0800376 bcf_op,
Tao Baod7db5942015-01-28 10:07:51 -0800377 bct_op,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700378/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800379 bcfl_op,
380 bctl_op
Christopher Ferris05d08e92016-02-04 13:16:38 -0800381};
Elliott Hughesabd62612013-11-08 11:45:48 -0800382enum cop0_coi_func {
Christopher Ferris106b3a82016-08-24 12:15:38 -0700383/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800384 tlbr_op = 0x01,
385 tlbwi_op = 0x02,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800386 tlbwr_op = 0x06,
Tao Baod7db5942015-01-28 10:07:51 -0800387 tlbp_op = 0x08,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700388/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800389 rfe_op = 0x10,
390 eret_op = 0x18,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800391 wait_op = 0x20,
Elliott Hughesabd62612013-11-08 11:45:48 -0800392};
Christopher Ferris106b3a82016-08-24 12:15:38 -0700393/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700394enum cop0_com_func {
Tao Baod7db5942015-01-28 10:07:51 -0800395 tlbr1_op = 0x01,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800396 tlbw_op = 0x02,
Tao Baod7db5942015-01-28 10:07:51 -0800397 tlbp1_op = 0x08,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700398/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800399 dctr_op = 0x09,
400 dctw_op = 0x0a
Christopher Ferris05d08e92016-02-04 13:16:38 -0800401};
Christopher Ferris38062f92014-07-09 15:33:25 -0700402enum cop1_fmt {
Christopher Ferris106b3a82016-08-24 12:15:38 -0700403/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800404 s_fmt,
405 d_fmt,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800406 e_fmt,
Tao Baod7db5942015-01-28 10:07:51 -0800407 q_fmt,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700408/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800409 w_fmt,
410 l_fmt
Christopher Ferris05d08e92016-02-04 13:16:38 -0800411};
Christopher Ferris38062f92014-07-09 15:33:25 -0700412enum cop1_sdw_func {
Christopher Ferris106b3a82016-08-24 12:15:38 -0700413/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800414 fadd_op = 0x00,
415 fsub_op = 0x01,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800416 fmul_op = 0x02,
Tao Baod7db5942015-01-28 10:07:51 -0800417 fdiv_op = 0x03,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700418/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800419 fsqrt_op = 0x04,
420 fabs_op = 0x05,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800421 fmov_op = 0x06,
Tao Baod7db5942015-01-28 10:07:51 -0800422 fneg_op = 0x07,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700423/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800424 froundl_op = 0x08,
425 ftruncl_op = 0x09,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800426 fceill_op = 0x0a,
Tao Baod7db5942015-01-28 10:07:51 -0800427 ffloorl_op = 0x0b,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700428/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800429 fround_op = 0x0c,
430 ftrunc_op = 0x0d,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800431 fceil_op = 0x0e,
Tao Baod7db5942015-01-28 10:07:51 -0800432 ffloor_op = 0x0f,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700433/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
434 fsel_op = 0x10,
Tao Baod7db5942015-01-28 10:07:51 -0800435 fmovc_op = 0x11,
436 fmovz_op = 0x12,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800437 fmovn_op = 0x13,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700438/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800439 fseleqz_op = 0x14,
Tao Baod7db5942015-01-28 10:07:51 -0800440 frecip_op = 0x15,
441 frsqrt_op = 0x16,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800442 fselnez_op = 0x17,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700443/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800444 fmaddf_op = 0x18,
445 fmsubf_op = 0x19,
446 frint_op = 0x1a,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800447 fclass_op = 0x1b,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700448/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800449 fmin_op = 0x1c,
450 fmina_op = 0x1d,
451 fmax_op = 0x1e,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800452 fmaxa_op = 0x1f,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700453/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800454 fcvts_op = 0x20,
455 fcvtd_op = 0x21,
Tao Baod7db5942015-01-28 10:07:51 -0800456 fcvte_op = 0x22,
457 fcvtw_op = 0x24,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700458/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800459 fcvtl_op = 0x25,
460 fcmp_op = 0x30
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700461};
Elliott Hughesabd62612013-11-08 11:45:48 -0800462enum cop1x_func {
Christopher Ferris106b3a82016-08-24 12:15:38 -0700463/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800464 lwxc1_op = 0x00,
465 ldxc1_op = 0x01,
Tao Baod7db5942015-01-28 10:07:51 -0800466 swxc1_op = 0x08,
467 sdxc1_op = 0x09,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700468/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800469 pfetch_op = 0x0f,
470 madd_s_op = 0x20,
Tao Baod7db5942015-01-28 10:07:51 -0800471 madd_d_op = 0x21,
472 madd_e_op = 0x22,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700473/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800474 msub_s_op = 0x28,
475 msub_d_op = 0x29,
Tao Baod7db5942015-01-28 10:07:51 -0800476 msub_e_op = 0x2a,
477 nmadd_s_op = 0x30,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700478/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800479 nmadd_d_op = 0x31,
480 nmadd_e_op = 0x32,
Tao Baod7db5942015-01-28 10:07:51 -0800481 nmsub_s_op = 0x38,
482 nmsub_d_op = 0x39,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700483/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800484 nmsub_e_op = 0x3a
Elliott Hughesabd62612013-11-08 11:45:48 -0800485};
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700486enum mad_func {
Tao Baod7db5942015-01-28 10:07:51 -0800487 madd_fp_op = 0x08,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700488/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800489 msub_fp_op = 0x0a,
490 nmadd_fp_op = 0x0c,
Tao Baod7db5942015-01-28 10:07:51 -0800491 nmsub_fp_op = 0x0e
Christopher Ferris106b3a82016-08-24 12:15:38 -0700492};
Christopher Ferris05d08e92016-02-04 13:16:38 -0800493/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris106b3a82016-08-24 12:15:38 -0700494enum ptw_func {
495 lwdir_op = 0x00,
496 lwpte_op = 0x01,
497 lddir_op = 0x02,
498/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
499 ldpte_op = 0x03,
Elliott Hughesabd62612013-11-08 11:45:48 -0800500};
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700501enum lx_func {
Tao Baod7db5942015-01-28 10:07:51 -0800502 lwx_op = 0x00,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800503/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris106b3a82016-08-24 12:15:38 -0700504 lhx_op = 0x04,
Tao Baod7db5942015-01-28 10:07:51 -0800505 lbux_op = 0x06,
506 ldx_op = 0x08,
507 lwux_op = 0x10,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800508/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris106b3a82016-08-24 12:15:38 -0700509 lhux_op = 0x14,
Tao Baod7db5942015-01-28 10:07:51 -0800510 lbx_op = 0x16,
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700511};
512enum bshfl_func {
Christopher Ferris05d08e92016-02-04 13:16:38 -0800513/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris106b3a82016-08-24 12:15:38 -0700514 wsbh_op = 0x2,
Tao Baod7db5942015-01-28 10:07:51 -0800515 dshd_op = 0x5,
516 seb_op = 0x10,
517 seh_op = 0x18,
518/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris106b3a82016-08-24 12:15:38 -0700519};
Christopher Ferris49f525c2016-12-12 14:55:36 -0800520enum msa_func {
521 msa_elm_op = 0x19,
522};
523/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
524enum msa_elm {
525 msa_ctc_op = 0x3e,
526 msa_cfc_op = 0x7e,
527};
528/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800529enum msa_mi10_func {
530 msa_ld_op = 8,
531 msa_st_op = 9,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700532};
Christopher Ferris49f525c2016-12-12 14:55:36 -0800533/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800534enum msa_2b_fmt {
535 msa_fmt_b = 0,
536 msa_fmt_h = 1,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700537 msa_fmt_w = 2,
Christopher Ferris49f525c2016-12-12 14:55:36 -0800538/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800539 msa_fmt_d = 3,
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700540};
Christopher Ferris38062f92014-07-09 15:33:25 -0700541enum mm_major_op {
Christopher Ferris106b3a82016-08-24 12:15:38 -0700542 mm_pool32a_op,
Christopher Ferris49f525c2016-12-12 14:55:36 -0800543/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800544 mm_pool16a_op,
Tao Baod7db5942015-01-28 10:07:51 -0800545 mm_lbu16_op,
546 mm_move16_op,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700547 mm_addi32_op,
Christopher Ferris49f525c2016-12-12 14:55:36 -0800548/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800549 mm_lbu32_op,
Tao Baod7db5942015-01-28 10:07:51 -0800550 mm_sb32_op,
551 mm_lb32_op,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700552 mm_pool32b_op,
Christopher Ferris49f525c2016-12-12 14:55:36 -0800553/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800554 mm_pool16b_op,
Tao Baod7db5942015-01-28 10:07:51 -0800555 mm_lhu16_op,
556 mm_andi16_op,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700557 mm_addiu32_op,
Christopher Ferris49f525c2016-12-12 14:55:36 -0800558/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800559 mm_lhu32_op,
Tao Baod7db5942015-01-28 10:07:51 -0800560 mm_sh32_op,
561 mm_lh32_op,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700562 mm_pool32i_op,
Christopher Ferris49f525c2016-12-12 14:55:36 -0800563/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800564 mm_pool16c_op,
Tao Baod7db5942015-01-28 10:07:51 -0800565 mm_lwsp16_op,
566 mm_pool16d_op,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700567 mm_ori32_op,
Tao Baod7db5942015-01-28 10:07:51 -0800568/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -0800569 mm_pool32f_op,
570 mm_pool32s_op,
571 mm_reserved2_op,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700572 mm_pool32c_op,
Christopher Ferris49f525c2016-12-12 14:55:36 -0800573/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800574 mm_lwgp16_op,
Tao Baod7db5942015-01-28 10:07:51 -0800575 mm_lw16_op,
576 mm_pool16e_op,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700577 mm_xori32_op,
Christopher Ferris49f525c2016-12-12 14:55:36 -0800578/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800579 mm_jals32_op,
Tao Baod7db5942015-01-28 10:07:51 -0800580 mm_addiupc_op,
581 mm_reserved3_op,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700582 mm_reserved4_op,
Christopher Ferris49f525c2016-12-12 14:55:36 -0800583/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800584 mm_pool16f_op,
Tao Baod7db5942015-01-28 10:07:51 -0800585 mm_sb16_op,
586 mm_beqz16_op,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700587 mm_slti32_op,
Christopher Ferris49f525c2016-12-12 14:55:36 -0800588/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800589 mm_beq32_op,
Tao Baod7db5942015-01-28 10:07:51 -0800590 mm_swc132_op,
591 mm_lwc132_op,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700592 mm_reserved5_op,
Christopher Ferris49f525c2016-12-12 14:55:36 -0800593/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800594 mm_reserved6_op,
Tao Baod7db5942015-01-28 10:07:51 -0800595 mm_sh16_op,
596 mm_bnez16_op,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700597 mm_sltiu32_op,
Christopher Ferris49f525c2016-12-12 14:55:36 -0800598/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800599 mm_bne32_op,
Tao Baod7db5942015-01-28 10:07:51 -0800600 mm_sdc132_op,
601 mm_ldc132_op,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700602 mm_reserved7_op,
Christopher Ferris49f525c2016-12-12 14:55:36 -0800603/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800604 mm_reserved8_op,
Tao Baod7db5942015-01-28 10:07:51 -0800605 mm_swsp16_op,
606 mm_b16_op,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700607 mm_andi32_op,
Christopher Ferris49f525c2016-12-12 14:55:36 -0800608/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800609 mm_j32_op,
Tao Baod7db5942015-01-28 10:07:51 -0800610 mm_sd32_op,
611 mm_ld32_op,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700612 mm_reserved11_op,
Christopher Ferris49f525c2016-12-12 14:55:36 -0800613/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800614 mm_reserved12_op,
Tao Baod7db5942015-01-28 10:07:51 -0800615 mm_sw16_op,
616 mm_li16_op,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700617 mm_jalx32_op,
Christopher Ferris49f525c2016-12-12 14:55:36 -0800618/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800619 mm_jal32_op,
Tao Baod7db5942015-01-28 10:07:51 -0800620 mm_sw32_op,
621 mm_lw32_op,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700622};
Christopher Ferris49f525c2016-12-12 14:55:36 -0800623/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800624enum mm_32i_minor_op {
Tao Baod7db5942015-01-28 10:07:51 -0800625 mm_bltz_op,
626 mm_bltzal_op,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700627 mm_bgez_op,
Christopher Ferris49f525c2016-12-12 14:55:36 -0800628/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800629 mm_bgezal_op,
Tao Baod7db5942015-01-28 10:07:51 -0800630 mm_blez_op,
631 mm_bnezc_op,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700632 mm_bgtz_op,
Christopher Ferris49f525c2016-12-12 14:55:36 -0800633/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800634 mm_beqzc_op,
Tao Baod7db5942015-01-28 10:07:51 -0800635 mm_tlti_op,
636 mm_tgei_op,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700637 mm_tltiu_op,
Christopher Ferris49f525c2016-12-12 14:55:36 -0800638/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800639 mm_tgeiu_op,
Tao Baod7db5942015-01-28 10:07:51 -0800640 mm_tnei_op,
641 mm_lui_op,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700642 mm_teqi_op,
Christopher Ferris49f525c2016-12-12 14:55:36 -0800643/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800644 mm_reserved13_op,
Tao Baod7db5942015-01-28 10:07:51 -0800645 mm_synci_op,
646 mm_bltzals_op,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700647 mm_reserved14_op,
Christopher Ferris49f525c2016-12-12 14:55:36 -0800648/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800649 mm_bgezals_op,
Tao Baod7db5942015-01-28 10:07:51 -0800650 mm_bc2f_op,
651 mm_bc2t_op,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700652 mm_reserved15_op,
Christopher Ferris49f525c2016-12-12 14:55:36 -0800653/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800654 mm_reserved16_op,
Tao Baod7db5942015-01-28 10:07:51 -0800655 mm_reserved17_op,
656 mm_reserved18_op,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700657 mm_bposge64_op,
Christopher Ferris49f525c2016-12-12 14:55:36 -0800658/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800659 mm_bposge32_op,
Tao Baod7db5942015-01-28 10:07:51 -0800660 mm_bc1f_op,
661 mm_bc1t_op,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700662 mm_reserved19_op,
Christopher Ferris49f525c2016-12-12 14:55:36 -0800663/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800664 mm_reserved20_op,
Tao Baod7db5942015-01-28 10:07:51 -0800665 mm_bc1any2f_op,
666 mm_bc1any2t_op,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700667 mm_bc1any4f_op,
Christopher Ferris49f525c2016-12-12 14:55:36 -0800668/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800669 mm_bc1any4t_op,
Christopher Ferris38062f92014-07-09 15:33:25 -0700670};
Elliott Hughesabd62612013-11-08 11:45:48 -0800671enum mm_32a_minor_op {
Christopher Ferris106b3a82016-08-24 12:15:38 -0700672 mm_sll32_op = 0x000,
Christopher Ferris49f525c2016-12-12 14:55:36 -0800673/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800674 mm_ins_op = 0x00c,
Tao Baod7db5942015-01-28 10:07:51 -0800675 mm_sllv32_op = 0x010,
676 mm_ext_op = 0x02c,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700677 mm_pool32axf_op = 0x03c,
Christopher Ferris49f525c2016-12-12 14:55:36 -0800678/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800679 mm_srl32_op = 0x040,
Tao Baod7db5942015-01-28 10:07:51 -0800680 mm_sra_op = 0x080,
681 mm_srlv32_op = 0x090,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700682 mm_rotr_op = 0x0c0,
Christopher Ferris49f525c2016-12-12 14:55:36 -0800683/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800684 mm_lwxs_op = 0x118,
Tao Baod7db5942015-01-28 10:07:51 -0800685 mm_addu32_op = 0x150,
686 mm_subu32_op = 0x1d0,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700687 mm_wsbh_op = 0x1ec,
Christopher Ferris49f525c2016-12-12 14:55:36 -0800688/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800689 mm_mul_op = 0x210,
Tao Baod7db5942015-01-28 10:07:51 -0800690 mm_and_op = 0x250,
691 mm_or32_op = 0x290,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700692 mm_xor32_op = 0x310,
Christopher Ferris49f525c2016-12-12 14:55:36 -0800693/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800694 mm_slt_op = 0x350,
Tao Baod7db5942015-01-28 10:07:51 -0800695 mm_sltu_op = 0x390,
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700696};
Christopher Ferris106b3a82016-08-24 12:15:38 -0700697enum mm_32b_func {
Christopher Ferris49f525c2016-12-12 14:55:36 -0800698/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800699 mm_lwc2_func = 0x0,
Tao Baod7db5942015-01-28 10:07:51 -0800700 mm_lwp_func = 0x1,
701 mm_ldc2_func = 0x2,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700702 mm_ldp_func = 0x4,
Christopher Ferris49f525c2016-12-12 14:55:36 -0800703/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800704 mm_lwm32_func = 0x5,
Tao Baod7db5942015-01-28 10:07:51 -0800705 mm_cache_func = 0x6,
706 mm_ldm_func = 0x7,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700707 mm_swc2_func = 0x8,
Christopher Ferris49f525c2016-12-12 14:55:36 -0800708/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800709 mm_swp_func = 0x9,
Tao Baod7db5942015-01-28 10:07:51 -0800710 mm_sdc2_func = 0xa,
711 mm_sdp_func = 0xc,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700712 mm_swm32_func = 0xd,
Christopher Ferris49f525c2016-12-12 14:55:36 -0800713/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800714 mm_sdm_func = 0xf,
Elliott Hughesabd62612013-11-08 11:45:48 -0800715};
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700716enum mm_32c_func {
Christopher Ferris106b3a82016-08-24 12:15:38 -0700717 mm_pref_func = 0x2,
Christopher Ferris49f525c2016-12-12 14:55:36 -0800718/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800719 mm_ll_func = 0x3,
Tao Baod7db5942015-01-28 10:07:51 -0800720 mm_swr_func = 0x9,
721 mm_sc_func = 0xb,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700722 mm_lwu_func = 0xe,
Christopher Ferris49f525c2016-12-12 14:55:36 -0800723/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800724};
Elliott Hughesabd62612013-11-08 11:45:48 -0800725enum mm_32axf_minor_op {
Tao Baod7db5942015-01-28 10:07:51 -0800726 mm_mfc0_op = 0x003,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700727 mm_mtc0_op = 0x00b,
Christopher Ferris49f525c2016-12-12 14:55:36 -0800728/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800729 mm_tlbp_op = 0x00d,
Tao Baod7db5942015-01-28 10:07:51 -0800730 mm_mfhi32_op = 0x035,
731 mm_jalr_op = 0x03c,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700732 mm_tlbr_op = 0x04d,
Christopher Ferris49f525c2016-12-12 14:55:36 -0800733/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris05d08e92016-02-04 13:16:38 -0800734 mm_mflo32_op = 0x075,
Tao Baod7db5942015-01-28 10:07:51 -0800735 mm_jalrhb_op = 0x07c,
736 mm_tlbwi_op = 0x08d,
Christopher Ferris49f525c2016-12-12 14:55:36 -0800737 mm_mthi32_op = 0x0b5,
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700738/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris106b3a82016-08-24 12:15:38 -0700739 mm_tlbwr_op = 0x0cd,
Christopher Ferris49f525c2016-12-12 14:55:36 -0800740 mm_mtlo32_op = 0x0f5,
741 mm_di_op = 0x11d,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800742 mm_jalrs_op = 0x13c,
Christopher Ferris49f525c2016-12-12 14:55:36 -0800743/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800744 mm_jalrshb_op = 0x17c,
745 mm_sync_op = 0x1ad,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700746 mm_syscall_op = 0x22d,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800747 mm_wait_op = 0x24d,
Christopher Ferris49f525c2016-12-12 14:55:36 -0800748/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800749 mm_eret_op = 0x3cd,
750 mm_divu_op = 0x5dc,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700751};
Christopher Ferris05d08e92016-02-04 13:16:38 -0800752enum mm_32f_minor_op {
Christopher Ferris49f525c2016-12-12 14:55:36 -0800753/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800754 mm_32f_00_op = 0x00,
755 mm_32f_01_op = 0x01,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700756 mm_32f_02_op = 0x02,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800757 mm_32f_10_op = 0x08,
Christopher Ferris49f525c2016-12-12 14:55:36 -0800758/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800759 mm_32f_11_op = 0x09,
760 mm_32f_12_op = 0x0a,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700761 mm_32f_20_op = 0x10,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800762 mm_32f_30_op = 0x18,
Christopher Ferris49f525c2016-12-12 14:55:36 -0800763/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800764 mm_32f_40_op = 0x20,
765 mm_32f_41_op = 0x21,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700766 mm_32f_42_op = 0x22,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800767 mm_32f_50_op = 0x28,
Christopher Ferris49f525c2016-12-12 14:55:36 -0800768/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800769 mm_32f_51_op = 0x29,
770 mm_32f_52_op = 0x2a,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700771 mm_32f_60_op = 0x30,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800772 mm_32f_70_op = 0x38,
Christopher Ferris49f525c2016-12-12 14:55:36 -0800773/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800774 mm_32f_73_op = 0x3b,
775 mm_32f_74_op = 0x3c,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700776};
Christopher Ferris05d08e92016-02-04 13:16:38 -0800777enum mm_32f_10_minor_op {
Christopher Ferris49f525c2016-12-12 14:55:36 -0800778/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800779 mm_lwxc1_op = 0x1,
780 mm_swxc1_op,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700781 mm_ldxc1_op,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800782 mm_sdxc1_op,
Christopher Ferris49f525c2016-12-12 14:55:36 -0800783/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800784 mm_luxc1_op,
785 mm_suxc1_op,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700786};
Christopher Ferris05d08e92016-02-04 13:16:38 -0800787enum mm_32f_func {
Christopher Ferris49f525c2016-12-12 14:55:36 -0800788/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800789 mm_lwxc1_func = 0x048,
790 mm_swxc1_func = 0x088,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700791 mm_ldxc1_func = 0x0c8,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800792 mm_sdxc1_func = 0x108,
Christopher Ferris49f525c2016-12-12 14:55:36 -0800793/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Elliott Hughesabd62612013-11-08 11:45:48 -0800794};
795enum mm_32f_40_minor_op {
Christopher Ferris106b3a82016-08-24 12:15:38 -0700796 mm_fmovf_op,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800797 mm_fmovt_op,
Christopher Ferris49f525c2016-12-12 14:55:36 -0800798/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Elliott Hughesabd62612013-11-08 11:45:48 -0800799};
800enum mm_32f_60_minor_op {
Christopher Ferris106b3a82016-08-24 12:15:38 -0700801 mm_fadd_op,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800802 mm_fsub_op,
Christopher Ferris49f525c2016-12-12 14:55:36 -0800803/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800804 mm_fmul_op,
805 mm_fdiv_op,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700806};
Christopher Ferris05d08e92016-02-04 13:16:38 -0800807enum mm_32f_70_minor_op {
Christopher Ferris49f525c2016-12-12 14:55:36 -0800808/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800809 mm_fmovn_op,
810 mm_fmovz_op,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700811};
Christopher Ferris05d08e92016-02-04 13:16:38 -0800812enum mm_32f_73_minor_op {
Christopher Ferris49f525c2016-12-12 14:55:36 -0800813/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800814 mm_fmov0_op = 0x01,
815 mm_fcvtl_op = 0x04,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700816 mm_movf0_op = 0x05,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800817 mm_frsqrt_op = 0x08,
Christopher Ferris49f525c2016-12-12 14:55:36 -0800818/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800819 mm_ffloorl_op = 0x0c,
820 mm_fabs0_op = 0x0d,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700821 mm_fcvtw_op = 0x24,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800822 mm_movt0_op = 0x25,
Christopher Ferris49f525c2016-12-12 14:55:36 -0800823/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800824 mm_fsqrt_op = 0x28,
825 mm_ffloorw_op = 0x2c,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700826 mm_fneg0_op = 0x2d,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800827 mm_cfc1_op = 0x40,
Christopher Ferris49f525c2016-12-12 14:55:36 -0800828/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800829 mm_frecip_op = 0x48,
830 mm_fceill_op = 0x4c,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700831 mm_fcvtd0_op = 0x4d,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800832 mm_ctc1_op = 0x60,
Christopher Ferris49f525c2016-12-12 14:55:36 -0800833/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800834 mm_fceilw_op = 0x6c,
835 mm_fcvts0_op = 0x6d,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700836 mm_mfc1_op = 0x80,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800837 mm_fmov1_op = 0x81,
Christopher Ferris49f525c2016-12-12 14:55:36 -0800838/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800839 mm_movf1_op = 0x85,
840 mm_ftruncl_op = 0x8c,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700841 mm_fabs1_op = 0x8d,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800842 mm_mtc1_op = 0xa0,
Christopher Ferris49f525c2016-12-12 14:55:36 -0800843/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800844 mm_movt1_op = 0xa5,
845 mm_ftruncw_op = 0xac,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700846 mm_fneg1_op = 0xad,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800847 mm_mfhc1_op = 0xc0,
Christopher Ferris49f525c2016-12-12 14:55:36 -0800848/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800849 mm_froundl_op = 0xcc,
850 mm_fcvtd1_op = 0xcd,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700851 mm_mthc1_op = 0xe0,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800852 mm_froundw_op = 0xec,
Christopher Ferris49f525c2016-12-12 14:55:36 -0800853/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800854 mm_fcvts1_op = 0xed,
Elliott Hughesabd62612013-11-08 11:45:48 -0800855};
Christopher Ferris49f525c2016-12-12 14:55:36 -0800856enum mm_32s_minor_op {
857 mm_32s_elm_op = 0x16,
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700858/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -0800859};
Christopher Ferris106b3a82016-08-24 12:15:38 -0700860enum mm_16c_minor_op {
Christopher Ferris05d08e92016-02-04 13:16:38 -0800861 mm_lwm16_op = 0x04,
Tao Baod7db5942015-01-28 10:07:51 -0800862 mm_swm16_op = 0x05,
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700863/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -0800864 mm_jr16_op = 0x0c,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700865 mm_jrc_op = 0x0d,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800866 mm_jalr16_op = 0x0e,
Tao Baod7db5942015-01-28 10:07:51 -0800867 mm_jalrs16_op = 0x0f,
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700868/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -0800869 mm_jraddiusp_op = 0x18,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700870};
Christopher Ferris05d08e92016-02-04 13:16:38 -0800871enum mm_16d_minor_op {
Tao Baod7db5942015-01-28 10:07:51 -0800872 mm_addius5_func,
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700873/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -0800874 mm_addiusp_func,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700875};
Christopher Ferris05d08e92016-02-04 13:16:38 -0800876enum MIPS16e_ops {
Tao Baod7db5942015-01-28 10:07:51 -0800877 MIPS16e_jal_op = 003,
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700878/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -0800879 MIPS16e_ld_op = 007,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700880 MIPS16e_i8_op = 014,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800881 MIPS16e_sd_op = 017,
Tao Baod7db5942015-01-28 10:07:51 -0800882 MIPS16e_lb_op = 020,
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700883/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -0800884 MIPS16e_lh_op = 021,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700885 MIPS16e_lwsp_op = 022,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800886 MIPS16e_lw_op = 023,
Tao Baod7db5942015-01-28 10:07:51 -0800887 MIPS16e_lbu_op = 024,
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700888/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -0800889 MIPS16e_lhu_op = 025,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700890 MIPS16e_lwpc_op = 026,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800891 MIPS16e_lwu_op = 027,
Tao Baod7db5942015-01-28 10:07:51 -0800892 MIPS16e_sb_op = 030,
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700893/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -0800894 MIPS16e_sh_op = 031,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700895 MIPS16e_swsp_op = 032,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800896 MIPS16e_sw_op = 033,
Tao Baod7db5942015-01-28 10:07:51 -0800897 MIPS16e_rr_op = 035,
Tao Baod7db5942015-01-28 10:07:51 -0800898/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -0800899 MIPS16e_extend_op = 036,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700900 MIPS16e_i64_op = 037,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800901};
Elliott Hughesabd62612013-11-08 11:45:48 -0800902enum MIPS16e_i64_func {
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700903/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -0800904 MIPS16e_ldsp_func,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700905 MIPS16e_sdsp_func,
Christopher Ferris05d08e92016-02-04 13:16:38 -0800906 MIPS16e_sdrasp_func,
Tao Baod7db5942015-01-28 10:07:51 -0800907 MIPS16e_dadjsp_func,
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700908/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -0800909 MIPS16e_ldpc_func,
Christopher Ferris106b3a82016-08-24 12:15:38 -0700910};
Christopher Ferris05d08e92016-02-04 13:16:38 -0800911enum MIPS16e_rr_func {
Tao Baod7db5942015-01-28 10:07:51 -0800912 MIPS16e_jr_func,
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700913/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -0800914};
Christopher Ferris106b3a82016-08-24 12:15:38 -0700915enum MIPS6e_i8_func {
Christopher Ferris05d08e92016-02-04 13:16:38 -0800916 MIPS16e_swrasp_func = 02,
Tao Baod7db5942015-01-28 10:07:51 -0800917};
Elliott Hughes8ed7a232014-05-15 12:01:11 -0700918/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -0800919#define MM_NOP16 0x0c00
Christopher Ferris106b3a82016-08-24 12:15:38 -0700920struct j_format {
Christopher Ferris05d08e92016-02-04 13:16:38 -0800921 __BITFIELD_FIELD(unsigned int opcode : 6, __BITFIELD_FIELD(unsigned int target : 26,;
Tao Baod7db5942015-01-28 10:07:51 -0800922 ))
Elliott Hughes8ed7a232014-05-15 12:01:11 -0700923/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -0800924};
Christopher Ferris106b3a82016-08-24 12:15:38 -0700925struct i_format {
Christopher Ferris05d08e92016-02-04 13:16:38 -0800926 __BITFIELD_FIELD(unsigned int opcode : 6, __BITFIELD_FIELD(unsigned int rs : 5, __BITFIELD_FIELD(unsigned int rt : 5, __BITFIELD_FIELD(signed int simmediate : 16,;
Tao Baod7db5942015-01-28 10:07:51 -0800927 ))))
Elliott Hughes8ed7a232014-05-15 12:01:11 -0700928/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -0800929};
Christopher Ferris106b3a82016-08-24 12:15:38 -0700930struct u_format {
Christopher Ferris05d08e92016-02-04 13:16:38 -0800931 __BITFIELD_FIELD(unsigned int opcode : 6, __BITFIELD_FIELD(unsigned int rs : 5, __BITFIELD_FIELD(unsigned int rt : 5, __BITFIELD_FIELD(unsigned int uimmediate : 16,;
Tao Baod7db5942015-01-28 10:07:51 -0800932 ))))
Elliott Hughes8ed7a232014-05-15 12:01:11 -0700933/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -0800934};
Christopher Ferris106b3a82016-08-24 12:15:38 -0700935struct c_format {
Christopher Ferris05d08e92016-02-04 13:16:38 -0800936 __BITFIELD_FIELD(unsigned int opcode : 6, __BITFIELD_FIELD(unsigned int rs : 5, __BITFIELD_FIELD(unsigned int c_op : 3, __BITFIELD_FIELD(unsigned int cache : 2, __BITFIELD_FIELD(unsigned int simmediate : 16,;
Tao Baod7db5942015-01-28 10:07:51 -0800937 )))))
Christopher Ferris106b3a82016-08-24 12:15:38 -0700938/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -0800939};
Elliott Hughesabd62612013-11-08 11:45:48 -0800940struct r_format {
Christopher Ferris05d08e92016-02-04 13:16:38 -0800941 __BITFIELD_FIELD(unsigned int opcode : 6, __BITFIELD_FIELD(unsigned int rs : 5, __BITFIELD_FIELD(unsigned int rt : 5, __BITFIELD_FIELD(unsigned int rd : 5, __BITFIELD_FIELD(unsigned int re : 5, __BITFIELD_FIELD(unsigned int func : 6,;
Tao Baod7db5942015-01-28 10:07:51 -0800942 ))))))
Christopher Ferris106b3a82016-08-24 12:15:38 -0700943/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -0800944};
945struct c0r_format {
946 __BITFIELD_FIELD(unsigned int opcode : 6, __BITFIELD_FIELD(unsigned int rs : 5, __BITFIELD_FIELD(unsigned int rt : 5, __BITFIELD_FIELD(unsigned int rd : 5, __BITFIELD_FIELD(unsigned int z : 8, __BITFIELD_FIELD(unsigned int sel : 3,;
947 ))))))
948/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
949};
950struct mfmc0_format {
951 __BITFIELD_FIELD(unsigned int opcode : 6, __BITFIELD_FIELD(unsigned int rs : 5, __BITFIELD_FIELD(unsigned int rt : 5, __BITFIELD_FIELD(unsigned int rd : 5, __BITFIELD_FIELD(unsigned int re : 5, __BITFIELD_FIELD(unsigned int sc : 1, __BITFIELD_FIELD(unsigned int : 2, __BITFIELD_FIELD(unsigned int sel : 3,;
952 ))))))))
953/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
954};
955struct co_format {
956 __BITFIELD_FIELD(unsigned int opcode : 6, __BITFIELD_FIELD(unsigned int co : 1, __BITFIELD_FIELD(unsigned int code : 19, __BITFIELD_FIELD(unsigned int func : 6,;
957 ))))
958/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
959};
Elliott Hughesabd62612013-11-08 11:45:48 -0800960struct p_format {
Christopher Ferris05d08e92016-02-04 13:16:38 -0800961 __BITFIELD_FIELD(unsigned int opcode : 6, __BITFIELD_FIELD(unsigned int rs : 5, __BITFIELD_FIELD(unsigned int rt : 5, __BITFIELD_FIELD(unsigned int rd : 5, __BITFIELD_FIELD(unsigned int re : 5, __BITFIELD_FIELD(unsigned int func : 6,;
Tao Baod7db5942015-01-28 10:07:51 -0800962 ))))))
Elliott Hughes8ed7a232014-05-15 12:01:11 -0700963/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -0800964};
Christopher Ferris106b3a82016-08-24 12:15:38 -0700965struct f_format {
Christopher Ferris05d08e92016-02-04 13:16:38 -0800966 __BITFIELD_FIELD(unsigned int opcode : 6, __BITFIELD_FIELD(unsigned int : 1, __BITFIELD_FIELD(unsigned int fmt : 4, __BITFIELD_FIELD(unsigned int rt : 5, __BITFIELD_FIELD(unsigned int rd : 5, __BITFIELD_FIELD(unsigned int re : 5, __BITFIELD_FIELD(unsigned int func : 6,;
Tao Baod7db5942015-01-28 10:07:51 -0800967 )))))))
Elliott Hughes8ed7a232014-05-15 12:01:11 -0700968/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -0800969};
Christopher Ferris106b3a82016-08-24 12:15:38 -0700970struct ma_format {
Christopher Ferris05d08e92016-02-04 13:16:38 -0800971 __BITFIELD_FIELD(unsigned int opcode : 6, __BITFIELD_FIELD(unsigned int fr : 5, __BITFIELD_FIELD(unsigned int ft : 5, __BITFIELD_FIELD(unsigned int fs : 5, __BITFIELD_FIELD(unsigned int fd : 5, __BITFIELD_FIELD(unsigned int func : 4, __BITFIELD_FIELD(unsigned int fmt : 2,;
Tao Baod7db5942015-01-28 10:07:51 -0800972 )))))))
Elliott Hughes8ed7a232014-05-15 12:01:11 -0700973/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -0800974};
Christopher Ferris106b3a82016-08-24 12:15:38 -0700975struct b_format {
Christopher Ferris05d08e92016-02-04 13:16:38 -0800976 __BITFIELD_FIELD(unsigned int opcode : 6, __BITFIELD_FIELD(unsigned int code : 20, __BITFIELD_FIELD(unsigned int func : 6,;
Tao Baod7db5942015-01-28 10:07:51 -0800977 )))
Elliott Hughes8ed7a232014-05-15 12:01:11 -0700978/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -0800979};
Christopher Ferris106b3a82016-08-24 12:15:38 -0700980struct ps_format {
Christopher Ferris05d08e92016-02-04 13:16:38 -0800981 __BITFIELD_FIELD(unsigned int opcode : 6, __BITFIELD_FIELD(unsigned int rs : 5, __BITFIELD_FIELD(unsigned int ft : 5, __BITFIELD_FIELD(unsigned int fs : 5, __BITFIELD_FIELD(unsigned int fd : 5, __BITFIELD_FIELD(unsigned int func : 6,;
Tao Baod7db5942015-01-28 10:07:51 -0800982 ))))))
Elliott Hughes8ed7a232014-05-15 12:01:11 -0700983/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -0800984};
Christopher Ferris106b3a82016-08-24 12:15:38 -0700985struct v_format {
Christopher Ferris05d08e92016-02-04 13:16:38 -0800986 __BITFIELD_FIELD(unsigned int opcode : 6, __BITFIELD_FIELD(unsigned int sel : 4, __BITFIELD_FIELD(unsigned int fmt : 1, __BITFIELD_FIELD(unsigned int vt : 5, __BITFIELD_FIELD(unsigned int vs : 5, __BITFIELD_FIELD(unsigned int vd : 5, __BITFIELD_FIELD(unsigned int func : 6,;
Tao Baod7db5942015-01-28 10:07:51 -0800987 )))))))
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700988/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -0800989};
Christopher Ferris106b3a82016-08-24 12:15:38 -0700990struct msa_mi10_format {
Christopher Ferris05d08e92016-02-04 13:16:38 -0800991 __BITFIELD_FIELD(unsigned int opcode : 6, __BITFIELD_FIELD(signed int s10 : 10, __BITFIELD_FIELD(unsigned int rs : 5, __BITFIELD_FIELD(unsigned int wd : 5, __BITFIELD_FIELD(unsigned int func : 4, __BITFIELD_FIELD(unsigned int df : 2,;
992 ))))))
Christopher Ferris05d08e92016-02-04 13:16:38 -0800993/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -0800994};
Christopher Ferris106b3a82016-08-24 12:15:38 -0700995struct spec3_format {
Christopher Ferris05d08e92016-02-04 13:16:38 -0800996 __BITFIELD_FIELD(unsigned int opcode : 6, __BITFIELD_FIELD(unsigned int rs : 5, __BITFIELD_FIELD(unsigned int rt : 5, __BITFIELD_FIELD(signed int simmediate : 9, __BITFIELD_FIELD(unsigned int func : 7,;
Tao Baod7db5942015-01-28 10:07:51 -0800997 )))))
Elliott Hughes8ed7a232014-05-15 12:01:11 -0700998/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -0800999};
Christopher Ferris106b3a82016-08-24 12:15:38 -07001000struct fb_format {
Christopher Ferris05d08e92016-02-04 13:16:38 -08001001 __BITFIELD_FIELD(unsigned int opcode : 6, __BITFIELD_FIELD(unsigned int bc : 5, __BITFIELD_FIELD(unsigned int cc : 3, __BITFIELD_FIELD(unsigned int flag : 2, __BITFIELD_FIELD(signed int simmediate : 16,;
Tao Baod7db5942015-01-28 10:07:51 -08001002 )))))
Elliott Hughes8ed7a232014-05-15 12:01:11 -07001003/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -08001004};
Christopher Ferris106b3a82016-08-24 12:15:38 -07001005struct fp0_format {
Christopher Ferris05d08e92016-02-04 13:16:38 -08001006 __BITFIELD_FIELD(unsigned int opcode : 6, __BITFIELD_FIELD(unsigned int fmt : 5, __BITFIELD_FIELD(unsigned int ft : 5, __BITFIELD_FIELD(unsigned int fs : 5, __BITFIELD_FIELD(unsigned int fd : 5, __BITFIELD_FIELD(unsigned int func : 6,;
Tao Baod7db5942015-01-28 10:07:51 -08001007 ))))))
Elliott Hughes8ed7a232014-05-15 12:01:11 -07001008/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -08001009};
Christopher Ferris106b3a82016-08-24 12:15:38 -07001010struct mm_fp0_format {
Christopher Ferris05d08e92016-02-04 13:16:38 -08001011 __BITFIELD_FIELD(unsigned int opcode : 6, __BITFIELD_FIELD(unsigned int ft : 5, __BITFIELD_FIELD(unsigned int fs : 5, __BITFIELD_FIELD(unsigned int fd : 5, __BITFIELD_FIELD(unsigned int fmt : 3, __BITFIELD_FIELD(unsigned int op : 2, __BITFIELD_FIELD(unsigned int func : 6,;
Tao Baod7db5942015-01-28 10:07:51 -08001012 )))))))
Elliott Hughes8ed7a232014-05-15 12:01:11 -07001013/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -08001014};
Christopher Ferris106b3a82016-08-24 12:15:38 -07001015struct fp1_format {
Christopher Ferris05d08e92016-02-04 13:16:38 -08001016 __BITFIELD_FIELD(unsigned int opcode : 6, __BITFIELD_FIELD(unsigned int op : 5, __BITFIELD_FIELD(unsigned int rt : 5, __BITFIELD_FIELD(unsigned int fs : 5, __BITFIELD_FIELD(unsigned int fd : 5, __BITFIELD_FIELD(unsigned int func : 6,;
Tao Baod7db5942015-01-28 10:07:51 -08001017 ))))))
Elliott Hughes8ed7a232014-05-15 12:01:11 -07001018/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -08001019};
Christopher Ferris106b3a82016-08-24 12:15:38 -07001020struct mm_fp1_format {
Christopher Ferris05d08e92016-02-04 13:16:38 -08001021 __BITFIELD_FIELD(unsigned int opcode : 6, __BITFIELD_FIELD(unsigned int rt : 5, __BITFIELD_FIELD(unsigned int fs : 5, __BITFIELD_FIELD(unsigned int fmt : 2, __BITFIELD_FIELD(unsigned int op : 8, __BITFIELD_FIELD(unsigned int func : 6,;
Tao Baod7db5942015-01-28 10:07:51 -08001022 ))))))
Elliott Hughes8ed7a232014-05-15 12:01:11 -07001023/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -08001024};
Christopher Ferris106b3a82016-08-24 12:15:38 -07001025struct mm_fp2_format {
Christopher Ferris05d08e92016-02-04 13:16:38 -08001026 __BITFIELD_FIELD(unsigned int opcode : 6, __BITFIELD_FIELD(unsigned int fd : 5, __BITFIELD_FIELD(unsigned int fs : 5, __BITFIELD_FIELD(unsigned int cc : 3, __BITFIELD_FIELD(unsigned int zero : 2, __BITFIELD_FIELD(unsigned int fmt : 2, __BITFIELD_FIELD(unsigned int op : 3, __BITFIELD_FIELD(unsigned int func : 6,;
Tao Baod7db5942015-01-28 10:07:51 -08001027 ))))))))
Elliott Hughes8ed7a232014-05-15 12:01:11 -07001028/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -08001029};
Christopher Ferris106b3a82016-08-24 12:15:38 -07001030struct mm_fp3_format {
Christopher Ferris05d08e92016-02-04 13:16:38 -08001031 __BITFIELD_FIELD(unsigned int opcode : 6, __BITFIELD_FIELD(unsigned int rt : 5, __BITFIELD_FIELD(unsigned int fs : 5, __BITFIELD_FIELD(unsigned int fmt : 3, __BITFIELD_FIELD(unsigned int op : 7, __BITFIELD_FIELD(unsigned int func : 6,;
Tao Baod7db5942015-01-28 10:07:51 -08001032 ))))))
Elliott Hughes8ed7a232014-05-15 12:01:11 -07001033/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -08001034};
Christopher Ferris106b3a82016-08-24 12:15:38 -07001035struct mm_fp4_format {
Christopher Ferris05d08e92016-02-04 13:16:38 -08001036 __BITFIELD_FIELD(unsigned int opcode : 6, __BITFIELD_FIELD(unsigned int rt : 5, __BITFIELD_FIELD(unsigned int fs : 5, __BITFIELD_FIELD(unsigned int cc : 3, __BITFIELD_FIELD(unsigned int fmt : 3, __BITFIELD_FIELD(unsigned int cond : 4, __BITFIELD_FIELD(unsigned int func : 6,;
Tao Baod7db5942015-01-28 10:07:51 -08001037 )))))))
Elliott Hughes8ed7a232014-05-15 12:01:11 -07001038/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -08001039};
Christopher Ferris106b3a82016-08-24 12:15:38 -07001040struct mm_fp5_format {
Christopher Ferris05d08e92016-02-04 13:16:38 -08001041 __BITFIELD_FIELD(unsigned int opcode : 6, __BITFIELD_FIELD(unsigned int index : 5, __BITFIELD_FIELD(unsigned int base : 5, __BITFIELD_FIELD(unsigned int fd : 5, __BITFIELD_FIELD(unsigned int op : 5, __BITFIELD_FIELD(unsigned int func : 6,;
Tao Baod7db5942015-01-28 10:07:51 -08001042 ))))))
Elliott Hughes8ed7a232014-05-15 12:01:11 -07001043/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -08001044};
Christopher Ferris106b3a82016-08-24 12:15:38 -07001045struct fp6_format {
Christopher Ferris05d08e92016-02-04 13:16:38 -08001046 __BITFIELD_FIELD(unsigned int opcode : 6, __BITFIELD_FIELD(unsigned int fr : 5, __BITFIELD_FIELD(unsigned int ft : 5, __BITFIELD_FIELD(unsigned int fs : 5, __BITFIELD_FIELD(unsigned int fd : 5, __BITFIELD_FIELD(unsigned int func : 6,;
Tao Baod7db5942015-01-28 10:07:51 -08001047 ))))))
Elliott Hughes8ed7a232014-05-15 12:01:11 -07001048/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -08001049};
Christopher Ferris106b3a82016-08-24 12:15:38 -07001050struct mm_fp6_format {
Christopher Ferris05d08e92016-02-04 13:16:38 -08001051 __BITFIELD_FIELD(unsigned int opcode : 6, __BITFIELD_FIELD(unsigned int ft : 5, __BITFIELD_FIELD(unsigned int fs : 5, __BITFIELD_FIELD(unsigned int fd : 5, __BITFIELD_FIELD(unsigned int fr : 5, __BITFIELD_FIELD(unsigned int func : 6,;
Tao Baod7db5942015-01-28 10:07:51 -08001052 ))))))
Elliott Hughes8ed7a232014-05-15 12:01:11 -07001053/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -08001054};
Christopher Ferris106b3a82016-08-24 12:15:38 -07001055struct mm_i_format {
Christopher Ferris05d08e92016-02-04 13:16:38 -08001056 __BITFIELD_FIELD(unsigned int opcode : 6, __BITFIELD_FIELD(unsigned int rt : 5, __BITFIELD_FIELD(unsigned int rs : 5, __BITFIELD_FIELD(signed int simmediate : 16,;
Tao Baod7db5942015-01-28 10:07:51 -08001057 ))))
Elliott Hughes8ed7a232014-05-15 12:01:11 -07001058/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -08001059};
Christopher Ferris106b3a82016-08-24 12:15:38 -07001060struct mm_m_format {
Christopher Ferris05d08e92016-02-04 13:16:38 -08001061 __BITFIELD_FIELD(unsigned int opcode : 6, __BITFIELD_FIELD(unsigned int rd : 5, __BITFIELD_FIELD(unsigned int base : 5, __BITFIELD_FIELD(unsigned int func : 4, __BITFIELD_FIELD(signed int simmediate : 12,;
Tao Baod7db5942015-01-28 10:07:51 -08001062 )))))
Elliott Hughes8ed7a232014-05-15 12:01:11 -07001063/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -08001064};
Christopher Ferris106b3a82016-08-24 12:15:38 -07001065struct mm_x_format {
Christopher Ferris05d08e92016-02-04 13:16:38 -08001066 __BITFIELD_FIELD(unsigned int opcode : 6, __BITFIELD_FIELD(unsigned int index : 5, __BITFIELD_FIELD(unsigned int base : 5, __BITFIELD_FIELD(unsigned int rd : 5, __BITFIELD_FIELD(unsigned int func : 11,;
Tao Baod7db5942015-01-28 10:07:51 -08001067 )))))
Elliott Hughes8ed7a232014-05-15 12:01:11 -07001068/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -08001069};
Christopher Ferris106b3a82016-08-24 12:15:38 -07001070struct mm_a_format {
1071 __BITFIELD_FIELD(unsigned int opcode : 6, __BITFIELD_FIELD(unsigned int rs : 3, __BITFIELD_FIELD(signed int simmediate : 23,;
1072 )))
Christopher Ferris106b3a82016-08-24 12:15:38 -07001073/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -08001074};
Christopher Ferris106b3a82016-08-24 12:15:38 -07001075struct mm_b0_format {
Christopher Ferris05d08e92016-02-04 13:16:38 -08001076 __BITFIELD_FIELD(unsigned int opcode : 6, __BITFIELD_FIELD(signed int simmediate : 10, __BITFIELD_FIELD(unsigned int : 16,;
Tao Baod7db5942015-01-28 10:07:51 -08001077 )))
Elliott Hughes8ed7a232014-05-15 12:01:11 -07001078/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -08001079};
Christopher Ferris106b3a82016-08-24 12:15:38 -07001080struct mm_b1_format {
Christopher Ferris05d08e92016-02-04 13:16:38 -08001081 __BITFIELD_FIELD(unsigned int opcode : 6, __BITFIELD_FIELD(unsigned int rs : 3, __BITFIELD_FIELD(signed int simmediate : 7, __BITFIELD_FIELD(unsigned int : 16,;
Tao Baod7db5942015-01-28 10:07:51 -08001082 ))))
Elliott Hughes8ed7a232014-05-15 12:01:11 -07001083/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -08001084};
Christopher Ferris106b3a82016-08-24 12:15:38 -07001085struct mm16_m_format {
Christopher Ferris05d08e92016-02-04 13:16:38 -08001086 __BITFIELD_FIELD(unsigned int opcode : 6, __BITFIELD_FIELD(unsigned int func : 4, __BITFIELD_FIELD(unsigned int rlist : 2, __BITFIELD_FIELD(unsigned int imm : 4, __BITFIELD_FIELD(unsigned int : 16,;
Tao Baod7db5942015-01-28 10:07:51 -08001087 )))))
Elliott Hughes8ed7a232014-05-15 12:01:11 -07001088/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -08001089};
Christopher Ferris106b3a82016-08-24 12:15:38 -07001090struct mm16_rb_format {
Christopher Ferris05d08e92016-02-04 13:16:38 -08001091 __BITFIELD_FIELD(unsigned int opcode : 6, __BITFIELD_FIELD(unsigned int rt : 3, __BITFIELD_FIELD(unsigned int base : 3, __BITFIELD_FIELD(signed int simmediate : 4, __BITFIELD_FIELD(unsigned int : 16,;
Tao Baod7db5942015-01-28 10:07:51 -08001092 )))))
Elliott Hughes8ed7a232014-05-15 12:01:11 -07001093/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -08001094};
Christopher Ferris106b3a82016-08-24 12:15:38 -07001095struct mm16_r3_format {
Christopher Ferris05d08e92016-02-04 13:16:38 -08001096 __BITFIELD_FIELD(unsigned int opcode : 6, __BITFIELD_FIELD(unsigned int rt : 3, __BITFIELD_FIELD(signed int simmediate : 7, __BITFIELD_FIELD(unsigned int : 16,;
Tao Baod7db5942015-01-28 10:07:51 -08001097 ))))
Elliott Hughes8ed7a232014-05-15 12:01:11 -07001098/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -08001099};
Christopher Ferris106b3a82016-08-24 12:15:38 -07001100struct mm16_r5_format {
Christopher Ferris05d08e92016-02-04 13:16:38 -08001101 __BITFIELD_FIELD(unsigned int opcode : 6, __BITFIELD_FIELD(unsigned int rt : 5, __BITFIELD_FIELD(signed int simmediate : 5, __BITFIELD_FIELD(unsigned int : 16,;
Tao Baod7db5942015-01-28 10:07:51 -08001102 ))))
Elliott Hughes8ed7a232014-05-15 12:01:11 -07001103/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -08001104};
Christopher Ferris106b3a82016-08-24 12:15:38 -07001105struct m16e_rr {
Christopher Ferris05d08e92016-02-04 13:16:38 -08001106 __BITFIELD_FIELD(unsigned int opcode : 5, __BITFIELD_FIELD(unsigned int rx : 3, __BITFIELD_FIELD(unsigned int nd : 1, __BITFIELD_FIELD(unsigned int l : 1, __BITFIELD_FIELD(unsigned int ra : 1, __BITFIELD_FIELD(unsigned int func : 5,;
Tao Baod7db5942015-01-28 10:07:51 -08001107 ))))))
Elliott Hughes8ed7a232014-05-15 12:01:11 -07001108/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -08001109};
Christopher Ferris106b3a82016-08-24 12:15:38 -07001110struct m16e_jal {
Christopher Ferris05d08e92016-02-04 13:16:38 -08001111 __BITFIELD_FIELD(unsigned int opcode : 5, __BITFIELD_FIELD(unsigned int x : 1, __BITFIELD_FIELD(unsigned int imm20_16 : 5, __BITFIELD_FIELD(signed int imm25_21 : 5,;
Tao Baod7db5942015-01-28 10:07:51 -08001112 ))))
Elliott Hughes8ed7a232014-05-15 12:01:11 -07001113/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -08001114};
Christopher Ferris106b3a82016-08-24 12:15:38 -07001115struct m16e_i64 {
Christopher Ferris05d08e92016-02-04 13:16:38 -08001116 __BITFIELD_FIELD(unsigned int opcode : 5, __BITFIELD_FIELD(unsigned int func : 3, __BITFIELD_FIELD(unsigned int imm : 8,;
Tao Baod7db5942015-01-28 10:07:51 -08001117 )))
Elliott Hughes8ed7a232014-05-15 12:01:11 -07001118/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -08001119};
Christopher Ferris106b3a82016-08-24 12:15:38 -07001120struct m16e_ri64 {
Christopher Ferris05d08e92016-02-04 13:16:38 -08001121 __BITFIELD_FIELD(unsigned int opcode : 5, __BITFIELD_FIELD(unsigned int func : 3, __BITFIELD_FIELD(unsigned int ry : 3, __BITFIELD_FIELD(unsigned int imm : 5,;
Tao Baod7db5942015-01-28 10:07:51 -08001122 ))))
Elliott Hughes8ed7a232014-05-15 12:01:11 -07001123/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -08001124};
Christopher Ferris106b3a82016-08-24 12:15:38 -07001125struct m16e_ri {
Christopher Ferris05d08e92016-02-04 13:16:38 -08001126 __BITFIELD_FIELD(unsigned int opcode : 5, __BITFIELD_FIELD(unsigned int rx : 3, __BITFIELD_FIELD(unsigned int imm : 8,;
Tao Baod7db5942015-01-28 10:07:51 -08001127 )))
Elliott Hughes8ed7a232014-05-15 12:01:11 -07001128/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -08001129};
Christopher Ferris106b3a82016-08-24 12:15:38 -07001130struct m16e_rri {
Christopher Ferris05d08e92016-02-04 13:16:38 -08001131 __BITFIELD_FIELD(unsigned int opcode : 5, __BITFIELD_FIELD(unsigned int rx : 3, __BITFIELD_FIELD(unsigned int ry : 3, __BITFIELD_FIELD(unsigned int imm : 5,;
Tao Baod7db5942015-01-28 10:07:51 -08001132 ))))
Elliott Hughes8ed7a232014-05-15 12:01:11 -07001133/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -08001134};
Christopher Ferris106b3a82016-08-24 12:15:38 -07001135struct m16e_i8 {
Christopher Ferris05d08e92016-02-04 13:16:38 -08001136 __BITFIELD_FIELD(unsigned int opcode : 5, __BITFIELD_FIELD(unsigned int func : 3, __BITFIELD_FIELD(unsigned int imm : 8,;
Tao Baod7db5942015-01-28 10:07:51 -08001137 )))
Elliott Hughes8ed7a232014-05-15 12:01:11 -07001138/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -08001139};
Christopher Ferris106b3a82016-08-24 12:15:38 -07001140union mips_instruction {
Christopher Ferris05d08e92016-02-04 13:16:38 -08001141 unsigned int word;
Tao Baod7db5942015-01-28 10:07:51 -08001142 unsigned short halfword[2];
Elliott Hughes8ed7a232014-05-15 12:01:11 -07001143/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -08001144 unsigned char byte[4];
Christopher Ferris106b3a82016-08-24 12:15:38 -07001145 struct j_format j_format;
Christopher Ferris05d08e92016-02-04 13:16:38 -08001146 struct i_format i_format;
Tao Baod7db5942015-01-28 10:07:51 -08001147 struct u_format u_format;
Elliott Hughes8ed7a232014-05-15 12:01:11 -07001148/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris49f525c2016-12-12 14:55:36 -08001149 struct c_format c_format;
Christopher Ferris106b3a82016-08-24 12:15:38 -07001150 struct r_format r_format;
Christopher Ferris49f525c2016-12-12 14:55:36 -08001151 struct c0r_format c0r_format;
1152 struct mfmc0_format mfmc0_format;
1153/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1154 struct co_format co_format;
Christopher Ferris05d08e92016-02-04 13:16:38 -08001155 struct p_format p_format;
Tao Baod7db5942015-01-28 10:07:51 -08001156 struct f_format f_format;
1157 struct ma_format ma_format;
Christopher Ferris05d08e92016-02-04 13:16:38 -08001158/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris106b3a82016-08-24 12:15:38 -07001159 struct msa_mi10_format msa_mi10_format;
Tao Baod7db5942015-01-28 10:07:51 -08001160 struct b_format b_format;
1161 struct ps_format ps_format;
Tao Baod7db5942015-01-28 10:07:51 -08001162 struct v_format v_format;
Christopher Ferris05d08e92016-02-04 13:16:38 -08001163/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris106b3a82016-08-24 12:15:38 -07001164 struct spec3_format spec3_format;
Tao Baod7db5942015-01-28 10:07:51 -08001165 struct fb_format fb_format;
1166 struct fp0_format fp0_format;
Tao Baod7db5942015-01-28 10:07:51 -08001167 struct mm_fp0_format mm_fp0_format;
Christopher Ferris05d08e92016-02-04 13:16:38 -08001168/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris106b3a82016-08-24 12:15:38 -07001169 struct fp1_format fp1_format;
Tao Baod7db5942015-01-28 10:07:51 -08001170 struct mm_fp1_format mm_fp1_format;
1171 struct mm_fp2_format mm_fp2_format;
Tao Baod7db5942015-01-28 10:07:51 -08001172 struct mm_fp3_format mm_fp3_format;
Christopher Ferris05d08e92016-02-04 13:16:38 -08001173/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris106b3a82016-08-24 12:15:38 -07001174 struct mm_fp4_format mm_fp4_format;
Tao Baod7db5942015-01-28 10:07:51 -08001175 struct mm_fp5_format mm_fp5_format;
1176 struct fp6_format fp6_format;
Tao Baod7db5942015-01-28 10:07:51 -08001177 struct mm_fp6_format mm_fp6_format;
Christopher Ferris05d08e92016-02-04 13:16:38 -08001178/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris106b3a82016-08-24 12:15:38 -07001179 struct mm_i_format mm_i_format;
Tao Baod7db5942015-01-28 10:07:51 -08001180 struct mm_m_format mm_m_format;
1181 struct mm_x_format mm_x_format;
Christopher Ferris106b3a82016-08-24 12:15:38 -07001182 struct mm_a_format mm_a_format;
1183/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -08001184 struct mm_b0_format mm_b0_format;
1185 struct mm_b1_format mm_b1_format;
1186 struct mm16_m_format mm16_m_format;
1187 struct mm16_rb_format mm16_rb_format;
Christopher Ferris106b3a82016-08-24 12:15:38 -07001188/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -08001189 struct mm16_r3_format mm16_r3_format;
1190 struct mm16_r5_format mm16_r5_format;
Elliott Hughesabd62612013-11-08 11:45:48 -08001191};
1192union mips16e_instruction {
Christopher Ferris106b3a82016-08-24 12:15:38 -07001193/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -08001194 unsigned int full : 16;
1195 struct m16e_rr rr;
1196 struct m16e_jal jal;
1197 struct m16e_i64 i64;
Christopher Ferris106b3a82016-08-24 12:15:38 -07001198/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -08001199 struct m16e_ri64 ri64;
1200 struct m16e_ri ri;
1201 struct m16e_rri rri;
1202 struct m16e_i8 i8;
Christopher Ferris106b3a82016-08-24 12:15:38 -07001203/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Elliott Hughesabd62612013-11-08 11:45:48 -08001204};
1205#endif