1 /* microblaze-opc.h -- MicroBlaze Opcodes
3 Copyright (C) 2009-2024 Free Software Foundation, Inc.
5 This file is part of the GNU opcodes library.
7 This library is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 3, or (at your option)
12 It is distributed in the hope that it will be useful, but WITHOUT
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
14 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
15 License for more details.
17 You should have received a copy of the GNU General Public License
18 along with this file; see the file COPYING. If not, write to the
19 Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston,
20 MA 02110-1301, USA. */
23 #ifndef MICROBLAZE_OPC
24 #define MICROBLAZE_OPC
26 #include "microblaze-opcm.h"
29 #define INST_TYPE_RD_R1_R2 0
30 #define INST_TYPE_RD_R1_IMM 1
31 #define INST_TYPE_RD_R1_UNSIGNED_IMM 2
32 #define INST_TYPE_RD_R1 3
33 #define INST_TYPE_RD_R2 4
34 #define INST_TYPE_RD_IMM 5
35 #define INST_TYPE_R2 6
36 #define INST_TYPE_R1_R2 7
37 #define INST_TYPE_R1_IMM 8
38 #define INST_TYPE_IMM 9
39 #define INST_TYPE_SPECIAL_R1 10
40 #define INST_TYPE_RD_SPECIAL 11
41 #define INST_TYPE_R1 12
42 /* New instn type for barrel shift imms. */
43 #define INST_TYPE_RD_R1_IMM5 13
44 #define INST_TYPE_RD_RFSL 14
45 #define INST_TYPE_R1_RFSL 15
47 /* New insn type for insn cache. */
48 #define INST_TYPE_R1_R2_SPECIAL 16
50 /* New insn type for msrclr, msrset insns. */
51 #define INST_TYPE_RD_IMM15 17
53 /* New insn type for tuqula rd - addik rd, r0, 42. */
54 #define INST_TYPE_RD 18
56 /* New insn type for t*put. */
57 #define INST_TYPE_RFSL 19
60 #define INST_TYPE_IMM5 20
62 /* For bsefi and bsifi */
63 #define INST_TYPE_RD_R1_IMMW_IMMS 21
65 #define INST_TYPE_NONE 25
69 /* Instructions where the label address is resolved as a PC offset
70 (for branch label). */
71 #define INST_PC_OFFSET 1
72 /* Instructions where the label address is resolved as an absolute
73 value (for data mem or abs address). */
74 #define INST_NO_OFFSET 0
76 #define IMMVAL_MASK_NON_SPECIAL 0x0000
77 #define IMMVAL_MASK_MTS 0x4000
78 #define IMMVAL_MASK_MFS 0x0000
80 #define OPCODE_MASK_H 0xFC000000 /* High 6 bits only. */
81 #define OPCODE_MASK_H1 0xFFE00000 /* High 11 bits. */
82 #define OPCODE_MASK_H2 0xFC1F0000 /* High 6 and bits 20-16. */
83 #define OPCODE_MASK_H12 0xFFFF0000 /* High 16. */
84 #define OPCODE_MASK_H4 0xFC0007FF /* High 6 and low 11 bits. */
85 #define OPCODE_MASK_H13S 0xFFE0E7F0 /* High 11 16:18 21:27 bits, 19:20 bits
86 and last nibble of last byte for spr. */
87 #define OPCODE_MASK_H23S 0xFC1FC000 /* High 6, 20-16 and 15:1 bits and last
88 nibble of last byte for spr. */
89 #define OPCODE_MASK_H34 0xFC00FFFF /* High 6 and low 16 bits. */
90 #define OPCODE_MASK_H14 0xFFE007FF /* High 11 and low 11 bits. */
91 #define OPCODE_MASK_H24 0xFC1F07FF /* High 6, bits 20-16 and low 11 bits. */
92 #define OPCODE_MASK_H124 0xFFFF07FF /* High 16, and low 11 bits. */
93 #define OPCODE_MASK_H1234 0xFFFFFFFF /* All 32 bits. */
94 #define OPCODE_MASK_H3 0xFC000600 /* High 6 bits and bits 21, 22. */
95 #define OPCODE_MASK_H3B 0xFC00F9E0 /* High 6 bits and bits 16:20 and
97 #define OPCODE_MASK_H32 0xFC00FC00 /* High 6 bits and bit 16-21. */
98 #define OPCODE_MASK_H32B 0xFC00F820 /* High 6 bits and bits 16:20 and
100 #define OPCODE_MASK_H34B 0xFC0000FF /* High 6 bits and low 8 bits. */
101 #define OPCODE_MASK_H35B 0xFC0004FF /* High 6 bits and low 9 bits. */
102 #define OPCODE_MASK_H34C 0xFC0007E0 /* High 6 bits and bits 21-26. */
104 /* New Mask for msrset, msrclr insns. */
105 #define OPCODE_MASK_H23N 0xFC1F8000 /* High 6 and bits 11 - 16. */
106 /* Mask for mbar insn. */
107 #define OPCODE_MASK_HN 0xFF020004 /* High 16 bits and bits 14, 29. */
110 #define NO_DELAY_SLOT 0
112 #define MAX_OPCODES 291
114 const struct op_code_struct
117 short inst_type
; /* Registers and immediate values involved. */
118 short inst_offset_type
; /* Immediate vals offset from PC? (= 1 for branches). */
119 short delay_slots
; /* Info about delay slots needed after this instr. */
121 unsigned long bit_sequence
; /* All the fixed bits for the op are set and
122 all the variable bits (reg names, imm vals)
124 unsigned long opcode_mask
; /* Which bits define the opcode. */
125 enum microblaze_instr instr
;
126 enum microblaze_instr_type instr_type
;
127 /* More info about output format here. */
128 } microblaze_opcodes
[MAX_OPCODES
] =
130 {"add", INST_TYPE_RD_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x00000000, OPCODE_MASK_H4
, add
, arithmetic_inst
},
131 {"rsub", INST_TYPE_RD_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x04000000, OPCODE_MASK_H4
, rsub
, arithmetic_inst
},
132 {"addc", INST_TYPE_RD_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x08000000, OPCODE_MASK_H4
, addc
, arithmetic_inst
},
133 {"rsubc", INST_TYPE_RD_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x0C000000, OPCODE_MASK_H4
, rsubc
, arithmetic_inst
},
134 {"addk", INST_TYPE_RD_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x10000000, OPCODE_MASK_H4
, addk
, arithmetic_inst
},
135 {"rsubk", INST_TYPE_RD_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x14000000, OPCODE_MASK_H4
, rsubk
, arithmetic_inst
},
136 {"cmp", INST_TYPE_RD_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x14000001, OPCODE_MASK_H4
, cmp
, arithmetic_inst
},
137 {"cmpu", INST_TYPE_RD_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x14000003, OPCODE_MASK_H4
, cmpu
, arithmetic_inst
},
138 {"addkc", INST_TYPE_RD_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x18000000, OPCODE_MASK_H4
, addkc
, arithmetic_inst
},
139 {"rsubkc",INST_TYPE_RD_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x1C000000, OPCODE_MASK_H4
, rsubkc
, arithmetic_inst
},
140 {"addi", INST_TYPE_RD_R1_IMM
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x20000000, OPCODE_MASK_H
, addi
, arithmetic_inst
},
141 {"rsubi", INST_TYPE_RD_R1_IMM
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x24000000, OPCODE_MASK_H
, rsubi
, arithmetic_inst
},
142 {"addic", INST_TYPE_RD_R1_IMM
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x28000000, OPCODE_MASK_H
, addic
, arithmetic_inst
},
143 {"rsubic",INST_TYPE_RD_R1_IMM
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x2C000000, OPCODE_MASK_H
, rsubic
, arithmetic_inst
},
144 {"addik", INST_TYPE_RD_R1_IMM
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x30000000, OPCODE_MASK_H
, addik
, arithmetic_inst
},
145 {"rsubik",INST_TYPE_RD_R1_IMM
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x34000000, OPCODE_MASK_H
, rsubik
, arithmetic_inst
},
146 {"addikc",INST_TYPE_RD_R1_IMM
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x38000000, OPCODE_MASK_H
, addikc
, arithmetic_inst
},
147 {"rsubikc",INST_TYPE_RD_R1_IMM
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x3C000000, OPCODE_MASK_H
, rsubikc
, arithmetic_inst
},
148 {"mul", INST_TYPE_RD_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x40000000, OPCODE_MASK_H4
, mul
, mult_inst
},
149 {"mulh", INST_TYPE_RD_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x40000001, OPCODE_MASK_H4
, mulh
, mult_inst
},
150 {"mulhu", INST_TYPE_RD_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x40000003, OPCODE_MASK_H4
, mulhu
, mult_inst
},
151 {"mulhsu",INST_TYPE_RD_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x40000002, OPCODE_MASK_H4
, mulhsu
, mult_inst
},
152 {"idiv", INST_TYPE_RD_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x48000000, OPCODE_MASK_H4
, idiv
, div_inst
},
153 {"idivu", INST_TYPE_RD_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x48000002, OPCODE_MASK_H4
, idivu
, div_inst
},
154 {"bsll", INST_TYPE_RD_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x44000400, OPCODE_MASK_H3
, bsll
, barrel_shift_inst
},
155 {"bsra", INST_TYPE_RD_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x44000200, OPCODE_MASK_H3
, bsra
, barrel_shift_inst
},
156 {"bsrl", INST_TYPE_RD_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x44000000, OPCODE_MASK_H3
, bsrl
, barrel_shift_inst
},
157 {"get", INST_TYPE_RD_RFSL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x6C000000, OPCODE_MASK_H32
, get
, anyware_inst
},
158 {"put", INST_TYPE_R1_RFSL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x6C008000, OPCODE_MASK_H32
, put
, anyware_inst
},
159 {"nget", INST_TYPE_RD_RFSL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x6C004000, OPCODE_MASK_H32
, nget
, anyware_inst
},
160 {"nput", INST_TYPE_R1_RFSL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x6C00C000, OPCODE_MASK_H32
, nput
, anyware_inst
},
161 {"cget", INST_TYPE_RD_RFSL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x6C002000, OPCODE_MASK_H32
, cget
, anyware_inst
},
162 {"cput", INST_TYPE_R1_RFSL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x6C00A000, OPCODE_MASK_H32
, cput
, anyware_inst
},
163 {"ncget", INST_TYPE_RD_RFSL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x6C006000, OPCODE_MASK_H32
, ncget
, anyware_inst
},
164 {"ncput", INST_TYPE_R1_RFSL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x6C00E000, OPCODE_MASK_H32
, ncput
, anyware_inst
},
165 {"muli", INST_TYPE_RD_R1_IMM
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x60000000, OPCODE_MASK_H
, muli
, mult_inst
},
166 {"bslli", INST_TYPE_RD_R1_IMM5
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x64000400, OPCODE_MASK_H3B
, bslli
, barrel_shift_inst
},
167 {"bsrai", INST_TYPE_RD_R1_IMM5
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x64000200, OPCODE_MASK_H3B
, bsrai
, barrel_shift_inst
},
168 {"bsrli", INST_TYPE_RD_R1_IMM5
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x64000000, OPCODE_MASK_H3B
, bsrli
, barrel_shift_inst
},
169 {"bsefi", INST_TYPE_RD_R1_IMMW_IMMS
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x64004000, OPCODE_MASK_H32B
, bsefi
, barrel_shift_inst
},
170 {"bsifi", INST_TYPE_RD_R1_IMMW_IMMS
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x64008000, OPCODE_MASK_H32B
, bsifi
, barrel_shift_inst
},
171 {"or", INST_TYPE_RD_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x80000000, OPCODE_MASK_H4
, microblaze_or
, logical_inst
},
172 {"and", INST_TYPE_RD_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x84000000, OPCODE_MASK_H4
, microblaze_and
, logical_inst
},
173 {"xor", INST_TYPE_RD_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x88000000, OPCODE_MASK_H4
, microblaze_xor
, logical_inst
},
174 {"andn", INST_TYPE_RD_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x8C000000, OPCODE_MASK_H4
, andn
, logical_inst
},
175 {"pcmpbf",INST_TYPE_RD_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x80000400, OPCODE_MASK_H4
, pcmpbf
, logical_inst
},
176 {"pcmpbc",INST_TYPE_RD_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x84000400, OPCODE_MASK_H4
, pcmpbc
, logical_inst
},
177 {"pcmpeq",INST_TYPE_RD_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x88000400, OPCODE_MASK_H4
, pcmpeq
, logical_inst
},
178 {"pcmpne",INST_TYPE_RD_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x8C000400, OPCODE_MASK_H4
, pcmpne
, logical_inst
},
179 {"sra", INST_TYPE_RD_R1
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x90000001, OPCODE_MASK_H34
, sra
, logical_inst
},
180 {"src", INST_TYPE_RD_R1
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x90000021, OPCODE_MASK_H34
, src
, logical_inst
},
181 {"srl", INST_TYPE_RD_R1
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x90000041, OPCODE_MASK_H34
, srl
, logical_inst
},
182 {"sext8", INST_TYPE_RD_R1
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x90000060, OPCODE_MASK_H34
, sext8
, logical_inst
},
183 {"sext16",INST_TYPE_RD_R1
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x90000061, OPCODE_MASK_H34
, sext16
, logical_inst
},
184 {"wic", INST_TYPE_R1_R2_SPECIAL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x90000068, OPCODE_MASK_H34B
, wic
, special_inst
},
185 {"wdc", INST_TYPE_R1_R2_SPECIAL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x90000064, OPCODE_MASK_H34B
, wdc
, special_inst
},
186 {"wdc.clear", INST_TYPE_R1_R2_SPECIAL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x90000066, OPCODE_MASK_H34B
, wdcclear
, special_inst
},
187 {"wdc.ext.clear", INST_TYPE_R1_R2_SPECIAL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x90000466, OPCODE_MASK_H35B
, wdcextclear
, special_inst
},
188 {"wdc.flush", INST_TYPE_R1_R2_SPECIAL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x90000074, OPCODE_MASK_H34B
, wdcflush
, special_inst
},
189 {"wdc.ext.flush", INST_TYPE_R1_R2_SPECIAL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x90000476, OPCODE_MASK_H35B
, wdcextflush
, special_inst
},
190 {"wdc.clear.ea", INST_TYPE_R1_R2_SPECIAL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x900000E6, OPCODE_MASK_H34B
, wdcclearea
, special_inst
},
191 {"mts", INST_TYPE_SPECIAL_R1
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_MTS
, 0x9400C000, OPCODE_MASK_H13S
, mts
, special_inst
},
192 {"mtse", INST_TYPE_SPECIAL_R1
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_MTS
, 0x9500C000, OPCODE_MASK_H13S
, mtse
,special_inst
},
193 {"mfs", INST_TYPE_RD_SPECIAL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_MFS
, 0x94008000, OPCODE_MASK_H23S
, mfs
, special_inst
},
194 {"mfse", INST_TYPE_RD_SPECIAL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_MFS
, 0x94088000, OPCODE_MASK_H23S
, mfse
, special_inst
},
195 {"br", INST_TYPE_R2
, INST_PC_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x98000000, OPCODE_MASK_H124
, br
, branch_inst
},
196 {"brd", INST_TYPE_R2
, INST_PC_OFFSET
, DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x98100000, OPCODE_MASK_H124
, brd
, branch_inst
},
197 {"brld", INST_TYPE_RD_R2
, INST_PC_OFFSET
, DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x98140000, OPCODE_MASK_H24
, brld
, branch_inst
},
198 {"bra", INST_TYPE_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x98080000, OPCODE_MASK_H124
, bra
, branch_inst
},
199 {"brad", INST_TYPE_R2
, INST_NO_OFFSET
, DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x98180000, OPCODE_MASK_H124
, brad
, branch_inst
},
200 {"brald", INST_TYPE_RD_R2
, INST_NO_OFFSET
, DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x981C0000, OPCODE_MASK_H24
, brald
, branch_inst
},
201 {"brk", INST_TYPE_RD_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x980C0000, OPCODE_MASK_H24
, microblaze_brk
, branch_inst
},
202 {"beq", INST_TYPE_R1_R2
, INST_PC_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x9C000000, OPCODE_MASK_H14
, beq
, branch_inst
},
203 {"beqd", INST_TYPE_R1_R2
, INST_PC_OFFSET
, DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x9E000000, OPCODE_MASK_H14
, beqd
, branch_inst
},
204 {"bne", INST_TYPE_R1_R2
, INST_PC_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x9C200000, OPCODE_MASK_H14
, bne
, branch_inst
},
205 {"bned", INST_TYPE_R1_R2
, INST_PC_OFFSET
, DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x9E200000, OPCODE_MASK_H14
, bned
, branch_inst
},
206 {"blt", INST_TYPE_R1_R2
, INST_PC_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x9C400000, OPCODE_MASK_H14
, blt
, branch_inst
},
207 {"bltd", INST_TYPE_R1_R2
, INST_PC_OFFSET
, DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x9E400000, OPCODE_MASK_H14
, bltd
, branch_inst
},
208 {"ble", INST_TYPE_R1_R2
, INST_PC_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x9C600000, OPCODE_MASK_H14
, ble
, branch_inst
},
209 {"bled", INST_TYPE_R1_R2
, INST_PC_OFFSET
, DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x9E600000, OPCODE_MASK_H14
, bled
, branch_inst
},
210 {"bgt", INST_TYPE_R1_R2
, INST_PC_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x9C800000, OPCODE_MASK_H14
, bgt
, branch_inst
},
211 {"bgtd", INST_TYPE_R1_R2
, INST_PC_OFFSET
, DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x9E800000, OPCODE_MASK_H14
, bgtd
, branch_inst
},
212 {"bge", INST_TYPE_R1_R2
, INST_PC_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x9CA00000, OPCODE_MASK_H14
, bge
, branch_inst
},
213 {"bged", INST_TYPE_R1_R2
, INST_PC_OFFSET
, DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x9EA00000, OPCODE_MASK_H14
, bged
, branch_inst
},
214 {"ori", INST_TYPE_RD_R1_IMM
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0xA0000000, OPCODE_MASK_H
, ori
, logical_inst
},
215 {"andi", INST_TYPE_RD_R1_IMM
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0xA4000000, OPCODE_MASK_H
, andi
, logical_inst
},
216 {"xori", INST_TYPE_RD_R1_IMM
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0xA8000000, OPCODE_MASK_H
, xori
, logical_inst
},
217 {"andni", INST_TYPE_RD_R1_IMM
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0xAC000000, OPCODE_MASK_H
, andni
, logical_inst
},
218 {"imm", INST_TYPE_IMM
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0xB0000000, OPCODE_MASK_H12
, imm
, immediate_inst
},
219 {"rtsd", INST_TYPE_R1_IMM
, INST_NO_OFFSET
, DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0xB6000000, OPCODE_MASK_H1
, rtsd
, return_inst
},
220 {"rtid", INST_TYPE_R1_IMM
, INST_NO_OFFSET
, DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0xB6200000, OPCODE_MASK_H1
, rtid
, return_inst
},
221 {"rtbd", INST_TYPE_R1_IMM
, INST_NO_OFFSET
, DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0xB6400000, OPCODE_MASK_H1
, rtbd
, return_inst
},
222 {"rted", INST_TYPE_R1_IMM
, INST_NO_OFFSET
, DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0xB6800000, OPCODE_MASK_H1
, rted
, return_inst
},
223 {"bri", INST_TYPE_IMM
, INST_PC_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0xB8000000, OPCODE_MASK_H12
, bri
, branch_inst
},
224 {"brid", INST_TYPE_IMM
, INST_PC_OFFSET
, DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0xB8100000, OPCODE_MASK_H12
, brid
, branch_inst
},
225 {"brlid", INST_TYPE_RD_IMM
, INST_PC_OFFSET
, DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0xB8140000, OPCODE_MASK_H2
, brlid
, branch_inst
},
226 {"brai", INST_TYPE_IMM
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0xB8080000, OPCODE_MASK_H12
, brai
, branch_inst
},
227 {"braid", INST_TYPE_IMM
, INST_NO_OFFSET
, DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0xB8180000, OPCODE_MASK_H12
, braid
, branch_inst
},
228 {"bralid",INST_TYPE_RD_IMM
, INST_NO_OFFSET
, DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0xB81C0000, OPCODE_MASK_H2
, bralid
, branch_inst
},
229 {"brki", INST_TYPE_RD_IMM
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0xB80C0000, OPCODE_MASK_H2
, brki
, branch_inst
},
230 {"beqi", INST_TYPE_R1_IMM
, INST_PC_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0xBC000000, OPCODE_MASK_H1
, beqi
, branch_inst
},
231 {"beqid", INST_TYPE_R1_IMM
, INST_PC_OFFSET
, DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0xBE000000, OPCODE_MASK_H1
, beqid
, branch_inst
},
232 {"bnei", INST_TYPE_R1_IMM
, INST_PC_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0xBC200000, OPCODE_MASK_H1
, bnei
, branch_inst
},
233 {"bneid", INST_TYPE_R1_IMM
, INST_PC_OFFSET
, DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0xBE200000, OPCODE_MASK_H1
, bneid
, branch_inst
},
234 {"blti", INST_TYPE_R1_IMM
, INST_PC_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0xBC400000, OPCODE_MASK_H1
, blti
, branch_inst
},
235 {"bltid", INST_TYPE_R1_IMM
, INST_PC_OFFSET
, DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0xBE400000, OPCODE_MASK_H1
, bltid
, branch_inst
},
236 {"blei", INST_TYPE_R1_IMM
, INST_PC_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0xBC600000, OPCODE_MASK_H1
, blei
, branch_inst
},
237 {"bleid", INST_TYPE_R1_IMM
, INST_PC_OFFSET
, DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0xBE600000, OPCODE_MASK_H1
, bleid
, branch_inst
},
238 {"bgti", INST_TYPE_R1_IMM
, INST_PC_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0xBC800000, OPCODE_MASK_H1
, bgti
, branch_inst
},
239 {"bgtid", INST_TYPE_R1_IMM
, INST_PC_OFFSET
, DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0xBE800000, OPCODE_MASK_H1
, bgtid
, branch_inst
},
240 {"bgei", INST_TYPE_R1_IMM
, INST_PC_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0xBCA00000, OPCODE_MASK_H1
, bgei
, branch_inst
},
241 {"bgeid", INST_TYPE_R1_IMM
, INST_PC_OFFSET
, DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0xBEA00000, OPCODE_MASK_H1
, bgeid
, branch_inst
},
242 {"lbu", INST_TYPE_RD_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0xC0000000, OPCODE_MASK_H4
, lbu
, memory_load_inst
},
243 {"lbur", INST_TYPE_RD_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0xC0000200, OPCODE_MASK_H4
, lbur
, memory_load_inst
},
244 {"lbuea", INST_TYPE_RD_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0xC0000080, OPCODE_MASK_H4
, lbuea
, memory_load_inst
},
245 {"lhu", INST_TYPE_RD_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0xC4000000, OPCODE_MASK_H4
, lhu
, memory_load_inst
},
246 {"lhur", INST_TYPE_RD_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0xC4000200, OPCODE_MASK_H4
, lhur
, memory_load_inst
},
247 {"lhuea", INST_TYPE_RD_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0xC4000080, OPCODE_MASK_H4
, lhuea
, memory_load_inst
},
248 {"lw", INST_TYPE_RD_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0xC8000000, OPCODE_MASK_H4
, lw
, memory_load_inst
},
249 {"lwr", INST_TYPE_RD_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0xC8000200, OPCODE_MASK_H4
, lwr
, memory_load_inst
},
250 {"lwx", INST_TYPE_RD_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0xC8000400, OPCODE_MASK_H4
, lwx
, memory_load_inst
},
251 {"lwea", INST_TYPE_RD_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0xC8000080, OPCODE_MASK_H4
, lwea
, memory_load_inst
},
252 {"sb", INST_TYPE_RD_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0xD0000000, OPCODE_MASK_H4
, sb
, memory_store_inst
},
253 {"sbr", INST_TYPE_RD_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0xD0000200, OPCODE_MASK_H4
, sbr
, memory_store_inst
},
254 {"sbea", INST_TYPE_RD_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0xD0000080, OPCODE_MASK_H4
, sbea
, memory_store_inst
},
255 {"sh", INST_TYPE_RD_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0xD4000000, OPCODE_MASK_H4
, sh
, memory_store_inst
},
256 {"shr", INST_TYPE_RD_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0xD4000200, OPCODE_MASK_H4
, shr
, memory_store_inst
},
257 {"shea", INST_TYPE_RD_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0xD4000080, OPCODE_MASK_H4
, shea
, memory_store_inst
},
258 {"sw", INST_TYPE_RD_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0xD8000000, OPCODE_MASK_H4
, sw
, memory_store_inst
},
259 {"swr", INST_TYPE_RD_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0xD8000200, OPCODE_MASK_H4
, swr
, memory_store_inst
},
260 {"swx", INST_TYPE_RD_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0xD8000400, OPCODE_MASK_H4
, swx
, memory_store_inst
},
261 {"swea", INST_TYPE_RD_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0xD8000080, OPCODE_MASK_H4
, swea
, memory_store_inst
},
262 {"lbui", INST_TYPE_RD_R1_IMM
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0xE0000000, OPCODE_MASK_H
, lbui
, memory_load_inst
},
263 {"lhui", INST_TYPE_RD_R1_IMM
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0xE4000000, OPCODE_MASK_H
, lhui
, memory_load_inst
},
264 {"lwi", INST_TYPE_RD_R1_IMM
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0xE8000000, OPCODE_MASK_H
, lwi
, memory_load_inst
},
265 {"sbi", INST_TYPE_RD_R1_IMM
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0xF0000000, OPCODE_MASK_H
, sbi
, memory_store_inst
},
266 {"shi", INST_TYPE_RD_R1_IMM
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0xF4000000, OPCODE_MASK_H
, shi
, memory_store_inst
},
267 {"swi", INST_TYPE_RD_R1_IMM
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0xF8000000, OPCODE_MASK_H
, swi
, memory_store_inst
},
268 {"nop", INST_TYPE_NONE
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x80000000, OPCODE_MASK_H1234
, invalid_inst
, logical_inst
}, /* translates to or r0, r0, r0. */
269 {"la", INST_TYPE_RD_R1_IMM
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x30000000, OPCODE_MASK_H
, invalid_inst
, arithmetic_inst
}, /* la translates to addik. */
270 {"tuqula",INST_TYPE_RD
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x3000002A, OPCODE_MASK_H
, invalid_inst
, arithmetic_inst
}, /* tuqula rd translates to addik rd, r0, 42. */
271 {"not", INST_TYPE_RD_R1
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0xA800FFFF, OPCODE_MASK_H34
, invalid_inst
, logical_inst
}, /* not translates to xori rd,ra,-1. */
272 {"neg", INST_TYPE_RD_R1
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x04000000, OPCODE_MASK_H
, invalid_inst
, arithmetic_inst
}, /* neg translates to rsub rd, ra, r0. */
273 {"rtb", INST_TYPE_R1
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0xB6000004, OPCODE_MASK_H1
, invalid_inst
, return_inst
}, /* rtb translates to rts rd, 4. */
274 {"sub", INST_TYPE_RD_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x04000000, OPCODE_MASK_H
, invalid_inst
, arithmetic_inst
}, /* sub translates to rsub rd, rb, ra. */
275 {"lmi", INST_TYPE_RD_R1_IMM
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0xE8000000, OPCODE_MASK_H
, invalid_inst
, memory_load_inst
},
276 {"smi", INST_TYPE_RD_R1_IMM
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0xF8000000, OPCODE_MASK_H
, invalid_inst
, memory_store_inst
},
277 {"msrset",INST_TYPE_RD_IMM15
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x94100000, OPCODE_MASK_H23N
, msrset
, special_inst
},
278 {"msrclr",INST_TYPE_RD_IMM15
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x94110000, OPCODE_MASK_H23N
, msrclr
, special_inst
},
279 {"fadd", INST_TYPE_RD_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x58000000, OPCODE_MASK_H4
, mbi_fadd
, arithmetic_inst
},
280 {"frsub", INST_TYPE_RD_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x58000080, OPCODE_MASK_H4
, frsub
, arithmetic_inst
},
281 {"fmul", INST_TYPE_RD_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x58000100, OPCODE_MASK_H4
, mbi_fmul
, arithmetic_inst
},
282 {"fdiv", INST_TYPE_RD_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x58000180, OPCODE_MASK_H4
, mbi_fdiv
, arithmetic_inst
},
283 {"fcmp.lt", INST_TYPE_RD_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x58000210, OPCODE_MASK_H4
, fcmp_lt
, arithmetic_inst
},
284 {"fcmp.eq", INST_TYPE_RD_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x58000220, OPCODE_MASK_H4
, fcmp_eq
, arithmetic_inst
},
285 {"fcmp.le", INST_TYPE_RD_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x58000230, OPCODE_MASK_H4
, fcmp_le
, arithmetic_inst
},
286 {"fcmp.gt", INST_TYPE_RD_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x58000240, OPCODE_MASK_H4
, fcmp_gt
, arithmetic_inst
},
287 {"fcmp.ne", INST_TYPE_RD_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x58000250, OPCODE_MASK_H4
, fcmp_ne
, arithmetic_inst
},
288 {"fcmp.ge", INST_TYPE_RD_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x58000260, OPCODE_MASK_H4
, fcmp_ge
, arithmetic_inst
},
289 {"fcmp.un", INST_TYPE_RD_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x58000200, OPCODE_MASK_H4
, fcmp_un
, arithmetic_inst
},
290 {"flt", INST_TYPE_RD_R1
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x58000280, OPCODE_MASK_H4
, flt
, arithmetic_inst
},
291 {"fint", INST_TYPE_RD_R1
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x58000300, OPCODE_MASK_H4
, fint
, arithmetic_inst
},
292 {"fsqrt", INST_TYPE_RD_R1
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x58000380, OPCODE_MASK_H4
, microblaze_fsqrt
, arithmetic_inst
},
293 {"tget", INST_TYPE_RD_RFSL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x6C001000, OPCODE_MASK_H32
, tget
, anyware_inst
},
294 {"tcget", INST_TYPE_RD_RFSL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x6C003000, OPCODE_MASK_H32
, tcget
, anyware_inst
},
295 {"tnget", INST_TYPE_RD_RFSL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x6C005000, OPCODE_MASK_H32
, tnget
, anyware_inst
},
296 {"tncget", INST_TYPE_RD_RFSL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x6C007000, OPCODE_MASK_H32
, tncget
, anyware_inst
},
297 {"tput", INST_TYPE_RFSL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x6C009000, OPCODE_MASK_H32
, tput
, anyware_inst
},
298 {"tcput", INST_TYPE_RFSL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x6C00B000, OPCODE_MASK_H32
, tcput
, anyware_inst
},
299 {"tnput", INST_TYPE_RFSL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x6C00D000, OPCODE_MASK_H32
, tnput
, anyware_inst
},
300 {"tncput", INST_TYPE_RFSL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x6C00F000, OPCODE_MASK_H32
, tncput
, anyware_inst
},
302 {"eget", INST_TYPE_RD_RFSL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x6C000400, OPCODE_MASK_H32
, eget
, anyware_inst
},
303 {"ecget", INST_TYPE_RD_RFSL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x6C002400, OPCODE_MASK_H32
, ecget
, anyware_inst
},
304 {"neget", INST_TYPE_RD_RFSL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x6C004400, OPCODE_MASK_H32
, neget
, anyware_inst
},
305 {"necget", INST_TYPE_RD_RFSL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x6C006400, OPCODE_MASK_H32
, necget
, anyware_inst
},
306 {"eput", INST_TYPE_R1_RFSL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x6C008400, OPCODE_MASK_H32
, eput
, anyware_inst
},
307 {"ecput", INST_TYPE_R1_RFSL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x6C00A400, OPCODE_MASK_H32
, ecput
, anyware_inst
},
308 {"neput", INST_TYPE_R1_RFSL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x6C00C400, OPCODE_MASK_H32
, neput
, anyware_inst
},
309 {"necput", INST_TYPE_R1_RFSL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x6C00E400, OPCODE_MASK_H32
, necput
, anyware_inst
},
311 {"teget", INST_TYPE_RD_RFSL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x6C001400, OPCODE_MASK_H32
, teget
, anyware_inst
},
312 {"tecget", INST_TYPE_RD_RFSL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x6C003400, OPCODE_MASK_H32
, tecget
, anyware_inst
},
313 {"tneget", INST_TYPE_RD_RFSL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x6C005400, OPCODE_MASK_H32
, tneget
, anyware_inst
},
314 {"tnecget", INST_TYPE_RD_RFSL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x6C007400, OPCODE_MASK_H32
, tnecget
, anyware_inst
},
315 {"teput", INST_TYPE_RFSL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x6C009400, OPCODE_MASK_H32
, teput
, anyware_inst
},
316 {"tecput", INST_TYPE_RFSL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x6C00B400, OPCODE_MASK_H32
, tecput
, anyware_inst
},
317 {"tneput", INST_TYPE_RFSL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x6C00D400, OPCODE_MASK_H32
, tneput
, anyware_inst
},
318 {"tnecput", INST_TYPE_RFSL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x6C00F400, OPCODE_MASK_H32
, tnecput
, anyware_inst
},
320 {"aget", INST_TYPE_RD_RFSL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x6C000800, OPCODE_MASK_H32
, aget
, anyware_inst
},
321 {"caget", INST_TYPE_RD_RFSL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x6C002800, OPCODE_MASK_H32
, caget
, anyware_inst
},
322 {"naget", INST_TYPE_RD_RFSL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x6C004800, OPCODE_MASK_H32
, naget
, anyware_inst
},
323 {"ncaget", INST_TYPE_RD_RFSL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x6C006800, OPCODE_MASK_H32
, ncaget
, anyware_inst
},
324 {"aput", INST_TYPE_R1_RFSL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x6C008800, OPCODE_MASK_H32
, aput
, anyware_inst
},
325 {"caput", INST_TYPE_R1_RFSL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x6C00A800, OPCODE_MASK_H32
, caput
, anyware_inst
},
326 {"naput", INST_TYPE_R1_RFSL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x6C00C800, OPCODE_MASK_H32
, naput
, anyware_inst
},
327 {"ncaput", INST_TYPE_R1_RFSL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x6C00E800, OPCODE_MASK_H32
, ncaput
, anyware_inst
},
329 {"taget", INST_TYPE_RD_RFSL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x6C001800, OPCODE_MASK_H32
, taget
, anyware_inst
},
330 {"tcaget", INST_TYPE_RD_RFSL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x6C003800, OPCODE_MASK_H32
, tcaget
, anyware_inst
},
331 {"tnaget", INST_TYPE_RD_RFSL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x6C005800, OPCODE_MASK_H32
, tnaget
, anyware_inst
},
332 {"tncaget", INST_TYPE_RD_RFSL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x6C007800, OPCODE_MASK_H32
, tncaget
, anyware_inst
},
333 {"taput", INST_TYPE_RFSL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x6C009800, OPCODE_MASK_H32
, taput
, anyware_inst
},
334 {"tcaput", INST_TYPE_RFSL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x6C00B800, OPCODE_MASK_H32
, tcaput
, anyware_inst
},
335 {"tnaput", INST_TYPE_RFSL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x6C00D800, OPCODE_MASK_H32
, tnaput
, anyware_inst
},
336 {"tncaput", INST_TYPE_RFSL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x6C00F800, OPCODE_MASK_H32
, tncaput
, anyware_inst
},
338 {"eaget", INST_TYPE_RD_RFSL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x6C000C00, OPCODE_MASK_H32
, eget
, anyware_inst
},
339 {"ecaget", INST_TYPE_RD_RFSL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x6C002C00, OPCODE_MASK_H32
, ecget
, anyware_inst
},
340 {"neaget", INST_TYPE_RD_RFSL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x6C004C00, OPCODE_MASK_H32
, neget
, anyware_inst
},
341 {"necaget", INST_TYPE_RD_RFSL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x6C006C00, OPCODE_MASK_H32
, necget
, anyware_inst
},
342 {"eaput", INST_TYPE_R1_RFSL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x6C008C00, OPCODE_MASK_H32
, eput
, anyware_inst
},
343 {"ecaput", INST_TYPE_R1_RFSL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x6C00AC00, OPCODE_MASK_H32
, ecput
, anyware_inst
},
344 {"neaput", INST_TYPE_R1_RFSL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x6C00CC00, OPCODE_MASK_H32
, neput
, anyware_inst
},
345 {"necaput", INST_TYPE_R1_RFSL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x6C00EC00, OPCODE_MASK_H32
, necput
, anyware_inst
},
347 {"teaget", INST_TYPE_RD_RFSL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x6C001C00, OPCODE_MASK_H32
, teaget
, anyware_inst
},
348 {"tecaget", INST_TYPE_RD_RFSL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x6C003C00, OPCODE_MASK_H32
, tecaget
, anyware_inst
},
349 {"tneaget", INST_TYPE_RD_RFSL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x6C005C00, OPCODE_MASK_H32
, tneaget
, anyware_inst
},
350 {"tnecaget", INST_TYPE_RD_RFSL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x6C007C00, OPCODE_MASK_H32
, tnecaget
, anyware_inst
},
351 {"teaput", INST_TYPE_RFSL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x6C009C00, OPCODE_MASK_H32
, teaput
, anyware_inst
},
352 {"tecaput", INST_TYPE_RFSL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x6C00BC00, OPCODE_MASK_H32
, tecaput
, anyware_inst
},
353 {"tneaput", INST_TYPE_RFSL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x6C00DC00, OPCODE_MASK_H32
, tneaput
, anyware_inst
},
354 {"tnecaput", INST_TYPE_RFSL
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x6C00FC00, OPCODE_MASK_H32
, tnecaput
, anyware_inst
},
356 {"getd", INST_TYPE_RD_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x4C000000, OPCODE_MASK_H34C
, getd
, anyware_inst
},
357 {"tgetd", INST_TYPE_RD_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x4C000080, OPCODE_MASK_H34C
, tgetd
, anyware_inst
},
358 {"cgetd", INST_TYPE_RD_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x4C000100, OPCODE_MASK_H34C
, cgetd
, anyware_inst
},
359 {"tcgetd", INST_TYPE_RD_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x4C000180, OPCODE_MASK_H34C
, tcgetd
, anyware_inst
},
360 {"ngetd", INST_TYPE_RD_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x4C000200, OPCODE_MASK_H34C
, ngetd
, anyware_inst
},
361 {"tngetd", INST_TYPE_RD_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x4C000280, OPCODE_MASK_H34C
, tngetd
, anyware_inst
},
362 {"ncgetd", INST_TYPE_RD_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x4C000300, OPCODE_MASK_H34C
, ncgetd
, anyware_inst
},
363 {"tncgetd", INST_TYPE_RD_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x4C000380, OPCODE_MASK_H34C
, tncgetd
, anyware_inst
},
364 {"putd", INST_TYPE_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x4C000400, OPCODE_MASK_H34C
, putd
, anyware_inst
},
365 {"tputd", INST_TYPE_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x4C000480, OPCODE_MASK_H34C
, tputd
, anyware_inst
},
366 {"cputd", INST_TYPE_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x4C000500, OPCODE_MASK_H34C
, cputd
, anyware_inst
},
367 {"tcputd", INST_TYPE_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x4C000580, OPCODE_MASK_H34C
, tcputd
, anyware_inst
},
368 {"nputd", INST_TYPE_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x4C000600, OPCODE_MASK_H34C
, nputd
, anyware_inst
},
369 {"tnputd", INST_TYPE_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x4C000680, OPCODE_MASK_H34C
, tnputd
, anyware_inst
},
370 {"ncputd", INST_TYPE_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x4C000700, OPCODE_MASK_H34C
, ncputd
, anyware_inst
},
371 {"tncputd", INST_TYPE_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x4C000780, OPCODE_MASK_H34C
, tncputd
, anyware_inst
},
373 {"egetd", INST_TYPE_RD_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x4C000020, OPCODE_MASK_H34C
, egetd
, anyware_inst
},
374 {"tegetd", INST_TYPE_RD_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x4C0000A0, OPCODE_MASK_H34C
, tegetd
, anyware_inst
},
375 {"ecgetd", INST_TYPE_RD_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x4C000120, OPCODE_MASK_H34C
, ecgetd
, anyware_inst
},
376 {"tecgetd", INST_TYPE_RD_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x4C0001A0, OPCODE_MASK_H34C
, tecgetd
, anyware_inst
},
377 {"negetd", INST_TYPE_RD_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x4C000220, OPCODE_MASK_H34C
, negetd
, anyware_inst
},
378 {"tnegetd", INST_TYPE_RD_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x4C0002A0, OPCODE_MASK_H34C
, tnegetd
, anyware_inst
},
379 {"necgetd", INST_TYPE_RD_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x4C000320, OPCODE_MASK_H34C
, necgetd
, anyware_inst
},
380 {"tnecgetd", INST_TYPE_RD_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x4C0003A0, OPCODE_MASK_H34C
, tnecgetd
, anyware_inst
},
381 {"eputd", INST_TYPE_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x4C000420, OPCODE_MASK_H34C
, eputd
, anyware_inst
},
382 {"teputd", INST_TYPE_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x4C0004A0, OPCODE_MASK_H34C
, teputd
, anyware_inst
},
383 {"ecputd", INST_TYPE_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x4C000520, OPCODE_MASK_H34C
, ecputd
, anyware_inst
},
384 {"tecputd", INST_TYPE_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x4C0005A0, OPCODE_MASK_H34C
, tecputd
, anyware_inst
},
385 {"neputd", INST_TYPE_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x4C000620, OPCODE_MASK_H34C
, neputd
, anyware_inst
},
386 {"tneputd", INST_TYPE_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x4C0006A0, OPCODE_MASK_H34C
, tneputd
, anyware_inst
},
387 {"necputd", INST_TYPE_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x4C000720, OPCODE_MASK_H34C
, necputd
, anyware_inst
},
388 {"tnecputd", INST_TYPE_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x4C0007A0, OPCODE_MASK_H34C
, tnecputd
, anyware_inst
},
390 {"agetd", INST_TYPE_RD_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x4C000040, OPCODE_MASK_H34C
, agetd
, anyware_inst
},
391 {"tagetd", INST_TYPE_RD_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x4C0000C0, OPCODE_MASK_H34C
, tagetd
, anyware_inst
},
392 {"cagetd", INST_TYPE_RD_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x4C000140, OPCODE_MASK_H34C
, cagetd
, anyware_inst
},
393 {"tcagetd", INST_TYPE_RD_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x4C0001C0, OPCODE_MASK_H34C
, tcagetd
, anyware_inst
},
394 {"nagetd", INST_TYPE_RD_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x4C000240, OPCODE_MASK_H34C
, nagetd
, anyware_inst
},
395 {"tnagetd", INST_TYPE_RD_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x4C0002C0, OPCODE_MASK_H34C
, tnagetd
, anyware_inst
},
396 {"ncagetd", INST_TYPE_RD_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x4C000340, OPCODE_MASK_H34C
, ncagetd
, anyware_inst
},
397 {"tncagetd", INST_TYPE_RD_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x4C0003C0, OPCODE_MASK_H34C
, tncagetd
, anyware_inst
},
398 {"aputd", INST_TYPE_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x4C000440, OPCODE_MASK_H34C
, aputd
, anyware_inst
},
399 {"taputd", INST_TYPE_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x4C0004C0, OPCODE_MASK_H34C
, taputd
, anyware_inst
},
400 {"caputd", INST_TYPE_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x4C000540, OPCODE_MASK_H34C
, caputd
, anyware_inst
},
401 {"tcaputd", INST_TYPE_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x4C0005C0, OPCODE_MASK_H34C
, tcaputd
, anyware_inst
},
402 {"naputd", INST_TYPE_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x4C000640, OPCODE_MASK_H34C
, naputd
, anyware_inst
},
403 {"tnaputd", INST_TYPE_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x4C0006C0, OPCODE_MASK_H34C
, tnaputd
, anyware_inst
},
404 {"ncaputd", INST_TYPE_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x4C000740, OPCODE_MASK_H34C
, ncaputd
, anyware_inst
},
405 {"tncaputd", INST_TYPE_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x4C0007C0, OPCODE_MASK_H34C
, tncaputd
, anyware_inst
},
407 {"eagetd", INST_TYPE_RD_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x4C000060, OPCODE_MASK_H34C
, eagetd
, anyware_inst
},
408 {"teagetd", INST_TYPE_RD_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x4C0000E0, OPCODE_MASK_H34C
, teagetd
, anyware_inst
},
409 {"ecagetd", INST_TYPE_RD_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x4C000160, OPCODE_MASK_H34C
, ecagetd
, anyware_inst
},
410 {"tecagetd", INST_TYPE_RD_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x4C0001E0, OPCODE_MASK_H34C
, tecagetd
, anyware_inst
},
411 {"neagetd", INST_TYPE_RD_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x4C000260, OPCODE_MASK_H34C
, neagetd
, anyware_inst
},
412 {"tneagetd", INST_TYPE_RD_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x4C0002E0, OPCODE_MASK_H34C
, tneagetd
, anyware_inst
},
413 {"necagetd", INST_TYPE_RD_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x4C000360, OPCODE_MASK_H34C
, necagetd
, anyware_inst
},
414 {"tnecagetd", INST_TYPE_RD_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x4C0003E0, OPCODE_MASK_H34C
, tnecagetd
, anyware_inst
},
415 {"eaputd", INST_TYPE_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x4C000460, OPCODE_MASK_H34C
, eaputd
, anyware_inst
},
416 {"teaputd", INST_TYPE_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x4C0004E0, OPCODE_MASK_H34C
, teaputd
, anyware_inst
},
417 {"ecaputd", INST_TYPE_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x4C000560, OPCODE_MASK_H34C
, ecaputd
, anyware_inst
},
418 {"tecaputd", INST_TYPE_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x4C0005E0, OPCODE_MASK_H34C
, tecaputd
, anyware_inst
},
419 {"neaputd", INST_TYPE_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x4C000660, OPCODE_MASK_H34C
, neaputd
, anyware_inst
},
420 {"tneaputd", INST_TYPE_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x4C0006E0, OPCODE_MASK_H34C
, tneaputd
, anyware_inst
},
421 {"necaputd", INST_TYPE_R1_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x4C000760, OPCODE_MASK_H34C
, necaputd
, anyware_inst
},
422 {"tnecaputd", INST_TYPE_R2
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x4C0007E0, OPCODE_MASK_H34C
, tnecaputd
, anyware_inst
},
423 {"clz", INST_TYPE_RD_R1
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x900000E0, OPCODE_MASK_H34
, clz
, special_inst
},
424 {"mbar", INST_TYPE_IMM5
, INST_PC_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0xB8020004, OPCODE_MASK_HN
, mbar
, special_inst
},
425 {"sleep", INST_TYPE_NONE
, INST_PC_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0xBA020004, OPCODE_MASK_HN
, invalid_inst
, special_inst
}, /* translates to mbar 16. */
426 {"hibernate", INST_TYPE_NONE
, INST_PC_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0xB9020004, OPCODE_MASK_HN
, invalid_inst
, special_inst
}, /* translates to mbar 8. */
427 {"suspend", INST_TYPE_NONE
, INST_PC_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0xBB020004, OPCODE_MASK_HN
, invalid_inst
, special_inst
}, /* translates to mbar 24. */
428 {"swapb", INST_TYPE_RD_R1
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x900001E0, OPCODE_MASK_H4
, swapb
, arithmetic_inst
},
429 {"swaph", INST_TYPE_RD_R1
, INST_NO_OFFSET
, NO_DELAY_SLOT
, IMMVAL_MASK_NON_SPECIAL
, 0x900001E2, OPCODE_MASK_H4
, swaph
, arithmetic_inst
},
430 {NULL
, 0, 0, 0, 0, 0, 0, 0, 0},
433 /* Prefix for register names. */
434 char register_prefix
[] = "r";
435 char special_register_prefix
[] = "spr";
436 char fsl_register_prefix
[] = "rfsl";
437 char pvr_register_prefix
[] = "rpvr";
440 /* #defines for valid immediate range. */
441 #define MIN_IMM ((int) 0x80000000)
442 #define MAX_IMM ((int) 0x7fffffff)
444 #define MIN_IMM15 ((int) 0x0000)
445 #define MAX_IMM15 ((int) 0x7fff)
447 #define MIN_IMM5 ((int) 0x00000000)
448 #define MAX_IMM5 ((int) 0x0000001f)
450 #define MIN_IMM_WIDTH ((int) 0x00000001)
451 #define MAX_IMM_WIDTH ((int) 0x00000020)
453 #endif /* MICROBLAZE_OPC */