inst.h revision ba8d4f460b51161eb82cf1006cb34a3cc1389f47
1/**************************************************************************** 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 21#include <asm/bitfield.h> 22enum major_op { 23/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 24 spec_op, bcond_op, j_op, jal_op, 25 beq_op, bne_op, blez_op, bgtz_op, 26 addi_op, addiu_op, slti_op, sltiu_op, 27 andi_op, ori_op, xori_op, lui_op, 28/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 29 cop0_op, cop1_op, cop2_op, cop1x_op, 30 beql_op, bnel_op, blezl_op, bgtzl_op, 31 daddi_op, daddiu_op, ldl_op, ldr_op, 32 spec2_op, jalx_op, mdmx_op, spec3_op, 33/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 34 lb_op, lh_op, lwl_op, lw_op, 35 lbu_op, lhu_op, lwr_op, lwu_op, 36 sb_op, sh_op, swl_op, sw_op, 37 sdl_op, sdr_op, swr_op, cache_op, 38/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 39 ll_op, lwc1_op, lwc2_op, pref_op, 40 lld_op, ldc1_op, ldc2_op, ld_op, 41 sc_op, swc1_op, swc2_op, major_3b_op, 42 scd_op, sdc1_op, sdc2_op, sd_op 43/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 44}; 45enum spec_op { 46 sll_op, movc_op, srl_op, sra_op, 47 sllv_op, pmon_op, srlv_op, srav_op, 48/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 49 jr_op, jalr_op, movz_op, movn_op, 50 syscall_op, break_op, spim_op, sync_op, 51 mfhi_op, mthi_op, mflo_op, mtlo_op, 52 dsllv_op, spec2_unused_op, dsrlv_op, dsrav_op, 53/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 54 mult_op, multu_op, div_op, divu_op, 55 dmult_op, dmultu_op, ddiv_op, ddivu_op, 56 add_op, addu_op, sub_op, subu_op, 57 and_op, or_op, xor_op, nor_op, 58/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 59 spec3_unused_op, spec4_unused_op, slt_op, sltu_op, 60 dadd_op, daddu_op, dsub_op, dsubu_op, 61 tge_op, tgeu_op, tlt_op, tltu_op, 62 teq_op, spec5_unused_op, tne_op, spec6_unused_op, 63/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 64 dsll_op, spec7_unused_op, dsrl_op, dsra_op, 65 dsll32_op, spec8_unused_op, dsrl32_op, dsra32_op 66}; 67enum spec2_op { 68/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 69 madd_op, maddu_op, mul_op, spec2_3_unused_op, 70 msub_op, msubu_op, 71 clz_op = 0x20, clo_op, 72 dclz_op = 0x24, dclo_op, 73/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 74 sdbpp_op = 0x3f 75}; 76enum spec3_op { 77 ext_op, dextm_op, dextu_op, dext_op, 78/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 79 ins_op, dinsm_op, dinsu_op, dins_op, 80 yield_op = 0x09, lx_op = 0x0a, 81 lwle_op = 0x19, lwre_op = 0x1a, 82 cachee_op = 0x1b, sbe_op = 0x1c, 83/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 84 she_op = 0x1d, sce_op = 0x1e, 85 swe_op = 0x1f, bshfl_op = 0x20, 86 swle_op = 0x21, swre_op = 0x22, 87 prefe_op = 0x23, dbshfl_op = 0x24, 88/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 89 lbue_op = 0x28, lhue_op = 0x29, 90 lbe_op = 0x2c, lhe_op = 0x2d, 91 lle_op = 0x2e, lwe_op = 0x2f, 92 rdhwr_op = 0x3b 93/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 94}; 95enum rt_op { 96 bltz_op, bgez_op, bltzl_op, bgezl_op, 97 spimi_op, unused_rt_op_0x05, unused_rt_op_0x06, unused_rt_op_0x07, 98/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 99 tgei_op, tgeiu_op, tlti_op, tltiu_op, 100 teqi_op, unused_0x0d_rt_op, tnei_op, unused_0x0f_rt_op, 101 bltzal_op, bgezal_op, bltzall_op, bgezall_op, 102 rt_op_0x14, rt_op_0x15, rt_op_0x16, rt_op_0x17, 103/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 104 rt_op_0x18, rt_op_0x19, rt_op_0x1a, rt_op_0x1b, 105 bposge32_op, rt_op_0x1d, rt_op_0x1e, rt_op_0x1f 106}; 107enum cop_op { 108/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 109 mfc_op = 0x00, dmfc_op = 0x01, 110 cfc_op = 0x02, mfhc_op = 0x03, 111 mtc_op = 0x04, dmtc_op = 0x05, 112 ctc_op = 0x06, mthc_op = 0x07, 113/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 114 bc_op = 0x08, cop_op = 0x10, 115 copm_op = 0x18 116}; 117enum bcop_op { 118/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 119 bcf_op, bct_op, bcfl_op, bctl_op 120}; 121enum cop0_coi_func { 122 tlbr_op = 0x01, tlbwi_op = 0x02, 123/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 124 tlbwr_op = 0x06, tlbp_op = 0x08, 125 rfe_op = 0x10, eret_op = 0x18, 126 wait_op = 0x20, 127}; 128/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 129enum cop0_com_func { 130 tlbr1_op = 0x01, tlbw_op = 0x02, 131 tlbp1_op = 0x08, dctr_op = 0x09, 132 dctw_op = 0x0a 133/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 134}; 135enum cop1_fmt { 136 s_fmt, d_fmt, e_fmt, q_fmt, 137 w_fmt, l_fmt 138/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 139}; 140enum cop1_sdw_func { 141 fadd_op = 0x00, fsub_op = 0x01, 142 fmul_op = 0x02, fdiv_op = 0x03, 143/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 144 fsqrt_op = 0x04, fabs_op = 0x05, 145 fmov_op = 0x06, fneg_op = 0x07, 146 froundl_op = 0x08, ftruncl_op = 0x09, 147 fceill_op = 0x0a, ffloorl_op = 0x0b, 148/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 149 fround_op = 0x0c, ftrunc_op = 0x0d, 150 fceil_op = 0x0e, ffloor_op = 0x0f, 151 fmovc_op = 0x11, fmovz_op = 0x12, 152 fmovn_op = 0x13, frecip_op = 0x15, 153/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 154 frsqrt_op = 0x16, fcvts_op = 0x20, 155 fcvtd_op = 0x21, fcvte_op = 0x22, 156 fcvtw_op = 0x24, fcvtl_op = 0x25, 157 fcmp_op = 0x30 158/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 159}; 160enum cop1x_func { 161 lwxc1_op = 0x00, ldxc1_op = 0x01, 162 swxc1_op = 0x08, sdxc1_op = 0x09, 163/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 164 pfetch_op = 0x0f, madd_s_op = 0x20, 165 madd_d_op = 0x21, madd_e_op = 0x22, 166 msub_s_op = 0x28, msub_d_op = 0x29, 167 msub_e_op = 0x2a, nmadd_s_op = 0x30, 168/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 169 nmadd_d_op = 0x31, nmadd_e_op = 0x32, 170 nmsub_s_op = 0x38, nmsub_d_op = 0x39, 171 nmsub_e_op = 0x3a 172}; 173/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 174enum mad_func { 175 madd_fp_op = 0x08, msub_fp_op = 0x0a, 176 nmadd_fp_op = 0x0c, nmsub_fp_op = 0x0e 177}; 178/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 179enum lx_func { 180 lwx_op = 0x00, 181 lhx_op = 0x04, 182 lbux_op = 0x06, 183/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 184 ldx_op = 0x08, 185 lwux_op = 0x10, 186 lhux_op = 0x14, 187 lbx_op = 0x16, 188/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 189}; 190enum bshfl_func { 191 wsbh_op = 0x2, 192 dshd_op = 0x5, 193/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 194 seb_op = 0x10, 195 seh_op = 0x18, 196}; 197enum mm_major_op { 198/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 199 mm_pool32a_op, mm_pool16a_op, mm_lbu16_op, mm_move16_op, 200 mm_addi32_op, mm_lbu32_op, mm_sb32_op, mm_lb32_op, 201 mm_pool32b_op, mm_pool16b_op, mm_lhu16_op, mm_andi16_op, 202 mm_addiu32_op, mm_lhu32_op, mm_sh32_op, mm_lh32_op, 203/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 204 mm_pool32i_op, mm_pool16c_op, mm_lwsp16_op, mm_pool16d_op, 205 mm_ori32_op, mm_pool32f_op, mm_reserved1_op, mm_reserved2_op, 206 mm_pool32c_op, mm_lwgp16_op, mm_lw16_op, mm_pool16e_op, 207 mm_xori32_op, mm_jals32_op, mm_addiupc_op, mm_reserved3_op, 208/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 209 mm_reserved4_op, mm_pool16f_op, mm_sb16_op, mm_beqz16_op, 210 mm_slti32_op, mm_beq32_op, mm_swc132_op, mm_lwc132_op, 211 mm_reserved5_op, mm_reserved6_op, mm_sh16_op, mm_bnez16_op, 212 mm_sltiu32_op, mm_bne32_op, mm_sdc132_op, mm_ldc132_op, 213/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 214 mm_reserved7_op, mm_reserved8_op, mm_swsp16_op, mm_b16_op, 215 mm_andi32_op, mm_j32_op, mm_sd32_op, mm_ld32_op, 216 mm_reserved11_op, mm_reserved12_op, mm_sw16_op, mm_li16_op, 217 mm_jalx32_op, mm_jal32_op, mm_sw32_op, mm_lw32_op, 218/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 219}; 220enum mm_32i_minor_op { 221 mm_bltz_op, mm_bltzal_op, mm_bgez_op, mm_bgezal_op, 222 mm_blez_op, mm_bnezc_op, mm_bgtz_op, mm_beqzc_op, 223/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 224 mm_tlti_op, mm_tgei_op, mm_tltiu_op, mm_tgeiu_op, 225 mm_tnei_op, mm_lui_op, mm_teqi_op, mm_reserved13_op, 226 mm_synci_op, mm_bltzals_op, mm_reserved14_op, mm_bgezals_op, 227 mm_bc2f_op, mm_bc2t_op, mm_reserved15_op, mm_reserved16_op, 228/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 229 mm_reserved17_op, mm_reserved18_op, mm_bposge64_op, mm_bposge32_op, 230 mm_bc1f_op, mm_bc1t_op, mm_reserved19_op, mm_reserved20_op, 231 mm_bc1any2f_op, mm_bc1any2t_op, mm_bc1any4f_op, mm_bc1any4t_op, 232}; 233/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 234enum mm_32a_minor_op { 235 mm_sll32_op = 0x000, 236 mm_ins_op = 0x00c, 237 mm_sllv32_op = 0x010, 238/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 239 mm_ext_op = 0x02c, 240 mm_pool32axf_op = 0x03c, 241 mm_srl32_op = 0x040, 242 mm_sra_op = 0x080, 243/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 244 mm_srlv32_op = 0x090, 245 mm_rotr_op = 0x0c0, 246 mm_lwxs_op = 0x118, 247 mm_addu32_op = 0x150, 248/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 249 mm_subu32_op = 0x1d0, 250 mm_wsbh_op = 0x1ec, 251 mm_mul_op = 0x210, 252 mm_and_op = 0x250, 253/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 254 mm_or32_op = 0x290, 255 mm_xor32_op = 0x310, 256 mm_slt_op = 0x350, 257 mm_sltu_op = 0x390, 258/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 259}; 260enum mm_32b_func { 261 mm_lwc2_func = 0x0, 262 mm_lwp_func = 0x1, 263/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 264 mm_ldc2_func = 0x2, 265 mm_ldp_func = 0x4, 266 mm_lwm32_func = 0x5, 267 mm_cache_func = 0x6, 268/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 269 mm_ldm_func = 0x7, 270 mm_swc2_func = 0x8, 271 mm_swp_func = 0x9, 272 mm_sdc2_func = 0xa, 273/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 274 mm_sdp_func = 0xc, 275 mm_swm32_func = 0xd, 276 mm_sdm_func = 0xf, 277}; 278/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 279enum mm_32c_func { 280 mm_pref_func = 0x2, 281 mm_ll_func = 0x3, 282 mm_swr_func = 0x9, 283/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 284 mm_sc_func = 0xb, 285 mm_lwu_func = 0xe, 286}; 287enum mm_32axf_minor_op { 288/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 289 mm_mfc0_op = 0x003, 290 mm_mtc0_op = 0x00b, 291 mm_tlbp_op = 0x00d, 292 mm_mfhi32_op = 0x035, 293/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 294 mm_jalr_op = 0x03c, 295 mm_tlbr_op = 0x04d, 296 mm_mflo32_op = 0x075, 297 mm_jalrhb_op = 0x07c, 298/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 299 mm_tlbwi_op = 0x08d, 300 mm_tlbwr_op = 0x0cd, 301 mm_jalrs_op = 0x13c, 302 mm_jalrshb_op = 0x17c, 303/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 304 mm_sync_op = 0x1ad, 305 mm_syscall_op = 0x22d, 306 mm_wait_op = 0x24d, 307 mm_eret_op = 0x3cd, 308/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 309 mm_divu_op = 0x5dc, 310}; 311enum mm_32f_minor_op { 312 mm_32f_00_op = 0x00, 313/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 314 mm_32f_01_op = 0x01, 315 mm_32f_02_op = 0x02, 316 mm_32f_10_op = 0x08, 317 mm_32f_11_op = 0x09, 318/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 319 mm_32f_12_op = 0x0a, 320 mm_32f_20_op = 0x10, 321 mm_32f_30_op = 0x18, 322 mm_32f_40_op = 0x20, 323/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 324 mm_32f_41_op = 0x21, 325 mm_32f_42_op = 0x22, 326 mm_32f_50_op = 0x28, 327 mm_32f_51_op = 0x29, 328/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 329 mm_32f_52_op = 0x2a, 330 mm_32f_60_op = 0x30, 331 mm_32f_70_op = 0x38, 332 mm_32f_73_op = 0x3b, 333/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 334 mm_32f_74_op = 0x3c, 335}; 336enum mm_32f_10_minor_op { 337 mm_lwxc1_op = 0x1, 338/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 339 mm_swxc1_op, 340 mm_ldxc1_op, 341 mm_sdxc1_op, 342 mm_luxc1_op, 343/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 344 mm_suxc1_op, 345}; 346enum mm_32f_func { 347 mm_lwxc1_func = 0x048, 348/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 349 mm_swxc1_func = 0x088, 350 mm_ldxc1_func = 0x0c8, 351 mm_sdxc1_func = 0x108, 352}; 353/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 354enum mm_32f_40_minor_op { 355 mm_fmovf_op, 356 mm_fmovt_op, 357}; 358/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 359enum mm_32f_60_minor_op { 360 mm_fadd_op, 361 mm_fsub_op, 362 mm_fmul_op, 363/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 364 mm_fdiv_op, 365}; 366enum mm_32f_70_minor_op { 367 mm_fmovn_op, 368/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 369 mm_fmovz_op, 370}; 371enum mm_32f_73_minor_op { 372 mm_fmov0_op = 0x01, 373/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 374 mm_fcvtl_op = 0x04, 375 mm_movf0_op = 0x05, 376 mm_frsqrt_op = 0x08, 377 mm_ffloorl_op = 0x0c, 378/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 379 mm_fabs0_op = 0x0d, 380 mm_fcvtw_op = 0x24, 381 mm_movt0_op = 0x25, 382 mm_fsqrt_op = 0x28, 383/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 384 mm_ffloorw_op = 0x2c, 385 mm_fneg0_op = 0x2d, 386 mm_cfc1_op = 0x40, 387 mm_frecip_op = 0x48, 388/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 389 mm_fceill_op = 0x4c, 390 mm_fcvtd0_op = 0x4d, 391 mm_ctc1_op = 0x60, 392 mm_fceilw_op = 0x6c, 393/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 394 mm_fcvts0_op = 0x6d, 395 mm_mfc1_op = 0x80, 396 mm_fmov1_op = 0x81, 397 mm_movf1_op = 0x85, 398/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 399 mm_ftruncl_op = 0x8c, 400 mm_fabs1_op = 0x8d, 401 mm_mtc1_op = 0xa0, 402 mm_movt1_op = 0xa5, 403/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 404 mm_ftruncw_op = 0xac, 405 mm_fneg1_op = 0xad, 406 mm_mfhc1_op = 0xc0, 407 mm_froundl_op = 0xcc, 408/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 409 mm_fcvtd1_op = 0xcd, 410 mm_mthc1_op = 0xe0, 411 mm_froundw_op = 0xec, 412 mm_fcvts1_op = 0xed, 413/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 414}; 415enum mm_16c_minor_op { 416 mm_lwm16_op = 0x04, 417 mm_swm16_op = 0x05, 418/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 419 mm_jr16_op = 0x0c, 420 mm_jrc_op = 0x0d, 421 mm_jalr16_op = 0x0e, 422 mm_jalrs16_op = 0x0f, 423/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 424 mm_jraddiusp_op = 0x18, 425}; 426enum mm_16d_minor_op { 427 mm_addius5_func, 428/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 429 mm_addiusp_func, 430}; 431enum MIPS16e_ops { 432 MIPS16e_jal_op = 003, 433/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 434 MIPS16e_ld_op = 007, 435 MIPS16e_i8_op = 014, 436 MIPS16e_sd_op = 017, 437 MIPS16e_lb_op = 020, 438/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 439 MIPS16e_lh_op = 021, 440 MIPS16e_lwsp_op = 022, 441 MIPS16e_lw_op = 023, 442 MIPS16e_lbu_op = 024, 443/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 444 MIPS16e_lhu_op = 025, 445 MIPS16e_lwpc_op = 026, 446 MIPS16e_lwu_op = 027, 447 MIPS16e_sb_op = 030, 448/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 449 MIPS16e_sh_op = 031, 450 MIPS16e_swsp_op = 032, 451 MIPS16e_sw_op = 033, 452 MIPS16e_rr_op = 035, 453/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 454 MIPS16e_extend_op = 036, 455 MIPS16e_i64_op = 037, 456}; 457enum MIPS16e_i64_func { 458/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 459 MIPS16e_ldsp_func, 460 MIPS16e_sdsp_func, 461 MIPS16e_sdrasp_func, 462 MIPS16e_dadjsp_func, 463/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 464 MIPS16e_ldpc_func, 465}; 466enum MIPS16e_rr_func { 467 MIPS16e_jr_func, 468/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 469}; 470enum MIPS6e_i8_func { 471 MIPS16e_swrasp_func = 02, 472}; 473/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 474#define MM_NOP16 0x0c00 475struct j_format { 476 __BITFIELD_FIELD(unsigned int opcode : 6, 477 __BITFIELD_FIELD(unsigned int target : 26, 478/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 479 ;)) 480}; 481struct i_format { 482 __BITFIELD_FIELD(unsigned int opcode : 6, 483/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 484 __BITFIELD_FIELD(unsigned int rs : 5, 485 __BITFIELD_FIELD(unsigned int rt : 5, 486 __BITFIELD_FIELD(signed int simmediate : 16, 487 ;)))) 488/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 489}; 490struct u_format { 491 __BITFIELD_FIELD(unsigned int opcode : 6, 492 __BITFIELD_FIELD(unsigned int rs : 5, 493/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 494 __BITFIELD_FIELD(unsigned int rt : 5, 495 __BITFIELD_FIELD(unsigned int uimmediate : 16, 496 ;)))) 497}; 498/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 499struct c_format { 500 __BITFIELD_FIELD(unsigned int opcode : 6, 501 __BITFIELD_FIELD(unsigned int rs : 5, 502 __BITFIELD_FIELD(unsigned int c_op : 3, 503/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 504 __BITFIELD_FIELD(unsigned int cache : 2, 505 __BITFIELD_FIELD(unsigned int simmediate : 16, 506 ;))))) 507}; 508/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 509struct r_format { 510 __BITFIELD_FIELD(unsigned int opcode : 6, 511 __BITFIELD_FIELD(unsigned int rs : 5, 512 __BITFIELD_FIELD(unsigned int rt : 5, 513/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 514 __BITFIELD_FIELD(unsigned int rd : 5, 515 __BITFIELD_FIELD(unsigned int re : 5, 516 __BITFIELD_FIELD(unsigned int func : 6, 517 ;)))))) 518/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 519}; 520struct p_format { 521 __BITFIELD_FIELD(unsigned int opcode : 6, 522 __BITFIELD_FIELD(unsigned int rs : 5, 523/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 524 __BITFIELD_FIELD(unsigned int rt : 5, 525 __BITFIELD_FIELD(unsigned int rd : 5, 526 __BITFIELD_FIELD(unsigned int re : 5, 527 __BITFIELD_FIELD(unsigned int func : 6, 528/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 529 ;)))))) 530}; 531struct f_format { 532 __BITFIELD_FIELD(unsigned int opcode : 6, 533/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 534 __BITFIELD_FIELD(unsigned int : 1, 535 __BITFIELD_FIELD(unsigned int fmt : 4, 536 __BITFIELD_FIELD(unsigned int rt : 5, 537 __BITFIELD_FIELD(unsigned int rd : 5, 538/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 539 __BITFIELD_FIELD(unsigned int re : 5, 540 __BITFIELD_FIELD(unsigned int func : 6, 541 ;))))))) 542}; 543/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 544struct ma_format { 545 __BITFIELD_FIELD(unsigned int opcode : 6, 546 __BITFIELD_FIELD(unsigned int fr : 5, 547 __BITFIELD_FIELD(unsigned int ft : 5, 548/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 549 __BITFIELD_FIELD(unsigned int fs : 5, 550 __BITFIELD_FIELD(unsigned int fd : 5, 551 __BITFIELD_FIELD(unsigned int func : 4, 552 __BITFIELD_FIELD(unsigned int fmt : 2, 553/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 554 ;))))))) 555}; 556struct b_format { 557 __BITFIELD_FIELD(unsigned int opcode : 6, 558/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 559 __BITFIELD_FIELD(unsigned int code : 20, 560 __BITFIELD_FIELD(unsigned int func : 6, 561 ;))) 562}; 563/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 564struct ps_format { 565 __BITFIELD_FIELD(unsigned int opcode : 6, 566 __BITFIELD_FIELD(unsigned int rs : 5, 567 __BITFIELD_FIELD(unsigned int ft : 5, 568/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 569 __BITFIELD_FIELD(unsigned int fs : 5, 570 __BITFIELD_FIELD(unsigned int fd : 5, 571 __BITFIELD_FIELD(unsigned int func : 6, 572 ;)))))) 573/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 574}; 575struct v_format { 576 __BITFIELD_FIELD(unsigned int opcode : 6, 577 __BITFIELD_FIELD(unsigned int sel : 4, 578/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 579 __BITFIELD_FIELD(unsigned int fmt : 1, 580 __BITFIELD_FIELD(unsigned int vt : 5, 581 __BITFIELD_FIELD(unsigned int vs : 5, 582 __BITFIELD_FIELD(unsigned int vd : 5, 583/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 584 __BITFIELD_FIELD(unsigned int func : 6, 585 ;))))))) 586}; 587struct spec3_format { 588/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 589 __BITFIELD_FIELD(unsigned int opcode:6, 590 __BITFIELD_FIELD(unsigned int rs:5, 591 __BITFIELD_FIELD(unsigned int rt:5, 592 __BITFIELD_FIELD(signed int simmediate:9, 593/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 594 __BITFIELD_FIELD(unsigned int func:7, 595 ;))))) 596}; 597struct fb_format { 598/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 599 __BITFIELD_FIELD(unsigned int opcode : 6, 600 __BITFIELD_FIELD(unsigned int bc : 5, 601 __BITFIELD_FIELD(unsigned int cc : 3, 602 __BITFIELD_FIELD(unsigned int flag : 2, 603/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 604 __BITFIELD_FIELD(signed int simmediate : 16, 605 ;))))) 606}; 607struct fp0_format { 608/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 609 __BITFIELD_FIELD(unsigned int opcode : 6, 610 __BITFIELD_FIELD(unsigned int fmt : 5, 611 __BITFIELD_FIELD(unsigned int ft : 5, 612 __BITFIELD_FIELD(unsigned int fs : 5, 613/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 614 __BITFIELD_FIELD(unsigned int fd : 5, 615 __BITFIELD_FIELD(unsigned int func : 6, 616 ;)))))) 617}; 618/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 619struct mm_fp0_format { 620 __BITFIELD_FIELD(unsigned int opcode : 6, 621 __BITFIELD_FIELD(unsigned int ft : 5, 622 __BITFIELD_FIELD(unsigned int fs : 5, 623/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 624 __BITFIELD_FIELD(unsigned int fd : 5, 625 __BITFIELD_FIELD(unsigned int fmt : 3, 626 __BITFIELD_FIELD(unsigned int op : 2, 627 __BITFIELD_FIELD(unsigned int func : 6, 628/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 629 ;))))))) 630}; 631struct fp1_format { 632 __BITFIELD_FIELD(unsigned int opcode : 6, 633/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 634 __BITFIELD_FIELD(unsigned int op : 5, 635 __BITFIELD_FIELD(unsigned int rt : 5, 636 __BITFIELD_FIELD(unsigned int fs : 5, 637 __BITFIELD_FIELD(unsigned int fd : 5, 638/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 639 __BITFIELD_FIELD(unsigned int func : 6, 640 ;)))))) 641}; 642struct mm_fp1_format { 643/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 644 __BITFIELD_FIELD(unsigned int opcode : 6, 645 __BITFIELD_FIELD(unsigned int rt : 5, 646 __BITFIELD_FIELD(unsigned int fs : 5, 647 __BITFIELD_FIELD(unsigned int fmt : 2, 648/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 649 __BITFIELD_FIELD(unsigned int op : 8, 650 __BITFIELD_FIELD(unsigned int func : 6, 651 ;)))))) 652}; 653/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 654struct mm_fp2_format { 655 __BITFIELD_FIELD(unsigned int opcode : 6, 656 __BITFIELD_FIELD(unsigned int fd : 5, 657 __BITFIELD_FIELD(unsigned int fs : 5, 658/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 659 __BITFIELD_FIELD(unsigned int cc : 3, 660 __BITFIELD_FIELD(unsigned int zero : 2, 661 __BITFIELD_FIELD(unsigned int fmt : 2, 662 __BITFIELD_FIELD(unsigned int op : 3, 663/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 664 __BITFIELD_FIELD(unsigned int func : 6, 665 ;)))))))) 666}; 667struct mm_fp3_format { 668/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 669 __BITFIELD_FIELD(unsigned int opcode : 6, 670 __BITFIELD_FIELD(unsigned int rt : 5, 671 __BITFIELD_FIELD(unsigned int fs : 5, 672 __BITFIELD_FIELD(unsigned int fmt : 3, 673/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 674 __BITFIELD_FIELD(unsigned int op : 7, 675 __BITFIELD_FIELD(unsigned int func : 6, 676 ;)))))) 677}; 678/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 679struct mm_fp4_format { 680 __BITFIELD_FIELD(unsigned int opcode : 6, 681 __BITFIELD_FIELD(unsigned int rt : 5, 682 __BITFIELD_FIELD(unsigned int fs : 5, 683/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 684 __BITFIELD_FIELD(unsigned int cc : 3, 685 __BITFIELD_FIELD(unsigned int fmt : 3, 686 __BITFIELD_FIELD(unsigned int cond : 4, 687 __BITFIELD_FIELD(unsigned int func : 6, 688/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 689 ;))))))) 690}; 691struct mm_fp5_format { 692 __BITFIELD_FIELD(unsigned int opcode : 6, 693/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 694 __BITFIELD_FIELD(unsigned int index : 5, 695 __BITFIELD_FIELD(unsigned int base : 5, 696 __BITFIELD_FIELD(unsigned int fd : 5, 697 __BITFIELD_FIELD(unsigned int op : 5, 698/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 699 __BITFIELD_FIELD(unsigned int func : 6, 700 ;)))))) 701}; 702struct fp6_format { 703/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 704 __BITFIELD_FIELD(unsigned int opcode : 6, 705 __BITFIELD_FIELD(unsigned int fr : 5, 706 __BITFIELD_FIELD(unsigned int ft : 5, 707 __BITFIELD_FIELD(unsigned int fs : 5, 708/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 709 __BITFIELD_FIELD(unsigned int fd : 5, 710 __BITFIELD_FIELD(unsigned int func : 6, 711 ;)))))) 712}; 713/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 714struct mm_fp6_format { 715 __BITFIELD_FIELD(unsigned int opcode : 6, 716 __BITFIELD_FIELD(unsigned int ft : 5, 717 __BITFIELD_FIELD(unsigned int fs : 5, 718/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 719 __BITFIELD_FIELD(unsigned int fd : 5, 720 __BITFIELD_FIELD(unsigned int fr : 5, 721 __BITFIELD_FIELD(unsigned int func : 6, 722 ;)))))) 723/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 724}; 725struct mm_i_format { 726 __BITFIELD_FIELD(unsigned int opcode : 6, 727 __BITFIELD_FIELD(unsigned int rt : 5, 728/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 729 __BITFIELD_FIELD(unsigned int rs : 5, 730 __BITFIELD_FIELD(signed int simmediate : 16, 731 ;)))) 732}; 733/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 734struct mm_m_format { 735 __BITFIELD_FIELD(unsigned int opcode : 6, 736 __BITFIELD_FIELD(unsigned int rd : 5, 737 __BITFIELD_FIELD(unsigned int base : 5, 738/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 739 __BITFIELD_FIELD(unsigned int func : 4, 740 __BITFIELD_FIELD(signed int simmediate : 12, 741 ;))))) 742}; 743/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 744struct mm_x_format { 745 __BITFIELD_FIELD(unsigned int opcode : 6, 746 __BITFIELD_FIELD(unsigned int index : 5, 747 __BITFIELD_FIELD(unsigned int base : 5, 748/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 749 __BITFIELD_FIELD(unsigned int rd : 5, 750 __BITFIELD_FIELD(unsigned int func : 11, 751 ;))))) 752}; 753/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 754struct mm_b0_format { 755 __BITFIELD_FIELD(unsigned int opcode : 6, 756 __BITFIELD_FIELD(signed int simmediate : 10, 757 __BITFIELD_FIELD(unsigned int : 16, 758/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 759 ;))) 760}; 761struct mm_b1_format { 762 __BITFIELD_FIELD(unsigned int opcode : 6, 763/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 764 __BITFIELD_FIELD(unsigned int rs : 3, 765 __BITFIELD_FIELD(signed int simmediate : 7, 766 __BITFIELD_FIELD(unsigned int : 16, 767 ;)))) 768/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 769}; 770struct mm16_m_format { 771 __BITFIELD_FIELD(unsigned int opcode : 6, 772 __BITFIELD_FIELD(unsigned int func : 4, 773/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 774 __BITFIELD_FIELD(unsigned int rlist : 2, 775 __BITFIELD_FIELD(unsigned int imm : 4, 776 __BITFIELD_FIELD(unsigned int : 16, 777 ;))))) 778/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 779}; 780struct mm16_rb_format { 781 __BITFIELD_FIELD(unsigned int opcode : 6, 782 __BITFIELD_FIELD(unsigned int rt : 3, 783/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 784 __BITFIELD_FIELD(unsigned int base : 3, 785 __BITFIELD_FIELD(signed int simmediate : 4, 786 __BITFIELD_FIELD(unsigned int : 16, 787 ;))))) 788/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 789}; 790struct mm16_r3_format { 791 __BITFIELD_FIELD(unsigned int opcode : 6, 792 __BITFIELD_FIELD(unsigned int rt : 3, 793/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 794 __BITFIELD_FIELD(signed int simmediate : 7, 795 __BITFIELD_FIELD(unsigned int : 16, 796 ;)))) 797}; 798/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 799struct mm16_r5_format { 800 __BITFIELD_FIELD(unsigned int opcode : 6, 801 __BITFIELD_FIELD(unsigned int rt : 5, 802 __BITFIELD_FIELD(signed int simmediate : 5, 803/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 804 __BITFIELD_FIELD(unsigned int : 16, 805 ;)))) 806}; 807struct m16e_rr { 808/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 809 __BITFIELD_FIELD(unsigned int opcode : 5, 810 __BITFIELD_FIELD(unsigned int rx : 3, 811 __BITFIELD_FIELD(unsigned int nd : 1, 812 __BITFIELD_FIELD(unsigned int l : 1, 813/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 814 __BITFIELD_FIELD(unsigned int ra : 1, 815 __BITFIELD_FIELD(unsigned int func : 5, 816 ;)))))) 817}; 818/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 819struct m16e_jal { 820 __BITFIELD_FIELD(unsigned int opcode : 5, 821 __BITFIELD_FIELD(unsigned int x : 1, 822 __BITFIELD_FIELD(unsigned int imm20_16 : 5, 823/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 824 __BITFIELD_FIELD(signed int imm25_21 : 5, 825 ;)))) 826}; 827struct m16e_i64 { 828/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 829 __BITFIELD_FIELD(unsigned int opcode : 5, 830 __BITFIELD_FIELD(unsigned int func : 3, 831 __BITFIELD_FIELD(unsigned int imm : 8, 832 ;))) 833/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 834}; 835struct m16e_ri64 { 836 __BITFIELD_FIELD(unsigned int opcode : 5, 837 __BITFIELD_FIELD(unsigned int func : 3, 838/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 839 __BITFIELD_FIELD(unsigned int ry : 3, 840 __BITFIELD_FIELD(unsigned int imm : 5, 841 ;)))) 842}; 843/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 844struct m16e_ri { 845 __BITFIELD_FIELD(unsigned int opcode : 5, 846 __BITFIELD_FIELD(unsigned int rx : 3, 847 __BITFIELD_FIELD(unsigned int imm : 8, 848/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 849 ;))) 850}; 851struct m16e_rri { 852 __BITFIELD_FIELD(unsigned int opcode : 5, 853/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 854 __BITFIELD_FIELD(unsigned int rx : 3, 855 __BITFIELD_FIELD(unsigned int ry : 3, 856 __BITFIELD_FIELD(unsigned int imm : 5, 857 ;)))) 858/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 859}; 860struct m16e_i8 { 861 __BITFIELD_FIELD(unsigned int opcode : 5, 862 __BITFIELD_FIELD(unsigned int func : 3, 863/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 864 __BITFIELD_FIELD(unsigned int imm : 8, 865 ;))) 866}; 867union mips_instruction { 868/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 869 unsigned int word; 870 unsigned short halfword[2]; 871 unsigned char byte[4]; 872 struct j_format j_format; 873/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 874 struct i_format i_format; 875 struct u_format u_format; 876 struct c_format c_format; 877 struct r_format r_format; 878/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 879 struct p_format p_format; 880 struct f_format f_format; 881 struct ma_format ma_format; 882 struct b_format b_format; 883/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 884 struct ps_format ps_format; 885 struct v_format v_format; 886 struct spec3_format spec3_format; 887 struct fb_format fb_format; 888/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 889 struct fp0_format fp0_format; 890 struct mm_fp0_format mm_fp0_format; 891 struct fp1_format fp1_format; 892 struct mm_fp1_format mm_fp1_format; 893/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 894 struct mm_fp2_format mm_fp2_format; 895 struct mm_fp3_format mm_fp3_format; 896 struct mm_fp4_format mm_fp4_format; 897 struct mm_fp5_format mm_fp5_format; 898/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 899 struct fp6_format fp6_format; 900 struct mm_fp6_format mm_fp6_format; 901 struct mm_i_format mm_i_format; 902 struct mm_m_format mm_m_format; 903/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 904 struct mm_x_format mm_x_format; 905 struct mm_b0_format mm_b0_format; 906 struct mm_b1_format mm_b1_format; 907 struct mm16_m_format mm16_m_format ; 908/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 909 struct mm16_rb_format mm16_rb_format; 910 struct mm16_r3_format mm16_r3_format; 911 struct mm16_r5_format mm16_r5_format; 912}; 913/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 914union mips16e_instruction { 915 unsigned int full : 16; 916 struct m16e_rr rr; 917 struct m16e_jal jal; 918/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 919 struct m16e_i64 i64; 920 struct m16e_ri64 ri64; 921 struct m16e_ri ri; 922 struct m16e_rri rri; 923/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 924 struct m16e_i8 i8; 925}; 926#endif 927