gdb-2.8
[deliverable/binutils-gdb.git] / gdb / npl-opcode.h
1 /* Print GOULD NPL instructions for GDB, the GNU debugger.
2 Copyright (C) 1986, 1987 Free Software Foundation, Inc.
3
4 GDB is distributed in the hope that it will be useful, but WITHOUT ANY
5 WARRANTY. No author or distributor accepts responsibility to anyone
6 for the consequences of using it or for whether it serves any
7 particular purpose or works at all, unless he says so in writing.
8 Refer to the GDB General Public License for full details.
9
10 Everyone is granted permission to copy, modify and redistribute GDB,
11 but only under the conditions described in the GDB General Public
12 License. A copy of this license is supposed to have been given to you
13 along with GDB so you can know your rights and responsibilities. It
14 should be in a file named COPYING. Among other things, the copyright
15 notice and this notice must be preserved on all copies.
16
17 In other words, go ahead and share GDB, but don't try to stop
18 anyone else from sharing it farther. Help stamp out software hoarding!
19 */
20
21 struct gld_opcode
22 {
23 char *name;
24 unsigned long opcode;
25 unsigned long mask;
26 char *args;
27 int length;
28 };
29
30 /* We store four bytes of opcode for all opcodes because that
31 is the most any of them need. The actual length of an instruction
32 is always at least 2 bytes, and at most four. The length of the
33 instruction is based on the opcode.
34
35 The mask component is a mask saying which bits must match
36 particular opcode in order for an instruction to be an instance
37 of that opcode.
38
39 The args component is a string containing characters
40 that are used to format the arguments to the instruction. */
41
42 /* Kinds of operands:
43 r Register in first field
44 R Register in second field
45 b Base register in first field
46 B Base register in second field
47 v Vector register in first field
48 V Vector register in first field
49 A Optional address register (base register)
50 X Optional index register
51 I Immediate data (16bits signed)
52 O Offset field (16bits signed)
53 h Offset field (15bits signed)
54 d Offset field (14bits signed)
55 S Shift count field
56
57 any other characters are printed as is...
58 */
59
60 /* The assembler requires that this array be sorted as follows:
61 all instances of the same mnemonic must be consecutive.
62 All instances of the same mnemonic with the same number of operands
63 must be consecutive.
64 */
65 struct gld_opcode gld_opcodes[] =
66 {
67 { "lb", 0xb4080000, 0xfc080000, "r,xOA,X", 4 },
68 { "lnb", 0xb8080000, 0xfc080000, "r,xOA,X", 4 },
69 { "lbs", 0xec080000, 0xfc080000, "r,xOA,X", 4 },
70 { "lh", 0xb4000001, 0xfc080001, "r,xOA,X", 4 },
71 { "lnh", 0xb8000001, 0xfc080001, "r,xOA,X", 4 },
72 { "lw", 0xb4000000, 0xfc080000, "r,xOA,X", 4 },
73 { "lnw", 0xb8000000, 0xfc080000, "r,xOA,X", 4 },
74 { "ld", 0xb4000002, 0xfc080002, "r,xOA,X", 4 },
75 { "lnd", 0xb8000002, 0xfc080002, "r,xOA,X", 4 },
76 { "li", 0xf8000000, 0xfc7f0000, "r,I", 4 },
77 { "lpa", 0x50080000, 0xfc080000, "r,xOA,X", 4 },
78 { "la", 0x50000000, 0xfc080000, "r,xOA,X", 4 },
79 { "labr", 0x58080000, 0xfc080000, "b,xOA,X", 4 },
80 { "lbp", 0x90080000, 0xfc080000, "r,xOA,X", 4 },
81 { "lhp", 0x90000001, 0xfc080001, "r,xOA,X", 4 },
82 { "lwp", 0x90000000, 0xfc080000, "r,xOA,X", 4 },
83 { "ldp", 0x90000002, 0xfc080002, "r,xOA,X", 4 },
84 { "suabr", 0x58000000, 0xfc080000, "b,xOA,X", 4 },
85 { "lf", 0xbc000000, 0xfc080000, "r,xOA,X", 4 },
86 { "lfbr", 0xbc080000, 0xfc080000, "b,xOA,X", 4 },
87 { "lwbr", 0x5c000000, 0xfc080000, "b,xOA,X", 4 },
88 { "stb", 0xd4080000, 0xfc080000, "r,xOA,X", 4 },
89 { "sth", 0xd4000001, 0xfc080001, "r,xOA,X", 4 },
90 { "stw", 0xd4000000, 0xfc080000, "r,xOA,X", 4 },
91 { "std", 0xd4000002, 0xfc080002, "r,xOA,X", 4 },
92 { "stf", 0xdc000000, 0xfc080000, "r,xOA,X", 4 },
93 { "stfbr", 0xdc080000, 0xfc080000, "b,xOA,X", 4 },
94 { "stwbr", 0x54000000, 0xfc080000, "b,xOA,X", 4 },
95 { "zmb", 0xd8080000, 0xfc080000, "r,xOA,X", 4 },
96 { "zmh", 0xd8000001, 0xfc080001, "r,xOA,X", 4 },
97 { "zmw", 0xd8000000, 0xfc080000, "r,xOA,X", 4 },
98 { "zmd", 0xd8000002, 0xfc080002, "r,xOA,X", 4 },
99 { "stbp", 0x94080000, 0xfc080000, "r,xOA,X", 4 },
100 { "sthp", 0x94000001, 0xfc080001, "r,xOA,X", 4 },
101 { "stwp", 0x94000000, 0xfc080000, "r,xOA,X", 4 },
102 { "stdp", 0x94000002, 0xfc080002, "r,xOA,X", 4 },
103 { "lil", 0xf8080000, 0xfc7f0000, "r,D", 4 },
104 { "lwsl1", 0xec000000, 0xfc080000, "r,xOA,X", 4 },
105 { "lwsl2", 0xfc000000, 0xfc080000, "r,xOA,X", 4 },
106 { "lwsl3", 0xfc080000, 0xfc080000, "r,xOA,X", 4 },
107
108 { "lvb", 0xb0080000, 0xfc080000, "v,xOA,X", 4 },
109 { "lvh", 0xb0000001, 0xfc080001, "v,xOA,X", 4 },
110 { "lvw", 0xb0000000, 0xfc080000, "v,xOA,X", 4 },
111 { "lvd", 0xb0000002, 0xfc080002, "v,xOA,X", 4 },
112 { "liv", 0x3c040000, 0xfc0f0000, "v,R", 2 },
113 { "livf", 0x3c080000, 0xfc0f0000, "v,R", 2 },
114 { "stvb", 0xd0080000, 0xfc080000, "v,xOA,X", 4 },
115 { "stvh", 0xd0000001, 0xfc080001, "v,xOA,X", 4 },
116 { "stvw", 0xd0000000, 0xfc080000, "v,xOA,X", 4 },
117 { "stvd", 0xd0000002, 0xfc080002, "v,xOA,X", 4 },
118
119 { "trr", 0x2c000000, 0xfc0f0000, "r,R", 2 },
120 { "trn", 0x2c040000, 0xfc0f0000, "r,R", 2 },
121 { "trnd", 0x2c0c0000, 0xfc0f0000, "r,R", 2 },
122 { "trabs", 0x2c010000, 0xfc0f0000, "r,R", 2 },
123 { "trabsd", 0x2c090000, 0xfc0f0000, "r,R", 2 },
124 { "trc", 0x2c030000, 0xfc0f0000, "r,R", 2 },
125 { "xcr", 0x28040000, 0xfc0f0000, "r,R", 2 },
126 { "cxcr", 0x2c060000, 0xfc0f0000, "r,R", 2 },
127 { "cxcrd", 0x2c0e0000, 0xfc0f0000, "r,R", 2 },
128 { "tbrr", 0x2c020000, 0xfc0f0000, "r,B", 2 },
129 { "trbr", 0x28030000, 0xfc0f0000, "b,R", 2 },
130 { "xcbr", 0x28020000, 0xfc0f0000, "b,B", 2 },
131 { "tbrbr", 0x28010000, 0xfc0f0000, "b,B", 2 },
132
133 { "trvv", 0x28050000, 0xfc0f0000, "v,V", 2 },
134 { "trvvn", 0x2c050000, 0xfc0f0000, "v,V", 2 },
135 { "trvvnd", 0x2c0d0000, 0xfc0f0000, "v,V", 2 },
136 { "trvab", 0x2c070000, 0xfc0f0000, "v,V", 2 },
137 { "trvabd", 0x2c0f0000, 0xfc0f0000, "v,V", 2 },
138 { "cmpv", 0x14060000, 0xfc0f0000, "v,V", 2 },
139 { "expv", 0x14070000, 0xfc0f0000, "v,V", 2 },
140 { "mrvvlt", 0x10030000, 0xfc0f0000, "v,V", 2 },
141 { "mrvvle", 0x10040000, 0xfc0f0000, "v,V", 2 },
142 { "mrvvgt", 0x14030000, 0xfc0f0000, "v,V", 2 },
143 { "mrvvge", 0x14040000, 0xfc0f0000, "v,V", 2 },
144 { "mrvveq", 0x10050000, 0xfc0f0000, "v,V", 2 },
145 { "mrvvne", 0x10050000, 0xfc0f0000, "v,V", 2 },
146 { "mrvrlt", 0x100d0000, 0xfc0f0000, "v,R", 2 },
147 { "mrvrle", 0x100e0000, 0xfc0f0000, "v,R", 2 },
148 { "mrvrgt", 0x140d0000, 0xfc0f0000, "v,R", 2 },
149 { "mrvrge", 0x140e0000, 0xfc0f0000, "v,R", 2 },
150 { "mrvreq", 0x100f0000, 0xfc0f0000, "v,R", 2 },
151 { "mrvrne", 0x140f0000, 0xfc0f0000, "v,R", 2 },
152 { "trvr", 0x140b0000, 0xfc0f0000, "r,V", 2 },
153 { "trrv", 0x140c0000, 0xfc0f0000, "v,R", 2 },
154
155 { "bu", 0x40000000, 0xff880000, "xOA,X", 4 },
156 { "bns", 0x70080000, 0xff880000, "xOA,X", 4 },
157 { "bnco", 0x70880000, 0xff880000, "xOA,X", 4 },
158 { "bge", 0x71080000, 0xff880000, "xOA,X", 4 },
159 { "bne", 0x71880000, 0xff880000, "xOA,X", 4 },
160 { "bunge", 0x72080000, 0xff880000, "xOA,X", 4 },
161 { "bunle", 0x72880000, 0xff880000, "xOA,X", 4 },
162 { "bgt", 0x73080000, 0xff880000, "xOA,X", 4 },
163 { "bnany", 0x73880000, 0xff880000, "xOA,X", 4 },
164 { "bs" , 0x70000000, 0xff880000, "xOA,X", 4 },
165 { "bco", 0x70800000, 0xff880000, "xOA,X", 4 },
166 { "blt", 0x71000000, 0xff880000, "xOA,X", 4 },
167 { "beq", 0x71800000, 0xff880000, "xOA,X", 4 },
168 { "buge", 0x72000000, 0xff880000, "xOA,X", 4 },
169 { "bult", 0x72800000, 0xff880000, "xOA,X", 4 },
170 { "ble", 0x73000000, 0xff880000, "xOA,X", 4 },
171 { "bany", 0x73800000, 0xff880000, "xOA,X", 4 },
172 { "brlnk", 0x44000000, 0xfc080000, "r,xOA,X", 4 },
173 { "bib", 0x48000000, 0xfc080000, "r,xOA,X", 4 },
174 { "bih", 0x48080000, 0xfc080000, "r,xOA,X", 4 },
175 { "biw", 0x4c000000, 0xfc080000, "r,xOA,X", 4 },
176 { "bid", 0x4c080000, 0xfc080000, "r,xOA,X", 4 },
177 { "bivb", 0x60000000, 0xfc080000, "r,xOA,X", 4 },
178 { "bivh", 0x60080000, 0xfc080000, "r,xOA,X", 4 },
179 { "bivw", 0x64000000, 0xfc080000, "r,xOA,X", 4 },
180 { "bivd", 0x64080000, 0xfc080000, "r,xOA,X", 4 },
181 { "bvsb", 0x68000000, 0xfc080000, "r,xOA,X", 4 },
182 { "bvsh", 0x68080000, 0xfc080000, "r,xOA,X", 4 },
183 { "bvsw", 0x6c000000, 0xfc080000, "r,xOA,X", 4 },
184 { "bvsd", 0x6c080000, 0xfc080000, "r,xOA,X", 4 },
185
186 { "camb", 0x80080000, 0xfc080000, "r,xOA,X", 4 },
187 { "camh", 0x80000001, 0xfc080001, "r,xOA,X", 4 },
188 { "camw", 0x80000000, 0xfc080000, "r,xOA,X", 4 },
189 { "camd", 0x80000002, 0xfc080002, "r,xOA,X", 4 },
190 { "car", 0x10000000, 0xfc0f0000, "r,R", 2 },
191 { "card", 0x14000000, 0xfc0f0000, "r,R", 2 },
192 { "ci", 0xf8050000, 0xfc7f0000, "r,I", 4 },
193 { "chkbnd", 0x5c080000, 0xfc080000, "r,xOA,X", 4 },
194
195 { "cavv", 0x10010000, 0xfc0f0000, "v,V", 2 },
196 { "cavr", 0x10020000, 0xfc0f0000, "v,R", 2 },
197 { "cavvd", 0x10090000, 0xfc0f0000, "v,V", 2 },
198 { "cavrd", 0x100b0000, 0xfc0f0000, "v,R", 2 },
199
200 { "anmb", 0x84080000, 0xfc080000, "r,xOA,X", 4 },
201 { "anmh", 0x84000001, 0xfc080001, "r,xOA,X", 4 },
202 { "anmw", 0x84000000, 0xfc080000, "r,xOA,X", 4 },
203 { "anmd", 0x84000002, 0xfc080002, "r,xOA,X", 4 },
204 { "anr", 0x04000000, 0xfc0f0000, "r,R", 2 },
205 { "ani", 0xf8080000, 0xfc7f0000, "r,I", 4 },
206 { "ormb", 0xb8080000, 0xfc080000, "r,xOA,X", 4 },
207 { "ormh", 0xb8000001, 0xfc080001, "r,xOA,X", 4 },
208 { "ormw", 0xb8000000, 0xfc080000, "r,xOA,X", 4 },
209 { "ormd", 0xb8000002, 0xfc080002, "r,xOA,X", 4 },
210 { "orr", 0x08000000, 0xfc0f0000, "r,R", 2 },
211 { "oi", 0xf8090000, 0xfc7f0000, "r,I", 4 },
212 { "eomb", 0x8c080000, 0xfc080000, "r,xOA,X", 4 },
213 { "eomh", 0x8c000001, 0xfc080001, "r,xOA,X", 4 },
214 { "eomw", 0x8c000000, 0xfc080000, "r,xOA,X", 4 },
215 { "eomd", 0x8c000002, 0xfc080002, "r,xOA,X", 4 },
216 { "eor", 0x0c000000, 0xfc0f0000, "r,R", 2 },
217 { "eoi", 0xf80a0000, 0xfc7f0000, "r,I", 4 },
218
219 { "anvv", 0x04010000, 0xfc0f0000, "v,V", 2 },
220 { "anvr", 0x04020000, 0xfc0f0000, "v,R", 2 },
221 { "orvv", 0x08010000, 0xfc0f0000, "v,V", 2 },
222 { "orvr", 0x08020000, 0xfc0f0000, "v,R", 2 },
223 { "eovv", 0x0c010000, 0xfc0f0000, "v,V", 2 },
224 { "eovr", 0x0c020000, 0xfc0f0000, "v,R", 2 },
225
226 { "sacz", 0x100c0000, 0xfc0f0000, "r,R", 2 },
227 { "sla", 0x1c400000, 0xfc600000, "r,S", 2 },
228 { "sll", 0x1c600000, 0xfc600000, "r,S", 2 },
229 { "slc", 0x24400000, 0xfc600000, "r,S", 2 },
230 { "slad", 0x20400000, 0xfc600000, "r,S", 2 },
231 { "slld", 0x20600000, 0xfc600000, "r,S", 2 },
232 { "sra", 0x1c000000, 0xfc600000, "r,S", 2 },
233 { "srl", 0x1c200000, 0xfc600000, "r,S", 2 },
234 { "src", 0x24000000, 0xfc600000, "r,S", 2 },
235 { "srad", 0x20000000, 0xfc600000, "r,S", 2 },
236 { "srld", 0x20200000, 0xfc600000, "r,S", 2 },
237 { "sda", 0x3c030000, 0xfc0f0000, "r,R", 2 },
238 { "sdl", 0x3c020000, 0xfc0f0000, "r,R", 2 },
239 { "sdc", 0x3c010000, 0xfc0f0000, "r,R", 2 },
240 { "sdad", 0x3c0b0000, 0xfc0f0000, "r,R", 2 },
241 { "sdld", 0x3c0a0000, 0xfc0f0000, "r,R", 2 },
242
243 { "svda", 0x3c070000, 0xfc0f0000, "v,R", 2 },
244 { "svdl", 0x3c060000, 0xfc0f0000, "v,R", 2 },
245 { "svdc", 0x3c050000, 0xfc0f0000, "v,R", 2 },
246 { "svdad", 0x3c0e0000, 0xfc0f0000, "v,R", 2 },
247 { "svdld", 0x3c0d0000, 0xfc0f0000, "v,R", 2 },
248
249 { "sbm", 0xac080000, 0xfc080000, "f,xOA,X", 4 },
250 { "zbm", 0xac000000, 0xfc080000, "f,xOA,X", 4 },
251 { "tbm", 0xa8080000, 0xfc080000, "f,xOA,X", 4 },
252 { "incmb", 0xa0000000, 0xfc080000, "xOA,X", 4 },
253 { "incmh", 0xa0080000, 0xfc080000, "xOA,X", 4 },
254 { "incmw", 0xa4000000, 0xfc080000, "xOA,X", 4 },
255 { "incmd", 0xa4080000, 0xfc080000, "xOA,X", 4 },
256 { "sbmd", 0x7c080000, 0xfc080000, "r,xOA,X", 4 },
257 { "zbmd", 0x7c000000, 0xfc080000, "r,xOA,X", 4 },
258 { "tbmd", 0x78080000, 0xfc080000, "r,xOA,X", 4 },
259
260 { "ssm", 0x9c080000, 0xfc080000, "f,xOA,X", 4 },
261 { "zsm", 0x9c000000, 0xfc080000, "f,xOA,X", 4 },
262 { "tsm", 0x98080000, 0xfc080000, "f,xOA,X", 4 },
263
264 { "admb", 0xc8080000, 0xfc080000, "r,xOA,X", 4 },
265 { "admh", 0xc8000001, 0xfc080001, "r,xOA,X", 4 },
266 { "admw", 0xc8000000, 0xfc080000, "r,xOA,X", 4 },
267 { "admd", 0xc8000002, 0xfc080002, "r,xOA,X", 4 },
268 { "adr", 0x38000000, 0xfc0f0000, "r,R", 2 },
269 { "armb", 0xe8080000, 0xfc080000, "r,xOA,X", 4 },
270 { "armh", 0xe8000001, 0xfc080001, "r,xOA,X", 4 },
271 { "armw", 0xe8000000, 0xfc080000, "r,xOA,X", 4 },
272 { "armd", 0xe8000002, 0xfc080002, "r,xOA,X", 4 },
273 { "adi", 0xf8010000, 0xfc0f0000, "r,I", 4 },
274 { "sumb", 0xcc080000, 0xfc080000, "r,xOA,X", 4 },
275 { "sumh", 0xcc000001, 0xfc080001, "r,xOA,X", 4 },
276 { "sumw", 0xcc000000, 0xfc080000, "r,xOA,X", 4 },
277 { "sumd", 0xcc000002, 0xfc080002, "r,xOA,X", 4 },
278 { "sur", 0x3c000000, 0xfc0f0000, "r,R", 2 },
279 { "sui", 0xf8020000, 0xfc0f0000, "r,I", 4 },
280 { "mpmb", 0xc0080000, 0xfc080000, "r,xOA,X", 4 },
281 { "mpmh", 0xc0000001, 0xfc080001, "r,xOA,X", 4 },
282 { "mpmw", 0xc0000000, 0xfc080000, "r,xOA,X", 4 },
283 { "mpr", 0x38020000, 0xfc0f0000, "r,R", 2 },
284 { "mprd", 0x3c0f0000, 0xfc0f0000, "r,R", 2 },
285 { "mpi", 0xf8030000, 0xfc0f0000, "r,I", 4 },
286 { "dvmb", 0xc4080000, 0xfc080000, "r,xOA,X", 4 },
287 { "dvmh", 0xc4000001, 0xfc080001, "r,xOA,X", 4 },
288 { "dvmw", 0xc4000000, 0xfc080000, "r,xOA,X", 4 },
289 { "dvr", 0x380a0000, 0xfc0f0000, "r,R", 2 },
290 { "dvi", 0xf8040000, 0xfc0f0000, "r,I", 4 },
291 { "exs", 0x38080000, 0xfc0f0000, "r,R", 2 },
292
293 { "advv", 0x30000000, 0xfc0f0000, "v,V", 2 },
294 { "advvd", 0x30080000, 0xfc0f0000, "v,V", 2 },
295 { "adrv", 0x34000000, 0xfc0f0000, "v,R", 2 },
296 { "adrvd", 0x34080000, 0xfc0f0000, "v,R", 2 },
297 { "suvv", 0x30010000, 0xfc0f0000, "v,V", 2 },
298 { "suvvd", 0x30090000, 0xfc0f0000, "v,V", 2 },
299 { "surv", 0x34010000, 0xfc0f0000, "v,R", 2 },
300 { "survd", 0x34090000, 0xfc0f0000, "v,R", 2 },
301 { "mpvv", 0x30020000, 0xfc0f0000, "v,V", 2 },
302 { "mprv", 0x34020000, 0xfc0f0000, "v,R", 2 },
303
304 { "adfw", 0xe0080000, 0xfc080000, "r,xOA,X", 4 },
305 { "adfd", 0xe0080002, 0xfc080002, "r,xOA,X", 4 },
306 { "adrfw", 0x38010000, 0xfc0f0000, "r,R", 2 },
307 { "adrfd", 0x38090000, 0xfc0f0000, "r,R", 2 },
308 { "surfw", 0xe0000000, 0xfc080000, "r,xOA,X", 4 },
309 { "surfd", 0xe0000002, 0xfc080002, "r,xOA,X", 4 },
310 { "surfw", 0x38030000, 0xfc0f0000, "r,R", 2 },
311 { "surfd", 0x380b0000, 0xfc0f0000, "r,R", 2 },
312 { "mpfw", 0xe4080000, 0xfc080000, "r,xOA,X", 4 },
313 { "mpfd", 0xe4080002, 0xfc080002, "r,xOA,X", 4 },
314 { "mprfw", 0x38060000, 0xfc0f0000, "r,R", 2 },
315 { "mprfd", 0x380e0000, 0xfc0f0000, "r,R", 2 },
316 { "rfw", 0xe4000000, 0xfc080000, "r,xOA,X", 4 },
317 { "rfd", 0xe4000002, 0xfc080002, "r,xOA,X", 4 },
318 { "rrfw", 0x0c0e0000, 0xfc0f0000, "r", 2 },
319 { "rrfd", 0x0c0f0000, 0xfc0f0000, "r", 2 },
320
321 { "advvfw", 0x30040000, 0xfc0f0000, "v,V", 2 },
322 { "advvfd", 0x300c0000, 0xfc0f0000, "v,V", 2 },
323 { "adrvfw", 0x34040000, 0xfc0f0000, "v,R", 2 },
324 { "adrvfd", 0x340c0000, 0xfc0f0000, "v,R", 2 },
325 { "suvvfw", 0x30050000, 0xfc0f0000, "v,V", 2 },
326 { "suvvfd", 0x300d0000, 0xfc0f0000, "v,V", 2 },
327 { "survfw", 0x34050000, 0xfc0f0000, "v,R", 2 },
328 { "survfd", 0x340d0000, 0xfc0f0000, "v,R", 2 },
329 { "mpvvfw", 0x30060000, 0xfc0f0000, "v,V", 2 },
330 { "mpvvfd", 0x300e0000, 0xfc0f0000, "v,V", 2 },
331 { "mprvfw", 0x34060000, 0xfc0f0000, "v,R", 2 },
332 { "mprvfd", 0x340e0000, 0xfc0f0000, "v,R", 2 },
333 { "rvfw", 0x30070000, 0xfc0f0000, "v", 2 },
334 { "rvfd", 0x300f0000, 0xfc0f0000, "v", 2 },
335
336 { "fltw", 0x38070000, 0xfc0f0000, "r,R", 2 },
337 { "fltd", 0x380f0000, 0xfc0f0000, "r,R", 2 },
338 { "fixw", 0x38050000, 0xfc0f0000, "r,R", 2 },
339 { "fixd", 0x380d0000, 0xfc0f0000, "r,R", 2 },
340 { "cfpds", 0x3c090000, 0xfc0f0000, "r,R", 2 },
341
342 { "fltvw", 0x080d0000, 0xfc0f0000, "v,V", 2 },
343 { "fltvd", 0x080f0000, 0xfc0f0000, "v,V", 2 },
344 { "fixvw", 0x080c0000, 0xfc0f0000, "v,V", 2 },
345 { "fixvd", 0x080e0000, 0xfc0f0000, "v,V", 2 },
346 { "cfpvds", 0x0c0d0000, 0xfc0f0000, "v,V", 2 },
347
348 { "orvrn", 0x000a0000, 0xfc0f0000, "r,V", 2 },
349 { "andvrn", 0x00080000, 0xfc0f0000, "r,V", 2 },
350 { "frsteq", 0x04090000, 0xfc0f0000, "r,V", 2 },
351 { "sigma", 0x0c080000, 0xfc0f0000, "r,V", 2 },
352 { "sigmad", 0x0c0a0000, 0xfc0f0000, "r,V", 2 },
353 { "sigmf", 0x08080000, 0xfc0f0000, "r,V", 2 },
354 { "sigmfd", 0x080a0000, 0xfc0f0000, "r,V", 2 },
355 { "prodf", 0x04080000, 0xfc0f0000, "r,V", 2 },
356 { "prodfd", 0x040a0000, 0xfc0f0000, "r,V", 2 },
357 { "maxv", 0x10080000, 0xfc0f0000, "r,V", 2 },
358 { "maxvd", 0x100a0000, 0xfc0f0000, "r,V", 2 },
359 { "minv", 0x14080000, 0xfc0f0000, "r,V", 2 },
360 { "minvd", 0x140a0000, 0xfc0f0000, "r,V", 2 },
361
362 { "lpsd", 0xf0000000, 0xfc080000, "xOA,X", 4 },
363 { "ldc", 0xf0080000, 0xfc080000, "xOA,X", 4 },
364 { "spm", 0x040c0000, 0xfc0f0000, "r", 2 },
365 { "rpm", 0x040d0000, 0xfc0f0000, "r", 2 },
366 { "tritr", 0x00070000, 0xfc0f0000, "r", 2 },
367 { "trrit", 0x00060000, 0xfc0f0000, "r", 2 },
368 { "rpswt", 0x04080000, 0xfc0f0000, "r", 2 },
369 { "exr", 0xf8070000, 0xfc0f0000, "", 4 },
370 { "halt", 0x00000000, 0xfc0f0000, "", 2 },
371 { "wait", 0x00010000, 0xfc0f0000, "", 2 },
372 { "nop", 0x00020000, 0xfc0f0000, "", 2 },
373 { "eiae", 0x00030000, 0xfc0f0000, "", 2 },
374 { "efae", 0x000d0000, 0xfc0f0000, "", 2 },
375 { "diae", 0x000e0000, 0xfc0f0000, "", 2 },
376 { "dfae", 0x000f0000, 0xfc0f0000, "", 2 },
377 { "spvc", 0xf8060000, 0xfc0f0000, "r,T,N", 4 },
378 { "rdsts", 0x00090000, 0xfc0f0000, "r", 2 },
379 { "setcpu", 0x000c0000, 0xfc0f0000, "r", 2 },
380 { "cmc", 0x000b0000, 0xfc0f0000, "r", 2 },
381 { "trrcu", 0x00040000, 0xfc0f0000, "r", 2 },
382 { "attnio", 0x00050000, 0xfc0f0000, "", 2 },
383 { "fudit", 0x28080000, 0xfc0f0000, "", 2 },
384 { "break", 0x28090000, 0xfc0f0000, "", 2 },
385 { "frzss", 0x280a0000, 0xfc0f0000, "", 2 },
386 { "ripi", 0x04040000, 0xfc0f0000, "r,R", 2 },
387 { "xcp", 0x04050000, 0xfc0f0000, "r", 2 },
388 { "block", 0x04060000, 0xfc0f0000, "", 2 },
389 { "unblock", 0x04070000, 0xfc0f0000, "", 2 },
390 { "trsc", 0x08060000, 0xfc0f0000, "r,R", 2 },
391 { "tscr", 0x08070000, 0xfc0f0000, "r,R", 2 },
392 { "fq", 0x04080000, 0xfc0f0000, "r", 2 },
393 { "flupte", 0x2c080000, 0xfc0f0000, "r", 2 },
394 { "rviu", 0x040f0000, 0xfc0f0000, "", 2 },
395 { "ldel", 0x280c0000, 0xfc0f0000, "r,R", 2 },
396 { "ldu", 0x280d0000, 0xfc0f0000, "r,R", 2 },
397 { "stdecc", 0x280b0000, 0xfc0f0000, "r,R", 2 },
398 { "trpc", 0x08040000, 0xfc0f0000, "r", 2 },
399 { "tpcr", 0x08050000, 0xfc0f0000, "r", 2 },
400 { "ghalt", 0x0c050000, 0xfc0f0000, "r", 2 },
401 { "grun", 0x0c040000, 0xfc0f0000, "", 2 },
402 { "tmpr", 0x2c0a0000, 0xfc0f0000, "r,R", 2 },
403 { "trmp", 0x2c0b0000, 0xfc0f0000, "r,R", 2 },
404
405 { "trrve", 0x28060000, 0xfc0f0000, "r", 2 },
406 { "trver", 0x28070000, 0xfc0f0000, "r", 2 },
407 { "trvlr", 0x280f0000, 0xfc0f0000, "r", 2 },
408
409 { "linkfl", 0x18000000, 0xfc0f0000, "r,R", 2 },
410 { "linkbl", 0x18020000, 0xfc0f0000, "r,R", 2 },
411 { "linkfp", 0x18010000, 0xfc0f0000, "r,R", 2 },
412 { "linkbp", 0x18030000, 0xfc0f0000, "r,R", 2 },
413 { "linkpl", 0x18040000, 0xfc0f0000, "r,R", 2 },
414 { "ulinkl", 0x18080000, 0xfc0f0000, "r,R", 2 },
415 { "ulinkp", 0x18090000, 0xfc0f0000, "r,R", 2 },
416 { "ulinktl", 0x180a0000, 0xfc0f0000, "r,R", 2 },
417 { "ulinktp", 0x180b0000, 0xfc0f0000, "r,R", 2 },
418 };
419
420 int numopcodes = sizeof(gld_opcodes) / sizeof(gld_opcodes[0]);
421
422 struct gld_opcode *endop = gld_opcodes + sizeof(gld_opcodes) /
423 sizeof(gld_opcodes[0]);
This page took 0.045206 seconds and 4 git commands to generate.