| /* DO NOT EDIT! -*- buffer-read-only: t -*- vi:set ro: */ |
| /* Instruction opcode table for iq2000. |
| |
| THIS FILE IS MACHINE GENERATED WITH CGEN. |
| |
| Copyright (C) 1996-2024 Free Software Foundation, Inc. |
| |
| This file is part of the GNU Binutils and/or GDB, the GNU debugger. |
| |
| This file is free software; you can redistribute it and/or modify |
| it under the terms of the GNU General Public License as published by |
| the Free Software Foundation; either version 3, or (at your option) |
| any later version. |
| |
| It is distributed in the hope that it will be useful, but WITHOUT |
| ANY WARRANTY; without even the implied warranty of MERCHANTABILITY |
| or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public |
| License for more details. |
| |
| You should have received a copy of the GNU General Public License along |
| with this program; if not, write to the Free Software Foundation, Inc., |
| 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. |
| |
| */ |
| |
| #include "sysdep.h" |
| #include "ansidecl.h" |
| #include "bfd.h" |
| #include "symcat.h" |
| #include "iq2000-desc.h" |
| #include "iq2000-opc.h" |
| #include "libiberty.h" |
| |
| /* The hash functions are recorded here to help keep assembler code out of |
| the disassembler and vice versa. */ |
| |
| static int asm_hash_insn_p (const CGEN_INSN *); |
| static unsigned int asm_hash_insn (const char *); |
| static int dis_hash_insn_p (const CGEN_INSN *); |
| static unsigned int dis_hash_insn (const char *, CGEN_INSN_INT); |
| |
| /* Instruction formats. */ |
| |
| #define F(f) & iq2000_cgen_ifld_table[IQ2000_##f] |
| static const CGEN_IFMT ifmt_empty ATTRIBUTE_UNUSED = { |
| 0, 0, 0x0, { { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_add2 ATTRIBUTE_UNUSED = { |
| 32, 32, 0xfc0007ff, { { F (F_OPCODE) }, { F (F_RT) }, { F (F_RD_RS) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_add ATTRIBUTE_UNUSED = { |
| 32, 32, 0xfc0007ff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_addi2 ATTRIBUTE_UNUSED = { |
| 32, 32, 0xfc000000, { { F (F_OPCODE) }, { F (F_RT_RS) }, { F (F_IMM) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_addi ATTRIBUTE_UNUSED = { |
| 32, 32, 0xfc000000, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_IMM) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_ram ATTRIBUTE_UNUSED = { |
| 32, 32, 0xfc000020, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_SHAMT) }, { F (F_5) }, { F (F_MASKL) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_sll ATTRIBUTE_UNUSED = { |
| 32, 32, 0xffe0003f, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_sllv2 ATTRIBUTE_UNUSED = { |
| 32, 32, 0xfc0007ff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RD_RT) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_slmv2 ATTRIBUTE_UNUSED = { |
| 32, 32, 0xfc00003f, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RD_RT) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_slmv ATTRIBUTE_UNUSED = { |
| 32, 32, 0xfc00003f, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_slti2 ATTRIBUTE_UNUSED = { |
| 32, 32, 0xfc000000, { { F (F_OPCODE) }, { F (F_RT_RS) }, { F (F_IMM) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_slti ATTRIBUTE_UNUSED = { |
| 32, 32, 0xfc000000, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_IMM) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_sra2 ATTRIBUTE_UNUSED = { |
| 32, 32, 0xffe0003f, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RD_RT) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_bbi ATTRIBUTE_UNUSED = { |
| 32, 32, 0xfc000000, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_OFFSET) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_bbv ATTRIBUTE_UNUSED = { |
| 32, 32, 0xfc000000, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_OFFSET) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_bgez ATTRIBUTE_UNUSED = { |
| 32, 32, 0xfc1f0000, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_OFFSET) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_jalr ATTRIBUTE_UNUSED = { |
| 32, 32, 0xfc1f07ff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_jr ATTRIBUTE_UNUSED = { |
| 32, 32, 0xfc1fffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_lb ATTRIBUTE_UNUSED = { |
| 32, 32, 0xfc000000, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_IMM) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_lui ATTRIBUTE_UNUSED = { |
| 32, 32, 0xffe00000, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_IMM) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_break ATTRIBUTE_UNUSED = { |
| 32, 32, 0xffffffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_syscall ATTRIBUTE_UNUSED = { |
| 32, 32, 0xfc00003f, { { F (F_OPCODE) }, { F (F_EXCODE) }, { F (F_FUNC) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_andoui ATTRIBUTE_UNUSED = { |
| 32, 32, 0xfc000000, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_IMM) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_andoui2 ATTRIBUTE_UNUSED = { |
| 32, 32, 0xfc000000, { { F (F_OPCODE) }, { F (F_RT_RS) }, { F (F_IMM) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_mrgb ATTRIBUTE_UNUSED = { |
| 32, 32, 0xfc00043f, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_10) }, { F (F_MASK) }, { F (F_FUNC) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_mrgb2 ATTRIBUTE_UNUSED = { |
| 32, 32, 0xfc00043f, { { F (F_OPCODE) }, { F (F_RT) }, { F (F_RD_RS) }, { F (F_10) }, { F (F_MASK) }, { F (F_FUNC) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_bc0f ATTRIBUTE_UNUSED = { |
| 32, 32, 0xffff0000, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_OFFSET) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_cfc0 ATTRIBUTE_UNUSED = { |
| 32, 32, 0xffe007ff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_10_11) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_chkhdr ATTRIBUTE_UNUSED = { |
| 32, 32, 0xffe007ff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_lulck ATTRIBUTE_UNUSED = { |
| 32, 32, 0xffe0ffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_pkrlr1 ATTRIBUTE_UNUSED = { |
| 32, 32, 0xffe00000, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_COUNT) }, { F (F_INDEX) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_rfe ATTRIBUTE_UNUSED = { |
| 32, 32, 0xffffffff, { { F (F_OPCODE) }, { F (F_25) }, { F (F_24_19) }, { F (F_FUNC) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_j ATTRIBUTE_UNUSED = { |
| 32, 32, 0xffff0000, { { F (F_OPCODE) }, { F (F_RSRVD) }, { F (F_JTARG) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_mrgbq10 ATTRIBUTE_UNUSED = { |
| 32, 32, 0xfc00003f, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_MASKQ10) }, { F (F_FUNC) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_mrgbq102 ATTRIBUTE_UNUSED = { |
| 32, 32, 0xfc00003f, { { F (F_OPCODE) }, { F (F_RT) }, { F (F_RD_RS) }, { F (F_MASKQ10) }, { F (F_FUNC) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_jq10 ATTRIBUTE_UNUSED = { |
| 32, 32, 0xffff0000, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_JTARG) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_jalq10 ATTRIBUTE_UNUSED = { |
| 32, 32, 0xffe00000, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_JTARG) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_avail ATTRIBUTE_UNUSED = { |
| 32, 32, 0xffff07ff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_rbi ATTRIBUTE_UNUSED = { |
| 32, 32, 0xfc000700, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP) }, { F (F_BYTECOUNT) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_cam36 ATTRIBUTE_UNUSED = { |
| 32, 32, 0xffe007c0, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP_10) }, { F (F_CAM_Z) }, { F (F_CAM_Y) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_cm32and ATTRIBUTE_UNUSED = { |
| 32, 32, 0xfc0007ff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP) }, { F (F_CP_GRP) }, { F (F_FUNC) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_cm32rd ATTRIBUTE_UNUSED = { |
| 32, 32, 0xffe007ff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP) }, { F (F_CP_GRP) }, { F (F_FUNC) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_cm128ria3 ATTRIBUTE_UNUSED = { |
| 32, 32, 0xfc0007fc, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP) }, { F (F_CP_GRP) }, { F (F_CM_4FUNC) }, { F (F_CM_3Z) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_cm128ria4 ATTRIBUTE_UNUSED = { |
| 32, 32, 0xfc0007f8, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP) }, { F (F_CP_GRP) }, { F (F_CM_3FUNC) }, { F (F_CM_4Z) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_ctc ATTRIBUTE_UNUSED = { |
| 32, 32, 0xfc00ffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } |
| }; |
| |
| #undef F |
| |
| #define A(a) (1 << CGEN_INSN_##a) |
| #define OPERAND(op) IQ2000_OPERAND_##op |
| #define MNEM CGEN_SYNTAX_MNEMONIC /* syntax value for mnemonic */ |
| #define OP(field) CGEN_SYNTAX_MAKE_FIELD (OPERAND (field)) |
| |
| /* The instruction table. */ |
| |
| static const CGEN_OPCODE iq2000_cgen_insn_opcode_table[MAX_INSNS] = |
| { |
| /* Special null first entry. |
| A `num' value of zero is thus invalid. |
| Also, the special `invalid' insn resides here. */ |
| { { 0, 0, 0, 0 }, {{0}}, 0, {0}}, |
| /* add ${rd-rs},$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD_RS), ',', OP (RT), 0 } }, |
| & ifmt_add2, { 0x20 } |
| }, |
| /* add $rd,$rs,$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RS), ',', OP (RT), 0 } }, |
| & ifmt_add, { 0x20 } |
| }, |
| /* addi ${rt-rs},$lo16 */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT_RS), ',', OP (LO16), 0 } }, |
| & ifmt_addi2, { 0x20000000 } |
| }, |
| /* addi $rt,$rs,$lo16 */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), ',', OP (RS), ',', OP (LO16), 0 } }, |
| & ifmt_addi, { 0x20000000 } |
| }, |
| /* addiu ${rt-rs},$lo16 */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT_RS), ',', OP (LO16), 0 } }, |
| & ifmt_addi2, { 0x24000000 } |
| }, |
| /* addiu $rt,$rs,$lo16 */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), ',', OP (RS), ',', OP (LO16), 0 } }, |
| & ifmt_addi, { 0x24000000 } |
| }, |
| /* addu ${rd-rs},$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD_RS), ',', OP (RT), 0 } }, |
| & ifmt_add2, { 0x21 } |
| }, |
| /* addu $rd,$rs,$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RS), ',', OP (RT), 0 } }, |
| & ifmt_add, { 0x21 } |
| }, |
| /* ado16 ${rd-rs},$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD_RS), ',', OP (RT), 0 } }, |
| & ifmt_add2, { 0x29 } |
| }, |
| /* ado16 $rd,$rs,$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RS), ',', OP (RT), 0 } }, |
| & ifmt_add, { 0x29 } |
| }, |
| /* and ${rd-rs},$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD_RS), ',', OP (RT), 0 } }, |
| & ifmt_add2, { 0x24 } |
| }, |
| /* and $rd,$rs,$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RS), ',', OP (RT), 0 } }, |
| & ifmt_add, { 0x24 } |
| }, |
| /* andi ${rt-rs},$lo16 */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT_RS), ',', OP (LO16), 0 } }, |
| & ifmt_addi2, { 0x30000000 } |
| }, |
| /* andi $rt,$rs,$lo16 */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), ',', OP (RS), ',', OP (LO16), 0 } }, |
| & ifmt_addi, { 0x30000000 } |
| }, |
| /* andoi ${rt-rs},$lo16 */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT_RS), ',', OP (LO16), 0 } }, |
| & ifmt_addi2, { 0xb0000000 } |
| }, |
| /* andoi $rt,$rs,$lo16 */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), ',', OP (RS), ',', OP (LO16), 0 } }, |
| & ifmt_addi, { 0xb0000000 } |
| }, |
| /* nor ${rd-rs},$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD_RS), ',', OP (RT), 0 } }, |
| & ifmt_add2, { 0x27 } |
| }, |
| /* nor $rd,$rs,$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RS), ',', OP (RT), 0 } }, |
| & ifmt_add, { 0x27 } |
| }, |
| /* or ${rd-rs},$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD_RS), ',', OP (RT), 0 } }, |
| & ifmt_add2, { 0x25 } |
| }, |
| /* or $rd,$rs,$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RS), ',', OP (RT), 0 } }, |
| & ifmt_add, { 0x25 } |
| }, |
| /* ori ${rt-rs},$lo16 */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT_RS), ',', OP (LO16), 0 } }, |
| & ifmt_addi2, { 0x34000000 } |
| }, |
| /* ori $rt,$rs,$lo16 */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), ',', OP (RS), ',', OP (LO16), 0 } }, |
| & ifmt_addi, { 0x34000000 } |
| }, |
| /* ram $rd,$rt,$shamt,$maskl,$maskr */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RT), ',', OP (SHAMT), ',', OP (MASKL), ',', OP (MASKR), 0 } }, |
| & ifmt_ram, { 0x9c000000 } |
| }, |
| /* sll $rd,$rt,$shamt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RT), ',', OP (SHAMT), 0 } }, |
| & ifmt_sll, { 0x0 } |
| }, |
| /* sllv ${rd-rt},$rs */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD_RT), ',', OP (RS), 0 } }, |
| & ifmt_sllv2, { 0x4 } |
| }, |
| /* sllv $rd,$rt,$rs */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RT), ',', OP (RS), 0 } }, |
| & ifmt_add, { 0x4 } |
| }, |
| /* slmv ${rd-rt},$rs,$shamt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD_RT), ',', OP (RS), ',', OP (SHAMT), 0 } }, |
| & ifmt_slmv2, { 0x1 } |
| }, |
| /* slmv $rd,$rt,$rs,$shamt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RT), ',', OP (RS), ',', OP (SHAMT), 0 } }, |
| & ifmt_slmv, { 0x1 } |
| }, |
| /* slt ${rd-rs},$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD_RS), ',', OP (RT), 0 } }, |
| & ifmt_add2, { 0x2a } |
| }, |
| /* slt $rd,$rs,$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RS), ',', OP (RT), 0 } }, |
| & ifmt_add, { 0x2a } |
| }, |
| /* slti ${rt-rs},$imm */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT_RS), ',', OP (IMM), 0 } }, |
| & ifmt_slti2, { 0x28000000 } |
| }, |
| /* slti $rt,$rs,$imm */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), ',', OP (RS), ',', OP (IMM), 0 } }, |
| & ifmt_slti, { 0x28000000 } |
| }, |
| /* sltiu ${rt-rs},$imm */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT_RS), ',', OP (IMM), 0 } }, |
| & ifmt_slti2, { 0x2c000000 } |
| }, |
| /* sltiu $rt,$rs,$imm */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), ',', OP (RS), ',', OP (IMM), 0 } }, |
| & ifmt_slti, { 0x2c000000 } |
| }, |
| /* sltu ${rd-rs},$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD_RS), ',', OP (RT), 0 } }, |
| & ifmt_add2, { 0x2b } |
| }, |
| /* sltu $rd,$rs,$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RS), ',', OP (RT), 0 } }, |
| & ifmt_add, { 0x2b } |
| }, |
| /* sra ${rd-rt},$shamt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD_RT), ',', OP (SHAMT), 0 } }, |
| & ifmt_sra2, { 0x3 } |
| }, |
| /* sra $rd,$rt,$shamt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RT), ',', OP (SHAMT), 0 } }, |
| & ifmt_sll, { 0x3 } |
| }, |
| /* srav ${rd-rt},$rs */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD_RT), ',', OP (RS), 0 } }, |
| & ifmt_sllv2, { 0x7 } |
| }, |
| /* srav $rd,$rt,$rs */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RT), ',', OP (RS), 0 } }, |
| & ifmt_add, { 0x7 } |
| }, |
| /* srl $rd,$rt,$shamt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RT), ',', OP (SHAMT), 0 } }, |
| & ifmt_sll, { 0x2 } |
| }, |
| /* srlv ${rd-rt},$rs */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD_RT), ',', OP (RS), 0 } }, |
| & ifmt_sllv2, { 0x6 } |
| }, |
| /* srlv $rd,$rt,$rs */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RT), ',', OP (RS), 0 } }, |
| & ifmt_add, { 0x6 } |
| }, |
| /* srmv ${rd-rt},$rs,$shamt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD_RT), ',', OP (RS), ',', OP (SHAMT), 0 } }, |
| & ifmt_slmv2, { 0x5 } |
| }, |
| /* srmv $rd,$rt,$rs,$shamt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RT), ',', OP (RS), ',', OP (SHAMT), 0 } }, |
| & ifmt_slmv, { 0x5 } |
| }, |
| /* sub ${rd-rs},$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD_RS), ',', OP (RT), 0 } }, |
| & ifmt_add2, { 0x22 } |
| }, |
| /* sub $rd,$rs,$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RS), ',', OP (RT), 0 } }, |
| & ifmt_add, { 0x22 } |
| }, |
| /* subu ${rd-rs},$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD_RS), ',', OP (RT), 0 } }, |
| & ifmt_add2, { 0x23 } |
| }, |
| /* subu $rd,$rs,$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RS), ',', OP (RT), 0 } }, |
| & ifmt_add, { 0x23 } |
| }, |
| /* xor ${rd-rs},$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD_RS), ',', OP (RT), 0 } }, |
| & ifmt_add2, { 0x26 } |
| }, |
| /* xor $rd,$rs,$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RS), ',', OP (RT), 0 } }, |
| & ifmt_add, { 0x26 } |
| }, |
| /* xori ${rt-rs},$lo16 */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT_RS), ',', OP (LO16), 0 } }, |
| & ifmt_addi2, { 0x38000000 } |
| }, |
| /* xori $rt,$rs,$lo16 */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), ',', OP (RS), ',', OP (LO16), 0 } }, |
| & ifmt_addi, { 0x38000000 } |
| }, |
| /* bbi $rs($bitnum),$offset */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RS), '(', OP (BITNUM), ')', ',', OP (OFFSET), 0 } }, |
| & ifmt_bbi, { 0x70000000 } |
| }, |
| /* bbin $rs($bitnum),$offset */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RS), '(', OP (BITNUM), ')', ',', OP (OFFSET), 0 } }, |
| & ifmt_bbi, { 0x78000000 } |
| }, |
| /* bbv $rs,$rt,$offset */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RS), ',', OP (RT), ',', OP (OFFSET), 0 } }, |
| & ifmt_bbv, { 0x74000000 } |
| }, |
| /* bbvn $rs,$rt,$offset */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RS), ',', OP (RT), ',', OP (OFFSET), 0 } }, |
| & ifmt_bbv, { 0x7c000000 } |
| }, |
| /* beq $rs,$rt,$offset */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RS), ',', OP (RT), ',', OP (OFFSET), 0 } }, |
| & ifmt_bbv, { 0x10000000 } |
| }, |
| /* beql $rs,$rt,$offset */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RS), ',', OP (RT), ',', OP (OFFSET), 0 } }, |
| & ifmt_bbv, { 0x50000000 } |
| }, |
| /* bgez $rs,$offset */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RS), ',', OP (OFFSET), 0 } }, |
| & ifmt_bgez, { 0x4010000 } |
| }, |
| /* bgezal $rs,$offset */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RS), ',', OP (OFFSET), 0 } }, |
| & ifmt_bgez, { 0x4110000 } |
| }, |
| /* bgezall $rs,$offset */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RS), ',', OP (OFFSET), 0 } }, |
| & ifmt_bgez, { 0x4130000 } |
| }, |
| /* bgezl $rs,$offset */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RS), ',', OP (OFFSET), 0 } }, |
| & ifmt_bgez, { 0x4030000 } |
| }, |
| /* bltz $rs,$offset */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RS), ',', OP (OFFSET), 0 } }, |
| & ifmt_bgez, { 0x4000000 } |
| }, |
| /* bltzl $rs,$offset */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RS), ',', OP (OFFSET), 0 } }, |
| & ifmt_bgez, { 0x4020000 } |
| }, |
| /* bltzal $rs,$offset */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RS), ',', OP (OFFSET), 0 } }, |
| & ifmt_bgez, { 0x4100000 } |
| }, |
| /* bltzall $rs,$offset */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RS), ',', OP (OFFSET), 0 } }, |
| & ifmt_bgez, { 0x4120000 } |
| }, |
| /* bmb0 $rs,$rt,$offset */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RS), ',', OP (RT), ',', OP (OFFSET), 0 } }, |
| & ifmt_bbv, { 0x60000000 } |
| }, |
| /* bmb1 $rs,$rt,$offset */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RS), ',', OP (RT), ',', OP (OFFSET), 0 } }, |
| & ifmt_bbv, { 0x64000000 } |
| }, |
| /* bmb2 $rs,$rt,$offset */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RS), ',', OP (RT), ',', OP (OFFSET), 0 } }, |
| & ifmt_bbv, { 0x68000000 } |
| }, |
| /* bmb3 $rs,$rt,$offset */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RS), ',', OP (RT), ',', OP (OFFSET), 0 } }, |
| & ifmt_bbv, { 0x6c000000 } |
| }, |
| /* bne $rs,$rt,$offset */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RS), ',', OP (RT), ',', OP (OFFSET), 0 } }, |
| & ifmt_bbv, { 0x14000000 } |
| }, |
| /* bnel $rs,$rt,$offset */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RS), ',', OP (RT), ',', OP (OFFSET), 0 } }, |
| & ifmt_bbv, { 0x54000000 } |
| }, |
| /* jalr $rd,$rs */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RS), 0 } }, |
| & ifmt_jalr, { 0x9 } |
| }, |
| /* jr $rs */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RS), 0 } }, |
| & ifmt_jr, { 0x8 } |
| }, |
| /* lb $rt,$lo16($base) */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), ',', OP (LO16), '(', OP (BASE), ')', 0 } }, |
| & ifmt_lb, { 0x80000000 } |
| }, |
| /* lbu $rt,$lo16($base) */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), ',', OP (LO16), '(', OP (BASE), ')', 0 } }, |
| & ifmt_lb, { 0x90000000 } |
| }, |
| /* lh $rt,$lo16($base) */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), ',', OP (LO16), '(', OP (BASE), ')', 0 } }, |
| & ifmt_lb, { 0x84000000 } |
| }, |
| /* lhu $rt,$lo16($base) */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), ',', OP (LO16), '(', OP (BASE), ')', 0 } }, |
| & ifmt_lb, { 0x94000000 } |
| }, |
| /* lui $rt,$hi16 */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), ',', OP (HI16), 0 } }, |
| & ifmt_lui, { 0x3c000000 } |
| }, |
| /* lw $rt,$lo16($base) */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), ',', OP (LO16), '(', OP (BASE), ')', 0 } }, |
| & ifmt_lb, { 0x8c000000 } |
| }, |
| /* sb $rt,$lo16($base) */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), ',', OP (LO16), '(', OP (BASE), ')', 0 } }, |
| & ifmt_lb, { 0xa0000000 } |
| }, |
| /* sh $rt,$lo16($base) */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), ',', OP (LO16), '(', OP (BASE), ')', 0 } }, |
| & ifmt_lb, { 0xa4000000 } |
| }, |
| /* sw $rt,$lo16($base) */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), ',', OP (LO16), '(', OP (BASE), ')', 0 } }, |
| & ifmt_lb, { 0xac000000 } |
| }, |
| /* break */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, 0 } }, |
| & ifmt_break, { 0xd } |
| }, |
| /* syscall */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, 0 } }, |
| & ifmt_syscall, { 0xc } |
| }, |
| /* andoui $rt,$rs,$hi16 */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), ',', OP (RS), ',', OP (HI16), 0 } }, |
| & ifmt_andoui, { 0xfc000000 } |
| }, |
| /* andoui ${rt-rs},$hi16 */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT_RS), ',', OP (HI16), 0 } }, |
| & ifmt_andoui2, { 0xfc000000 } |
| }, |
| /* orui ${rt-rs},$hi16 */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT_RS), ',', OP (HI16), 0 } }, |
| & ifmt_andoui2, { 0xbc000000 } |
| }, |
| /* orui $rt,$rs,$hi16 */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), ',', OP (RS), ',', OP (HI16), 0 } }, |
| & ifmt_andoui, { 0xbc000000 } |
| }, |
| /* bgtz $rs,$offset */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RS), ',', OP (OFFSET), 0 } }, |
| & ifmt_bgez, { 0x1c000000 } |
| }, |
| /* bgtzl $rs,$offset */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RS), ',', OP (OFFSET), 0 } }, |
| & ifmt_bgez, { 0x5c000000 } |
| }, |
| /* blez $rs,$offset */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RS), ',', OP (OFFSET), 0 } }, |
| & ifmt_bgez, { 0x18000000 } |
| }, |
| /* blezl $rs,$offset */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RS), ',', OP (OFFSET), 0 } }, |
| & ifmt_bgez, { 0x58000000 } |
| }, |
| /* mrgb $rd,$rs,$rt,$mask */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RS), ',', OP (RT), ',', OP (MASK), 0 } }, |
| & ifmt_mrgb, { 0x2d } |
| }, |
| /* mrgb ${rd-rs},$rt,$mask */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD_RS), ',', OP (RT), ',', OP (MASK), 0 } }, |
| & ifmt_mrgb2, { 0x2d } |
| }, |
| /* bctxt $rs,$offset */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RS), ',', OP (OFFSET), 0 } }, |
| & ifmt_bgez, { 0x4060000 } |
| }, |
| /* bc0f $offset */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (OFFSET), 0 } }, |
| & ifmt_bc0f, { 0x41000000 } |
| }, |
| /* bc0fl $offset */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (OFFSET), 0 } }, |
| & ifmt_bc0f, { 0x41020000 } |
| }, |
| /* bc3f $offset */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (OFFSET), 0 } }, |
| & ifmt_bc0f, { 0x4d000000 } |
| }, |
| /* bc3fl $offset */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (OFFSET), 0 } }, |
| & ifmt_bc0f, { 0x4d020000 } |
| }, |
| /* bc0t $offset */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (OFFSET), 0 } }, |
| & ifmt_bc0f, { 0x41010000 } |
| }, |
| /* bc0tl $offset */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (OFFSET), 0 } }, |
| & ifmt_bc0f, { 0x41030000 } |
| }, |
| /* bc3t $offset */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (OFFSET), 0 } }, |
| & ifmt_bc0f, { 0x4d010000 } |
| }, |
| /* bc3tl $offset */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (OFFSET), 0 } }, |
| & ifmt_bc0f, { 0x4d030000 } |
| }, |
| /* cfc0 $rt,$rd */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), ',', OP (RD), 0 } }, |
| & ifmt_cfc0, { 0x40400000 } |
| }, |
| /* cfc1 $rt,$rd */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), ',', OP (RD), 0 } }, |
| & ifmt_cfc0, { 0x44400000 } |
| }, |
| /* cfc2 $rt,$rd */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), ',', OP (RD), 0 } }, |
| & ifmt_cfc0, { 0x48400000 } |
| }, |
| /* cfc3 $rt,$rd */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), ',', OP (RD), 0 } }, |
| & ifmt_cfc0, { 0x4c400000 } |
| }, |
| /* chkhdr $rd,$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RT), 0 } }, |
| & ifmt_chkhdr, { 0x4d200000 } |
| }, |
| /* ctc0 $rt,$rd */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), ',', OP (RD), 0 } }, |
| & ifmt_cfc0, { 0x40c00000 } |
| }, |
| /* ctc1 $rt,$rd */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), ',', OP (RD), 0 } }, |
| & ifmt_cfc0, { 0x44c00000 } |
| }, |
| /* ctc2 $rt,$rd */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), ',', OP (RD), 0 } }, |
| & ifmt_cfc0, { 0x48c00000 } |
| }, |
| /* ctc3 $rt,$rd */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), ',', OP (RD), 0 } }, |
| & ifmt_cfc0, { 0x4cc00000 } |
| }, |
| /* jcr $rs */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RS), 0 } }, |
| & ifmt_jr, { 0xa } |
| }, |
| /* luc32 $rt,$rd */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), ',', OP (RD), 0 } }, |
| & ifmt_chkhdr, { 0x48200003 } |
| }, |
| /* luc32l $rt,$rd */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), ',', OP (RD), 0 } }, |
| & ifmt_chkhdr, { 0x48200007 } |
| }, |
| /* luc64 $rt,$rd */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), ',', OP (RD), 0 } }, |
| & ifmt_chkhdr, { 0x4820000b } |
| }, |
| /* luc64l $rt,$rd */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), ',', OP (RD), 0 } }, |
| & ifmt_chkhdr, { 0x4820000f } |
| }, |
| /* luk $rt,$rd */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), ',', OP (RD), 0 } }, |
| & ifmt_chkhdr, { 0x48200008 } |
| }, |
| /* lulck $rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), 0 } }, |
| & ifmt_lulck, { 0x48200004 } |
| }, |
| /* lum32 $rt,$rd */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), ',', OP (RD), 0 } }, |
| & ifmt_chkhdr, { 0x48200002 } |
| }, |
| /* lum32l $rt,$rd */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), ',', OP (RD), 0 } }, |
| & ifmt_chkhdr, { 0x48200006 } |
| }, |
| /* lum64 $rt,$rd */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), ',', OP (RD), 0 } }, |
| & ifmt_chkhdr, { 0x4820000a } |
| }, |
| /* lum64l $rt,$rd */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), ',', OP (RD), 0 } }, |
| & ifmt_chkhdr, { 0x4820000e } |
| }, |
| /* lur $rt,$rd */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), ',', OP (RD), 0 } }, |
| & ifmt_chkhdr, { 0x48200001 } |
| }, |
| /* lurl $rt,$rd */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), ',', OP (RD), 0 } }, |
| & ifmt_chkhdr, { 0x48200005 } |
| }, |
| /* luulck $rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), 0 } }, |
| & ifmt_lulck, { 0x48200000 } |
| }, |
| /* mfc0 $rt,$rd */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), ',', OP (RD), 0 } }, |
| & ifmt_cfc0, { 0x40000000 } |
| }, |
| /* mfc1 $rt,$rd */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), ',', OP (RD), 0 } }, |
| & ifmt_cfc0, { 0x44000000 } |
| }, |
| /* mfc2 $rt,$rd */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), ',', OP (RD), 0 } }, |
| & ifmt_cfc0, { 0x48000000 } |
| }, |
| /* mfc3 $rt,$rd */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), ',', OP (RD), 0 } }, |
| & ifmt_cfc0, { 0x4c000000 } |
| }, |
| /* mtc0 $rt,$rd */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), ',', OP (RD), 0 } }, |
| & ifmt_cfc0, { 0x40800000 } |
| }, |
| /* mtc1 $rt,$rd */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), ',', OP (RD), 0 } }, |
| & ifmt_cfc0, { 0x44800000 } |
| }, |
| /* mtc2 $rt,$rd */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), ',', OP (RD), 0 } }, |
| & ifmt_cfc0, { 0x48800000 } |
| }, |
| /* mtc3 $rt,$rd */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), ',', OP (RD), 0 } }, |
| & ifmt_cfc0, { 0x4c800000 } |
| }, |
| /* pkrl $rd,$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RT), 0 } }, |
| & ifmt_chkhdr, { 0x4c200007 } |
| }, |
| /* pkrlr1 $rt,$_index,$count */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), ',', OP (_INDEX), ',', OP (COUNT), 0 } }, |
| & ifmt_pkrlr1, { 0x4fa00000 } |
| }, |
| /* pkrlr30 $rt,$_index,$count */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), ',', OP (_INDEX), ',', OP (COUNT), 0 } }, |
| & ifmt_pkrlr1, { 0x4fe00000 } |
| }, |
| /* rb $rd,$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RT), 0 } }, |
| & ifmt_chkhdr, { 0x4c200004 } |
| }, |
| /* rbr1 $rt,$_index,$count */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), ',', OP (_INDEX), ',', OP (COUNT), 0 } }, |
| & ifmt_pkrlr1, { 0x4f000000 } |
| }, |
| /* rbr30 $rt,$_index,$count */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), ',', OP (_INDEX), ',', OP (COUNT), 0 } }, |
| & ifmt_pkrlr1, { 0x4f400000 } |
| }, |
| /* rfe */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, 0 } }, |
| & ifmt_rfe, { 0x42000010 } |
| }, |
| /* rx $rd,$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RT), 0 } }, |
| & ifmt_chkhdr, { 0x4c200006 } |
| }, |
| /* rxr1 $rt,$_index,$count */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), ',', OP (_INDEX), ',', OP (COUNT), 0 } }, |
| & ifmt_pkrlr1, { 0x4f800000 } |
| }, |
| /* rxr30 $rt,$_index,$count */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), ',', OP (_INDEX), ',', OP (COUNT), 0 } }, |
| & ifmt_pkrlr1, { 0x4fc00000 } |
| }, |
| /* sleep */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, 0 } }, |
| & ifmt_syscall, { 0xe } |
| }, |
| /* srrd $rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), 0 } }, |
| & ifmt_lulck, { 0x48200010 } |
| }, |
| /* srrdl $rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), 0 } }, |
| & ifmt_lulck, { 0x48200014 } |
| }, |
| /* srulck $rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), 0 } }, |
| & ifmt_lulck, { 0x48200016 } |
| }, |
| /* srwr $rt,$rd */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), ',', OP (RD), 0 } }, |
| & ifmt_chkhdr, { 0x48200011 } |
| }, |
| /* srwru $rt,$rd */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), ',', OP (RD), 0 } }, |
| & ifmt_chkhdr, { 0x48200015 } |
| }, |
| /* trapqfl */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, 0 } }, |
| & ifmt_break, { 0x4c200008 } |
| }, |
| /* trapqne */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, 0 } }, |
| & ifmt_break, { 0x4c200009 } |
| }, |
| /* traprel $rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), 0 } }, |
| & ifmt_lulck, { 0x4c20000a } |
| }, |
| /* wb $rd,$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RT), 0 } }, |
| & ifmt_chkhdr, { 0x4c200000 } |
| }, |
| /* wbu $rd,$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RT), 0 } }, |
| & ifmt_chkhdr, { 0x4c200001 } |
| }, |
| /* wbr1 $rt,$_index,$count */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), ',', OP (_INDEX), ',', OP (COUNT), 0 } }, |
| & ifmt_pkrlr1, { 0x4e000000 } |
| }, |
| /* wbr1u $rt,$_index,$count */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), ',', OP (_INDEX), ',', OP (COUNT), 0 } }, |
| & ifmt_pkrlr1, { 0x4e200000 } |
| }, |
| /* wbr30 $rt,$_index,$count */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), ',', OP (_INDEX), ',', OP (COUNT), 0 } }, |
| & ifmt_pkrlr1, { 0x4e400000 } |
| }, |
| /* wbr30u $rt,$_index,$count */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), ',', OP (_INDEX), ',', OP (COUNT), 0 } }, |
| & ifmt_pkrlr1, { 0x4e600000 } |
| }, |
| /* wx $rd,$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RT), 0 } }, |
| & ifmt_chkhdr, { 0x4c200002 } |
| }, |
| /* wxu $rd,$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RT), 0 } }, |
| & ifmt_chkhdr, { 0x4c200003 } |
| }, |
| /* wxr1 $rt,$_index,$count */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), ',', OP (_INDEX), ',', OP (COUNT), 0 } }, |
| & ifmt_pkrlr1, { 0x4e800000 } |
| }, |
| /* wxr1u $rt,$_index,$count */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), ',', OP (_INDEX), ',', OP (COUNT), 0 } }, |
| & ifmt_pkrlr1, { 0x4ea00000 } |
| }, |
| /* wxr30 $rt,$_index,$count */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), ',', OP (_INDEX), ',', OP (COUNT), 0 } }, |
| & ifmt_pkrlr1, { 0x4ec00000 } |
| }, |
| /* wxr30u $rt,$_index,$count */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), ',', OP (_INDEX), ',', OP (COUNT), 0 } }, |
| & ifmt_pkrlr1, { 0x4ee00000 } |
| }, |
| /* ldw $rt,$lo16($base) */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), ',', OP (LO16), '(', OP (BASE), ')', 0 } }, |
| & ifmt_lb, { 0xc0000000 } |
| }, |
| /* sdw $rt,$lo16($base) */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), ',', OP (LO16), '(', OP (BASE), ')', 0 } }, |
| & ifmt_lb, { 0xe0000000 } |
| }, |
| /* j $jmptarg */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (JMPTARG), 0 } }, |
| & ifmt_j, { 0x8000000 } |
| }, |
| /* jal $jmptarg */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (JMPTARG), 0 } }, |
| & ifmt_j, { 0xc000000 } |
| }, |
| /* bmb $rs,$rt,$offset */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RS), ',', OP (RT), ',', OP (OFFSET), 0 } }, |
| & ifmt_bbv, { 0xb4000000 } |
| }, |
| /* andoui $rt,$rs,$hi16 */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), ',', OP (RS), ',', OP (HI16), 0 } }, |
| & ifmt_andoui, { 0xbc000000 } |
| }, |
| /* andoui ${rt-rs},$hi16 */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT_RS), ',', OP (HI16), 0 } }, |
| & ifmt_andoui2, { 0xbc000000 } |
| }, |
| /* orui $rt,$rs,$hi16 */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), ',', OP (RS), ',', OP (HI16), 0 } }, |
| & ifmt_andoui, { 0x3c000000 } |
| }, |
| /* orui ${rt-rs},$hi16 */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT_RS), ',', OP (HI16), 0 } }, |
| & ifmt_andoui2, { 0x3c000000 } |
| }, |
| /* mrgb $rd,$rs,$rt,$maskq10 */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RS), ',', OP (RT), ',', OP (MASKQ10), 0 } }, |
| & ifmt_mrgbq10, { 0x2d } |
| }, |
| /* mrgb ${rd-rs},$rt,$maskq10 */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD_RS), ',', OP (RT), ',', OP (MASKQ10), 0 } }, |
| & ifmt_mrgbq102, { 0x2d } |
| }, |
| /* j $jmptarg */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (JMPTARG), 0 } }, |
| & ifmt_jq10, { 0x8000000 } |
| }, |
| /* jal $rt,$jmptarg */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RT), ',', OP (JMPTARG), 0 } }, |
| & ifmt_jalq10, { 0xc000000 } |
| }, |
| /* jal $jmptarg */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (JMPTARG), 0 } }, |
| & ifmt_jq10, { 0xc1f0000 } |
| }, |
| /* bbil $rs($bitnum),$offset */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RS), '(', OP (BITNUM), ')', ',', OP (OFFSET), 0 } }, |
| & ifmt_bbi, { 0xf0000000 } |
| }, |
| /* bbinl $rs($bitnum),$offset */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RS), '(', OP (BITNUM), ')', ',', OP (OFFSET), 0 } }, |
| & ifmt_bbi, { 0xf8000000 } |
| }, |
| /* bbvl $rs,$rt,$offset */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RS), ',', OP (RT), ',', OP (OFFSET), 0 } }, |
| & ifmt_bbv, { 0xf4000000 } |
| }, |
| /* bbvnl $rs,$rt,$offset */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RS), ',', OP (RT), ',', OP (OFFSET), 0 } }, |
| & ifmt_bbv, { 0xfc000000 } |
| }, |
| /* bgtzal $rs,$offset */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RS), ',', OP (OFFSET), 0 } }, |
| & ifmt_bgez, { 0x4150000 } |
| }, |
| /* bgtzall $rs,$offset */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RS), ',', OP (OFFSET), 0 } }, |
| & ifmt_bgez, { 0x4170000 } |
| }, |
| /* blezal $rs,$offset */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RS), ',', OP (OFFSET), 0 } }, |
| & ifmt_bgez, { 0x4140000 } |
| }, |
| /* blezall $rs,$offset */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RS), ',', OP (OFFSET), 0 } }, |
| & ifmt_bgez, { 0x4160000 } |
| }, |
| /* bgtz $rs,$offset */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RS), ',', OP (OFFSET), 0 } }, |
| & ifmt_bgez, { 0x4050000 } |
| }, |
| /* bgtzl $rs,$offset */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RS), ',', OP (OFFSET), 0 } }, |
| & ifmt_bgez, { 0x4070000 } |
| }, |
| /* blez $rs,$offset */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RS), ',', OP (OFFSET), 0 } }, |
| & ifmt_bgez, { 0x4040000 } |
| }, |
| /* blezl $rs,$offset */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RS), ',', OP (OFFSET), 0 } }, |
| & ifmt_bgez, { 0x4060000 } |
| }, |
| /* bmb $rs,$rt,$offset */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RS), ',', OP (RT), ',', OP (OFFSET), 0 } }, |
| & ifmt_bbv, { 0x18000000 } |
| }, |
| /* bmbl $rs,$rt,$offset */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RS), ',', OP (RT), ',', OP (OFFSET), 0 } }, |
| & ifmt_bbv, { 0x58000000 } |
| }, |
| /* bri $rs,$offset */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RS), ',', OP (OFFSET), 0 } }, |
| & ifmt_bgez, { 0x4080000 } |
| }, |
| /* brv $rs,$offset */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RS), ',', OP (OFFSET), 0 } }, |
| & ifmt_bgez, { 0x4090000 } |
| }, |
| /* bctx $rs,$offset */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RS), ',', OP (OFFSET), 0 } }, |
| & ifmt_bgez, { 0x40c0000 } |
| }, |
| /* yield */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, 0 } }, |
| & ifmt_break, { 0xe } |
| }, |
| /* crc32 $rd,$rs,$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RS), ',', OP (RT), 0 } }, |
| & ifmt_add, { 0x4c000014 } |
| }, |
| /* crc32b $rd,$rs,$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RS), ',', OP (RT), 0 } }, |
| & ifmt_add, { 0x4c000015 } |
| }, |
| /* cnt1s $rd,$rs */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RS), 0 } }, |
| & ifmt_add, { 0x2e } |
| }, |
| /* avail $rd */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), 0 } }, |
| & ifmt_avail, { 0x4c000024 } |
| }, |
| /* free $rd,$rs */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RS), 0 } }, |
| & ifmt_jalr, { 0x4c000025 } |
| }, |
| /* tstod $rd,$rs */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RS), 0 } }, |
| & ifmt_jalr, { 0x4c000027 } |
| }, |
| /* cmphdr $rd */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), 0 } }, |
| & ifmt_avail, { 0x4c00002c } |
| }, |
| /* mcid $rd,$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RT), 0 } }, |
| & ifmt_chkhdr, { 0x4c000020 } |
| }, |
| /* dba $rd */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), 0 } }, |
| & ifmt_avail, { 0x4c000022 } |
| }, |
| /* dbd $rd,$rs,$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RS), ',', OP (RT), 0 } }, |
| & ifmt_add, { 0x4c000021 } |
| }, |
| /* dpwt $rd,$rs */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RS), 0 } }, |
| & ifmt_jalr, { 0x4c000023 } |
| }, |
| /* chkhdr $rd,$rs */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RS), 0 } }, |
| & ifmt_jalr, { 0x4c000026 } |
| }, |
| /* rba $rd,$rs,$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RS), ',', OP (RT), 0 } }, |
| & ifmt_add, { 0x4c000008 } |
| }, |
| /* rbal $rd,$rs,$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RS), ',', OP (RT), 0 } }, |
| & ifmt_add, { 0x4c000009 } |
| }, |
| /* rbar $rd,$rs,$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RS), ',', OP (RT), 0 } }, |
| & ifmt_add, { 0x4c00000a } |
| }, |
| /* wba $rd,$rs,$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RS), ',', OP (RT), 0 } }, |
| & ifmt_add, { 0x4c000010 } |
| }, |
| /* wbau $rd,$rs,$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RS), ',', OP (RT), 0 } }, |
| & ifmt_add, { 0x4c000011 } |
| }, |
| /* wbac $rd,$rs,$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RS), ',', OP (RT), 0 } }, |
| & ifmt_add, { 0x4c000012 } |
| }, |
| /* rbi $rd,$rs,$rt,$bytecount */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RS), ',', OP (RT), ',', OP (BYTECOUNT), 0 } }, |
| & ifmt_rbi, { 0x4c000200 } |
| }, |
| /* rbil $rd,$rs,$rt,$bytecount */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RS), ',', OP (RT), ',', OP (BYTECOUNT), 0 } }, |
| & ifmt_rbi, { 0x4c000300 } |
| }, |
| /* rbir $rd,$rs,$rt,$bytecount */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RS), ',', OP (RT), ',', OP (BYTECOUNT), 0 } }, |
| & ifmt_rbi, { 0x4c000100 } |
| }, |
| /* wbi $rd,$rs,$rt,$bytecount */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RS), ',', OP (RT), ',', OP (BYTECOUNT), 0 } }, |
| & ifmt_rbi, { 0x4c000600 } |
| }, |
| /* wbic $rd,$rs,$rt,$bytecount */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RS), ',', OP (RT), ',', OP (BYTECOUNT), 0 } }, |
| & ifmt_rbi, { 0x4c000500 } |
| }, |
| /* wbiu $rd,$rs,$rt,$bytecount */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RS), ',', OP (RT), ',', OP (BYTECOUNT), 0 } }, |
| & ifmt_rbi, { 0x4c000700 } |
| }, |
| /* pkrli $rd,$rs,$rt,$bytecount */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RS), ',', OP (RT), ',', OP (BYTECOUNT), 0 } }, |
| & ifmt_rbi, { 0x48000000 } |
| }, |
| /* pkrlih $rd,$rs,$rt,$bytecount */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RS), ',', OP (RT), ',', OP (BYTECOUNT), 0 } }, |
| & ifmt_rbi, { 0x48000200 } |
| }, |
| /* pkrliu $rd,$rs,$rt,$bytecount */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RS), ',', OP (RT), ',', OP (BYTECOUNT), 0 } }, |
| & ifmt_rbi, { 0x48000100 } |
| }, |
| /* pkrlic $rd,$rs,$rt,$bytecount */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RS), ',', OP (RT), ',', OP (BYTECOUNT), 0 } }, |
| & ifmt_rbi, { 0x48000300 } |
| }, |
| /* pkrla $rd,$rs,$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RS), ',', OP (RT), 0 } }, |
| & ifmt_add, { 0x4c000028 } |
| }, |
| /* pkrlau $rd,$rs,$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RS), ',', OP (RT), 0 } }, |
| & ifmt_add, { 0x4c000029 } |
| }, |
| /* pkrlah $rd,$rs,$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RS), ',', OP (RT), 0 } }, |
| & ifmt_add, { 0x4c00002a } |
| }, |
| /* pkrlac $rd,$rs,$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RS), ',', OP (RT), 0 } }, |
| & ifmt_add, { 0x4c00002b } |
| }, |
| /* lock $rd,$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RT), 0 } }, |
| & ifmt_chkhdr, { 0x4c000001 } |
| }, |
| /* unlk $rd,$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RT), 0 } }, |
| & ifmt_chkhdr, { 0x4c000003 } |
| }, |
| /* swrd $rd,$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RT), 0 } }, |
| & ifmt_chkhdr, { 0x4c000004 } |
| }, |
| /* swrdl $rd,$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RT), 0 } }, |
| & ifmt_chkhdr, { 0x4c000005 } |
| }, |
| /* swwr $rd,$rs,$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RS), ',', OP (RT), 0 } }, |
| & ifmt_add, { 0x4c000006 } |
| }, |
| /* swwru $rd,$rs,$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RS), ',', OP (RT), 0 } }, |
| & ifmt_add, { 0x4c000007 } |
| }, |
| /* dwrd $rd,$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RT), 0 } }, |
| & ifmt_chkhdr, { 0x4c00000c } |
| }, |
| /* dwrdl $rd,$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RT), 0 } }, |
| & ifmt_chkhdr, { 0x4c00000d } |
| }, |
| /* cam36 $rd,$rt,${cam-z},${cam-y} */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RT), ',', OP (CAM_Z), ',', OP (CAM_Y), 0 } }, |
| & ifmt_cam36, { 0x4c000400 } |
| }, |
| /* cam72 $rd,$rt,${cam-y},${cam-z} */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RT), ',', OP (CAM_Y), ',', OP (CAM_Z), 0 } }, |
| & ifmt_cam36, { 0x4c000440 } |
| }, |
| /* cam144 $rd,$rt,${cam-y},${cam-z} */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RT), ',', OP (CAM_Y), ',', OP (CAM_Z), 0 } }, |
| & ifmt_cam36, { 0x4c000480 } |
| }, |
| /* cam288 $rd,$rt,${cam-y},${cam-z} */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RT), ',', OP (CAM_Y), ',', OP (CAM_Z), 0 } }, |
| & ifmt_cam36, { 0x4c0004c0 } |
| }, |
| /* cm32and $rd,$rs,$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RS), ',', OP (RT), 0 } }, |
| & ifmt_cm32and, { 0x4c0000ab } |
| }, |
| /* cm32andn $rd,$rs,$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RS), ',', OP (RT), 0 } }, |
| & ifmt_cm32and, { 0x4c0000a3 } |
| }, |
| /* cm32or $rd,$rs,$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RS), ',', OP (RT), 0 } }, |
| & ifmt_cm32and, { 0x4c0000aa } |
| }, |
| /* cm32ra $rd,$rs,$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RS), ',', OP (RT), 0 } }, |
| & ifmt_add, { 0x4c0000b0 } |
| }, |
| /* cm32rd $rd,$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RT), 0 } }, |
| & ifmt_cm32rd, { 0x4c0000a1 } |
| }, |
| /* cm32ri $rd,$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RT), 0 } }, |
| & ifmt_cm32rd, { 0x4c0000a4 } |
| }, |
| /* cm32rs $rd,$rs,$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RS), ',', OP (RT), 0 } }, |
| & ifmt_add, { 0x4c0000a0 } |
| }, |
| /* cm32sa $rd,$rs,$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RS), ',', OP (RT), 0 } }, |
| & ifmt_cm32and, { 0x4c0000b8 } |
| }, |
| /* cm32sd $rd,$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RT), 0 } }, |
| & ifmt_cm32rd, { 0x4c0000a9 } |
| }, |
| /* cm32si $rd,$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RT), 0 } }, |
| & ifmt_cm32rd, { 0x4c0000ac } |
| }, |
| /* cm32ss $rd,$rs,$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RS), ',', OP (RT), 0 } }, |
| & ifmt_cm32and, { 0x4c0000a8 } |
| }, |
| /* cm32xor $rd,$rs,$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RS), ',', OP (RT), 0 } }, |
| & ifmt_cm32and, { 0x4c0000a2 } |
| }, |
| /* cm64clr $rd,$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RT), 0 } }, |
| & ifmt_cm32rd, { 0x4c000085 } |
| }, |
| /* cm64ra $rd,$rs,$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RS), ',', OP (RT), 0 } }, |
| & ifmt_cm32and, { 0x4c000090 } |
| }, |
| /* cm64rd $rd,$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RT), 0 } }, |
| & ifmt_cm32rd, { 0x4c000081 } |
| }, |
| /* cm64ri $rd,$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RT), 0 } }, |
| & ifmt_cm32rd, { 0x4c000084 } |
| }, |
| /* cm64ria2 $rd,$rs,$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RS), ',', OP (RT), 0 } }, |
| & ifmt_cm32and, { 0x4c000094 } |
| }, |
| /* cm64rs $rd,$rs,$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RS), ',', OP (RT), 0 } }, |
| & ifmt_cm32and, { 0x4c000080 } |
| }, |
| /* cm64sa $rd,$rs,$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RS), ',', OP (RT), 0 } }, |
| & ifmt_cm32and, { 0x4c000098 } |
| }, |
| /* cm64sd $rd,$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RT), 0 } }, |
| & ifmt_cm32rd, { 0x4c000089 } |
| }, |
| /* cm64si $rd,$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RT), 0 } }, |
| & ifmt_cm32rd, { 0x4c00008c } |
| }, |
| /* cm64sia2 $rd,$rs,$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RS), ',', OP (RT), 0 } }, |
| & ifmt_cm32and, { 0x4c00009c } |
| }, |
| /* cm64ss $rd,$rs,$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RS), ',', OP (RT), 0 } }, |
| & ifmt_cm32and, { 0x4c000088 } |
| }, |
| /* cm128ria2 $rd,$rs,$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RS), ',', OP (RT), 0 } }, |
| & ifmt_cm32and, { 0x4c000095 } |
| }, |
| /* cm128ria3 $rd,$rs,$rt,${cm-3z} */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RS), ',', OP (RT), ',', OP (CM_3Z), 0 } }, |
| & ifmt_cm128ria3, { 0x4c000090 } |
| }, |
| /* cm128ria4 $rd,$rs,$rt,${cm-4z} */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RS), ',', OP (RT), ',', OP (CM_4Z), 0 } }, |
| & ifmt_cm128ria4, { 0x4c0000b0 } |
| }, |
| /* cm128sia2 $rd,$rs,$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RS), ',', OP (RT), 0 } }, |
| & ifmt_cm32and, { 0x4c00009d } |
| }, |
| /* cm128sia3 $rd,$rs,$rt,${cm-3z} */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RS), ',', OP (RT), ',', OP (CM_3Z), 0 } }, |
| & ifmt_cm128ria3, { 0x4c000098 } |
| }, |
| /* cm128sia4 $rd,$rs,$rt,${cm-4z} */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RS), ',', OP (RT), ',', OP (CM_4Z), 0 } }, |
| & ifmt_cm128ria4, { 0x4c0000b8 } |
| }, |
| /* cm128vsa $rd,$rs,$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RS), ',', OP (RT), 0 } }, |
| & ifmt_cm32and, { 0x4c0000a6 } |
| }, |
| /* cfc $rd,$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RD), ',', OP (RT), 0 } }, |
| & ifmt_chkhdr, { 0x4c000000 } |
| }, |
| /* ctc $rs,$rt */ |
| { |
| { 0, 0, 0, 0 }, |
| { { MNEM, ' ', OP (RS), ',', OP (RT), 0 } }, |
| & ifmt_ctc, { 0x4c000002 } |
| }, |
| }; |
| |
| #undef A |
| #undef OPERAND |
| #undef MNEM |
| #undef OP |
| |
| /* Formats for ALIAS macro-insns. */ |
| |
| #define F(f) & iq2000_cgen_ifld_table[IQ2000_##f] |
| static const CGEN_IFMT ifmt_nop ATTRIBUTE_UNUSED = { |
| 32, 32, 0xffffffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_li ATTRIBUTE_UNUSED = { |
| 32, 32, 0xfc1f0000, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_IMM) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_move ATTRIBUTE_UNUSED = { |
| 32, 32, 0xffe007ff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_lb_base_0 ATTRIBUTE_UNUSED = { |
| 32, 32, 0xffe00000, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_IMM) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_lbu_base_0 ATTRIBUTE_UNUSED = { |
| 32, 32, 0xffe00000, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_IMM) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_lh_base_0 ATTRIBUTE_UNUSED = { |
| 32, 32, 0xffe00000, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_IMM) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_lw_base_0 ATTRIBUTE_UNUSED = { |
| 32, 32, 0xffe00000, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_IMM) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_m_add ATTRIBUTE_UNUSED = { |
| 32, 32, 0xfc000000, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_IMM) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_m_addu ATTRIBUTE_UNUSED = { |
| 32, 32, 0xfc000000, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_IMM) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_m_and ATTRIBUTE_UNUSED = { |
| 32, 32, 0xfc000000, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_IMM) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_m_j ATTRIBUTE_UNUSED = { |
| 32, 32, 0xfc1fffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_m_or ATTRIBUTE_UNUSED = { |
| 32, 32, 0xfc000000, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_IMM) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_m_sll ATTRIBUTE_UNUSED = { |
| 32, 32, 0xfc0007ff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_m_slt ATTRIBUTE_UNUSED = { |
| 32, 32, 0xfc000000, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_IMM) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_m_sltu ATTRIBUTE_UNUSED = { |
| 32, 32, 0xfc000000, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_IMM) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_m_sra ATTRIBUTE_UNUSED = { |
| 32, 32, 0xfc0007ff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_m_srl ATTRIBUTE_UNUSED = { |
| 32, 32, 0xfc0007ff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_not ATTRIBUTE_UNUSED = { |
| 32, 32, 0xffe007ff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_subi ATTRIBUTE_UNUSED = { |
| 32, 32, 0xfc000000, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_IMM) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_m_sub ATTRIBUTE_UNUSED = { |
| 32, 32, 0xfc000000, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_IMM) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_m_subu ATTRIBUTE_UNUSED = { |
| 32, 32, 0xfc000000, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_IMM) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_sb_base_0 ATTRIBUTE_UNUSED = { |
| 32, 32, 0xffe00000, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_IMM) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_sh_base_0 ATTRIBUTE_UNUSED = { |
| 32, 32, 0xffe00000, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_IMM) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_sw_base_0 ATTRIBUTE_UNUSED = { |
| 32, 32, 0xffe00000, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_IMM) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_m_xor ATTRIBUTE_UNUSED = { |
| 32, 32, 0xfc000000, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_IMM) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_ldw_base_0 ATTRIBUTE_UNUSED = { |
| 32, 32, 0xffe00000, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_IMM) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_sdw_base_0 ATTRIBUTE_UNUSED = { |
| 32, 32, 0xffe00000, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_IMM) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_m_avail ATTRIBUTE_UNUSED = { |
| 32, 32, 0xffffffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_m_cam36 ATTRIBUTE_UNUSED = { |
| 32, 32, 0xffe007c7, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP_10) }, { F (F_CAM_Z) }, { F (F_CAM_Y) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_m_cam72 ATTRIBUTE_UNUSED = { |
| 32, 32, 0xffe007c7, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP_10) }, { F (F_CAM_Z) }, { F (F_CAM_Y) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_m_cam144 ATTRIBUTE_UNUSED = { |
| 32, 32, 0xffe007c7, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP_10) }, { F (F_CAM_Z) }, { F (F_CAM_Y) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_m_cam288 ATTRIBUTE_UNUSED = { |
| 32, 32, 0xffe007c7, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP_10) }, { F (F_CAM_Z) }, { F (F_CAM_Y) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_m_cm32read ATTRIBUTE_UNUSED = { |
| 32, 32, 0xffe007ff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_m_cm64read ATTRIBUTE_UNUSED = { |
| 32, 32, 0xffe007ff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP) }, { F (F_CP_GRP) }, { F (F_FUNC) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_m_cm32mlog ATTRIBUTE_UNUSED = { |
| 32, 32, 0xfc00ffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP) }, { F (F_CP_GRP) }, { F (F_FUNC) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_m_cm32and ATTRIBUTE_UNUSED = { |
| 32, 32, 0xfc00ffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP) }, { F (F_CP_GRP) }, { F (F_FUNC) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_m_cm32andn ATTRIBUTE_UNUSED = { |
| 32, 32, 0xfc00ffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP) }, { F (F_CP_GRP) }, { F (F_FUNC) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_m_cm32or ATTRIBUTE_UNUSED = { |
| 32, 32, 0xfc00ffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP) }, { F (F_CP_GRP) }, { F (F_FUNC) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_m_cm32ra ATTRIBUTE_UNUSED = { |
| 32, 32, 0xfc00ffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_m_cm32rd ATTRIBUTE_UNUSED = { |
| 32, 32, 0xffe0ffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP) }, { F (F_CP_GRP) }, { F (F_FUNC) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_m_cm32ri ATTRIBUTE_UNUSED = { |
| 32, 32, 0xffe0ffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP) }, { F (F_CP_GRP) }, { F (F_FUNC) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_m_cm32rs ATTRIBUTE_UNUSED = { |
| 32, 32, 0xfc00ffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_SHAMT) }, { F (F_FUNC) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_m_cm32sa ATTRIBUTE_UNUSED = { |
| 32, 32, 0xfc00ffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP) }, { F (F_CP_GRP) }, { F (F_FUNC) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_m_cm32sd ATTRIBUTE_UNUSED = { |
| 32, 32, 0xffe0ffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP) }, { F (F_CP_GRP) }, { F (F_FUNC) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_m_cm32si ATTRIBUTE_UNUSED = { |
| 32, 32, 0xffe0ffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP) }, { F (F_CP_GRP) }, { F (F_FUNC) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_m_cm32ss ATTRIBUTE_UNUSED = { |
| 32, 32, 0xfc00ffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP) }, { F (F_CP_GRP) }, { F (F_FUNC) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_m_cm32xor ATTRIBUTE_UNUSED = { |
| 32, 32, 0xfc00ffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP) }, { F (F_CP_GRP) }, { F (F_FUNC) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_m_cm64clr ATTRIBUTE_UNUSED = { |
| 32, 32, 0xffe0ffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP) }, { F (F_CP_GRP) }, { F (F_FUNC) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_m_cm64ra ATTRIBUTE_UNUSED = { |
| 32, 32, 0xfc00ffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP) }, { F (F_CP_GRP) }, { F (F_FUNC) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_m_cm64rd ATTRIBUTE_UNUSED = { |
| 32, 32, 0xffe0ffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP) }, { F (F_CP_GRP) }, { F (F_FUNC) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_m_cm64ri ATTRIBUTE_UNUSED = { |
| 32, 32, 0xffe0ffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP) }, { F (F_CP_GRP) }, { F (F_FUNC) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_m_cm64ria2 ATTRIBUTE_UNUSED = { |
| 32, 32, 0xfc00ffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP) }, { F (F_CP_GRP) }, { F (F_FUNC) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_m_cm64rs ATTRIBUTE_UNUSED = { |
| 32, 32, 0xfc00ffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP) }, { F (F_CP_GRP) }, { F (F_FUNC) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_m_cm64sa ATTRIBUTE_UNUSED = { |
| 32, 32, 0xfc00ffff, { { F (F_OPCODE) }, { F (F_RS) }, { F (F_RT) }, { F (F_RD) }, { F (F_CP_OP) }, { F (F_CP_GRP) }, { F (F_FUNC) }, { 0 } } |
| }; |
| |
| static const CGEN_IFMT ifmt_m_cm64sd ATTRIBUTE_UNUSED = { |
| 32, |