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