btrace: async support
[deliverable/binutils-gdb.git] / opcodes / or1k-opc.c
1 /* Instruction opcode table for or1k.
2
3 THIS FILE IS MACHINE GENERATED WITH CGEN.
4
5 Copyright 1996-2010 Free Software Foundation, Inc.
6
7 This file is part of the GNU Binutils and/or GDB, the GNU debugger.
8
9 This file is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 3, or (at your option)
12 any later version.
13
14 It is distributed in the hope that it will be useful, but WITHOUT
15 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
16 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
17 License for more details.
18
19 You should have received a copy of the GNU General Public License along
20 with this program; if not, write to the Free Software Foundation, Inc.,
21 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
22
23 */
24
25 #include "sysdep.h"
26 #include "ansidecl.h"
27 #include "bfd.h"
28 #include "symcat.h"
29 #include "or1k-desc.h"
30 #include "or1k-opc.h"
31 #include "libiberty.h"
32
33 /* -- opc.c */
34 /* -- */
35 /* The hash functions are recorded here to help keep assembler code out of
36 the disassembler and vice versa. */
37
38 static int asm_hash_insn_p (const CGEN_INSN *);
39 static unsigned int asm_hash_insn (const char *);
40 static int dis_hash_insn_p (const CGEN_INSN *);
41 static unsigned int dis_hash_insn (const char *, CGEN_INSN_INT);
42
43 /* Instruction formats. */
44
45 #define F(f) & or1k_cgen_ifld_table[OR1K_##f]
46 static const CGEN_IFMT ifmt_empty ATTRIBUTE_UNUSED = {
47 0, 0, 0x0, { { 0 } }
48 };
49
50 static const CGEN_IFMT ifmt_l_j ATTRIBUTE_UNUSED = {
51 32, 32, 0xfc000000, { { F (F_OPCODE) }, { F (F_DISP26) }, { 0 } }
52 };
53
54 static const CGEN_IFMT ifmt_l_jr ATTRIBUTE_UNUSED = {
55 32, 32, 0xffff07ff, { { F (F_OPCODE) }, { F (F_RESV_25_10) }, { F (F_R3) }, { F (F_RESV_10_11) }, { 0 } }
56 };
57
58 static const CGEN_IFMT ifmt_l_trap ATTRIBUTE_UNUSED = {
59 32, 32, 0xffff0000, { { F (F_OPCODE) }, { F (F_OP_25_5) }, { F (F_RESV_20_5) }, { F (F_UIMM16) }, { 0 } }
60 };
61
62 static const CGEN_IFMT ifmt_l_rfe ATTRIBUTE_UNUSED = {
63 32, 32, 0xffffffff, { { F (F_OPCODE) }, { F (F_RESV_25_26) }, { 0 } }
64 };
65
66 static const CGEN_IFMT ifmt_l_nop_imm ATTRIBUTE_UNUSED = {
67 32, 32, 0xffff0000, { { F (F_OPCODE) }, { F (F_OP_25_2) }, { F (F_RESV_23_8) }, { F (F_UIMM16) }, { 0 } }
68 };
69
70 static const CGEN_IFMT ifmt_l_movhi ATTRIBUTE_UNUSED = {
71 32, 32, 0xfc1f0000, { { F (F_OPCODE) }, { F (F_R1) }, { F (F_RESV_20_4) }, { F (F_OP_16_1) }, { F (F_UIMM16) }, { 0 } }
72 };
73
74 static const CGEN_IFMT ifmt_l_macrc ATTRIBUTE_UNUSED = {
75 32, 32, 0xfc1fffff, { { F (F_OPCODE) }, { F (F_R1) }, { F (F_RESV_20_4) }, { F (F_OP_16_1) }, { F (F_UIMM16) }, { 0 } }
76 };
77
78 static const CGEN_IFMT ifmt_l_mfspr ATTRIBUTE_UNUSED = {
79 32, 32, 0xfc000000, { { F (F_OPCODE) }, { F (F_R1) }, { F (F_R2) }, { F (F_UIMM16) }, { 0 } }
80 };
81
82 static const CGEN_IFMT ifmt_l_mtspr ATTRIBUTE_UNUSED = {
83 32, 32, 0xfc000000, { { F (F_OPCODE) }, { F (F_R2) }, { F (F_R3) }, { F (F_UIMM16_SPLIT) }, { 0 } }
84 };
85
86 static const CGEN_IFMT ifmt_l_lwz ATTRIBUTE_UNUSED = {
87 32, 32, 0xfc000000, { { F (F_OPCODE) }, { F (F_R1) }, { F (F_R2) }, { F (F_SIMM16) }, { 0 } }
88 };
89
90 static const CGEN_IFMT ifmt_l_sw ATTRIBUTE_UNUSED = {
91 32, 32, 0xfc000000, { { F (F_OPCODE) }, { F (F_R2) }, { F (F_R3) }, { F (F_SIMM16_SPLIT) }, { 0 } }
92 };
93
94 static const CGEN_IFMT ifmt_l_swa ATTRIBUTE_UNUSED = {
95 32, 32, 0xfc000000, { { F (F_OPCODE) }, { F (F_R2) }, { F (F_R3) }, { F (F_SIMM16) }, { 0 } }
96 };
97
98 static const CGEN_IFMT ifmt_l_sll ATTRIBUTE_UNUSED = {
99 32, 32, 0xfc0007ff, { { F (F_OPCODE) }, { F (F_R1) }, { F (F_R2) }, { F (F_R3) }, { F (F_RESV_10_3) }, { F (F_OP_7_2) }, { F (F_RESV_5_2) }, { F (F_OP_3_4) }, { 0 } }
100 };
101
102 static const CGEN_IFMT ifmt_l_slli ATTRIBUTE_UNUSED = {
103 32, 32, 0xfc00ffc0, { { F (F_OPCODE) }, { F (F_R1) }, { F (F_R2) }, { F (F_RESV_15_8) }, { F (F_OP_7_2) }, { F (F_UIMM6) }, { 0 } }
104 };
105
106 static const CGEN_IFMT ifmt_l_and ATTRIBUTE_UNUSED = {
107 32, 32, 0xfc0007ff, { { F (F_OPCODE) }, { F (F_R1) }, { F (F_R2) }, { F (F_R3) }, { F (F_RESV_10_7) }, { F (F_OP_3_4) }, { 0 } }
108 };
109
110 static const CGEN_IFMT ifmt_l_exths ATTRIBUTE_UNUSED = {
111 32, 32, 0xfc00ffff, { { F (F_OPCODE) }, { F (F_R1) }, { F (F_R2) }, { F (F_RESV_15_6) }, { F (F_OP_9_4) }, { F (F_RESV_5_2) }, { F (F_OP_3_4) }, { 0 } }
112 };
113
114 static const CGEN_IFMT ifmt_l_cmov ATTRIBUTE_UNUSED = {
115 32, 32, 0xfc0007ff, { { F (F_OPCODE) }, { F (F_R1) }, { F (F_R2) }, { F (F_R3) }, { F (F_RESV_10_1) }, { F (F_OP_9_2) }, { F (F_RESV_7_4) }, { F (F_OP_3_4) }, { 0 } }
116 };
117
118 static const CGEN_IFMT ifmt_l_sfgts ATTRIBUTE_UNUSED = {
119 32, 32, 0xffe007ff, { { F (F_OPCODE) }, { F (F_OP_25_5) }, { F (F_R2) }, { F (F_R3) }, { F (F_RESV_10_11) }, { 0 } }
120 };
121
122 static const CGEN_IFMT ifmt_l_sfgtsi ATTRIBUTE_UNUSED = {
123 32, 32, 0xffe00000, { { F (F_OPCODE) }, { F (F_OP_25_5) }, { F (F_R2) }, { F (F_SIMM16) }, { 0 } }
124 };
125
126 static const CGEN_IFMT ifmt_l_mac ATTRIBUTE_UNUSED = {
127 32, 32, 0xffe007ff, { { F (F_OPCODE) }, { F (F_OP_25_5) }, { F (F_R2) }, { F (F_R3) }, { F (F_RESV_10_7) }, { F (F_OP_3_4) }, { 0 } }
128 };
129
130 static const CGEN_IFMT ifmt_l_maci ATTRIBUTE_UNUSED = {
131 32, 32, 0xffe00000, { { F (F_OPCODE) }, { F (F_RESV_25_5) }, { F (F_R2) }, { F (F_SIMM16) }, { 0 } }
132 };
133
134 static const CGEN_IFMT ifmt_lf_add_s ATTRIBUTE_UNUSED = {
135 32, 32, 0xfc0007ff, { { F (F_OPCODE) }, { F (F_R1) }, { F (F_R2) }, { F (F_R3) }, { F (F_RESV_10_3) }, { F (F_OP_7_8) }, { 0 } }
136 };
137
138 static const CGEN_IFMT ifmt_lf_add_d ATTRIBUTE_UNUSED = {
139 32, 32, 0xfc0007ff, { { F (F_OPCODE) }, { F (F_R1) }, { F (F_R1) }, { F (F_R1) }, { F (F_RESV_10_3) }, { F (F_OP_7_8) }, { 0 } }
140 };
141
142 static const CGEN_IFMT ifmt_lf_itof_s ATTRIBUTE_UNUSED = {
143 32, 32, 0xfc00ffff, { { F (F_OPCODE) }, { F (F_R1) }, { F (F_R2) }, { F (F_R3) }, { F (F_RESV_10_3) }, { F (F_OP_7_8) }, { 0 } }
144 };
145
146 static const CGEN_IFMT ifmt_lf_ftoi_s ATTRIBUTE_UNUSED = {
147 32, 32, 0xfc00ffff, { { F (F_OPCODE) }, { F (F_R1) }, { F (F_R2) }, { F (F_R3) }, { F (F_RESV_10_3) }, { F (F_OP_7_8) }, { 0 } }
148 };
149
150 static const CGEN_IFMT ifmt_lf_ftoi_d ATTRIBUTE_UNUSED = {
151 32, 32, 0xfc00ffff, { { F (F_OPCODE) }, { F (F_R1) }, { F (F_R1) }, { F (F_R3) }, { F (F_RESV_10_3) }, { F (F_OP_7_8) }, { 0 } }
152 };
153
154 static const CGEN_IFMT ifmt_lf_eq_s ATTRIBUTE_UNUSED = {
155 32, 32, 0xffe007ff, { { F (F_OPCODE) }, { F (F_R1) }, { F (F_R2) }, { F (F_R3) }, { F (F_RESV_10_3) }, { F (F_OP_7_8) }, { 0 } }
156 };
157
158 static const CGEN_IFMT ifmt_lf_cust1_s ATTRIBUTE_UNUSED = {
159 32, 32, 0xffe007ff, { { F (F_OPCODE) }, { F (F_RESV_25_5) }, { F (F_R2) }, { F (F_R3) }, { F (F_RESV_10_3) }, { F (F_OP_7_8) }, { 0 } }
160 };
161
162 static const CGEN_IFMT ifmt_lf_cust1_d ATTRIBUTE_UNUSED = {
163 32, 32, 0xffe007ff, { { F (F_OPCODE) }, { F (F_RESV_25_5) }, { F (F_R1) }, { F (F_R1) }, { F (F_RESV_10_3) }, { F (F_OP_7_8) }, { 0 } }
164 };
165
166 #undef F
167
168 #define A(a) (1 << CGEN_INSN_##a)
169 #define OPERAND(op) OR1K_OPERAND_##op
170 #define MNEM CGEN_SYNTAX_MNEMONIC /* syntax value for mnemonic */
171 #define OP(field) CGEN_SYNTAX_MAKE_FIELD (OPERAND (field))
172
173 /* The instruction table. */
174
175 static const CGEN_OPCODE or1k_cgen_insn_opcode_table[MAX_INSNS] =
176 {
177 /* Special null first entry.
178 A `num' value of zero is thus invalid.
179 Also, the special `invalid' insn resides here. */
180 { { 0, 0, 0, 0 }, {{0}}, 0, {0}},
181 /* l.j ${disp26} */
182 {
183 { 0, 0, 0, 0 },
184 { { MNEM, ' ', OP (DISP26), 0 } },
185 & ifmt_l_j, { 0x0 }
186 },
187 /* l.jal ${disp26} */
188 {
189 { 0, 0, 0, 0 },
190 { { MNEM, ' ', OP (DISP26), 0 } },
191 & ifmt_l_j, { 0x4000000 }
192 },
193 /* l.jr $rB */
194 {
195 { 0, 0, 0, 0 },
196 { { MNEM, ' ', OP (RB), 0 } },
197 & ifmt_l_jr, { 0x44000000 }
198 },
199 /* l.jalr $rB */
200 {
201 { 0, 0, 0, 0 },
202 { { MNEM, ' ', OP (RB), 0 } },
203 & ifmt_l_jr, { 0x48000000 }
204 },
205 /* l.bnf ${disp26} */
206 {
207 { 0, 0, 0, 0 },
208 { { MNEM, ' ', OP (DISP26), 0 } },
209 & ifmt_l_j, { 0xc000000 }
210 },
211 /* l.bf ${disp26} */
212 {
213 { 0, 0, 0, 0 },
214 { { MNEM, ' ', OP (DISP26), 0 } },
215 & ifmt_l_j, { 0x10000000 }
216 },
217 /* l.trap ${uimm16} */
218 {
219 { 0, 0, 0, 0 },
220 { { MNEM, ' ', OP (UIMM16), 0 } },
221 & ifmt_l_trap, { 0x21000000 }
222 },
223 /* l.sys ${uimm16} */
224 {
225 { 0, 0, 0, 0 },
226 { { MNEM, ' ', OP (UIMM16), 0 } },
227 & ifmt_l_trap, { 0x20000000 }
228 },
229 /* l.rfe */
230 {
231 { 0, 0, 0, 0 },
232 { { MNEM, 0 } },
233 & ifmt_l_rfe, { 0x24000000 }
234 },
235 /* l.nop ${uimm16} */
236 {
237 { 0, 0, 0, 0 },
238 { { MNEM, ' ', OP (UIMM16), 0 } },
239 & ifmt_l_nop_imm, { 0x15000000 }
240 },
241 /* l.nop */
242 {
243 { 0, 0, 0, 0 },
244 { { MNEM, 0 } },
245 & ifmt_l_nop_imm, { 0x15000000 }
246 },
247 /* l.movhi $rD,$uimm16 */
248 {
249 { 0, 0, 0, 0 },
250 { { MNEM, ' ', OP (RD), ',', OP (UIMM16), 0 } },
251 & ifmt_l_movhi, { 0x18000000 }
252 },
253 /* l.macrc $rD */
254 {
255 { 0, 0, 0, 0 },
256 { { MNEM, ' ', OP (RD), 0 } },
257 & ifmt_l_macrc, { 0x18010000 }
258 },
259 /* l.mfspr $rD,$rA,${uimm16} */
260 {
261 { 0, 0, 0, 0 },
262 { { MNEM, ' ', OP (RD), ',', OP (RA), ',', OP (UIMM16), 0 } },
263 & ifmt_l_mfspr, { 0xb4000000 }
264 },
265 /* l.mtspr $rA,$rB,${uimm16-split} */
266 {
267 { 0, 0, 0, 0 },
268 { { MNEM, ' ', OP (RA), ',', OP (RB), ',', OP (UIMM16_SPLIT), 0 } },
269 & ifmt_l_mtspr, { 0xc0000000 }
270 },
271 /* l.lwz $rD,${simm16}($rA) */
272 {
273 { 0, 0, 0, 0 },
274 { { MNEM, ' ', OP (RD), ',', OP (SIMM16), '(', OP (RA), ')', 0 } },
275 & ifmt_l_lwz, { 0x84000000 }
276 },
277 /* l.lws $rD,${simm16}($rA) */
278 {
279 { 0, 0, 0, 0 },
280 { { MNEM, ' ', OP (RD), ',', OP (SIMM16), '(', OP (RA), ')', 0 } },
281 & ifmt_l_lwz, { 0x88000000 }
282 },
283 /* l.lwa $rD,${simm16}($rA) */
284 {
285 { 0, 0, 0, 0 },
286 { { MNEM, ' ', OP (RD), ',', OP (SIMM16), '(', OP (RA), ')', 0 } },
287 & ifmt_l_lwz, { 0x6c000000 }
288 },
289 /* l.lbz $rD,${simm16}($rA) */
290 {
291 { 0, 0, 0, 0 },
292 { { MNEM, ' ', OP (RD), ',', OP (SIMM16), '(', OP (RA), ')', 0 } },
293 & ifmt_l_lwz, { 0x8c000000 }
294 },
295 /* l.lbs $rD,${simm16}($rA) */
296 {
297 { 0, 0, 0, 0 },
298 { { MNEM, ' ', OP (RD), ',', OP (SIMM16), '(', OP (RA), ')', 0 } },
299 & ifmt_l_lwz, { 0x90000000 }
300 },
301 /* l.lhz $rD,${simm16}($rA) */
302 {
303 { 0, 0, 0, 0 },
304 { { MNEM, ' ', OP (RD), ',', OP (SIMM16), '(', OP (RA), ')', 0 } },
305 & ifmt_l_lwz, { 0x94000000 }
306 },
307 /* l.lhs $rD,${simm16}($rA) */
308 {
309 { 0, 0, 0, 0 },
310 { { MNEM, ' ', OP (RD), ',', OP (SIMM16), '(', OP (RA), ')', 0 } },
311 & ifmt_l_lwz, { 0x98000000 }
312 },
313 /* l.sw ${simm16-split}($rA),$rB */
314 {
315 { 0, 0, 0, 0 },
316 { { MNEM, ' ', OP (SIMM16_SPLIT), '(', OP (RA), ')', ',', OP (RB), 0 } },
317 & ifmt_l_sw, { 0xd4000000 }
318 },
319 /* l.sb ${simm16-split}($rA),$rB */
320 {
321 { 0, 0, 0, 0 },
322 { { MNEM, ' ', OP (SIMM16_SPLIT), '(', OP (RA), ')', ',', OP (RB), 0 } },
323 & ifmt_l_sw, { 0xd8000000 }
324 },
325 /* l.sh ${simm16-split}($rA),$rB */
326 {
327 { 0, 0, 0, 0 },
328 { { MNEM, ' ', OP (SIMM16_SPLIT), '(', OP (RA), ')', ',', OP (RB), 0 } },
329 & ifmt_l_sw, { 0xdc000000 }
330 },
331 /* l.swa ${simm16-split}($rA),$rB */
332 {
333 { 0, 0, 0, 0 },
334 { { MNEM, ' ', OP (SIMM16_SPLIT), '(', OP (RA), ')', ',', OP (RB), 0 } },
335 & ifmt_l_swa, { 0xcc000000 }
336 },
337 /* l.sll $rD,$rA,$rB */
338 {
339 { 0, 0, 0, 0 },
340 { { MNEM, ' ', OP (RD), ',', OP (RA), ',', OP (RB), 0 } },
341 & ifmt_l_sll, { 0xe0000008 }
342 },
343 /* l.slli $rD,$rA,${uimm6} */
344 {
345 { 0, 0, 0, 0 },
346 { { MNEM, ' ', OP (RD), ',', OP (RA), ',', OP (UIMM6), 0 } },
347 & ifmt_l_slli, { 0xb8000000 }
348 },
349 /* l.srl $rD,$rA,$rB */
350 {
351 { 0, 0, 0, 0 },
352 { { MNEM, ' ', OP (RD), ',', OP (RA), ',', OP (RB), 0 } },
353 & ifmt_l_sll, { 0xe0000048 }
354 },
355 /* l.srli $rD,$rA,${uimm6} */
356 {
357 { 0, 0, 0, 0 },
358 { { MNEM, ' ', OP (RD), ',', OP (RA), ',', OP (UIMM6), 0 } },
359 & ifmt_l_slli, { 0xb8000040 }
360 },
361 /* l.sra $rD,$rA,$rB */
362 {
363 { 0, 0, 0, 0 },
364 { { MNEM, ' ', OP (RD), ',', OP (RA), ',', OP (RB), 0 } },
365 & ifmt_l_sll, { 0xe0000088 }
366 },
367 /* l.srai $rD,$rA,${uimm6} */
368 {
369 { 0, 0, 0, 0 },
370 { { MNEM, ' ', OP (RD), ',', OP (RA), ',', OP (UIMM6), 0 } },
371 & ifmt_l_slli, { 0xb8000080 }
372 },
373 /* l.ror $rD,$rA,$rB */
374 {
375 { 0, 0, 0, 0 },
376 { { MNEM, ' ', OP (RD), ',', OP (RA), ',', OP (RB), 0 } },
377 & ifmt_l_sll, { 0xe00000c8 }
378 },
379 /* l.rori $rD,$rA,${uimm6} */
380 {
381 { 0, 0, 0, 0 },
382 { { MNEM, ' ', OP (RD), ',', OP (RA), ',', OP (UIMM6), 0 } },
383 & ifmt_l_slli, { 0xb80000c0 }
384 },
385 /* l.and $rD,$rA,$rB */
386 {
387 { 0, 0, 0, 0 },
388 { { MNEM, ' ', OP (RD), ',', OP (RA), ',', OP (RB), 0 } },
389 & ifmt_l_and, { 0xe0000003 }
390 },
391 /* l.or $rD,$rA,$rB */
392 {
393 { 0, 0, 0, 0 },
394 { { MNEM, ' ', OP (RD), ',', OP (RA), ',', OP (RB), 0 } },
395 & ifmt_l_and, { 0xe0000004 }
396 },
397 /* l.xor $rD,$rA,$rB */
398 {
399 { 0, 0, 0, 0 },
400 { { MNEM, ' ', OP (RD), ',', OP (RA), ',', OP (RB), 0 } },
401 & ifmt_l_and, { 0xe0000005 }
402 },
403 /* l.add $rD,$rA,$rB */
404 {
405 { 0, 0, 0, 0 },
406 { { MNEM, ' ', OP (RD), ',', OP (RA), ',', OP (RB), 0 } },
407 & ifmt_l_and, { 0xe0000000 }
408 },
409 /* l.sub $rD,$rA,$rB */
410 {
411 { 0, 0, 0, 0 },
412 { { MNEM, ' ', OP (RD), ',', OP (RA), ',', OP (RB), 0 } },
413 & ifmt_l_and, { 0xe0000002 }
414 },
415 /* l.addc $rD,$rA,$rB */
416 {
417 { 0, 0, 0, 0 },
418 { { MNEM, ' ', OP (RD), ',', OP (RA), ',', OP (RB), 0 } },
419 & ifmt_l_and, { 0xe0000001 }
420 },
421 /* l.mul $rD,$rA,$rB */
422 {
423 { 0, 0, 0, 0 },
424 { { MNEM, ' ', OP (RD), ',', OP (RA), ',', OP (RB), 0 } },
425 & ifmt_l_and, { 0xe0000306 }
426 },
427 /* l.mulu $rD,$rA,$rB */
428 {
429 { 0, 0, 0, 0 },
430 { { MNEM, ' ', OP (RD), ',', OP (RA), ',', OP (RB), 0 } },
431 & ifmt_l_and, { 0xe000030b }
432 },
433 /* l.div $rD,$rA,$rB */
434 {
435 { 0, 0, 0, 0 },
436 { { MNEM, ' ', OP (RD), ',', OP (RA), ',', OP (RB), 0 } },
437 & ifmt_l_and, { 0xe0000309 }
438 },
439 /* l.divu $rD,$rA,$rB */
440 {
441 { 0, 0, 0, 0 },
442 { { MNEM, ' ', OP (RD), ',', OP (RA), ',', OP (RB), 0 } },
443 & ifmt_l_and, { 0xe000030a }
444 },
445 /* l.ff1 $rD,$rA */
446 {
447 { 0, 0, 0, 0 },
448 { { MNEM, ' ', OP (RD), ',', OP (RA), 0 } },
449 & ifmt_l_and, { 0xe000000f }
450 },
451 /* l.fl1 $rD,$rA */
452 {
453 { 0, 0, 0, 0 },
454 { { MNEM, ' ', OP (RD), ',', OP (RA), 0 } },
455 & ifmt_l_and, { 0xe000010f }
456 },
457 /* l.andi $rD,$rA,$uimm16 */
458 {
459 { 0, 0, 0, 0 },
460 { { MNEM, ' ', OP (RD), ',', OP (RA), ',', OP (UIMM16), 0 } },
461 & ifmt_l_mfspr, { 0xa4000000 }
462 },
463 /* l.ori $rD,$rA,$uimm16 */
464 {
465 { 0, 0, 0, 0 },
466 { { MNEM, ' ', OP (RD), ',', OP (RA), ',', OP (UIMM16), 0 } },
467 & ifmt_l_mfspr, { 0xa8000000 }
468 },
469 /* l.xori $rD,$rA,$simm16 */
470 {
471 { 0, 0, 0, 0 },
472 { { MNEM, ' ', OP (RD), ',', OP (RA), ',', OP (SIMM16), 0 } },
473 & ifmt_l_lwz, { 0xac000000 }
474 },
475 /* l.addi $rD,$rA,$simm16 */
476 {
477 { 0, 0, 0, 0 },
478 { { MNEM, ' ', OP (RD), ',', OP (RA), ',', OP (SIMM16), 0 } },
479 & ifmt_l_lwz, { 0x9c000000 }
480 },
481 /* l.addic $rD,$rA,$simm16 */
482 {
483 { 0, 0, 0, 0 },
484 { { MNEM, ' ', OP (RD), ',', OP (RA), ',', OP (SIMM16), 0 } },
485 & ifmt_l_lwz, { 0xa0000000 }
486 },
487 /* l.muli $rD,$rA,$simm16 */
488 {
489 { 0, 0, 0, 0 },
490 { { MNEM, ' ', OP (RD), ',', OP (RA), ',', OP (SIMM16), 0 } },
491 & ifmt_l_lwz, { 0xb0000000 }
492 },
493 /* l.exths $rD,$rA */
494 {
495 { 0, 0, 0, 0 },
496 { { MNEM, ' ', OP (RD), ',', OP (RA), 0 } },
497 & ifmt_l_exths, { 0xe000000c }
498 },
499 /* l.extbs $rD,$rA */
500 {
501 { 0, 0, 0, 0 },
502 { { MNEM, ' ', OP (RD), ',', OP (RA), 0 } },
503 & ifmt_l_exths, { 0xe000004c }
504 },
505 /* l.exthz $rD,$rA */
506 {
507 { 0, 0, 0, 0 },
508 { { MNEM, ' ', OP (RD), ',', OP (RA), 0 } },
509 & ifmt_l_exths, { 0xe000008c }
510 },
511 /* l.extbz $rD,$rA */
512 {
513 { 0, 0, 0, 0 },
514 { { MNEM, ' ', OP (RD), ',', OP (RA), 0 } },
515 & ifmt_l_exths, { 0xe00000cc }
516 },
517 /* l.extws $rD,$rA */
518 {
519 { 0, 0, 0, 0 },
520 { { MNEM, ' ', OP (RD), ',', OP (RA), 0 } },
521 & ifmt_l_exths, { 0xe000000d }
522 },
523 /* l.extwz $rD,$rA */
524 {
525 { 0, 0, 0, 0 },
526 { { MNEM, ' ', OP (RD), ',', OP (RA), 0 } },
527 & ifmt_l_exths, { 0xe000004d }
528 },
529 /* l.cmov $rD,$rA,$rB */
530 {
531 { 0, 0, 0, 0 },
532 { { MNEM, ' ', OP (RD), ',', OP (RA), ',', OP (RB), 0 } },
533 & ifmt_l_cmov, { 0xe000000e }
534 },
535 /* l.sfgts $rA,$rB */
536 {
537 { 0, 0, 0, 0 },
538 { { MNEM, ' ', OP (RA), ',', OP (RB), 0 } },
539 & ifmt_l_sfgts, { 0xe5400000 }
540 },
541 /* l.sfgtsi $rA,$simm16 */
542 {
543 { 0, 0, 0, 0 },
544 { { MNEM, ' ', OP (RA), ',', OP (SIMM16), 0 } },
545 & ifmt_l_sfgtsi, { 0xbd400000 }
546 },
547 /* l.sfgtu $rA,$rB */
548 {
549 { 0, 0, 0, 0 },
550 { { MNEM, ' ', OP (RA), ',', OP (RB), 0 } },
551 & ifmt_l_sfgts, { 0xe4400000 }
552 },
553 /* l.sfgtui $rA,$simm16 */
554 {
555 { 0, 0, 0, 0 },
556 { { MNEM, ' ', OP (RA), ',', OP (SIMM16), 0 } },
557 & ifmt_l_sfgtsi, { 0xbc400000 }
558 },
559 /* l.sfges $rA,$rB */
560 {
561 { 0, 0, 0, 0 },
562 { { MNEM, ' ', OP (RA), ',', OP (RB), 0 } },
563 & ifmt_l_sfgts, { 0xe5600000 }
564 },
565 /* l.sfgesi $rA,$simm16 */
566 {
567 { 0, 0, 0, 0 },
568 { { MNEM, ' ', OP (RA), ',', OP (SIMM16), 0 } },
569 & ifmt_l_sfgtsi, { 0xbd600000 }
570 },
571 /* l.sfgeu $rA,$rB */
572 {
573 { 0, 0, 0, 0 },
574 { { MNEM, ' ', OP (RA), ',', OP (RB), 0 } },
575 & ifmt_l_sfgts, { 0xe4600000 }
576 },
577 /* l.sfgeui $rA,$simm16 */
578 {
579 { 0, 0, 0, 0 },
580 { { MNEM, ' ', OP (RA), ',', OP (SIMM16), 0 } },
581 & ifmt_l_sfgtsi, { 0xbc600000 }
582 },
583 /* l.sflts $rA,$rB */
584 {
585 { 0, 0, 0, 0 },
586 { { MNEM, ' ', OP (RA), ',', OP (RB), 0 } },
587 & ifmt_l_sfgts, { 0xe5800000 }
588 },
589 /* l.sfltsi $rA,$simm16 */
590 {
591 { 0, 0, 0, 0 },
592 { { MNEM, ' ', OP (RA), ',', OP (SIMM16), 0 } },
593 & ifmt_l_sfgtsi, { 0xbd800000 }
594 },
595 /* l.sfltu $rA,$rB */
596 {
597 { 0, 0, 0, 0 },
598 { { MNEM, ' ', OP (RA), ',', OP (RB), 0 } },
599 & ifmt_l_sfgts, { 0xe4800000 }
600 },
601 /* l.sfltui $rA,$simm16 */
602 {
603 { 0, 0, 0, 0 },
604 { { MNEM, ' ', OP (RA), ',', OP (SIMM16), 0 } },
605 & ifmt_l_sfgtsi, { 0xbc800000 }
606 },
607 /* l.sfles $rA,$rB */
608 {
609 { 0, 0, 0, 0 },
610 { { MNEM, ' ', OP (RA), ',', OP (RB), 0 } },
611 & ifmt_l_sfgts, { 0xe5a00000 }
612 },
613 /* l.sflesi $rA,$simm16 */
614 {
615 { 0, 0, 0, 0 },
616 { { MNEM, ' ', OP (RA), ',', OP (SIMM16), 0 } },
617 & ifmt_l_sfgtsi, { 0xbda00000 }
618 },
619 /* l.sfleu $rA,$rB */
620 {
621 { 0, 0, 0, 0 },
622 { { MNEM, ' ', OP (RA), ',', OP (RB), 0 } },
623 & ifmt_l_sfgts, { 0xe4a00000 }
624 },
625 /* l.sfleui $rA,$simm16 */
626 {
627 { 0, 0, 0, 0 },
628 { { MNEM, ' ', OP (RA), ',', OP (SIMM16), 0 } },
629 & ifmt_l_sfgtsi, { 0xbca00000 }
630 },
631 /* l.sfeq $rA,$rB */
632 {
633 { 0, 0, 0, 0 },
634 { { MNEM, ' ', OP (RA), ',', OP (RB), 0 } },
635 & ifmt_l_sfgts, { 0xe4000000 }
636 },
637 /* l.sfeqi $rA,$simm16 */
638 {
639 { 0, 0, 0, 0 },
640 { { MNEM, ' ', OP (RA), ',', OP (SIMM16), 0 } },
641 & ifmt_l_sfgtsi, { 0xbc000000 }
642 },
643 /* l.sfne $rA,$rB */
644 {
645 { 0, 0, 0, 0 },
646 { { MNEM, ' ', OP (RA), ',', OP (RB), 0 } },
647 & ifmt_l_sfgts, { 0xe4200000 }
648 },
649 /* l.sfnei $rA,$simm16 */
650 {
651 { 0, 0, 0, 0 },
652 { { MNEM, ' ', OP (RA), ',', OP (SIMM16), 0 } },
653 & ifmt_l_sfgtsi, { 0xbc200000 }
654 },
655 /* l.mac $rA,$rB */
656 {
657 { 0, 0, 0, 0 },
658 { { MNEM, ' ', OP (RA), ',', OP (RB), 0 } },
659 & ifmt_l_mac, { 0xc4000001 }
660 },
661 /* l.msb $rA,$rB */
662 {
663 { 0, 0, 0, 0 },
664 { { MNEM, ' ', OP (RA), ',', OP (RB), 0 } },
665 & ifmt_l_mac, { 0xc4000002 }
666 },
667 /* l.maci $rA,${simm16} */
668 {
669 { 0, 0, 0, 0 },
670 { { MNEM, ' ', OP (RA), ',', OP (SIMM16), 0 } },
671 & ifmt_l_maci, { 0x4c000000 }
672 },
673 /* l.cust1 */
674 {
675 { 0, 0, 0, 0 },
676 { { MNEM, 0 } },
677 & ifmt_l_rfe, { 0x70000000 }
678 },
679 /* l.cust2 */
680 {
681 { 0, 0, 0, 0 },
682 { { MNEM, 0 } },
683 & ifmt_l_rfe, { 0x74000000 }
684 },
685 /* l.cust3 */
686 {
687 { 0, 0, 0, 0 },
688 { { MNEM, 0 } },
689 & ifmt_l_rfe, { 0x78000000 }
690 },
691 /* l.cust4 */
692 {
693 { 0, 0, 0, 0 },
694 { { MNEM, 0 } },
695 & ifmt_l_rfe, { 0x7c000000 }
696 },
697 /* l.cust5 */
698 {
699 { 0, 0, 0, 0 },
700 { { MNEM, 0 } },
701 & ifmt_l_rfe, { 0xf0000000 }
702 },
703 /* l.cust6 */
704 {
705 { 0, 0, 0, 0 },
706 { { MNEM, 0 } },
707 & ifmt_l_rfe, { 0xf4000000 }
708 },
709 /* l.cust7 */
710 {
711 { 0, 0, 0, 0 },
712 { { MNEM, 0 } },
713 & ifmt_l_rfe, { 0xf8000000 }
714 },
715 /* l.cust8 */
716 {
717 { 0, 0, 0, 0 },
718 { { MNEM, 0 } },
719 & ifmt_l_rfe, { 0xfc000000 }
720 },
721 /* lf.add.s $rDSF,$rASF,$rBSF */
722 {
723 { 0, 0, 0, 0 },
724 { { MNEM, ' ', OP (RDSF), ',', OP (RASF), ',', OP (RBSF), 0 } },
725 & ifmt_lf_add_s, { 0xc8000000 }
726 },
727 /* lf.add.d $rDDF,$rADF,$rBDF */
728 {
729 { 0, 0, 0, 0 },
730 { { MNEM, ' ', OP (RDDF), ',', OP (RADF), ',', OP (RBDF), 0 } },
731 & ifmt_lf_add_d, { 0xc8000010 }
732 },
733 /* lf.sub.s $rDSF,$rASF,$rBSF */
734 {
735 { 0, 0, 0, 0 },
736 { { MNEM, ' ', OP (RDSF), ',', OP (RASF), ',', OP (RBSF), 0 } },
737 & ifmt_lf_add_s, { 0xc8000001 }
738 },
739 /* lf.sub.d $rDDF,$rADF,$rBDF */
740 {
741 { 0, 0, 0, 0 },
742 { { MNEM, ' ', OP (RDDF), ',', OP (RADF), ',', OP (RBDF), 0 } },
743 & ifmt_lf_add_d, { 0xc8000011 }
744 },
745 /* lf.mul.s $rDSF,$rASF,$rBSF */
746 {
747 { 0, 0, 0, 0 },
748 { { MNEM, ' ', OP (RDSF), ',', OP (RASF), ',', OP (RBSF), 0 } },
749 & ifmt_lf_add_s, { 0xc8000002 }
750 },
751 /* lf.mul.d $rDDF,$rADF,$rBDF */
752 {
753 { 0, 0, 0, 0 },
754 { { MNEM, ' ', OP (RDDF), ',', OP (RADF), ',', OP (RBDF), 0 } },
755 & ifmt_lf_add_d, { 0xc8000012 }
756 },
757 /* lf.div.s $rDSF,$rASF,$rBSF */
758 {
759 { 0, 0, 0, 0 },
760 { { MNEM, ' ', OP (RDSF), ',', OP (RASF), ',', OP (RBSF), 0 } },
761 & ifmt_lf_add_s, { 0xc8000003 }
762 },
763 /* lf.div.d $rDDF,$rADF,$rBDF */
764 {
765 { 0, 0, 0, 0 },
766 { { MNEM, ' ', OP (RDDF), ',', OP (RADF), ',', OP (RBDF), 0 } },
767 & ifmt_lf_add_d, { 0xc8000013 }
768 },
769 /* lf.rem.s $rDSF,$rASF,$rBSF */
770 {
771 { 0, 0, 0, 0 },
772 { { MNEM, ' ', OP (RDSF), ',', OP (RASF), ',', OP (RBSF), 0 } },
773 & ifmt_lf_add_s, { 0xc8000006 }
774 },
775 /* lf.rem.d $rDDF,$rADF,$rBDF */
776 {
777 { 0, 0, 0, 0 },
778 { { MNEM, ' ', OP (RDDF), ',', OP (RADF), ',', OP (RBDF), 0 } },
779 & ifmt_lf_add_d, { 0xc8000016 }
780 },
781 /* lf.itof.s $rDSF,$rA */
782 {
783 { 0, 0, 0, 0 },
784 { { MNEM, ' ', OP (RDSF), ',', OP (RA), 0 } },
785 & ifmt_lf_itof_s, { 0xc8000004 }
786 },
787 /* lf.itof.d $rDSF,$rA */
788 {
789 { 0, 0, 0, 0 },
790 { { MNEM, ' ', OP (RDSF), ',', OP (RA), 0 } },
791 & ifmt_lf_itof_s, { 0xc8000014 }
792 },
793 /* lf.ftoi.s $rD,$rASF */
794 {
795 { 0, 0, 0, 0 },
796 { { MNEM, ' ', OP (RD), ',', OP (RASF), 0 } },
797 & ifmt_lf_ftoi_s, { 0xc8000005 }
798 },
799 /* lf.ftoi.d $rD,$rADF */
800 {
801 { 0, 0, 0, 0 },
802 { { MNEM, ' ', OP (RD), ',', OP (RADF), 0 } },
803 & ifmt_lf_ftoi_d, { 0xc8000015 }
804 },
805 /* lf.sfeq.s $rASF,$rBSF */
806 {
807 { 0, 0, 0, 0 },
808 { { MNEM, ' ', OP (RASF), ',', OP (RBSF), 0 } },
809 & ifmt_lf_eq_s, { 0xc8000008 }
810 },
811 /* lf.sfeq.d $rASF,$rBSF */
812 {
813 { 0, 0, 0, 0 },
814 { { MNEM, ' ', OP (RASF), ',', OP (RBSF), 0 } },
815 & ifmt_lf_eq_s, { 0xc8000018 }
816 },
817 /* lf.sfne.s $rASF,$rBSF */
818 {
819 { 0, 0, 0, 0 },
820 { { MNEM, ' ', OP (RASF), ',', OP (RBSF), 0 } },
821 & ifmt_lf_eq_s, { 0xc8000009 }
822 },
823 /* lf.sfne.d $rASF,$rBSF */
824 {
825 { 0, 0, 0, 0 },
826 { { MNEM, ' ', OP (RASF), ',', OP (RBSF), 0 } },
827 & ifmt_lf_eq_s, { 0xc8000019 }
828 },
829 /* lf.sfge.s $rASF,$rBSF */
830 {
831 { 0, 0, 0, 0 },
832 { { MNEM, ' ', OP (RASF), ',', OP (RBSF), 0 } },
833 & ifmt_lf_eq_s, { 0xc800000b }
834 },
835 /* lf.sfge.d $rASF,$rBSF */
836 {
837 { 0, 0, 0, 0 },
838 { { MNEM, ' ', OP (RASF), ',', OP (RBSF), 0 } },
839 & ifmt_lf_eq_s, { 0xc800001b }
840 },
841 /* lf.sfgt.s $rASF,$rBSF */
842 {
843 { 0, 0, 0, 0 },
844 { { MNEM, ' ', OP (RASF), ',', OP (RBSF), 0 } },
845 & ifmt_lf_eq_s, { 0xc800000a }
846 },
847 /* lf.sfgt.d $rASF,$rBSF */
848 {
849 { 0, 0, 0, 0 },
850 { { MNEM, ' ', OP (RASF), ',', OP (RBSF), 0 } },
851 & ifmt_lf_eq_s, { 0xc800001a }
852 },
853 /* lf.sflt.s $rASF,$rBSF */
854 {
855 { 0, 0, 0, 0 },
856 { { MNEM, ' ', OP (RASF), ',', OP (RBSF), 0 } },
857 & ifmt_lf_eq_s, { 0xc800000c }
858 },
859 /* lf.sflt.d $rASF,$rBSF */
860 {
861 { 0, 0, 0, 0 },
862 { { MNEM, ' ', OP (RASF), ',', OP (RBSF), 0 } },
863 & ifmt_lf_eq_s, { 0xc800001c }
864 },
865 /* lf.sfle.s $rASF,$rBSF */
866 {
867 { 0, 0, 0, 0 },
868 { { MNEM, ' ', OP (RASF), ',', OP (RBSF), 0 } },
869 & ifmt_lf_eq_s, { 0xc800000d }
870 },
871 /* lf.sfle.d $rASF,$rBSF */
872 {
873 { 0, 0, 0, 0 },
874 { { MNEM, ' ', OP (RASF), ',', OP (RBSF), 0 } },
875 & ifmt_lf_eq_s, { 0xc800001d }
876 },
877 /* lf.madd.s $rDSF,$rASF,$rBSF */
878 {
879 { 0, 0, 0, 0 },
880 { { MNEM, ' ', OP (RDSF), ',', OP (RASF), ',', OP (RBSF), 0 } },
881 & ifmt_lf_add_s, { 0xc8000007 }
882 },
883 /* lf.madd.d $rDDF,$rADF,$rBDF */
884 {
885 { 0, 0, 0, 0 },
886 { { MNEM, ' ', OP (RDDF), ',', OP (RADF), ',', OP (RBDF), 0 } },
887 & ifmt_lf_add_d, { 0xc8000017 }
888 },
889 /* lf.cust1.s $rASF,$rBSF */
890 {
891 { 0, 0, 0, 0 },
892 { { MNEM, ' ', OP (RASF), ',', OP (RBSF), 0 } },
893 & ifmt_lf_cust1_s, { 0xc80000d0 }
894 },
895 /* lf.cust1.d */
896 {
897 { 0, 0, 0, 0 },
898 { { MNEM, 0 } },
899 & ifmt_lf_cust1_d, { 0xc80000e0 }
900 },
901 };
902
903 #undef A
904 #undef OPERAND
905 #undef MNEM
906 #undef OP
907
908 /* Formats for ALIAS macro-insns. */
909
910 #define F(f) & or1k_cgen_ifld_table[OR1K_##f]
911 #undef F
912
913 /* Each non-simple macro entry points to an array of expansion possibilities. */
914
915 #define A(a) (1 << CGEN_INSN_##a)
916 #define OPERAND(op) OR1K_OPERAND_##op
917 #define MNEM CGEN_SYNTAX_MNEMONIC /* syntax value for mnemonic */
918 #define OP(field) CGEN_SYNTAX_MAKE_FIELD (OPERAND (field))
919
920 /* The macro instruction table. */
921
922 static const CGEN_IBASE or1k_cgen_macro_insn_table[] =
923 {
924 };
925
926 /* The macro instruction opcode table. */
927
928 static const CGEN_OPCODE or1k_cgen_macro_insn_opcode_table[] =
929 {
930 };
931
932 #undef A
933 #undef OPERAND
934 #undef MNEM
935 #undef OP
936
937 #ifndef CGEN_ASM_HASH_P
938 #define CGEN_ASM_HASH_P(insn) 1
939 #endif
940
941 #ifndef CGEN_DIS_HASH_P
942 #define CGEN_DIS_HASH_P(insn) 1
943 #endif
944
945 /* Return non-zero if INSN is to be added to the hash table.
946 Targets are free to override CGEN_{ASM,DIS}_HASH_P in the .opc file. */
947
948 static int
949 asm_hash_insn_p (insn)
950 const CGEN_INSN *insn ATTRIBUTE_UNUSED;
951 {
952 return CGEN_ASM_HASH_P (insn);
953 }
954
955 static int
956 dis_hash_insn_p (insn)
957 const CGEN_INSN *insn;
958 {
959 /* If building the hash table and the NO-DIS attribute is present,
960 ignore. */
961 if (CGEN_INSN_ATTR_VALUE (insn, CGEN_INSN_NO_DIS))
962 return 0;
963 return CGEN_DIS_HASH_P (insn);
964 }
965
966 #ifndef CGEN_ASM_HASH
967 #define CGEN_ASM_HASH_SIZE 127
968 #ifdef CGEN_MNEMONIC_OPERANDS
969 #define CGEN_ASM_HASH(mnem) (*(unsigned char *) (mnem) % CGEN_ASM_HASH_SIZE)
970 #else
971 #define CGEN_ASM_HASH(mnem) (*(unsigned char *) (mnem) % CGEN_ASM_HASH_SIZE) /*FIXME*/
972 #endif
973 #endif
974
975 /* It doesn't make much sense to provide a default here,
976 but while this is under development we do.
977 BUFFER is a pointer to the bytes of the insn, target order.
978 VALUE is the first base_insn_bitsize bits as an int in host order. */
979
980 #ifndef CGEN_DIS_HASH
981 #define CGEN_DIS_HASH_SIZE 256
982 #define CGEN_DIS_HASH(buf, value) (*(unsigned char *) (buf))
983 #endif
984
985 /* The result is the hash value of the insn.
986 Targets are free to override CGEN_{ASM,DIS}_HASH in the .opc file. */
987
988 static unsigned int
989 asm_hash_insn (mnem)
990 const char * mnem;
991 {
992 return CGEN_ASM_HASH (mnem);
993 }
994
995 /* BUF is a pointer to the bytes of the insn, target order.
996 VALUE is the first base_insn_bitsize bits as an int in host order. */
997
998 static unsigned int
999 dis_hash_insn (buf, value)
1000 const char * buf ATTRIBUTE_UNUSED;
1001 CGEN_INSN_INT value ATTRIBUTE_UNUSED;
1002 {
1003 return CGEN_DIS_HASH (buf, value);
1004 }
1005
1006 /* Set the recorded length of the insn in the CGEN_FIELDS struct. */
1007
1008 static void
1009 set_fields_bitsize (CGEN_FIELDS *fields, int size)
1010 {
1011 CGEN_FIELDS_BITSIZE (fields) = size;
1012 }
1013
1014 /* Function to call before using the operand instance table.
1015 This plugs the opcode entries and macro instructions into the cpu table. */
1016
1017 void
1018 or1k_cgen_init_opcode_table (CGEN_CPU_DESC cd)
1019 {
1020 int i;
1021 int num_macros = (sizeof (or1k_cgen_macro_insn_table) /
1022 sizeof (or1k_cgen_macro_insn_table[0]));
1023 const CGEN_IBASE *ib = & or1k_cgen_macro_insn_table[0];
1024 const CGEN_OPCODE *oc = & or1k_cgen_macro_insn_opcode_table[0];
1025 CGEN_INSN *insns = xmalloc (num_macros * sizeof (CGEN_INSN));
1026
1027 /* This test has been added to avoid a warning generated
1028 if memset is called with a third argument of value zero. */
1029 if (num_macros >= 1)
1030 memset (insns, 0, num_macros * sizeof (CGEN_INSN));
1031 for (i = 0; i < num_macros; ++i)
1032 {
1033 insns[i].base = &ib[i];
1034 insns[i].opcode = &oc[i];
1035 or1k_cgen_build_insn_regex (& insns[i]);
1036 }
1037 cd->macro_insn_table.init_entries = insns;
1038 cd->macro_insn_table.entry_size = sizeof (CGEN_IBASE);
1039 cd->macro_insn_table.num_init_entries = num_macros;
1040
1041 oc = & or1k_cgen_insn_opcode_table[0];
1042 insns = (CGEN_INSN *) cd->insn_table.init_entries;
1043 for (i = 0; i < MAX_INSNS; ++i)
1044 {
1045 insns[i].opcode = &oc[i];
1046 or1k_cgen_build_insn_regex (& insns[i]);
1047 }
1048
1049 cd->sizeof_fields = sizeof (CGEN_FIELDS);
1050 cd->set_fields_bitsize = set_fields_bitsize;
1051
1052 cd->asm_hash_p = asm_hash_insn_p;
1053 cd->asm_hash = asm_hash_insn;
1054 cd->asm_hash_size = CGEN_ASM_HASH_SIZE;
1055
1056 cd->dis_hash_p = dis_hash_insn_p;
1057 cd->dis_hash = dis_hash_insn;
1058 cd->dis_hash_size = CGEN_DIS_HASH_SIZE;
1059 }
This page took 0.054741 seconds and 4 git commands to generate.