Commit | Line | Data |
---|---|---|
c906108c SS |
1 | /* Simulator model support for i960base. |
2 | ||
3 | THIS FILE IS MACHINE GENERATED WITH CGEN. | |
4 | ||
5 | Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc. | |
6 | ||
7 | This file is part of the GNU Simulators. | |
8 | ||
9 | This program 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 2, or (at your option) | |
12 | any later version. | |
13 | ||
14 | This program is distributed in the hope that it will be useful, | |
15 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
17 | GNU General Public 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 | 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |
22 | ||
23 | */ | |
24 | ||
25 | #define WANT_CPU i960base | |
26 | #define WANT_CPU_I960BASE | |
27 | ||
28 | #include "sim-main.h" | |
29 | ||
30 | /* The profiling data is recorded here, but is accessed via the profiling | |
31 | mechanism. After all, this is information for profiling. */ | |
32 | ||
33 | #if WITH_PROFILE_MODEL_P | |
34 | ||
35 | /* Model handlers for each insn. */ | |
36 | ||
37 | static int | |
38 | model_i960KA_mulo (SIM_CPU *current_cpu, void *sem_arg) | |
39 | { | |
96baa820 | 40 | #define FLD(f) abuf->fields.sfmt_emul.f |
c906108c SS |
41 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
42 | const IDESC * UNUSED idesc = abuf->idesc; | |
43 | int cycles = 0; | |
44 | { | |
45 | int referenced = 0; | |
46 | int UNUSED insn_referenced = abuf->written; | |
47 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
48 | } | |
49 | return cycles; | |
50 | #undef FLD | |
51 | } | |
52 | ||
53 | static int | |
54 | model_i960KA_mulo1 (SIM_CPU *current_cpu, void *sem_arg) | |
55 | { | |
96baa820 | 56 | #define FLD(f) abuf->fields.sfmt_emul1.f |
c906108c SS |
57 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
58 | const IDESC * UNUSED idesc = abuf->idesc; | |
59 | int cycles = 0; | |
60 | { | |
61 | int referenced = 0; | |
62 | int UNUSED insn_referenced = abuf->written; | |
63 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
64 | } | |
65 | return cycles; | |
66 | #undef FLD | |
67 | } | |
68 | ||
69 | static int | |
70 | model_i960KA_mulo2 (SIM_CPU *current_cpu, void *sem_arg) | |
71 | { | |
96baa820 | 72 | #define FLD(f) abuf->fields.sfmt_emul2.f |
c906108c SS |
73 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
74 | const IDESC * UNUSED idesc = abuf->idesc; | |
75 | int cycles = 0; | |
76 | { | |
77 | int referenced = 0; | |
78 | int UNUSED insn_referenced = abuf->written; | |
79 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
80 | } | |
81 | return cycles; | |
82 | #undef FLD | |
83 | } | |
84 | ||
85 | static int | |
86 | model_i960KA_mulo3 (SIM_CPU *current_cpu, void *sem_arg) | |
87 | { | |
96baa820 | 88 | #define FLD(f) abuf->fields.sfmt_emul3.f |
c906108c SS |
89 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
90 | const IDESC * UNUSED idesc = abuf->idesc; | |
91 | int cycles = 0; | |
92 | { | |
93 | int referenced = 0; | |
94 | int UNUSED insn_referenced = abuf->written; | |
95 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
96 | } | |
97 | return cycles; | |
98 | #undef FLD | |
99 | } | |
100 | ||
101 | static int | |
102 | model_i960KA_remo (SIM_CPU *current_cpu, void *sem_arg) | |
103 | { | |
96baa820 | 104 | #define FLD(f) abuf->fields.sfmt_emul.f |
c906108c SS |
105 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
106 | const IDESC * UNUSED idesc = abuf->idesc; | |
107 | int cycles = 0; | |
108 | { | |
109 | int referenced = 0; | |
110 | int UNUSED insn_referenced = abuf->written; | |
111 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
112 | } | |
113 | return cycles; | |
114 | #undef FLD | |
115 | } | |
116 | ||
117 | static int | |
118 | model_i960KA_remo1 (SIM_CPU *current_cpu, void *sem_arg) | |
119 | { | |
96baa820 | 120 | #define FLD(f) abuf->fields.sfmt_emul1.f |
c906108c SS |
121 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
122 | const IDESC * UNUSED idesc = abuf->idesc; | |
123 | int cycles = 0; | |
124 | { | |
125 | int referenced = 0; | |
126 | int UNUSED insn_referenced = abuf->written; | |
127 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
128 | } | |
129 | return cycles; | |
130 | #undef FLD | |
131 | } | |
132 | ||
133 | static int | |
134 | model_i960KA_remo2 (SIM_CPU *current_cpu, void *sem_arg) | |
135 | { | |
96baa820 | 136 | #define FLD(f) abuf->fields.sfmt_emul2.f |
c906108c SS |
137 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
138 | const IDESC * UNUSED idesc = abuf->idesc; | |
139 | int cycles = 0; | |
140 | { | |
141 | int referenced = 0; | |
142 | int UNUSED insn_referenced = abuf->written; | |
143 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
144 | } | |
145 | return cycles; | |
146 | #undef FLD | |
147 | } | |
148 | ||
149 | static int | |
150 | model_i960KA_remo3 (SIM_CPU *current_cpu, void *sem_arg) | |
151 | { | |
96baa820 | 152 | #define FLD(f) abuf->fields.sfmt_emul3.f |
c906108c SS |
153 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
154 | const IDESC * UNUSED idesc = abuf->idesc; | |
155 | int cycles = 0; | |
156 | { | |
157 | int referenced = 0; | |
158 | int UNUSED insn_referenced = abuf->written; | |
159 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
160 | } | |
161 | return cycles; | |
162 | #undef FLD | |
163 | } | |
164 | ||
165 | static int | |
166 | model_i960KA_divo (SIM_CPU *current_cpu, void *sem_arg) | |
167 | { | |
96baa820 | 168 | #define FLD(f) abuf->fields.sfmt_emul.f |
c906108c SS |
169 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
170 | const IDESC * UNUSED idesc = abuf->idesc; | |
171 | int cycles = 0; | |
172 | { | |
173 | int referenced = 0; | |
174 | int UNUSED insn_referenced = abuf->written; | |
175 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
176 | } | |
177 | return cycles; | |
178 | #undef FLD | |
179 | } | |
180 | ||
181 | static int | |
182 | model_i960KA_divo1 (SIM_CPU *current_cpu, void *sem_arg) | |
183 | { | |
96baa820 | 184 | #define FLD(f) abuf->fields.sfmt_emul1.f |
c906108c SS |
185 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
186 | const IDESC * UNUSED idesc = abuf->idesc; | |
187 | int cycles = 0; | |
188 | { | |
189 | int referenced = 0; | |
190 | int UNUSED insn_referenced = abuf->written; | |
191 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
192 | } | |
193 | return cycles; | |
194 | #undef FLD | |
195 | } | |
196 | ||
197 | static int | |
198 | model_i960KA_divo2 (SIM_CPU *current_cpu, void *sem_arg) | |
199 | { | |
96baa820 | 200 | #define FLD(f) abuf->fields.sfmt_emul2.f |
c906108c SS |
201 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
202 | const IDESC * UNUSED idesc = abuf->idesc; | |
203 | int cycles = 0; | |
204 | { | |
205 | int referenced = 0; | |
206 | int UNUSED insn_referenced = abuf->written; | |
207 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
208 | } | |
209 | return cycles; | |
210 | #undef FLD | |
211 | } | |
212 | ||
213 | static int | |
214 | model_i960KA_divo3 (SIM_CPU *current_cpu, void *sem_arg) | |
215 | { | |
96baa820 | 216 | #define FLD(f) abuf->fields.sfmt_emul3.f |
c906108c SS |
217 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
218 | const IDESC * UNUSED idesc = abuf->idesc; | |
219 | int cycles = 0; | |
220 | { | |
221 | int referenced = 0; | |
222 | int UNUSED insn_referenced = abuf->written; | |
223 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
224 | } | |
225 | return cycles; | |
226 | #undef FLD | |
227 | } | |
228 | ||
229 | static int | |
230 | model_i960KA_remi (SIM_CPU *current_cpu, void *sem_arg) | |
231 | { | |
96baa820 | 232 | #define FLD(f) abuf->fields.sfmt_emul.f |
c906108c SS |
233 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
234 | const IDESC * UNUSED idesc = abuf->idesc; | |
235 | int cycles = 0; | |
236 | { | |
237 | int referenced = 0; | |
238 | int UNUSED insn_referenced = abuf->written; | |
239 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
240 | } | |
241 | return cycles; | |
242 | #undef FLD | |
243 | } | |
244 | ||
245 | static int | |
246 | model_i960KA_remi1 (SIM_CPU *current_cpu, void *sem_arg) | |
247 | { | |
96baa820 | 248 | #define FLD(f) abuf->fields.sfmt_emul1.f |
c906108c SS |
249 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
250 | const IDESC * UNUSED idesc = abuf->idesc; | |
251 | int cycles = 0; | |
252 | { | |
253 | int referenced = 0; | |
254 | int UNUSED insn_referenced = abuf->written; | |
255 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
256 | } | |
257 | return cycles; | |
258 | #undef FLD | |
259 | } | |
260 | ||
261 | static int | |
262 | model_i960KA_remi2 (SIM_CPU *current_cpu, void *sem_arg) | |
263 | { | |
96baa820 | 264 | #define FLD(f) abuf->fields.sfmt_emul2.f |
c906108c SS |
265 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
266 | const IDESC * UNUSED idesc = abuf->idesc; | |
267 | int cycles = 0; | |
268 | { | |
269 | int referenced = 0; | |
270 | int UNUSED insn_referenced = abuf->written; | |
271 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
272 | } | |
273 | return cycles; | |
274 | #undef FLD | |
275 | } | |
276 | ||
277 | static int | |
278 | model_i960KA_remi3 (SIM_CPU *current_cpu, void *sem_arg) | |
279 | { | |
96baa820 | 280 | #define FLD(f) abuf->fields.sfmt_emul3.f |
c906108c SS |
281 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
282 | const IDESC * UNUSED idesc = abuf->idesc; | |
283 | int cycles = 0; | |
284 | { | |
285 | int referenced = 0; | |
286 | int UNUSED insn_referenced = abuf->written; | |
287 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
288 | } | |
289 | return cycles; | |
290 | #undef FLD | |
291 | } | |
292 | ||
293 | static int | |
294 | model_i960KA_divi (SIM_CPU *current_cpu, void *sem_arg) | |
295 | { | |
96baa820 | 296 | #define FLD(f) abuf->fields.sfmt_emul.f |
c906108c SS |
297 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
298 | const IDESC * UNUSED idesc = abuf->idesc; | |
299 | int cycles = 0; | |
300 | { | |
301 | int referenced = 0; | |
302 | int UNUSED insn_referenced = abuf->written; | |
303 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
304 | } | |
305 | return cycles; | |
306 | #undef FLD | |
307 | } | |
308 | ||
309 | static int | |
310 | model_i960KA_divi1 (SIM_CPU *current_cpu, void *sem_arg) | |
311 | { | |
96baa820 | 312 | #define FLD(f) abuf->fields.sfmt_emul1.f |
c906108c SS |
313 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
314 | const IDESC * UNUSED idesc = abuf->idesc; | |
315 | int cycles = 0; | |
316 | { | |
317 | int referenced = 0; | |
318 | int UNUSED insn_referenced = abuf->written; | |
319 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
320 | } | |
321 | return cycles; | |
322 | #undef FLD | |
323 | } | |
324 | ||
325 | static int | |
326 | model_i960KA_divi2 (SIM_CPU *current_cpu, void *sem_arg) | |
327 | { | |
96baa820 | 328 | #define FLD(f) abuf->fields.sfmt_emul2.f |
c906108c SS |
329 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
330 | const IDESC * UNUSED idesc = abuf->idesc; | |
331 | int cycles = 0; | |
332 | { | |
333 | int referenced = 0; | |
334 | int UNUSED insn_referenced = abuf->written; | |
335 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
336 | } | |
337 | return cycles; | |
338 | #undef FLD | |
339 | } | |
340 | ||
341 | static int | |
342 | model_i960KA_divi3 (SIM_CPU *current_cpu, void *sem_arg) | |
343 | { | |
96baa820 | 344 | #define FLD(f) abuf->fields.sfmt_emul3.f |
c906108c SS |
345 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
346 | const IDESC * UNUSED idesc = abuf->idesc; | |
347 | int cycles = 0; | |
348 | { | |
349 | int referenced = 0; | |
350 | int UNUSED insn_referenced = abuf->written; | |
351 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
352 | } | |
353 | return cycles; | |
354 | #undef FLD | |
355 | } | |
356 | ||
357 | static int | |
358 | model_i960KA_addo (SIM_CPU *current_cpu, void *sem_arg) | |
359 | { | |
96baa820 | 360 | #define FLD(f) abuf->fields.sfmt_emul.f |
c906108c SS |
361 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
362 | const IDESC * UNUSED idesc = abuf->idesc; | |
363 | int cycles = 0; | |
364 | { | |
365 | int referenced = 0; | |
366 | int UNUSED insn_referenced = abuf->written; | |
367 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
368 | } | |
369 | return cycles; | |
370 | #undef FLD | |
371 | } | |
372 | ||
373 | static int | |
374 | model_i960KA_addo1 (SIM_CPU *current_cpu, void *sem_arg) | |
375 | { | |
96baa820 | 376 | #define FLD(f) abuf->fields.sfmt_emul1.f |
c906108c SS |
377 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
378 | const IDESC * UNUSED idesc = abuf->idesc; | |
379 | int cycles = 0; | |
380 | { | |
381 | int referenced = 0; | |
382 | int UNUSED insn_referenced = abuf->written; | |
383 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
384 | } | |
385 | return cycles; | |
386 | #undef FLD | |
387 | } | |
388 | ||
389 | static int | |
390 | model_i960KA_addo2 (SIM_CPU *current_cpu, void *sem_arg) | |
391 | { | |
96baa820 | 392 | #define FLD(f) abuf->fields.sfmt_emul2.f |
c906108c SS |
393 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
394 | const IDESC * UNUSED idesc = abuf->idesc; | |
395 | int cycles = 0; | |
396 | { | |
397 | int referenced = 0; | |
398 | int UNUSED insn_referenced = abuf->written; | |
399 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
400 | } | |
401 | return cycles; | |
402 | #undef FLD | |
403 | } | |
404 | ||
405 | static int | |
406 | model_i960KA_addo3 (SIM_CPU *current_cpu, void *sem_arg) | |
407 | { | |
96baa820 | 408 | #define FLD(f) abuf->fields.sfmt_emul3.f |
c906108c SS |
409 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
410 | const IDESC * UNUSED idesc = abuf->idesc; | |
411 | int cycles = 0; | |
412 | { | |
413 | int referenced = 0; | |
414 | int UNUSED insn_referenced = abuf->written; | |
415 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
416 | } | |
417 | return cycles; | |
418 | #undef FLD | |
419 | } | |
420 | ||
421 | static int | |
422 | model_i960KA_subo (SIM_CPU *current_cpu, void *sem_arg) | |
423 | { | |
96baa820 | 424 | #define FLD(f) abuf->fields.sfmt_emul.f |
c906108c SS |
425 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
426 | const IDESC * UNUSED idesc = abuf->idesc; | |
427 | int cycles = 0; | |
428 | { | |
429 | int referenced = 0; | |
430 | int UNUSED insn_referenced = abuf->written; | |
431 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
432 | } | |
433 | return cycles; | |
434 | #undef FLD | |
435 | } | |
436 | ||
437 | static int | |
438 | model_i960KA_subo1 (SIM_CPU *current_cpu, void *sem_arg) | |
439 | { | |
96baa820 | 440 | #define FLD(f) abuf->fields.sfmt_emul1.f |
c906108c SS |
441 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
442 | const IDESC * UNUSED idesc = abuf->idesc; | |
443 | int cycles = 0; | |
444 | { | |
445 | int referenced = 0; | |
446 | int UNUSED insn_referenced = abuf->written; | |
447 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
448 | } | |
449 | return cycles; | |
450 | #undef FLD | |
451 | } | |
452 | ||
453 | static int | |
454 | model_i960KA_subo2 (SIM_CPU *current_cpu, void *sem_arg) | |
455 | { | |
96baa820 | 456 | #define FLD(f) abuf->fields.sfmt_emul2.f |
c906108c SS |
457 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
458 | const IDESC * UNUSED idesc = abuf->idesc; | |
459 | int cycles = 0; | |
460 | { | |
461 | int referenced = 0; | |
462 | int UNUSED insn_referenced = abuf->written; | |
463 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
464 | } | |
465 | return cycles; | |
466 | #undef FLD | |
467 | } | |
468 | ||
469 | static int | |
470 | model_i960KA_subo3 (SIM_CPU *current_cpu, void *sem_arg) | |
471 | { | |
96baa820 | 472 | #define FLD(f) abuf->fields.sfmt_emul3.f |
c906108c SS |
473 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
474 | const IDESC * UNUSED idesc = abuf->idesc; | |
475 | int cycles = 0; | |
476 | { | |
477 | int referenced = 0; | |
478 | int UNUSED insn_referenced = abuf->written; | |
479 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
480 | } | |
481 | return cycles; | |
482 | #undef FLD | |
483 | } | |
484 | ||
485 | static int | |
486 | model_i960KA_notbit (SIM_CPU *current_cpu, void *sem_arg) | |
487 | { | |
96baa820 | 488 | #define FLD(f) abuf->fields.sfmt_emul.f |
c906108c SS |
489 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
490 | const IDESC * UNUSED idesc = abuf->idesc; | |
491 | int cycles = 0; | |
492 | { | |
493 | int referenced = 0; | |
494 | int UNUSED insn_referenced = abuf->written; | |
495 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
496 | } | |
497 | return cycles; | |
498 | #undef FLD | |
499 | } | |
500 | ||
501 | static int | |
502 | model_i960KA_notbit1 (SIM_CPU *current_cpu, void *sem_arg) | |
503 | { | |
96baa820 | 504 | #define FLD(f) abuf->fields.sfmt_emul1.f |
c906108c SS |
505 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
506 | const IDESC * UNUSED idesc = abuf->idesc; | |
507 | int cycles = 0; | |
508 | { | |
509 | int referenced = 0; | |
510 | int UNUSED insn_referenced = abuf->written; | |
511 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
512 | } | |
513 | return cycles; | |
514 | #undef FLD | |
515 | } | |
516 | ||
517 | static int | |
518 | model_i960KA_notbit2 (SIM_CPU *current_cpu, void *sem_arg) | |
519 | { | |
96baa820 | 520 | #define FLD(f) abuf->fields.sfmt_emul2.f |
c906108c SS |
521 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
522 | const IDESC * UNUSED idesc = abuf->idesc; | |
523 | int cycles = 0; | |
524 | { | |
525 | int referenced = 0; | |
526 | int UNUSED insn_referenced = abuf->written; | |
527 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
528 | } | |
529 | return cycles; | |
530 | #undef FLD | |
531 | } | |
532 | ||
533 | static int | |
534 | model_i960KA_notbit3 (SIM_CPU *current_cpu, void *sem_arg) | |
535 | { | |
96baa820 | 536 | #define FLD(f) abuf->fields.sfmt_emul3.f |
c906108c SS |
537 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
538 | const IDESC * UNUSED idesc = abuf->idesc; | |
539 | int cycles = 0; | |
540 | { | |
541 | int referenced = 0; | |
542 | int UNUSED insn_referenced = abuf->written; | |
543 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
544 | } | |
545 | return cycles; | |
546 | #undef FLD | |
547 | } | |
548 | ||
549 | static int | |
550 | model_i960KA_and (SIM_CPU *current_cpu, void *sem_arg) | |
551 | { | |
96baa820 | 552 | #define FLD(f) abuf->fields.sfmt_emul.f |
c906108c SS |
553 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
554 | const IDESC * UNUSED idesc = abuf->idesc; | |
555 | int cycles = 0; | |
556 | { | |
557 | int referenced = 0; | |
558 | int UNUSED insn_referenced = abuf->written; | |
559 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
560 | } | |
561 | return cycles; | |
562 | #undef FLD | |
563 | } | |
564 | ||
565 | static int | |
566 | model_i960KA_and1 (SIM_CPU *current_cpu, void *sem_arg) | |
567 | { | |
96baa820 | 568 | #define FLD(f) abuf->fields.sfmt_emul1.f |
c906108c SS |
569 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
570 | const IDESC * UNUSED idesc = abuf->idesc; | |
571 | int cycles = 0; | |
572 | { | |
573 | int referenced = 0; | |
574 | int UNUSED insn_referenced = abuf->written; | |
575 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
576 | } | |
577 | return cycles; | |
578 | #undef FLD | |
579 | } | |
580 | ||
581 | static int | |
582 | model_i960KA_and2 (SIM_CPU *current_cpu, void *sem_arg) | |
583 | { | |
96baa820 | 584 | #define FLD(f) abuf->fields.sfmt_emul2.f |
c906108c SS |
585 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
586 | const IDESC * UNUSED idesc = abuf->idesc; | |
587 | int cycles = 0; | |
588 | { | |
589 | int referenced = 0; | |
590 | int UNUSED insn_referenced = abuf->written; | |
591 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
592 | } | |
593 | return cycles; | |
594 | #undef FLD | |
595 | } | |
596 | ||
597 | static int | |
598 | model_i960KA_and3 (SIM_CPU *current_cpu, void *sem_arg) | |
599 | { | |
96baa820 | 600 | #define FLD(f) abuf->fields.sfmt_emul3.f |
c906108c SS |
601 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
602 | const IDESC * UNUSED idesc = abuf->idesc; | |
603 | int cycles = 0; | |
604 | { | |
605 | int referenced = 0; | |
606 | int UNUSED insn_referenced = abuf->written; | |
607 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
608 | } | |
609 | return cycles; | |
610 | #undef FLD | |
611 | } | |
612 | ||
613 | static int | |
614 | model_i960KA_andnot (SIM_CPU *current_cpu, void *sem_arg) | |
615 | { | |
96baa820 | 616 | #define FLD(f) abuf->fields.sfmt_emul.f |
c906108c SS |
617 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
618 | const IDESC * UNUSED idesc = abuf->idesc; | |
619 | int cycles = 0; | |
620 | { | |
621 | int referenced = 0; | |
622 | int UNUSED insn_referenced = abuf->written; | |
623 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
624 | } | |
625 | return cycles; | |
626 | #undef FLD | |
627 | } | |
628 | ||
629 | static int | |
630 | model_i960KA_andnot1 (SIM_CPU *current_cpu, void *sem_arg) | |
631 | { | |
96baa820 | 632 | #define FLD(f) abuf->fields.sfmt_emul1.f |
c906108c SS |
633 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
634 | const IDESC * UNUSED idesc = abuf->idesc; | |
635 | int cycles = 0; | |
636 | { | |
637 | int referenced = 0; | |
638 | int UNUSED insn_referenced = abuf->written; | |
639 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
640 | } | |
641 | return cycles; | |
642 | #undef FLD | |
643 | } | |
644 | ||
645 | static int | |
646 | model_i960KA_andnot2 (SIM_CPU *current_cpu, void *sem_arg) | |
647 | { | |
96baa820 | 648 | #define FLD(f) abuf->fields.sfmt_emul2.f |
c906108c SS |
649 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
650 | const IDESC * UNUSED idesc = abuf->idesc; | |
651 | int cycles = 0; | |
652 | { | |
653 | int referenced = 0; | |
654 | int UNUSED insn_referenced = abuf->written; | |
655 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
656 | } | |
657 | return cycles; | |
658 | #undef FLD | |
659 | } | |
660 | ||
661 | static int | |
662 | model_i960KA_andnot3 (SIM_CPU *current_cpu, void *sem_arg) | |
663 | { | |
96baa820 | 664 | #define FLD(f) abuf->fields.sfmt_emul3.f |
c906108c SS |
665 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
666 | const IDESC * UNUSED idesc = abuf->idesc; | |
667 | int cycles = 0; | |
668 | { | |
669 | int referenced = 0; | |
670 | int UNUSED insn_referenced = abuf->written; | |
671 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
672 | } | |
673 | return cycles; | |
674 | #undef FLD | |
675 | } | |
676 | ||
677 | static int | |
678 | model_i960KA_setbit (SIM_CPU *current_cpu, void *sem_arg) | |
679 | { | |
96baa820 | 680 | #define FLD(f) abuf->fields.sfmt_emul.f |
c906108c SS |
681 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
682 | const IDESC * UNUSED idesc = abuf->idesc; | |
683 | int cycles = 0; | |
684 | { | |
685 | int referenced = 0; | |
686 | int UNUSED insn_referenced = abuf->written; | |
687 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
688 | } | |
689 | return cycles; | |
690 | #undef FLD | |
691 | } | |
692 | ||
693 | static int | |
694 | model_i960KA_setbit1 (SIM_CPU *current_cpu, void *sem_arg) | |
695 | { | |
96baa820 | 696 | #define FLD(f) abuf->fields.sfmt_emul1.f |
c906108c SS |
697 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
698 | const IDESC * UNUSED idesc = abuf->idesc; | |
699 | int cycles = 0; | |
700 | { | |
701 | int referenced = 0; | |
702 | int UNUSED insn_referenced = abuf->written; | |
703 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
704 | } | |
705 | return cycles; | |
706 | #undef FLD | |
707 | } | |
708 | ||
709 | static int | |
710 | model_i960KA_setbit2 (SIM_CPU *current_cpu, void *sem_arg) | |
711 | { | |
96baa820 | 712 | #define FLD(f) abuf->fields.sfmt_emul2.f |
c906108c SS |
713 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
714 | const IDESC * UNUSED idesc = abuf->idesc; | |
715 | int cycles = 0; | |
716 | { | |
717 | int referenced = 0; | |
718 | int UNUSED insn_referenced = abuf->written; | |
719 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
720 | } | |
721 | return cycles; | |
722 | #undef FLD | |
723 | } | |
724 | ||
725 | static int | |
726 | model_i960KA_setbit3 (SIM_CPU *current_cpu, void *sem_arg) | |
727 | { | |
96baa820 | 728 | #define FLD(f) abuf->fields.sfmt_emul3.f |
c906108c SS |
729 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
730 | const IDESC * UNUSED idesc = abuf->idesc; | |
731 | int cycles = 0; | |
732 | { | |
733 | int referenced = 0; | |
734 | int UNUSED insn_referenced = abuf->written; | |
735 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
736 | } | |
737 | return cycles; | |
738 | #undef FLD | |
739 | } | |
740 | ||
741 | static int | |
742 | model_i960KA_notand (SIM_CPU *current_cpu, void *sem_arg) | |
743 | { | |
96baa820 | 744 | #define FLD(f) abuf->fields.sfmt_emul.f |
c906108c SS |
745 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
746 | const IDESC * UNUSED idesc = abuf->idesc; | |
747 | int cycles = 0; | |
748 | { | |
749 | int referenced = 0; | |
750 | int UNUSED insn_referenced = abuf->written; | |
751 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
752 | } | |
753 | return cycles; | |
754 | #undef FLD | |
755 | } | |
756 | ||
757 | static int | |
758 | model_i960KA_notand1 (SIM_CPU *current_cpu, void *sem_arg) | |
759 | { | |
96baa820 | 760 | #define FLD(f) abuf->fields.sfmt_emul1.f |
c906108c SS |
761 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
762 | const IDESC * UNUSED idesc = abuf->idesc; | |
763 | int cycles = 0; | |
764 | { | |
765 | int referenced = 0; | |
766 | int UNUSED insn_referenced = abuf->written; | |
767 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
768 | } | |
769 | return cycles; | |
770 | #undef FLD | |
771 | } | |
772 | ||
773 | static int | |
774 | model_i960KA_notand2 (SIM_CPU *current_cpu, void *sem_arg) | |
775 | { | |
96baa820 | 776 | #define FLD(f) abuf->fields.sfmt_emul2.f |
c906108c SS |
777 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
778 | const IDESC * UNUSED idesc = abuf->idesc; | |
779 | int cycles = 0; | |
780 | { | |
781 | int referenced = 0; | |
782 | int UNUSED insn_referenced = abuf->written; | |
783 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
784 | } | |
785 | return cycles; | |
786 | #undef FLD | |
787 | } | |
788 | ||
789 | static int | |
790 | model_i960KA_notand3 (SIM_CPU *current_cpu, void *sem_arg) | |
791 | { | |
96baa820 | 792 | #define FLD(f) abuf->fields.sfmt_emul3.f |
c906108c SS |
793 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
794 | const IDESC * UNUSED idesc = abuf->idesc; | |
795 | int cycles = 0; | |
796 | { | |
797 | int referenced = 0; | |
798 | int UNUSED insn_referenced = abuf->written; | |
799 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
800 | } | |
801 | return cycles; | |
802 | #undef FLD | |
803 | } | |
804 | ||
805 | static int | |
806 | model_i960KA_xor (SIM_CPU *current_cpu, void *sem_arg) | |
807 | { | |
96baa820 | 808 | #define FLD(f) abuf->fields.sfmt_emul.f |
c906108c SS |
809 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
810 | const IDESC * UNUSED idesc = abuf->idesc; | |
811 | int cycles = 0; | |
812 | { | |
813 | int referenced = 0; | |
814 | int UNUSED insn_referenced = abuf->written; | |
815 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
816 | } | |
817 | return cycles; | |
818 | #undef FLD | |
819 | } | |
820 | ||
821 | static int | |
822 | model_i960KA_xor1 (SIM_CPU *current_cpu, void *sem_arg) | |
823 | { | |
96baa820 | 824 | #define FLD(f) abuf->fields.sfmt_emul1.f |
c906108c SS |
825 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
826 | const IDESC * UNUSED idesc = abuf->idesc; | |
827 | int cycles = 0; | |
828 | { | |
829 | int referenced = 0; | |
830 | int UNUSED insn_referenced = abuf->written; | |
831 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
832 | } | |
833 | return cycles; | |
834 | #undef FLD | |
835 | } | |
836 | ||
837 | static int | |
838 | model_i960KA_xor2 (SIM_CPU *current_cpu, void *sem_arg) | |
839 | { | |
96baa820 | 840 | #define FLD(f) abuf->fields.sfmt_emul2.f |
c906108c SS |
841 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
842 | const IDESC * UNUSED idesc = abuf->idesc; | |
843 | int cycles = 0; | |
844 | { | |
845 | int referenced = 0; | |
846 | int UNUSED insn_referenced = abuf->written; | |
847 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
848 | } | |
849 | return cycles; | |
850 | #undef FLD | |
851 | } | |
852 | ||
853 | static int | |
854 | model_i960KA_xor3 (SIM_CPU *current_cpu, void *sem_arg) | |
855 | { | |
96baa820 | 856 | #define FLD(f) abuf->fields.sfmt_emul3.f |
c906108c SS |
857 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
858 | const IDESC * UNUSED idesc = abuf->idesc; | |
859 | int cycles = 0; | |
860 | { | |
861 | int referenced = 0; | |
862 | int UNUSED insn_referenced = abuf->written; | |
863 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
864 | } | |
865 | return cycles; | |
866 | #undef FLD | |
867 | } | |
868 | ||
869 | static int | |
870 | model_i960KA_or (SIM_CPU *current_cpu, void *sem_arg) | |
871 | { | |
96baa820 | 872 | #define FLD(f) abuf->fields.sfmt_emul.f |
c906108c SS |
873 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
874 | const IDESC * UNUSED idesc = abuf->idesc; | |
875 | int cycles = 0; | |
876 | { | |
877 | int referenced = 0; | |
878 | int UNUSED insn_referenced = abuf->written; | |
879 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
880 | } | |
881 | return cycles; | |
882 | #undef FLD | |
883 | } | |
884 | ||
885 | static int | |
886 | model_i960KA_or1 (SIM_CPU *current_cpu, void *sem_arg) | |
887 | { | |
96baa820 | 888 | #define FLD(f) abuf->fields.sfmt_emul1.f |
c906108c SS |
889 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
890 | const IDESC * UNUSED idesc = abuf->idesc; | |
891 | int cycles = 0; | |
892 | { | |
893 | int referenced = 0; | |
894 | int UNUSED insn_referenced = abuf->written; | |
895 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
896 | } | |
897 | return cycles; | |
898 | #undef FLD | |
899 | } | |
900 | ||
901 | static int | |
902 | model_i960KA_or2 (SIM_CPU *current_cpu, void *sem_arg) | |
903 | { | |
96baa820 | 904 | #define FLD(f) abuf->fields.sfmt_emul2.f |
c906108c SS |
905 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
906 | const IDESC * UNUSED idesc = abuf->idesc; | |
907 | int cycles = 0; | |
908 | { | |
909 | int referenced = 0; | |
910 | int UNUSED insn_referenced = abuf->written; | |
911 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
912 | } | |
913 | return cycles; | |
914 | #undef FLD | |
915 | } | |
916 | ||
917 | static int | |
918 | model_i960KA_or3 (SIM_CPU *current_cpu, void *sem_arg) | |
919 | { | |
96baa820 | 920 | #define FLD(f) abuf->fields.sfmt_emul3.f |
c906108c SS |
921 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
922 | const IDESC * UNUSED idesc = abuf->idesc; | |
923 | int cycles = 0; | |
924 | { | |
925 | int referenced = 0; | |
926 | int UNUSED insn_referenced = abuf->written; | |
927 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
928 | } | |
929 | return cycles; | |
930 | #undef FLD | |
931 | } | |
932 | ||
933 | static int | |
934 | model_i960KA_nor (SIM_CPU *current_cpu, void *sem_arg) | |
935 | { | |
96baa820 | 936 | #define FLD(f) abuf->fields.sfmt_emul.f |
c906108c SS |
937 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
938 | const IDESC * UNUSED idesc = abuf->idesc; | |
939 | int cycles = 0; | |
940 | { | |
941 | int referenced = 0; | |
942 | int UNUSED insn_referenced = abuf->written; | |
943 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
944 | } | |
945 | return cycles; | |
946 | #undef FLD | |
947 | } | |
948 | ||
949 | static int | |
950 | model_i960KA_nor1 (SIM_CPU *current_cpu, void *sem_arg) | |
951 | { | |
96baa820 | 952 | #define FLD(f) abuf->fields.sfmt_emul1.f |
c906108c SS |
953 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
954 | const IDESC * UNUSED idesc = abuf->idesc; | |
955 | int cycles = 0; | |
956 | { | |
957 | int referenced = 0; | |
958 | int UNUSED insn_referenced = abuf->written; | |
959 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
960 | } | |
961 | return cycles; | |
962 | #undef FLD | |
963 | } | |
964 | ||
965 | static int | |
966 | model_i960KA_nor2 (SIM_CPU *current_cpu, void *sem_arg) | |
967 | { | |
96baa820 | 968 | #define FLD(f) abuf->fields.sfmt_emul2.f |
c906108c SS |
969 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
970 | const IDESC * UNUSED idesc = abuf->idesc; | |
971 | int cycles = 0; | |
972 | { | |
973 | int referenced = 0; | |
974 | int UNUSED insn_referenced = abuf->written; | |
975 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
976 | } | |
977 | return cycles; | |
978 | #undef FLD | |
979 | } | |
980 | ||
981 | static int | |
982 | model_i960KA_nor3 (SIM_CPU *current_cpu, void *sem_arg) | |
983 | { | |
96baa820 | 984 | #define FLD(f) abuf->fields.sfmt_emul3.f |
c906108c SS |
985 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
986 | const IDESC * UNUSED idesc = abuf->idesc; | |
987 | int cycles = 0; | |
988 | { | |
989 | int referenced = 0; | |
990 | int UNUSED insn_referenced = abuf->written; | |
991 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
992 | } | |
993 | return cycles; | |
994 | #undef FLD | |
995 | } | |
996 | ||
7a292a7a SS |
997 | static int |
998 | model_i960KA_xnor (SIM_CPU *current_cpu, void *sem_arg) | |
999 | { | |
96baa820 | 1000 | #define FLD(f) abuf->fields.sfmt_emul.f |
7a292a7a SS |
1001 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
1002 | const IDESC * UNUSED idesc = abuf->idesc; | |
1003 | int cycles = 0; | |
1004 | { | |
1005 | int referenced = 0; | |
1006 | int UNUSED insn_referenced = abuf->written; | |
1007 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
1008 | } | |
1009 | return cycles; | |
1010 | #undef FLD | |
1011 | } | |
1012 | ||
1013 | static int | |
1014 | model_i960KA_xnor1 (SIM_CPU *current_cpu, void *sem_arg) | |
1015 | { | |
96baa820 | 1016 | #define FLD(f) abuf->fields.sfmt_emul1.f |
7a292a7a SS |
1017 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
1018 | const IDESC * UNUSED idesc = abuf->idesc; | |
1019 | int cycles = 0; | |
1020 | { | |
1021 | int referenced = 0; | |
1022 | int UNUSED insn_referenced = abuf->written; | |
1023 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
1024 | } | |
1025 | return cycles; | |
1026 | #undef FLD | |
1027 | } | |
1028 | ||
1029 | static int | |
1030 | model_i960KA_xnor2 (SIM_CPU *current_cpu, void *sem_arg) | |
1031 | { | |
96baa820 | 1032 | #define FLD(f) abuf->fields.sfmt_emul2.f |
7a292a7a SS |
1033 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
1034 | const IDESC * UNUSED idesc = abuf->idesc; | |
1035 | int cycles = 0; | |
1036 | { | |
1037 | int referenced = 0; | |
1038 | int UNUSED insn_referenced = abuf->written; | |
1039 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
1040 | } | |
1041 | return cycles; | |
1042 | #undef FLD | |
1043 | } | |
1044 | ||
1045 | static int | |
1046 | model_i960KA_xnor3 (SIM_CPU *current_cpu, void *sem_arg) | |
1047 | { | |
96baa820 | 1048 | #define FLD(f) abuf->fields.sfmt_emul3.f |
7a292a7a SS |
1049 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
1050 | const IDESC * UNUSED idesc = abuf->idesc; | |
1051 | int cycles = 0; | |
1052 | { | |
1053 | int referenced = 0; | |
1054 | int UNUSED insn_referenced = abuf->written; | |
1055 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
1056 | } | |
1057 | return cycles; | |
1058 | #undef FLD | |
1059 | } | |
1060 | ||
c906108c SS |
1061 | static int |
1062 | model_i960KA_not (SIM_CPU *current_cpu, void *sem_arg) | |
1063 | { | |
96baa820 | 1064 | #define FLD(f) abuf->fields.sfmt_emul2.f |
c906108c SS |
1065 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
1066 | const IDESC * UNUSED idesc = abuf->idesc; | |
1067 | int cycles = 0; | |
1068 | { | |
1069 | int referenced = 0; | |
1070 | int UNUSED insn_referenced = abuf->written; | |
1071 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
1072 | } | |
1073 | return cycles; | |
1074 | #undef FLD | |
1075 | } | |
1076 | ||
1077 | static int | |
1078 | model_i960KA_not1 (SIM_CPU *current_cpu, void *sem_arg) | |
1079 | { | |
96baa820 | 1080 | #define FLD(f) abuf->fields.sfmt_emul3.f |
c906108c SS |
1081 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
1082 | const IDESC * UNUSED idesc = abuf->idesc; | |
1083 | int cycles = 0; | |
1084 | { | |
1085 | int referenced = 0; | |
1086 | int UNUSED insn_referenced = abuf->written; | |
1087 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
1088 | } | |
1089 | return cycles; | |
1090 | #undef FLD | |
1091 | } | |
1092 | ||
1093 | static int | |
1094 | model_i960KA_not2 (SIM_CPU *current_cpu, void *sem_arg) | |
1095 | { | |
96baa820 | 1096 | #define FLD(f) abuf->fields.sfmt_emul2.f |
c906108c SS |
1097 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
1098 | const IDESC * UNUSED idesc = abuf->idesc; | |
1099 | int cycles = 0; | |
1100 | { | |
1101 | int referenced = 0; | |
1102 | int UNUSED insn_referenced = abuf->written; | |
1103 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
1104 | } | |
1105 | return cycles; | |
1106 | #undef FLD | |
1107 | } | |
1108 | ||
1109 | static int | |
1110 | model_i960KA_not3 (SIM_CPU *current_cpu, void *sem_arg) | |
1111 | { | |
96baa820 | 1112 | #define FLD(f) abuf->fields.sfmt_emul3.f |
c906108c SS |
1113 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
1114 | const IDESC * UNUSED idesc = abuf->idesc; | |
1115 | int cycles = 0; | |
1116 | { | |
1117 | int referenced = 0; | |
1118 | int UNUSED insn_referenced = abuf->written; | |
1119 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
1120 | } | |
1121 | return cycles; | |
1122 | #undef FLD | |
1123 | } | |
1124 | ||
7a292a7a SS |
1125 | static int |
1126 | model_i960KA_ornot (SIM_CPU *current_cpu, void *sem_arg) | |
1127 | { | |
96baa820 | 1128 | #define FLD(f) abuf->fields.sfmt_emul.f |
7a292a7a SS |
1129 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
1130 | const IDESC * UNUSED idesc = abuf->idesc; | |
1131 | int cycles = 0; | |
1132 | { | |
1133 | int referenced = 0; | |
1134 | int UNUSED insn_referenced = abuf->written; | |
1135 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
1136 | } | |
1137 | return cycles; | |
1138 | #undef FLD | |
1139 | } | |
1140 | ||
1141 | static int | |
1142 | model_i960KA_ornot1 (SIM_CPU *current_cpu, void *sem_arg) | |
1143 | { | |
96baa820 | 1144 | #define FLD(f) abuf->fields.sfmt_emul1.f |
7a292a7a SS |
1145 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
1146 | const IDESC * UNUSED idesc = abuf->idesc; | |
1147 | int cycles = 0; | |
1148 | { | |
1149 | int referenced = 0; | |
1150 | int UNUSED insn_referenced = abuf->written; | |
1151 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
1152 | } | |
1153 | return cycles; | |
1154 | #undef FLD | |
1155 | } | |
1156 | ||
1157 | static int | |
1158 | model_i960KA_ornot2 (SIM_CPU *current_cpu, void *sem_arg) | |
1159 | { | |
96baa820 | 1160 | #define FLD(f) abuf->fields.sfmt_emul2.f |
7a292a7a SS |
1161 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
1162 | const IDESC * UNUSED idesc = abuf->idesc; | |
1163 | int cycles = 0; | |
1164 | { | |
1165 | int referenced = 0; | |
1166 | int UNUSED insn_referenced = abuf->written; | |
1167 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
1168 | } | |
1169 | return cycles; | |
1170 | #undef FLD | |
1171 | } | |
1172 | ||
1173 | static int | |
1174 | model_i960KA_ornot3 (SIM_CPU *current_cpu, void *sem_arg) | |
1175 | { | |
96baa820 | 1176 | #define FLD(f) abuf->fields.sfmt_emul3.f |
7a292a7a SS |
1177 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
1178 | const IDESC * UNUSED idesc = abuf->idesc; | |
1179 | int cycles = 0; | |
1180 | { | |
1181 | int referenced = 0; | |
1182 | int UNUSED insn_referenced = abuf->written; | |
1183 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
1184 | } | |
1185 | return cycles; | |
1186 | #undef FLD | |
1187 | } | |
1188 | ||
c906108c SS |
1189 | static int |
1190 | model_i960KA_clrbit (SIM_CPU *current_cpu, void *sem_arg) | |
1191 | { | |
96baa820 | 1192 | #define FLD(f) abuf->fields.sfmt_emul.f |
c906108c SS |
1193 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
1194 | const IDESC * UNUSED idesc = abuf->idesc; | |
1195 | int cycles = 0; | |
1196 | { | |
1197 | int referenced = 0; | |
1198 | int UNUSED insn_referenced = abuf->written; | |
1199 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
1200 | } | |
1201 | return cycles; | |
1202 | #undef FLD | |
1203 | } | |
1204 | ||
1205 | static int | |
1206 | model_i960KA_clrbit1 (SIM_CPU *current_cpu, void *sem_arg) | |
1207 | { | |
96baa820 | 1208 | #define FLD(f) abuf->fields.sfmt_emul1.f |
c906108c SS |
1209 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
1210 | const IDESC * UNUSED idesc = abuf->idesc; | |
1211 | int cycles = 0; | |
1212 | { | |
1213 | int referenced = 0; | |
1214 | int UNUSED insn_referenced = abuf->written; | |
1215 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
1216 | } | |
1217 | return cycles; | |
1218 | #undef FLD | |
1219 | } | |
1220 | ||
1221 | static int | |
1222 | model_i960KA_clrbit2 (SIM_CPU *current_cpu, void *sem_arg) | |
1223 | { | |
96baa820 | 1224 | #define FLD(f) abuf->fields.sfmt_emul2.f |
c906108c SS |
1225 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
1226 | const IDESC * UNUSED idesc = abuf->idesc; | |
1227 | int cycles = 0; | |
1228 | { | |
1229 | int referenced = 0; | |
1230 | int UNUSED insn_referenced = abuf->written; | |
1231 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
1232 | } | |
1233 | return cycles; | |
1234 | #undef FLD | |
1235 | } | |
1236 | ||
1237 | static int | |
1238 | model_i960KA_clrbit3 (SIM_CPU *current_cpu, void *sem_arg) | |
1239 | { | |
96baa820 | 1240 | #define FLD(f) abuf->fields.sfmt_emul3.f |
c906108c SS |
1241 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
1242 | const IDESC * UNUSED idesc = abuf->idesc; | |
1243 | int cycles = 0; | |
1244 | { | |
1245 | int referenced = 0; | |
1246 | int UNUSED insn_referenced = abuf->written; | |
1247 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
1248 | } | |
1249 | return cycles; | |
1250 | #undef FLD | |
1251 | } | |
1252 | ||
1253 | static int | |
1254 | model_i960KA_shlo (SIM_CPU *current_cpu, void *sem_arg) | |
1255 | { | |
96baa820 | 1256 | #define FLD(f) abuf->fields.sfmt_emul.f |
c906108c SS |
1257 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
1258 | const IDESC * UNUSED idesc = abuf->idesc; | |
1259 | int cycles = 0; | |
1260 | { | |
1261 | int referenced = 0; | |
1262 | int UNUSED insn_referenced = abuf->written; | |
1263 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
1264 | } | |
1265 | return cycles; | |
1266 | #undef FLD | |
1267 | } | |
1268 | ||
1269 | static int | |
1270 | model_i960KA_shlo1 (SIM_CPU *current_cpu, void *sem_arg) | |
1271 | { | |
96baa820 | 1272 | #define FLD(f) abuf->fields.sfmt_emul1.f |
c906108c SS |
1273 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
1274 | const IDESC * UNUSED idesc = abuf->idesc; | |
1275 | int cycles = 0; | |
1276 | { | |
1277 | int referenced = 0; | |
1278 | int UNUSED insn_referenced = abuf->written; | |
1279 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
1280 | } | |
1281 | return cycles; | |
1282 | #undef FLD | |
1283 | } | |
1284 | ||
1285 | static int | |
1286 | model_i960KA_shlo2 (SIM_CPU *current_cpu, void *sem_arg) | |
1287 | { | |
96baa820 | 1288 | #define FLD(f) abuf->fields.sfmt_emul2.f |
c906108c SS |
1289 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
1290 | const IDESC * UNUSED idesc = abuf->idesc; | |
1291 | int cycles = 0; | |
1292 | { | |
1293 | int referenced = 0; | |
1294 | int UNUSED insn_referenced = abuf->written; | |
1295 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
1296 | } | |
1297 | return cycles; | |
1298 | #undef FLD | |
1299 | } | |
1300 | ||
1301 | static int | |
1302 | model_i960KA_shlo3 (SIM_CPU *current_cpu, void *sem_arg) | |
1303 | { | |
96baa820 | 1304 | #define FLD(f) abuf->fields.sfmt_emul3.f |
c906108c SS |
1305 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
1306 | const IDESC * UNUSED idesc = abuf->idesc; | |
1307 | int cycles = 0; | |
1308 | { | |
1309 | int referenced = 0; | |
1310 | int UNUSED insn_referenced = abuf->written; | |
1311 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
1312 | } | |
1313 | return cycles; | |
1314 | #undef FLD | |
1315 | } | |
1316 | ||
1317 | static int | |
1318 | model_i960KA_shro (SIM_CPU *current_cpu, void *sem_arg) | |
1319 | { | |
96baa820 | 1320 | #define FLD(f) abuf->fields.sfmt_emul.f |
c906108c SS |
1321 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
1322 | const IDESC * UNUSED idesc = abuf->idesc; | |
1323 | int cycles = 0; | |
1324 | { | |
1325 | int referenced = 0; | |
1326 | int UNUSED insn_referenced = abuf->written; | |
1327 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
1328 | } | |
1329 | return cycles; | |
1330 | #undef FLD | |
1331 | } | |
1332 | ||
1333 | static int | |
1334 | model_i960KA_shro1 (SIM_CPU *current_cpu, void *sem_arg) | |
1335 | { | |
96baa820 | 1336 | #define FLD(f) abuf->fields.sfmt_emul1.f |
c906108c SS |
1337 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
1338 | const IDESC * UNUSED idesc = abuf->idesc; | |
1339 | int cycles = 0; | |
1340 | { | |
1341 | int referenced = 0; | |
1342 | int UNUSED insn_referenced = abuf->written; | |
1343 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
1344 | } | |
1345 | return cycles; | |
1346 | #undef FLD | |
1347 | } | |
1348 | ||
1349 | static int | |
1350 | model_i960KA_shro2 (SIM_CPU *current_cpu, void *sem_arg) | |
1351 | { | |
96baa820 | 1352 | #define FLD(f) abuf->fields.sfmt_emul2.f |
c906108c SS |
1353 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
1354 | const IDESC * UNUSED idesc = abuf->idesc; | |
1355 | int cycles = 0; | |
1356 | { | |
1357 | int referenced = 0; | |
1358 | int UNUSED insn_referenced = abuf->written; | |
1359 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
1360 | } | |
1361 | return cycles; | |
1362 | #undef FLD | |
1363 | } | |
1364 | ||
1365 | static int | |
1366 | model_i960KA_shro3 (SIM_CPU *current_cpu, void *sem_arg) | |
1367 | { | |
96baa820 | 1368 | #define FLD(f) abuf->fields.sfmt_emul3.f |
c906108c SS |
1369 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
1370 | const IDESC * UNUSED idesc = abuf->idesc; | |
1371 | int cycles = 0; | |
1372 | { | |
1373 | int referenced = 0; | |
1374 | int UNUSED insn_referenced = abuf->written; | |
1375 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
1376 | } | |
1377 | return cycles; | |
1378 | #undef FLD | |
1379 | } | |
1380 | ||
1381 | static int | |
1382 | model_i960KA_shli (SIM_CPU *current_cpu, void *sem_arg) | |
1383 | { | |
96baa820 | 1384 | #define FLD(f) abuf->fields.sfmt_emul.f |
c906108c SS |
1385 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
1386 | const IDESC * UNUSED idesc = abuf->idesc; | |
1387 | int cycles = 0; | |
1388 | { | |
1389 | int referenced = 0; | |
1390 | int UNUSED insn_referenced = abuf->written; | |
1391 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
1392 | } | |
1393 | return cycles; | |
1394 | #undef FLD | |
1395 | } | |
1396 | ||
1397 | static int | |
1398 | model_i960KA_shli1 (SIM_CPU *current_cpu, void *sem_arg) | |
1399 | { | |
96baa820 | 1400 | #define FLD(f) abuf->fields.sfmt_emul1.f |
c906108c SS |
1401 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
1402 | const IDESC * UNUSED idesc = abuf->idesc; | |
1403 | int cycles = 0; | |
1404 | { | |
1405 | int referenced = 0; | |
1406 | int UNUSED insn_referenced = abuf->written; | |
1407 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
1408 | } | |
1409 | return cycles; | |
1410 | #undef FLD | |
1411 | } | |
1412 | ||
1413 | static int | |
1414 | model_i960KA_shli2 (SIM_CPU *current_cpu, void *sem_arg) | |
1415 | { | |
96baa820 | 1416 | #define FLD(f) abuf->fields.sfmt_emul2.f |
c906108c SS |
1417 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
1418 | const IDESC * UNUSED idesc = abuf->idesc; | |
1419 | int cycles = 0; | |
1420 | { | |
1421 | int referenced = 0; | |
1422 | int UNUSED insn_referenced = abuf->written; | |
1423 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
1424 | } | |
1425 | return cycles; | |
1426 | #undef FLD | |
1427 | } | |
1428 | ||
1429 | static int | |
1430 | model_i960KA_shli3 (SIM_CPU *current_cpu, void *sem_arg) | |
1431 | { | |
96baa820 | 1432 | #define FLD(f) abuf->fields.sfmt_emul3.f |
c906108c SS |
1433 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
1434 | const IDESC * UNUSED idesc = abuf->idesc; | |
1435 | int cycles = 0; | |
1436 | { | |
1437 | int referenced = 0; | |
1438 | int UNUSED insn_referenced = abuf->written; | |
1439 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
1440 | } | |
1441 | return cycles; | |
1442 | #undef FLD | |
1443 | } | |
1444 | ||
1445 | static int | |
1446 | model_i960KA_shri (SIM_CPU *current_cpu, void *sem_arg) | |
1447 | { | |
96baa820 | 1448 | #define FLD(f) abuf->fields.sfmt_emul.f |
c906108c SS |
1449 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
1450 | const IDESC * UNUSED idesc = abuf->idesc; | |
1451 | int cycles = 0; | |
1452 | { | |
1453 | int referenced = 0; | |
1454 | int UNUSED insn_referenced = abuf->written; | |
1455 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
1456 | } | |
1457 | return cycles; | |
1458 | #undef FLD | |
1459 | } | |
1460 | ||
1461 | static int | |
1462 | model_i960KA_shri1 (SIM_CPU *current_cpu, void *sem_arg) | |
1463 | { | |
96baa820 | 1464 | #define FLD(f) abuf->fields.sfmt_emul1.f |
c906108c SS |
1465 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
1466 | const IDESC * UNUSED idesc = abuf->idesc; | |
1467 | int cycles = 0; | |
1468 | { | |
1469 | int referenced = 0; | |
1470 | int UNUSED insn_referenced = abuf->written; | |
1471 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
1472 | } | |
1473 | return cycles; | |
1474 | #undef FLD | |
1475 | } | |
1476 | ||
1477 | static int | |
1478 | model_i960KA_shri2 (SIM_CPU *current_cpu, void *sem_arg) | |
1479 | { | |
96baa820 | 1480 | #define FLD(f) abuf->fields.sfmt_emul2.f |
c906108c SS |
1481 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
1482 | const IDESC * UNUSED idesc = abuf->idesc; | |
1483 | int cycles = 0; | |
1484 | { | |
1485 | int referenced = 0; | |
1486 | int UNUSED insn_referenced = abuf->written; | |
1487 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
1488 | } | |
1489 | return cycles; | |
1490 | #undef FLD | |
1491 | } | |
1492 | ||
1493 | static int | |
1494 | model_i960KA_shri3 (SIM_CPU *current_cpu, void *sem_arg) | |
1495 | { | |
96baa820 | 1496 | #define FLD(f) abuf->fields.sfmt_emul3.f |
c906108c SS |
1497 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
1498 | const IDESC * UNUSED idesc = abuf->idesc; | |
1499 | int cycles = 0; | |
1500 | { | |
1501 | int referenced = 0; | |
1502 | int UNUSED insn_referenced = abuf->written; | |
1503 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
1504 | } | |
1505 | return cycles; | |
1506 | #undef FLD | |
1507 | } | |
1508 | ||
1509 | static int | |
1510 | model_i960KA_emul (SIM_CPU *current_cpu, void *sem_arg) | |
1511 | { | |
96baa820 | 1512 | #define FLD(f) abuf->fields.sfmt_emul.f |
c906108c SS |
1513 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
1514 | const IDESC * UNUSED idesc = abuf->idesc; | |
1515 | int cycles = 0; | |
1516 | { | |
1517 | int referenced = 0; | |
1518 | int UNUSED insn_referenced = abuf->written; | |
1519 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
1520 | } | |
1521 | return cycles; | |
1522 | #undef FLD | |
1523 | } | |
1524 | ||
1525 | static int | |
1526 | model_i960KA_emul1 (SIM_CPU *current_cpu, void *sem_arg) | |
1527 | { | |
96baa820 | 1528 | #define FLD(f) abuf->fields.sfmt_emul1.f |
c906108c SS |
1529 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
1530 | const IDESC * UNUSED idesc = abuf->idesc; | |
1531 | int cycles = 0; | |
1532 | { | |
1533 | int referenced = 0; | |
1534 | int UNUSED insn_referenced = abuf->written; | |
1535 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
1536 | } | |
1537 | return cycles; | |
1538 | #undef FLD | |
1539 | } | |
1540 | ||
1541 | static int | |
1542 | model_i960KA_emul2 (SIM_CPU *current_cpu, void *sem_arg) | |
1543 | { | |
96baa820 | 1544 | #define FLD(f) abuf->fields.sfmt_emul2.f |
c906108c SS |
1545 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
1546 | const IDESC * UNUSED idesc = abuf->idesc; | |
1547 | int cycles = 0; | |
1548 | { | |
1549 | int referenced = 0; | |
1550 | int UNUSED insn_referenced = abuf->written; | |
1551 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
1552 | } | |
1553 | return cycles; | |
1554 | #undef FLD | |
1555 | } | |
1556 | ||
1557 | static int | |
1558 | model_i960KA_emul3 (SIM_CPU *current_cpu, void *sem_arg) | |
1559 | { | |
96baa820 | 1560 | #define FLD(f) abuf->fields.sfmt_emul3.f |
c906108c SS |
1561 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
1562 | const IDESC * UNUSED idesc = abuf->idesc; | |
1563 | int cycles = 0; | |
1564 | { | |
1565 | int referenced = 0; | |
1566 | int UNUSED insn_referenced = abuf->written; | |
1567 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
1568 | } | |
1569 | return cycles; | |
1570 | #undef FLD | |
1571 | } | |
1572 | ||
1573 | static int | |
1574 | model_i960KA_mov (SIM_CPU *current_cpu, void *sem_arg) | |
1575 | { | |
96baa820 | 1576 | #define FLD(f) abuf->fields.sfmt_emul2.f |
c906108c SS |
1577 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
1578 | const IDESC * UNUSED idesc = abuf->idesc; | |
1579 | int cycles = 0; | |
1580 | { | |
1581 | int referenced = 0; | |
1582 | int UNUSED insn_referenced = abuf->written; | |
1583 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
1584 | } | |
1585 | return cycles; | |
1586 | #undef FLD | |
1587 | } | |
1588 | ||
1589 | static int | |
1590 | model_i960KA_mov1 (SIM_CPU *current_cpu, void *sem_arg) | |
1591 | { | |
96baa820 | 1592 | #define FLD(f) abuf->fields.sfmt_emul3.f |
c906108c SS |
1593 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
1594 | const IDESC * UNUSED idesc = abuf->idesc; | |
1595 | int cycles = 0; | |
1596 | { | |
1597 | int referenced = 0; | |
1598 | int UNUSED insn_referenced = abuf->written; | |
1599 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
1600 | } | |
1601 | return cycles; | |
1602 | #undef FLD | |
1603 | } | |
1604 | ||
1605 | static int | |
1606 | model_i960KA_movl (SIM_CPU *current_cpu, void *sem_arg) | |
1607 | { | |
96baa820 | 1608 | #define FLD(f) abuf->fields.sfmt_movq.f |
c906108c SS |
1609 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
1610 | const IDESC * UNUSED idesc = abuf->idesc; | |
1611 | int cycles = 0; | |
1612 | { | |
1613 | int referenced = 0; | |
1614 | int UNUSED insn_referenced = abuf->written; | |
1615 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
1616 | } | |
1617 | return cycles; | |
1618 | #undef FLD | |
1619 | } | |
1620 | ||
1621 | static int | |
1622 | model_i960KA_movl1 (SIM_CPU *current_cpu, void *sem_arg) | |
1623 | { | |
96baa820 | 1624 | #define FLD(f) abuf->fields.sfmt_emul3.f |
c906108c SS |
1625 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
1626 | const IDESC * UNUSED idesc = abuf->idesc; | |
1627 | int cycles = 0; | |
1628 | { | |
1629 | int referenced = 0; | |
1630 | int UNUSED insn_referenced = abuf->written; | |
1631 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
1632 | } | |
1633 | return cycles; | |
1634 | #undef FLD | |
1635 | } | |
1636 | ||
1637 | static int | |
1638 | model_i960KA_movt (SIM_CPU *current_cpu, void *sem_arg) | |
1639 | { | |
96baa820 | 1640 | #define FLD(f) abuf->fields.sfmt_movq.f |
c906108c SS |
1641 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
1642 | const IDESC * UNUSED idesc = abuf->idesc; | |
1643 | int cycles = 0; | |
1644 | { | |
1645 | int referenced = 0; | |
1646 | int UNUSED insn_referenced = abuf->written; | |
1647 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
1648 | } | |
1649 | return cycles; | |
1650 | #undef FLD | |
1651 | } | |
1652 | ||
1653 | static int | |
1654 | model_i960KA_movt1 (SIM_CPU *current_cpu, void *sem_arg) | |
1655 | { | |
96baa820 | 1656 | #define FLD(f) abuf->fields.sfmt_movq.f |
c906108c SS |
1657 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
1658 | const IDESC * UNUSED idesc = abuf->idesc; | |
1659 | int cycles = 0; | |
1660 | { | |
1661 | int referenced = 0; | |
1662 | int UNUSED insn_referenced = abuf->written; | |
1663 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
1664 | } | |
1665 | return cycles; | |
1666 | #undef FLD | |
1667 | } | |
1668 | ||
1669 | static int | |
1670 | model_i960KA_movq (SIM_CPU *current_cpu, void *sem_arg) | |
1671 | { | |
96baa820 | 1672 | #define FLD(f) abuf->fields.sfmt_movq.f |
c906108c SS |
1673 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
1674 | const IDESC * UNUSED idesc = abuf->idesc; | |
1675 | int cycles = 0; | |
1676 | { | |
1677 | int referenced = 0; | |
1678 | int UNUSED insn_referenced = abuf->written; | |
1679 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
1680 | } | |
1681 | return cycles; | |
1682 | #undef FLD | |
1683 | } | |
1684 | ||
1685 | static int | |
1686 | model_i960KA_movq1 (SIM_CPU *current_cpu, void *sem_arg) | |
1687 | { | |
96baa820 | 1688 | #define FLD(f) abuf->fields.sfmt_movq.f |
c906108c SS |
1689 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
1690 | const IDESC * UNUSED idesc = abuf->idesc; | |
1691 | int cycles = 0; | |
1692 | { | |
1693 | int referenced = 0; | |
1694 | int UNUSED insn_referenced = abuf->written; | |
1695 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
1696 | } | |
1697 | return cycles; | |
1698 | #undef FLD | |
1699 | } | |
1700 | ||
1701 | static int | |
1702 | model_i960KA_modpc (SIM_CPU *current_cpu, void *sem_arg) | |
1703 | { | |
96baa820 | 1704 | #define FLD(f) abuf->fields.sfmt_emul1.f |
c906108c SS |
1705 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
1706 | const IDESC * UNUSED idesc = abuf->idesc; | |
1707 | int cycles = 0; | |
1708 | { | |
1709 | int referenced = 0; | |
1710 | int UNUSED insn_referenced = abuf->written; | |
1711 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
1712 | } | |
1713 | return cycles; | |
1714 | #undef FLD | |
1715 | } | |
1716 | ||
1717 | static int | |
1718 | model_i960KA_modac (SIM_CPU *current_cpu, void *sem_arg) | |
1719 | { | |
96baa820 | 1720 | #define FLD(f) abuf->fields.sfmt_emul1.f |
c906108c SS |
1721 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
1722 | const IDESC * UNUSED idesc = abuf->idesc; | |
1723 | int cycles = 0; | |
1724 | { | |
1725 | int referenced = 0; | |
1726 | int UNUSED insn_referenced = abuf->written; | |
1727 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
1728 | } | |
1729 | return cycles; | |
1730 | #undef FLD | |
1731 | } | |
1732 | ||
1733 | static int | |
1734 | model_i960KA_lda_offset (SIM_CPU *current_cpu, void *sem_arg) | |
1735 | { | |
96baa820 | 1736 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_offset.f |
c906108c SS |
1737 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
1738 | const IDESC * UNUSED idesc = abuf->idesc; | |
1739 | int cycles = 0; | |
1740 | { | |
1741 | int referenced = 0; | |
1742 | int UNUSED insn_referenced = abuf->written; | |
1743 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
1744 | } | |
1745 | return cycles; | |
1746 | #undef FLD | |
1747 | } | |
1748 | ||
1749 | static int | |
1750 | model_i960KA_lda_indirect_offset (SIM_CPU *current_cpu, void *sem_arg) | |
1751 | { | |
96baa820 | 1752 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_offset.f |
c906108c SS |
1753 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
1754 | const IDESC * UNUSED idesc = abuf->idesc; | |
1755 | int cycles = 0; | |
1756 | { | |
1757 | int referenced = 0; | |
1758 | int UNUSED insn_referenced = abuf->written; | |
1759 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
1760 | } | |
1761 | return cycles; | |
1762 | #undef FLD | |
1763 | } | |
1764 | ||
1765 | static int | |
1766 | model_i960KA_lda_indirect (SIM_CPU *current_cpu, void *sem_arg) | |
1767 | { | |
96baa820 | 1768 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_offset.f |
c906108c SS |
1769 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
1770 | const IDESC * UNUSED idesc = abuf->idesc; | |
1771 | int cycles = 0; | |
1772 | { | |
1773 | int referenced = 0; | |
1774 | int UNUSED insn_referenced = abuf->written; | |
1775 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
1776 | } | |
1777 | return cycles; | |
1778 | #undef FLD | |
1779 | } | |
1780 | ||
1781 | static int | |
1782 | model_i960KA_lda_indirect_index (SIM_CPU *current_cpu, void *sem_arg) | |
1783 | { | |
96baa820 | 1784 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
1785 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
1786 | const IDESC * UNUSED idesc = abuf->idesc; | |
1787 | int cycles = 0; | |
1788 | { | |
1789 | int referenced = 0; | |
1790 | int UNUSED insn_referenced = abuf->written; | |
1791 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
1792 | } | |
1793 | return cycles; | |
1794 | #undef FLD | |
1795 | } | |
1796 | ||
1797 | static int | |
1798 | model_i960KA_lda_disp (SIM_CPU *current_cpu, void *sem_arg) | |
1799 | { | |
96baa820 | 1800 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
1801 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
1802 | const IDESC * UNUSED idesc = abuf->idesc; | |
1803 | int cycles = 0; | |
1804 | { | |
1805 | int referenced = 0; | |
1806 | int UNUSED insn_referenced = abuf->written; | |
1807 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
1808 | } | |
1809 | return cycles; | |
1810 | #undef FLD | |
1811 | } | |
1812 | ||
1813 | static int | |
1814 | model_i960KA_lda_indirect_disp (SIM_CPU *current_cpu, void *sem_arg) | |
1815 | { | |
96baa820 | 1816 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
1817 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
1818 | const IDESC * UNUSED idesc = abuf->idesc; | |
1819 | int cycles = 0; | |
1820 | { | |
1821 | int referenced = 0; | |
1822 | int UNUSED insn_referenced = abuf->written; | |
1823 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
1824 | } | |
1825 | return cycles; | |
1826 | #undef FLD | |
1827 | } | |
1828 | ||
1829 | static int | |
1830 | model_i960KA_lda_index_disp (SIM_CPU *current_cpu, void *sem_arg) | |
1831 | { | |
96baa820 | 1832 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
1833 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
1834 | const IDESC * UNUSED idesc = abuf->idesc; | |
1835 | int cycles = 0; | |
1836 | { | |
1837 | int referenced = 0; | |
1838 | int UNUSED insn_referenced = abuf->written; | |
1839 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
1840 | } | |
1841 | return cycles; | |
1842 | #undef FLD | |
1843 | } | |
1844 | ||
1845 | static int | |
1846 | model_i960KA_lda_indirect_index_disp (SIM_CPU *current_cpu, void *sem_arg) | |
1847 | { | |
96baa820 | 1848 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
1849 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
1850 | const IDESC * UNUSED idesc = abuf->idesc; | |
1851 | int cycles = 0; | |
1852 | { | |
1853 | int referenced = 0; | |
1854 | int UNUSED insn_referenced = abuf->written; | |
1855 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
1856 | } | |
1857 | return cycles; | |
1858 | #undef FLD | |
1859 | } | |
1860 | ||
1861 | static int | |
1862 | model_i960KA_ld_offset (SIM_CPU *current_cpu, void *sem_arg) | |
1863 | { | |
96baa820 | 1864 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_offset.f |
c906108c SS |
1865 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
1866 | const IDESC * UNUSED idesc = abuf->idesc; | |
1867 | int cycles = 0; | |
1868 | { | |
1869 | int referenced = 0; | |
1870 | int UNUSED insn_referenced = abuf->written; | |
1871 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
1872 | } | |
1873 | return cycles; | |
1874 | #undef FLD | |
1875 | } | |
1876 | ||
1877 | static int | |
1878 | model_i960KA_ld_indirect_offset (SIM_CPU *current_cpu, void *sem_arg) | |
1879 | { | |
96baa820 | 1880 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_offset.f |
c906108c SS |
1881 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
1882 | const IDESC * UNUSED idesc = abuf->idesc; | |
1883 | int cycles = 0; | |
1884 | { | |
1885 | int referenced = 0; | |
1886 | int UNUSED insn_referenced = abuf->written; | |
1887 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
1888 | } | |
1889 | return cycles; | |
1890 | #undef FLD | |
1891 | } | |
1892 | ||
1893 | static int | |
1894 | model_i960KA_ld_indirect (SIM_CPU *current_cpu, void *sem_arg) | |
1895 | { | |
96baa820 | 1896 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_offset.f |
c906108c SS |
1897 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
1898 | const IDESC * UNUSED idesc = abuf->idesc; | |
1899 | int cycles = 0; | |
1900 | { | |
1901 | int referenced = 0; | |
1902 | int UNUSED insn_referenced = abuf->written; | |
1903 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
1904 | } | |
1905 | return cycles; | |
1906 | #undef FLD | |
1907 | } | |
1908 | ||
1909 | static int | |
1910 | model_i960KA_ld_indirect_index (SIM_CPU *current_cpu, void *sem_arg) | |
1911 | { | |
96baa820 | 1912 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
1913 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
1914 | const IDESC * UNUSED idesc = abuf->idesc; | |
1915 | int cycles = 0; | |
1916 | { | |
1917 | int referenced = 0; | |
1918 | int UNUSED insn_referenced = abuf->written; | |
1919 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
1920 | } | |
1921 | return cycles; | |
1922 | #undef FLD | |
1923 | } | |
1924 | ||
1925 | static int | |
1926 | model_i960KA_ld_disp (SIM_CPU *current_cpu, void *sem_arg) | |
1927 | { | |
96baa820 | 1928 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
1929 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
1930 | const IDESC * UNUSED idesc = abuf->idesc; | |
1931 | int cycles = 0; | |
1932 | { | |
1933 | int referenced = 0; | |
1934 | int UNUSED insn_referenced = abuf->written; | |
1935 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
1936 | } | |
1937 | return cycles; | |
1938 | #undef FLD | |
1939 | } | |
1940 | ||
1941 | static int | |
1942 | model_i960KA_ld_indirect_disp (SIM_CPU *current_cpu, void *sem_arg) | |
1943 | { | |
96baa820 | 1944 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
1945 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
1946 | const IDESC * UNUSED idesc = abuf->idesc; | |
1947 | int cycles = 0; | |
1948 | { | |
1949 | int referenced = 0; | |
1950 | int UNUSED insn_referenced = abuf->written; | |
1951 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
1952 | } | |
1953 | return cycles; | |
1954 | #undef FLD | |
1955 | } | |
1956 | ||
1957 | static int | |
1958 | model_i960KA_ld_index_disp (SIM_CPU *current_cpu, void *sem_arg) | |
1959 | { | |
96baa820 | 1960 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
1961 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
1962 | const IDESC * UNUSED idesc = abuf->idesc; | |
1963 | int cycles = 0; | |
1964 | { | |
1965 | int referenced = 0; | |
1966 | int UNUSED insn_referenced = abuf->written; | |
1967 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
1968 | } | |
1969 | return cycles; | |
1970 | #undef FLD | |
1971 | } | |
1972 | ||
1973 | static int | |
1974 | model_i960KA_ld_indirect_index_disp (SIM_CPU *current_cpu, void *sem_arg) | |
1975 | { | |
96baa820 | 1976 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
1977 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
1978 | const IDESC * UNUSED idesc = abuf->idesc; | |
1979 | int cycles = 0; | |
1980 | { | |
1981 | int referenced = 0; | |
1982 | int UNUSED insn_referenced = abuf->written; | |
1983 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
1984 | } | |
1985 | return cycles; | |
1986 | #undef FLD | |
1987 | } | |
1988 | ||
1989 | static int | |
1990 | model_i960KA_ldob_offset (SIM_CPU *current_cpu, void *sem_arg) | |
1991 | { | |
96baa820 | 1992 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_offset.f |
c906108c SS |
1993 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
1994 | const IDESC * UNUSED idesc = abuf->idesc; | |
1995 | int cycles = 0; | |
1996 | { | |
1997 | int referenced = 0; | |
1998 | int UNUSED insn_referenced = abuf->written; | |
1999 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
2000 | } | |
2001 | return cycles; | |
2002 | #undef FLD | |
2003 | } | |
2004 | ||
2005 | static int | |
2006 | model_i960KA_ldob_indirect_offset (SIM_CPU *current_cpu, void *sem_arg) | |
2007 | { | |
96baa820 | 2008 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_offset.f |
c906108c SS |
2009 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
2010 | const IDESC * UNUSED idesc = abuf->idesc; | |
2011 | int cycles = 0; | |
2012 | { | |
2013 | int referenced = 0; | |
2014 | int UNUSED insn_referenced = abuf->written; | |
2015 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
2016 | } | |
2017 | return cycles; | |
2018 | #undef FLD | |
2019 | } | |
2020 | ||
2021 | static int | |
2022 | model_i960KA_ldob_indirect (SIM_CPU *current_cpu, void *sem_arg) | |
2023 | { | |
96baa820 | 2024 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_offset.f |
c906108c SS |
2025 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
2026 | const IDESC * UNUSED idesc = abuf->idesc; | |
2027 | int cycles = 0; | |
2028 | { | |
2029 | int referenced = 0; | |
2030 | int UNUSED insn_referenced = abuf->written; | |
2031 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
2032 | } | |
2033 | return cycles; | |
2034 | #undef FLD | |
2035 | } | |
2036 | ||
2037 | static int | |
2038 | model_i960KA_ldob_indirect_index (SIM_CPU *current_cpu, void *sem_arg) | |
2039 | { | |
96baa820 | 2040 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
2041 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
2042 | const IDESC * UNUSED idesc = abuf->idesc; | |
2043 | int cycles = 0; | |
2044 | { | |
2045 | int referenced = 0; | |
2046 | int UNUSED insn_referenced = abuf->written; | |
2047 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
2048 | } | |
2049 | return cycles; | |
2050 | #undef FLD | |
2051 | } | |
2052 | ||
2053 | static int | |
2054 | model_i960KA_ldob_disp (SIM_CPU *current_cpu, void *sem_arg) | |
2055 | { | |
96baa820 | 2056 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
2057 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
2058 | const IDESC * UNUSED idesc = abuf->idesc; | |
2059 | int cycles = 0; | |
2060 | { | |
2061 | int referenced = 0; | |
2062 | int UNUSED insn_referenced = abuf->written; | |
2063 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
2064 | } | |
2065 | return cycles; | |
2066 | #undef FLD | |
2067 | } | |
2068 | ||
2069 | static int | |
2070 | model_i960KA_ldob_indirect_disp (SIM_CPU *current_cpu, void *sem_arg) | |
2071 | { | |
96baa820 | 2072 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
2073 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
2074 | const IDESC * UNUSED idesc = abuf->idesc; | |
2075 | int cycles = 0; | |
2076 | { | |
2077 | int referenced = 0; | |
2078 | int UNUSED insn_referenced = abuf->written; | |
2079 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
2080 | } | |
2081 | return cycles; | |
2082 | #undef FLD | |
2083 | } | |
2084 | ||
2085 | static int | |
2086 | model_i960KA_ldob_index_disp (SIM_CPU *current_cpu, void *sem_arg) | |
2087 | { | |
96baa820 | 2088 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
2089 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
2090 | const IDESC * UNUSED idesc = abuf->idesc; | |
2091 | int cycles = 0; | |
2092 | { | |
2093 | int referenced = 0; | |
2094 | int UNUSED insn_referenced = abuf->written; | |
2095 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
2096 | } | |
2097 | return cycles; | |
2098 | #undef FLD | |
2099 | } | |
2100 | ||
2101 | static int | |
2102 | model_i960KA_ldob_indirect_index_disp (SIM_CPU *current_cpu, void *sem_arg) | |
2103 | { | |
96baa820 | 2104 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
2105 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
2106 | const IDESC * UNUSED idesc = abuf->idesc; | |
2107 | int cycles = 0; | |
2108 | { | |
2109 | int referenced = 0; | |
2110 | int UNUSED insn_referenced = abuf->written; | |
2111 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
2112 | } | |
2113 | return cycles; | |
2114 | #undef FLD | |
2115 | } | |
2116 | ||
2117 | static int | |
2118 | model_i960KA_ldos_offset (SIM_CPU *current_cpu, void *sem_arg) | |
2119 | { | |
96baa820 | 2120 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_offset.f |
c906108c SS |
2121 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
2122 | const IDESC * UNUSED idesc = abuf->idesc; | |
2123 | int cycles = 0; | |
2124 | { | |
2125 | int referenced = 0; | |
2126 | int UNUSED insn_referenced = abuf->written; | |
2127 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
2128 | } | |
2129 | return cycles; | |
2130 | #undef FLD | |
2131 | } | |
2132 | ||
2133 | static int | |
2134 | model_i960KA_ldos_indirect_offset (SIM_CPU *current_cpu, void *sem_arg) | |
2135 | { | |
96baa820 | 2136 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_offset.f |
c906108c SS |
2137 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
2138 | const IDESC * UNUSED idesc = abuf->idesc; | |
2139 | int cycles = 0; | |
2140 | { | |
2141 | int referenced = 0; | |
2142 | int UNUSED insn_referenced = abuf->written; | |
2143 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
2144 | } | |
2145 | return cycles; | |
2146 | #undef FLD | |
2147 | } | |
2148 | ||
2149 | static int | |
2150 | model_i960KA_ldos_indirect (SIM_CPU *current_cpu, void *sem_arg) | |
2151 | { | |
96baa820 | 2152 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_offset.f |
c906108c SS |
2153 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
2154 | const IDESC * UNUSED idesc = abuf->idesc; | |
2155 | int cycles = 0; | |
2156 | { | |
2157 | int referenced = 0; | |
2158 | int UNUSED insn_referenced = abuf->written; | |
2159 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
2160 | } | |
2161 | return cycles; | |
2162 | #undef FLD | |
2163 | } | |
2164 | ||
2165 | static int | |
2166 | model_i960KA_ldos_indirect_index (SIM_CPU *current_cpu, void *sem_arg) | |
2167 | { | |
96baa820 | 2168 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
2169 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
2170 | const IDESC * UNUSED idesc = abuf->idesc; | |
2171 | int cycles = 0; | |
2172 | { | |
2173 | int referenced = 0; | |
2174 | int UNUSED insn_referenced = abuf->written; | |
2175 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
2176 | } | |
2177 | return cycles; | |
2178 | #undef FLD | |
2179 | } | |
2180 | ||
2181 | static int | |
2182 | model_i960KA_ldos_disp (SIM_CPU *current_cpu, void *sem_arg) | |
2183 | { | |
96baa820 | 2184 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
2185 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
2186 | const IDESC * UNUSED idesc = abuf->idesc; | |
2187 | int cycles = 0; | |
2188 | { | |
2189 | int referenced = 0; | |
2190 | int UNUSED insn_referenced = abuf->written; | |
2191 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
2192 | } | |
2193 | return cycles; | |
2194 | #undef FLD | |
2195 | } | |
2196 | ||
2197 | static int | |
2198 | model_i960KA_ldos_indirect_disp (SIM_CPU *current_cpu, void *sem_arg) | |
2199 | { | |
96baa820 | 2200 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
2201 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
2202 | const IDESC * UNUSED idesc = abuf->idesc; | |
2203 | int cycles = 0; | |
2204 | { | |
2205 | int referenced = 0; | |
2206 | int UNUSED insn_referenced = abuf->written; | |
2207 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
2208 | } | |
2209 | return cycles; | |
2210 | #undef FLD | |
2211 | } | |
2212 | ||
2213 | static int | |
2214 | model_i960KA_ldos_index_disp (SIM_CPU *current_cpu, void *sem_arg) | |
2215 | { | |
96baa820 | 2216 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
2217 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
2218 | const IDESC * UNUSED idesc = abuf->idesc; | |
2219 | int cycles = 0; | |
2220 | { | |
2221 | int referenced = 0; | |
2222 | int UNUSED insn_referenced = abuf->written; | |
2223 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
2224 | } | |
2225 | return cycles; | |
2226 | #undef FLD | |
2227 | } | |
2228 | ||
2229 | static int | |
2230 | model_i960KA_ldos_indirect_index_disp (SIM_CPU *current_cpu, void *sem_arg) | |
2231 | { | |
96baa820 | 2232 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
2233 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
2234 | const IDESC * UNUSED idesc = abuf->idesc; | |
2235 | int cycles = 0; | |
2236 | { | |
2237 | int referenced = 0; | |
2238 | int UNUSED insn_referenced = abuf->written; | |
2239 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
2240 | } | |
2241 | return cycles; | |
2242 | #undef FLD | |
2243 | } | |
2244 | ||
2245 | static int | |
2246 | model_i960KA_ldib_offset (SIM_CPU *current_cpu, void *sem_arg) | |
2247 | { | |
96baa820 | 2248 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_offset.f |
c906108c SS |
2249 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
2250 | const IDESC * UNUSED idesc = abuf->idesc; | |
2251 | int cycles = 0; | |
2252 | { | |
2253 | int referenced = 0; | |
2254 | int UNUSED insn_referenced = abuf->written; | |
2255 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
2256 | } | |
2257 | return cycles; | |
2258 | #undef FLD | |
2259 | } | |
2260 | ||
2261 | static int | |
2262 | model_i960KA_ldib_indirect_offset (SIM_CPU *current_cpu, void *sem_arg) | |
2263 | { | |
96baa820 | 2264 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_offset.f |
c906108c SS |
2265 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
2266 | const IDESC * UNUSED idesc = abuf->idesc; | |
2267 | int cycles = 0; | |
2268 | { | |
2269 | int referenced = 0; | |
2270 | int UNUSED insn_referenced = abuf->written; | |
2271 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
2272 | } | |
2273 | return cycles; | |
2274 | #undef FLD | |
2275 | } | |
2276 | ||
2277 | static int | |
2278 | model_i960KA_ldib_indirect (SIM_CPU *current_cpu, void *sem_arg) | |
2279 | { | |
96baa820 | 2280 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_offset.f |
c906108c SS |
2281 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
2282 | const IDESC * UNUSED idesc = abuf->idesc; | |
2283 | int cycles = 0; | |
2284 | { | |
2285 | int referenced = 0; | |
2286 | int UNUSED insn_referenced = abuf->written; | |
2287 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
2288 | } | |
2289 | return cycles; | |
2290 | #undef FLD | |
2291 | } | |
2292 | ||
2293 | static int | |
2294 | model_i960KA_ldib_indirect_index (SIM_CPU *current_cpu, void *sem_arg) | |
2295 | { | |
96baa820 | 2296 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
2297 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
2298 | const IDESC * UNUSED idesc = abuf->idesc; | |
2299 | int cycles = 0; | |
2300 | { | |
2301 | int referenced = 0; | |
2302 | int UNUSED insn_referenced = abuf->written; | |
2303 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
2304 | } | |
2305 | return cycles; | |
2306 | #undef FLD | |
2307 | } | |
2308 | ||
2309 | static int | |
2310 | model_i960KA_ldib_disp (SIM_CPU *current_cpu, void *sem_arg) | |
2311 | { | |
96baa820 | 2312 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
2313 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
2314 | const IDESC * UNUSED idesc = abuf->idesc; | |
2315 | int cycles = 0; | |
2316 | { | |
2317 | int referenced = 0; | |
2318 | int UNUSED insn_referenced = abuf->written; | |
2319 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
2320 | } | |
2321 | return cycles; | |
2322 | #undef FLD | |
2323 | } | |
2324 | ||
2325 | static int | |
2326 | model_i960KA_ldib_indirect_disp (SIM_CPU *current_cpu, void *sem_arg) | |
2327 | { | |
96baa820 | 2328 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
2329 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
2330 | const IDESC * UNUSED idesc = abuf->idesc; | |
2331 | int cycles = 0; | |
2332 | { | |
2333 | int referenced = 0; | |
2334 | int UNUSED insn_referenced = abuf->written; | |
2335 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
2336 | } | |
2337 | return cycles; | |
2338 | #undef FLD | |
2339 | } | |
2340 | ||
2341 | static int | |
2342 | model_i960KA_ldib_index_disp (SIM_CPU *current_cpu, void *sem_arg) | |
2343 | { | |
96baa820 | 2344 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
2345 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
2346 | const IDESC * UNUSED idesc = abuf->idesc; | |
2347 | int cycles = 0; | |
2348 | { | |
2349 | int referenced = 0; | |
2350 | int UNUSED insn_referenced = abuf->written; | |
2351 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
2352 | } | |
2353 | return cycles; | |
2354 | #undef FLD | |
2355 | } | |
2356 | ||
2357 | static int | |
2358 | model_i960KA_ldib_indirect_index_disp (SIM_CPU *current_cpu, void *sem_arg) | |
2359 | { | |
96baa820 | 2360 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
2361 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
2362 | const IDESC * UNUSED idesc = abuf->idesc; | |
2363 | int cycles = 0; | |
2364 | { | |
2365 | int referenced = 0; | |
2366 | int UNUSED insn_referenced = abuf->written; | |
2367 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
2368 | } | |
2369 | return cycles; | |
2370 | #undef FLD | |
2371 | } | |
2372 | ||
2373 | static int | |
2374 | model_i960KA_ldis_offset (SIM_CPU *current_cpu, void *sem_arg) | |
2375 | { | |
96baa820 | 2376 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_offset.f |
c906108c SS |
2377 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
2378 | const IDESC * UNUSED idesc = abuf->idesc; | |
2379 | int cycles = 0; | |
2380 | { | |
2381 | int referenced = 0; | |
2382 | int UNUSED insn_referenced = abuf->written; | |
2383 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
2384 | } | |
2385 | return cycles; | |
2386 | #undef FLD | |
2387 | } | |
2388 | ||
2389 | static int | |
2390 | model_i960KA_ldis_indirect_offset (SIM_CPU *current_cpu, void *sem_arg) | |
2391 | { | |
96baa820 | 2392 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_offset.f |
c906108c SS |
2393 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
2394 | const IDESC * UNUSED idesc = abuf->idesc; | |
2395 | int cycles = 0; | |
2396 | { | |
2397 | int referenced = 0; | |
2398 | int UNUSED insn_referenced = abuf->written; | |
2399 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
2400 | } | |
2401 | return cycles; | |
2402 | #undef FLD | |
2403 | } | |
2404 | ||
2405 | static int | |
2406 | model_i960KA_ldis_indirect (SIM_CPU *current_cpu, void *sem_arg) | |
2407 | { | |
96baa820 | 2408 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_offset.f |
c906108c SS |
2409 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
2410 | const IDESC * UNUSED idesc = abuf->idesc; | |
2411 | int cycles = 0; | |
2412 | { | |
2413 | int referenced = 0; | |
2414 | int UNUSED insn_referenced = abuf->written; | |
2415 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
2416 | } | |
2417 | return cycles; | |
2418 | #undef FLD | |
2419 | } | |
2420 | ||
2421 | static int | |
2422 | model_i960KA_ldis_indirect_index (SIM_CPU *current_cpu, void *sem_arg) | |
2423 | { | |
96baa820 | 2424 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
2425 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
2426 | const IDESC * UNUSED idesc = abuf->idesc; | |
2427 | int cycles = 0; | |
2428 | { | |
2429 | int referenced = 0; | |
2430 | int UNUSED insn_referenced = abuf->written; | |
2431 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
2432 | } | |
2433 | return cycles; | |
2434 | #undef FLD | |
2435 | } | |
2436 | ||
2437 | static int | |
2438 | model_i960KA_ldis_disp (SIM_CPU *current_cpu, void *sem_arg) | |
2439 | { | |
96baa820 | 2440 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
2441 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
2442 | const IDESC * UNUSED idesc = abuf->idesc; | |
2443 | int cycles = 0; | |
2444 | { | |
2445 | int referenced = 0; | |
2446 | int UNUSED insn_referenced = abuf->written; | |
2447 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
2448 | } | |
2449 | return cycles; | |
2450 | #undef FLD | |
2451 | } | |
2452 | ||
2453 | static int | |
2454 | model_i960KA_ldis_indirect_disp (SIM_CPU *current_cpu, void *sem_arg) | |
2455 | { | |
96baa820 | 2456 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
2457 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
2458 | const IDESC * UNUSED idesc = abuf->idesc; | |
2459 | int cycles = 0; | |
2460 | { | |
2461 | int referenced = 0; | |
2462 | int UNUSED insn_referenced = abuf->written; | |
2463 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
2464 | } | |
2465 | return cycles; | |
2466 | #undef FLD | |
2467 | } | |
2468 | ||
2469 | static int | |
2470 | model_i960KA_ldis_index_disp (SIM_CPU *current_cpu, void *sem_arg) | |
2471 | { | |
96baa820 | 2472 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
2473 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
2474 | const IDESC * UNUSED idesc = abuf->idesc; | |
2475 | int cycles = 0; | |
2476 | { | |
2477 | int referenced = 0; | |
2478 | int UNUSED insn_referenced = abuf->written; | |
2479 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
2480 | } | |
2481 | return cycles; | |
2482 | #undef FLD | |
2483 | } | |
2484 | ||
2485 | static int | |
2486 | model_i960KA_ldis_indirect_index_disp (SIM_CPU *current_cpu, void *sem_arg) | |
2487 | { | |
96baa820 | 2488 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
2489 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
2490 | const IDESC * UNUSED idesc = abuf->idesc; | |
2491 | int cycles = 0; | |
2492 | { | |
2493 | int referenced = 0; | |
2494 | int UNUSED insn_referenced = abuf->written; | |
2495 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
2496 | } | |
2497 | return cycles; | |
2498 | #undef FLD | |
2499 | } | |
2500 | ||
2501 | static int | |
2502 | model_i960KA_ldl_offset (SIM_CPU *current_cpu, void *sem_arg) | |
2503 | { | |
96baa820 | 2504 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_offset.f |
c906108c SS |
2505 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
2506 | const IDESC * UNUSED idesc = abuf->idesc; | |
2507 | int cycles = 0; | |
2508 | { | |
2509 | int referenced = 0; | |
2510 | int UNUSED insn_referenced = abuf->written; | |
2511 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
2512 | } | |
2513 | return cycles; | |
2514 | #undef FLD | |
2515 | } | |
2516 | ||
2517 | static int | |
2518 | model_i960KA_ldl_indirect_offset (SIM_CPU *current_cpu, void *sem_arg) | |
2519 | { | |
96baa820 | 2520 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_offset.f |
c906108c SS |
2521 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
2522 | const IDESC * UNUSED idesc = abuf->idesc; | |
2523 | int cycles = 0; | |
2524 | { | |
2525 | int referenced = 0; | |
2526 | int UNUSED insn_referenced = abuf->written; | |
2527 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
2528 | } | |
2529 | return cycles; | |
2530 | #undef FLD | |
2531 | } | |
2532 | ||
2533 | static int | |
2534 | model_i960KA_ldl_indirect (SIM_CPU *current_cpu, void *sem_arg) | |
2535 | { | |
96baa820 | 2536 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_offset.f |
c906108c SS |
2537 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
2538 | const IDESC * UNUSED idesc = abuf->idesc; | |
2539 | int cycles = 0; | |
2540 | { | |
2541 | int referenced = 0; | |
2542 | int UNUSED insn_referenced = abuf->written; | |
2543 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
2544 | } | |
2545 | return cycles; | |
2546 | #undef FLD | |
2547 | } | |
2548 | ||
2549 | static int | |
2550 | model_i960KA_ldl_indirect_index (SIM_CPU *current_cpu, void *sem_arg) | |
2551 | { | |
96baa820 | 2552 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
2553 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
2554 | const IDESC * UNUSED idesc = abuf->idesc; | |
2555 | int cycles = 0; | |
2556 | { | |
2557 | int referenced = 0; | |
2558 | int UNUSED insn_referenced = abuf->written; | |
2559 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
2560 | } | |
2561 | return cycles; | |
2562 | #undef FLD | |
2563 | } | |
2564 | ||
2565 | static int | |
2566 | model_i960KA_ldl_disp (SIM_CPU *current_cpu, void *sem_arg) | |
2567 | { | |
96baa820 | 2568 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
2569 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
2570 | const IDESC * UNUSED idesc = abuf->idesc; | |
2571 | int cycles = 0; | |
2572 | { | |
2573 | int referenced = 0; | |
2574 | int UNUSED insn_referenced = abuf->written; | |
2575 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
2576 | } | |
2577 | return cycles; | |
2578 | #undef FLD | |
2579 | } | |
2580 | ||
2581 | static int | |
2582 | model_i960KA_ldl_indirect_disp (SIM_CPU *current_cpu, void *sem_arg) | |
2583 | { | |
96baa820 | 2584 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
2585 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
2586 | const IDESC * UNUSED idesc = abuf->idesc; | |
2587 | int cycles = 0; | |
2588 | { | |
2589 | int referenced = 0; | |
2590 | int UNUSED insn_referenced = abuf->written; | |
2591 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
2592 | } | |
2593 | return cycles; | |
2594 | #undef FLD | |
2595 | } | |
2596 | ||
2597 | static int | |
2598 | model_i960KA_ldl_index_disp (SIM_CPU *current_cpu, void *sem_arg) | |
2599 | { | |
96baa820 | 2600 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
2601 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
2602 | const IDESC * UNUSED idesc = abuf->idesc; | |
2603 | int cycles = 0; | |
2604 | { | |
2605 | int referenced = 0; | |
2606 | int UNUSED insn_referenced = abuf->written; | |
2607 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
2608 | } | |
2609 | return cycles; | |
2610 | #undef FLD | |
2611 | } | |
2612 | ||
2613 | static int | |
2614 | model_i960KA_ldl_indirect_index_disp (SIM_CPU *current_cpu, void *sem_arg) | |
2615 | { | |
96baa820 | 2616 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
2617 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
2618 | const IDESC * UNUSED idesc = abuf->idesc; | |
2619 | int cycles = 0; | |
2620 | { | |
2621 | int referenced = 0; | |
2622 | int UNUSED insn_referenced = abuf->written; | |
2623 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
2624 | } | |
2625 | return cycles; | |
2626 | #undef FLD | |
2627 | } | |
2628 | ||
2629 | static int | |
2630 | model_i960KA_ldt_offset (SIM_CPU *current_cpu, void *sem_arg) | |
2631 | { | |
96baa820 | 2632 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_offset.f |
c906108c SS |
2633 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
2634 | const IDESC * UNUSED idesc = abuf->idesc; | |
2635 | int cycles = 0; | |
2636 | { | |
2637 | int referenced = 0; | |
2638 | int UNUSED insn_referenced = abuf->written; | |
2639 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
2640 | } | |
2641 | return cycles; | |
2642 | #undef FLD | |
2643 | } | |
2644 | ||
2645 | static int | |
2646 | model_i960KA_ldt_indirect_offset (SIM_CPU *current_cpu, void *sem_arg) | |
2647 | { | |
96baa820 | 2648 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_offset.f |
c906108c SS |
2649 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
2650 | const IDESC * UNUSED idesc = abuf->idesc; | |
2651 | int cycles = 0; | |
2652 | { | |
2653 | int referenced = 0; | |
2654 | int UNUSED insn_referenced = abuf->written; | |
2655 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
2656 | } | |
2657 | return cycles; | |
2658 | #undef FLD | |
2659 | } | |
2660 | ||
2661 | static int | |
2662 | model_i960KA_ldt_indirect (SIM_CPU *current_cpu, void *sem_arg) | |
2663 | { | |
96baa820 | 2664 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_offset.f |
c906108c SS |
2665 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
2666 | const IDESC * UNUSED idesc = abuf->idesc; | |
2667 | int cycles = 0; | |
2668 | { | |
2669 | int referenced = 0; | |
2670 | int UNUSED insn_referenced = abuf->written; | |
2671 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
2672 | } | |
2673 | return cycles; | |
2674 | #undef FLD | |
2675 | } | |
2676 | ||
2677 | static int | |
2678 | model_i960KA_ldt_indirect_index (SIM_CPU *current_cpu, void *sem_arg) | |
2679 | { | |
96baa820 | 2680 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
2681 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
2682 | const IDESC * UNUSED idesc = abuf->idesc; | |
2683 | int cycles = 0; | |
2684 | { | |
2685 | int referenced = 0; | |
2686 | int UNUSED insn_referenced = abuf->written; | |
2687 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
2688 | } | |
2689 | return cycles; | |
2690 | #undef FLD | |
2691 | } | |
2692 | ||
2693 | static int | |
2694 | model_i960KA_ldt_disp (SIM_CPU *current_cpu, void *sem_arg) | |
2695 | { | |
96baa820 | 2696 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
2697 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
2698 | const IDESC * UNUSED idesc = abuf->idesc; | |
2699 | int cycles = 0; | |
2700 | { | |
2701 | int referenced = 0; | |
2702 | int UNUSED insn_referenced = abuf->written; | |
2703 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
2704 | } | |
2705 | return cycles; | |
2706 | #undef FLD | |
2707 | } | |
2708 | ||
2709 | static int | |
2710 | model_i960KA_ldt_indirect_disp (SIM_CPU *current_cpu, void *sem_arg) | |
2711 | { | |
96baa820 | 2712 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
2713 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
2714 | const IDESC * UNUSED idesc = abuf->idesc; | |
2715 | int cycles = 0; | |
2716 | { | |
2717 | int referenced = 0; | |
2718 | int UNUSED insn_referenced = abuf->written; | |
2719 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
2720 | } | |
2721 | return cycles; | |
2722 | #undef FLD | |
2723 | } | |
2724 | ||
2725 | static int | |
2726 | model_i960KA_ldt_index_disp (SIM_CPU *current_cpu, void *sem_arg) | |
2727 | { | |
96baa820 | 2728 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
2729 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
2730 | const IDESC * UNUSED idesc = abuf->idesc; | |
2731 | int cycles = 0; | |
2732 | { | |
2733 | int referenced = 0; | |
2734 | int UNUSED insn_referenced = abuf->written; | |
2735 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
2736 | } | |
2737 | return cycles; | |
2738 | #undef FLD | |
2739 | } | |
2740 | ||
2741 | static int | |
2742 | model_i960KA_ldt_indirect_index_disp (SIM_CPU *current_cpu, void *sem_arg) | |
2743 | { | |
96baa820 | 2744 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
2745 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
2746 | const IDESC * UNUSED idesc = abuf->idesc; | |
2747 | int cycles = 0; | |
2748 | { | |
2749 | int referenced = 0; | |
2750 | int UNUSED insn_referenced = abuf->written; | |
2751 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
2752 | } | |
2753 | return cycles; | |
2754 | #undef FLD | |
2755 | } | |
2756 | ||
2757 | static int | |
2758 | model_i960KA_ldq_offset (SIM_CPU *current_cpu, void *sem_arg) | |
2759 | { | |
96baa820 | 2760 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_offset.f |
c906108c SS |
2761 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
2762 | const IDESC * UNUSED idesc = abuf->idesc; | |
2763 | int cycles = 0; | |
2764 | { | |
2765 | int referenced = 0; | |
2766 | int UNUSED insn_referenced = abuf->written; | |
2767 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
2768 | } | |
2769 | return cycles; | |
2770 | #undef FLD | |
2771 | } | |
2772 | ||
2773 | static int | |
2774 | model_i960KA_ldq_indirect_offset (SIM_CPU *current_cpu, void *sem_arg) | |
2775 | { | |
96baa820 | 2776 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_offset.f |
c906108c SS |
2777 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
2778 | const IDESC * UNUSED idesc = abuf->idesc; | |
2779 | int cycles = 0; | |
2780 | { | |
2781 | int referenced = 0; | |
2782 | int UNUSED insn_referenced = abuf->written; | |
2783 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
2784 | } | |
2785 | return cycles; | |
2786 | #undef FLD | |
2787 | } | |
2788 | ||
2789 | static int | |
2790 | model_i960KA_ldq_indirect (SIM_CPU *current_cpu, void *sem_arg) | |
2791 | { | |
96baa820 | 2792 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_offset.f |
c906108c SS |
2793 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
2794 | const IDESC * UNUSED idesc = abuf->idesc; | |
2795 | int cycles = 0; | |
2796 | { | |
2797 | int referenced = 0; | |
2798 | int UNUSED insn_referenced = abuf->written; | |
2799 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
2800 | } | |
2801 | return cycles; | |
2802 | #undef FLD | |
2803 | } | |
2804 | ||
2805 | static int | |
2806 | model_i960KA_ldq_indirect_index (SIM_CPU *current_cpu, void *sem_arg) | |
2807 | { | |
96baa820 | 2808 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
2809 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
2810 | const IDESC * UNUSED idesc = abuf->idesc; | |
2811 | int cycles = 0; | |
2812 | { | |
2813 | int referenced = 0; | |
2814 | int UNUSED insn_referenced = abuf->written; | |
2815 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
2816 | } | |
2817 | return cycles; | |
2818 | #undef FLD | |
2819 | } | |
2820 | ||
2821 | static int | |
2822 | model_i960KA_ldq_disp (SIM_CPU *current_cpu, void *sem_arg) | |
2823 | { | |
96baa820 | 2824 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
2825 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
2826 | const IDESC * UNUSED idesc = abuf->idesc; | |
2827 | int cycles = 0; | |
2828 | { | |
2829 | int referenced = 0; | |
2830 | int UNUSED insn_referenced = abuf->written; | |
2831 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
2832 | } | |
2833 | return cycles; | |
2834 | #undef FLD | |
2835 | } | |
2836 | ||
2837 | static int | |
2838 | model_i960KA_ldq_indirect_disp (SIM_CPU *current_cpu, void *sem_arg) | |
2839 | { | |
96baa820 | 2840 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
2841 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
2842 | const IDESC * UNUSED idesc = abuf->idesc; | |
2843 | int cycles = 0; | |
2844 | { | |
2845 | int referenced = 0; | |
2846 | int UNUSED insn_referenced = abuf->written; | |
2847 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
2848 | } | |
2849 | return cycles; | |
2850 | #undef FLD | |
2851 | } | |
2852 | ||
2853 | static int | |
2854 | model_i960KA_ldq_index_disp (SIM_CPU *current_cpu, void *sem_arg) | |
2855 | { | |
96baa820 | 2856 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
2857 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
2858 | const IDESC * UNUSED idesc = abuf->idesc; | |
2859 | int cycles = 0; | |
2860 | { | |
2861 | int referenced = 0; | |
2862 | int UNUSED insn_referenced = abuf->written; | |
2863 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
2864 | } | |
2865 | return cycles; | |
2866 | #undef FLD | |
2867 | } | |
2868 | ||
2869 | static int | |
2870 | model_i960KA_ldq_indirect_index_disp (SIM_CPU *current_cpu, void *sem_arg) | |
2871 | { | |
96baa820 | 2872 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
2873 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
2874 | const IDESC * UNUSED idesc = abuf->idesc; | |
2875 | int cycles = 0; | |
2876 | { | |
2877 | int referenced = 0; | |
2878 | int UNUSED insn_referenced = abuf->written; | |
2879 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
2880 | } | |
2881 | return cycles; | |
2882 | #undef FLD | |
2883 | } | |
2884 | ||
2885 | static int | |
2886 | model_i960KA_st_offset (SIM_CPU *current_cpu, void *sem_arg) | |
2887 | { | |
96baa820 | 2888 | #define FLD(f) abuf->fields.sfmt_stq_indirect_offset.f |
c906108c SS |
2889 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
2890 | const IDESC * UNUSED idesc = abuf->idesc; | |
2891 | int cycles = 0; | |
2892 | { | |
2893 | int referenced = 0; | |
2894 | int UNUSED insn_referenced = abuf->written; | |
2895 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
2896 | } | |
2897 | return cycles; | |
2898 | #undef FLD | |
2899 | } | |
2900 | ||
2901 | static int | |
2902 | model_i960KA_st_indirect_offset (SIM_CPU *current_cpu, void *sem_arg) | |
2903 | { | |
96baa820 | 2904 | #define FLD(f) abuf->fields.sfmt_stq_indirect_offset.f |
c906108c SS |
2905 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
2906 | const IDESC * UNUSED idesc = abuf->idesc; | |
2907 | int cycles = 0; | |
2908 | { | |
2909 | int referenced = 0; | |
2910 | int UNUSED insn_referenced = abuf->written; | |
2911 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
2912 | } | |
2913 | return cycles; | |
2914 | #undef FLD | |
2915 | } | |
2916 | ||
2917 | static int | |
2918 | model_i960KA_st_indirect (SIM_CPU *current_cpu, void *sem_arg) | |
2919 | { | |
96baa820 | 2920 | #define FLD(f) abuf->fields.sfmt_stq_indirect_offset.f |
c906108c SS |
2921 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
2922 | const IDESC * UNUSED idesc = abuf->idesc; | |
2923 | int cycles = 0; | |
2924 | { | |
2925 | int referenced = 0; | |
2926 | int UNUSED insn_referenced = abuf->written; | |
2927 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
2928 | } | |
2929 | return cycles; | |
2930 | #undef FLD | |
2931 | } | |
2932 | ||
2933 | static int | |
2934 | model_i960KA_st_indirect_index (SIM_CPU *current_cpu, void *sem_arg) | |
2935 | { | |
96baa820 | 2936 | #define FLD(f) abuf->fields.sfmt_stq_indirect_index_disp.f |
c906108c SS |
2937 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
2938 | const IDESC * UNUSED idesc = abuf->idesc; | |
2939 | int cycles = 0; | |
2940 | { | |
2941 | int referenced = 0; | |
2942 | int UNUSED insn_referenced = abuf->written; | |
2943 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
2944 | } | |
2945 | return cycles; | |
2946 | #undef FLD | |
2947 | } | |
2948 | ||
2949 | static int | |
2950 | model_i960KA_st_disp (SIM_CPU *current_cpu, void *sem_arg) | |
2951 | { | |
96baa820 | 2952 | #define FLD(f) abuf->fields.sfmt_stq_indirect_index_disp.f |
c906108c SS |
2953 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
2954 | const IDESC * UNUSED idesc = abuf->idesc; | |
2955 | int cycles = 0; | |
2956 | { | |
2957 | int referenced = 0; | |
2958 | int UNUSED insn_referenced = abuf->written; | |
2959 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
2960 | } | |
2961 | return cycles; | |
2962 | #undef FLD | |
2963 | } | |
2964 | ||
2965 | static int | |
2966 | model_i960KA_st_indirect_disp (SIM_CPU *current_cpu, void *sem_arg) | |
2967 | { | |
96baa820 | 2968 | #define FLD(f) abuf->fields.sfmt_stq_indirect_index_disp.f |
c906108c SS |
2969 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
2970 | const IDESC * UNUSED idesc = abuf->idesc; | |
2971 | int cycles = 0; | |
2972 | { | |
2973 | int referenced = 0; | |
2974 | int UNUSED insn_referenced = abuf->written; | |
2975 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
2976 | } | |
2977 | return cycles; | |
2978 | #undef FLD | |
2979 | } | |
2980 | ||
2981 | static int | |
2982 | model_i960KA_st_index_disp (SIM_CPU *current_cpu, void *sem_arg) | |
2983 | { | |
96baa820 | 2984 | #define FLD(f) abuf->fields.sfmt_stq_indirect_index_disp.f |
c906108c SS |
2985 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
2986 | const IDESC * UNUSED idesc = abuf->idesc; | |
2987 | int cycles = 0; | |
2988 | { | |
2989 | int referenced = 0; | |
2990 | int UNUSED insn_referenced = abuf->written; | |
2991 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
2992 | } | |
2993 | return cycles; | |
2994 | #undef FLD | |
2995 | } | |
2996 | ||
2997 | static int | |
2998 | model_i960KA_st_indirect_index_disp (SIM_CPU *current_cpu, void *sem_arg) | |
2999 | { | |
96baa820 | 3000 | #define FLD(f) abuf->fields.sfmt_stq_indirect_index_disp.f |
c906108c SS |
3001 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
3002 | const IDESC * UNUSED idesc = abuf->idesc; | |
3003 | int cycles = 0; | |
3004 | { | |
3005 | int referenced = 0; | |
3006 | int UNUSED insn_referenced = abuf->written; | |
3007 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
3008 | } | |
3009 | return cycles; | |
3010 | #undef FLD | |
3011 | } | |
3012 | ||
3013 | static int | |
3014 | model_i960KA_stob_offset (SIM_CPU *current_cpu, void *sem_arg) | |
3015 | { | |
96baa820 | 3016 | #define FLD(f) abuf->fields.sfmt_stq_indirect_offset.f |
c906108c SS |
3017 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
3018 | const IDESC * UNUSED idesc = abuf->idesc; | |
3019 | int cycles = 0; | |
3020 | { | |
3021 | int referenced = 0; | |
3022 | int UNUSED insn_referenced = abuf->written; | |
3023 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
3024 | } | |
3025 | return cycles; | |
3026 | #undef FLD | |
3027 | } | |
3028 | ||
3029 | static int | |
3030 | model_i960KA_stob_indirect_offset (SIM_CPU *current_cpu, void *sem_arg) | |
3031 | { | |
96baa820 | 3032 | #define FLD(f) abuf->fields.sfmt_stq_indirect_offset.f |
c906108c SS |
3033 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
3034 | const IDESC * UNUSED idesc = abuf->idesc; | |
3035 | int cycles = 0; | |
3036 | { | |
3037 | int referenced = 0; | |
3038 | int UNUSED insn_referenced = abuf->written; | |
3039 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
3040 | } | |
3041 | return cycles; | |
3042 | #undef FLD | |
3043 | } | |
3044 | ||
3045 | static int | |
3046 | model_i960KA_stob_indirect (SIM_CPU *current_cpu, void *sem_arg) | |
3047 | { | |
96baa820 | 3048 | #define FLD(f) abuf->fields.sfmt_stq_indirect_offset.f |
c906108c SS |
3049 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
3050 | const IDESC * UNUSED idesc = abuf->idesc; | |
3051 | int cycles = 0; | |
3052 | { | |
3053 | int referenced = 0; | |
3054 | int UNUSED insn_referenced = abuf->written; | |
3055 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
3056 | } | |
3057 | return cycles; | |
3058 | #undef FLD | |
3059 | } | |
3060 | ||
3061 | static int | |
3062 | model_i960KA_stob_indirect_index (SIM_CPU *current_cpu, void *sem_arg) | |
3063 | { | |
96baa820 | 3064 | #define FLD(f) abuf->fields.sfmt_stq_indirect_index_disp.f |
c906108c SS |
3065 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
3066 | const IDESC * UNUSED idesc = abuf->idesc; | |
3067 | int cycles = 0; | |
3068 | { | |
3069 | int referenced = 0; | |
3070 | int UNUSED insn_referenced = abuf->written; | |
3071 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
3072 | } | |
3073 | return cycles; | |
3074 | #undef FLD | |
3075 | } | |
3076 | ||
3077 | static int | |
3078 | model_i960KA_stob_disp (SIM_CPU *current_cpu, void *sem_arg) | |
3079 | { | |
96baa820 | 3080 | #define FLD(f) abuf->fields.sfmt_stq_indirect_index_disp.f |
c906108c SS |
3081 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
3082 | const IDESC * UNUSED idesc = abuf->idesc; | |
3083 | int cycles = 0; | |
3084 | { | |
3085 | int referenced = 0; | |
3086 | int UNUSED insn_referenced = abuf->written; | |
3087 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
3088 | } | |
3089 | return cycles; | |
3090 | #undef FLD | |
3091 | } | |
3092 | ||
3093 | static int | |
3094 | model_i960KA_stob_indirect_disp (SIM_CPU *current_cpu, void *sem_arg) | |
3095 | { | |
96baa820 | 3096 | #define FLD(f) abuf->fields.sfmt_stq_indirect_index_disp.f |
c906108c SS |
3097 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
3098 | const IDESC * UNUSED idesc = abuf->idesc; | |
3099 | int cycles = 0; | |
3100 | { | |
3101 | int referenced = 0; | |
3102 | int UNUSED insn_referenced = abuf->written; | |
3103 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
3104 | } | |
3105 | return cycles; | |
3106 | #undef FLD | |
3107 | } | |
3108 | ||
3109 | static int | |
3110 | model_i960KA_stob_index_disp (SIM_CPU *current_cpu, void *sem_arg) | |
3111 | { | |
96baa820 | 3112 | #define FLD(f) abuf->fields.sfmt_stq_indirect_index_disp.f |
c906108c SS |
3113 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
3114 | const IDESC * UNUSED idesc = abuf->idesc; | |
3115 | int cycles = 0; | |
3116 | { | |
3117 | int referenced = 0; | |
3118 | int UNUSED insn_referenced = abuf->written; | |
3119 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
3120 | } | |
3121 | return cycles; | |
3122 | #undef FLD | |
3123 | } | |
3124 | ||
3125 | static int | |
3126 | model_i960KA_stob_indirect_index_disp (SIM_CPU *current_cpu, void *sem_arg) | |
3127 | { | |
96baa820 | 3128 | #define FLD(f) abuf->fields.sfmt_stq_indirect_index_disp.f |
c906108c SS |
3129 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
3130 | const IDESC * UNUSED idesc = abuf->idesc; | |
3131 | int cycles = 0; | |
3132 | { | |
3133 | int referenced = 0; | |
3134 | int UNUSED insn_referenced = abuf->written; | |
3135 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
3136 | } | |
3137 | return cycles; | |
3138 | #undef FLD | |
3139 | } | |
3140 | ||
3141 | static int | |
3142 | model_i960KA_stos_offset (SIM_CPU *current_cpu, void *sem_arg) | |
3143 | { | |
96baa820 | 3144 | #define FLD(f) abuf->fields.sfmt_stq_indirect_offset.f |
c906108c SS |
3145 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
3146 | const IDESC * UNUSED idesc = abuf->idesc; | |
3147 | int cycles = 0; | |
3148 | { | |
3149 | int referenced = 0; | |
3150 | int UNUSED insn_referenced = abuf->written; | |
3151 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
3152 | } | |
3153 | return cycles; | |
3154 | #undef FLD | |
3155 | } | |
3156 | ||
3157 | static int | |
3158 | model_i960KA_stos_indirect_offset (SIM_CPU *current_cpu, void *sem_arg) | |
3159 | { | |
96baa820 | 3160 | #define FLD(f) abuf->fields.sfmt_stq_indirect_offset.f |
c906108c SS |
3161 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
3162 | const IDESC * UNUSED idesc = abuf->idesc; | |
3163 | int cycles = 0; | |
3164 | { | |
3165 | int referenced = 0; | |
3166 | int UNUSED insn_referenced = abuf->written; | |
3167 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
3168 | } | |
3169 | return cycles; | |
3170 | #undef FLD | |
3171 | } | |
3172 | ||
3173 | static int | |
3174 | model_i960KA_stos_indirect (SIM_CPU *current_cpu, void *sem_arg) | |
3175 | { | |
96baa820 | 3176 | #define FLD(f) abuf->fields.sfmt_stq_indirect_offset.f |
c906108c SS |
3177 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
3178 | const IDESC * UNUSED idesc = abuf->idesc; | |
3179 | int cycles = 0; | |
3180 | { | |
3181 | int referenced = 0; | |
3182 | int UNUSED insn_referenced = abuf->written; | |
3183 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
3184 | } | |
3185 | return cycles; | |
3186 | #undef FLD | |
3187 | } | |
3188 | ||
3189 | static int | |
3190 | model_i960KA_stos_indirect_index (SIM_CPU *current_cpu, void *sem_arg) | |
3191 | { | |
96baa820 | 3192 | #define FLD(f) abuf->fields.sfmt_stq_indirect_index_disp.f |
c906108c SS |
3193 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
3194 | const IDESC * UNUSED idesc = abuf->idesc; | |
3195 | int cycles = 0; | |
3196 | { | |
3197 | int referenced = 0; | |
3198 | int UNUSED insn_referenced = abuf->written; | |
3199 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
3200 | } | |
3201 | return cycles; | |
3202 | #undef FLD | |
3203 | } | |
3204 | ||
3205 | static int | |
3206 | model_i960KA_stos_disp (SIM_CPU *current_cpu, void *sem_arg) | |
3207 | { | |
96baa820 | 3208 | #define FLD(f) abuf->fields.sfmt_stq_indirect_index_disp.f |
c906108c SS |
3209 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
3210 | const IDESC * UNUSED idesc = abuf->idesc; | |
3211 | int cycles = 0; | |
3212 | { | |
3213 | int referenced = 0; | |
3214 | int UNUSED insn_referenced = abuf->written; | |
3215 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
3216 | } | |
3217 | return cycles; | |
3218 | #undef FLD | |
3219 | } | |
3220 | ||
3221 | static int | |
3222 | model_i960KA_stos_indirect_disp (SIM_CPU *current_cpu, void *sem_arg) | |
3223 | { | |
96baa820 | 3224 | #define FLD(f) abuf->fields.sfmt_stq_indirect_index_disp.f |
c906108c SS |
3225 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
3226 | const IDESC * UNUSED idesc = abuf->idesc; | |
3227 | int cycles = 0; | |
3228 | { | |
3229 | int referenced = 0; | |
3230 | int UNUSED insn_referenced = abuf->written; | |
3231 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
3232 | } | |
3233 | return cycles; | |
3234 | #undef FLD | |
3235 | } | |
3236 | ||
3237 | static int | |
3238 | model_i960KA_stos_index_disp (SIM_CPU *current_cpu, void *sem_arg) | |
3239 | { | |
96baa820 | 3240 | #define FLD(f) abuf->fields.sfmt_stq_indirect_index_disp.f |
c906108c SS |
3241 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
3242 | const IDESC * UNUSED idesc = abuf->idesc; | |
3243 | int cycles = 0; | |
3244 | { | |
3245 | int referenced = 0; | |
3246 | int UNUSED insn_referenced = abuf->written; | |
3247 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
3248 | } | |
3249 | return cycles; | |
3250 | #undef FLD | |
3251 | } | |
3252 | ||
3253 | static int | |
3254 | model_i960KA_stos_indirect_index_disp (SIM_CPU *current_cpu, void *sem_arg) | |
3255 | { | |
96baa820 | 3256 | #define FLD(f) abuf->fields.sfmt_stq_indirect_index_disp.f |
c906108c SS |
3257 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
3258 | const IDESC * UNUSED idesc = abuf->idesc; | |
3259 | int cycles = 0; | |
3260 | { | |
3261 | int referenced = 0; | |
3262 | int UNUSED insn_referenced = abuf->written; | |
3263 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
3264 | } | |
3265 | return cycles; | |
3266 | #undef FLD | |
3267 | } | |
3268 | ||
3269 | static int | |
3270 | model_i960KA_stl_offset (SIM_CPU *current_cpu, void *sem_arg) | |
3271 | { | |
96baa820 | 3272 | #define FLD(f) abuf->fields.sfmt_stq_indirect_offset.f |
c906108c SS |
3273 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
3274 | const IDESC * UNUSED idesc = abuf->idesc; | |
3275 | int cycles = 0; | |
3276 | { | |
3277 | int referenced = 0; | |
3278 | int UNUSED insn_referenced = abuf->written; | |
3279 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
3280 | } | |
3281 | return cycles; | |
3282 | #undef FLD | |
3283 | } | |
3284 | ||
3285 | static int | |
3286 | model_i960KA_stl_indirect_offset (SIM_CPU *current_cpu, void *sem_arg) | |
3287 | { | |
96baa820 | 3288 | #define FLD(f) abuf->fields.sfmt_stq_indirect_offset.f |
c906108c SS |
3289 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
3290 | const IDESC * UNUSED idesc = abuf->idesc; | |
3291 | int cycles = 0; | |
3292 | { | |
3293 | int referenced = 0; | |
3294 | int UNUSED insn_referenced = abuf->written; | |
3295 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
3296 | } | |
3297 | return cycles; | |
3298 | #undef FLD | |
3299 | } | |
3300 | ||
3301 | static int | |
3302 | model_i960KA_stl_indirect (SIM_CPU *current_cpu, void *sem_arg) | |
3303 | { | |
96baa820 | 3304 | #define FLD(f) abuf->fields.sfmt_stq_indirect_offset.f |
c906108c SS |
3305 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
3306 | const IDESC * UNUSED idesc = abuf->idesc; | |
3307 | int cycles = 0; | |
3308 | { | |
3309 | int referenced = 0; | |
3310 | int UNUSED insn_referenced = abuf->written; | |
3311 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
3312 | } | |
3313 | return cycles; | |
3314 | #undef FLD | |
3315 | } | |
3316 | ||
3317 | static int | |
3318 | model_i960KA_stl_indirect_index (SIM_CPU *current_cpu, void *sem_arg) | |
3319 | { | |
96baa820 | 3320 | #define FLD(f) abuf->fields.sfmt_stq_indirect_index_disp.f |
c906108c SS |
3321 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
3322 | const IDESC * UNUSED idesc = abuf->idesc; | |
3323 | int cycles = 0; | |
3324 | { | |
3325 | int referenced = 0; | |
3326 | int UNUSED insn_referenced = abuf->written; | |
3327 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
3328 | } | |
3329 | return cycles; | |
3330 | #undef FLD | |
3331 | } | |
3332 | ||
3333 | static int | |
3334 | model_i960KA_stl_disp (SIM_CPU *current_cpu, void *sem_arg) | |
3335 | { | |
96baa820 | 3336 | #define FLD(f) abuf->fields.sfmt_stq_indirect_index_disp.f |
c906108c SS |
3337 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
3338 | const IDESC * UNUSED idesc = abuf->idesc; | |
3339 | int cycles = 0; | |
3340 | { | |
3341 | int referenced = 0; | |
3342 | int UNUSED insn_referenced = abuf->written; | |
3343 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
3344 | } | |
3345 | return cycles; | |
3346 | #undef FLD | |
3347 | } | |
3348 | ||
3349 | static int | |
3350 | model_i960KA_stl_indirect_disp (SIM_CPU *current_cpu, void *sem_arg) | |
3351 | { | |
96baa820 | 3352 | #define FLD(f) abuf->fields.sfmt_stq_indirect_index_disp.f |
c906108c SS |
3353 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
3354 | const IDESC * UNUSED idesc = abuf->idesc; | |
3355 | int cycles = 0; | |
3356 | { | |
3357 | int referenced = 0; | |
3358 | int UNUSED insn_referenced = abuf->written; | |
3359 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
3360 | } | |
3361 | return cycles; | |
3362 | #undef FLD | |
3363 | } | |
3364 | ||
3365 | static int | |
3366 | model_i960KA_stl_index_disp (SIM_CPU *current_cpu, void *sem_arg) | |
3367 | { | |
96baa820 | 3368 | #define FLD(f) abuf->fields.sfmt_stq_indirect_index_disp.f |
c906108c SS |
3369 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
3370 | const IDESC * UNUSED idesc = abuf->idesc; | |
3371 | int cycles = 0; | |
3372 | { | |
3373 | int referenced = 0; | |
3374 | int UNUSED insn_referenced = abuf->written; | |
3375 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
3376 | } | |
3377 | return cycles; | |
3378 | #undef FLD | |
3379 | } | |
3380 | ||
3381 | static int | |
3382 | model_i960KA_stl_indirect_index_disp (SIM_CPU *current_cpu, void *sem_arg) | |
3383 | { | |
96baa820 | 3384 | #define FLD(f) abuf->fields.sfmt_stq_indirect_index_disp.f |
c906108c SS |
3385 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
3386 | const IDESC * UNUSED idesc = abuf->idesc; | |
3387 | int cycles = 0; | |
3388 | { | |
3389 | int referenced = 0; | |
3390 | int UNUSED insn_referenced = abuf->written; | |
3391 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
3392 | } | |
3393 | return cycles; | |
3394 | #undef FLD | |
3395 | } | |
3396 | ||
3397 | static int | |
3398 | model_i960KA_stt_offset (SIM_CPU *current_cpu, void *sem_arg) | |
3399 | { | |
96baa820 | 3400 | #define FLD(f) abuf->fields.sfmt_stq_indirect_offset.f |
c906108c SS |
3401 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
3402 | const IDESC * UNUSED idesc = abuf->idesc; | |
3403 | int cycles = 0; | |
3404 | { | |
3405 | int referenced = 0; | |
3406 | int UNUSED insn_referenced = abuf->written; | |
3407 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
3408 | } | |
3409 | return cycles; | |
3410 | #undef FLD | |
3411 | } | |
3412 | ||
3413 | static int | |
3414 | model_i960KA_stt_indirect_offset (SIM_CPU *current_cpu, void *sem_arg) | |
3415 | { | |
96baa820 | 3416 | #define FLD(f) abuf->fields.sfmt_stq_indirect_offset.f |
c906108c SS |
3417 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
3418 | const IDESC * UNUSED idesc = abuf->idesc; | |
3419 | int cycles = 0; | |
3420 | { | |
3421 | int referenced = 0; | |
3422 | int UNUSED insn_referenced = abuf->written; | |
3423 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
3424 | } | |
3425 | return cycles; | |
3426 | #undef FLD | |
3427 | } | |
3428 | ||
3429 | static int | |
3430 | model_i960KA_stt_indirect (SIM_CPU *current_cpu, void *sem_arg) | |
3431 | { | |
96baa820 | 3432 | #define FLD(f) abuf->fields.sfmt_stq_indirect_offset.f |
c906108c SS |
3433 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
3434 | const IDESC * UNUSED idesc = abuf->idesc; | |
3435 | int cycles = 0; | |
3436 | { | |
3437 | int referenced = 0; | |
3438 | int UNUSED insn_referenced = abuf->written; | |
3439 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
3440 | } | |
3441 | return cycles; | |
3442 | #undef FLD | |
3443 | } | |
3444 | ||
3445 | static int | |
3446 | model_i960KA_stt_indirect_index (SIM_CPU *current_cpu, void *sem_arg) | |
3447 | { | |
96baa820 | 3448 | #define FLD(f) abuf->fields.sfmt_stq_indirect_index_disp.f |
c906108c SS |
3449 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
3450 | const IDESC * UNUSED idesc = abuf->idesc; | |
3451 | int cycles = 0; | |
3452 | { | |
3453 | int referenced = 0; | |
3454 | int UNUSED insn_referenced = abuf->written; | |
3455 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
3456 | } | |
3457 | return cycles; | |
3458 | #undef FLD | |
3459 | } | |
3460 | ||
3461 | static int | |
3462 | model_i960KA_stt_disp (SIM_CPU *current_cpu, void *sem_arg) | |
3463 | { | |
96baa820 | 3464 | #define FLD(f) abuf->fields.sfmt_stq_indirect_index_disp.f |
c906108c SS |
3465 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
3466 | const IDESC * UNUSED idesc = abuf->idesc; | |
3467 | int cycles = 0; | |
3468 | { | |
3469 | int referenced = 0; | |
3470 | int UNUSED insn_referenced = abuf->written; | |
3471 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
3472 | } | |
3473 | return cycles; | |
3474 | #undef FLD | |
3475 | } | |
3476 | ||
3477 | static int | |
3478 | model_i960KA_stt_indirect_disp (SIM_CPU *current_cpu, void *sem_arg) | |
3479 | { | |
96baa820 | 3480 | #define FLD(f) abuf->fields.sfmt_stq_indirect_index_disp.f |
c906108c SS |
3481 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
3482 | const IDESC * UNUSED idesc = abuf->idesc; | |
3483 | int cycles = 0; | |
3484 | { | |
3485 | int referenced = 0; | |
3486 | int UNUSED insn_referenced = abuf->written; | |
3487 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
3488 | } | |
3489 | return cycles; | |
3490 | #undef FLD | |
3491 | } | |
3492 | ||
3493 | static int | |
3494 | model_i960KA_stt_index_disp (SIM_CPU *current_cpu, void *sem_arg) | |
3495 | { | |
96baa820 | 3496 | #define FLD(f) abuf->fields.sfmt_stq_indirect_index_disp.f |
c906108c SS |
3497 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
3498 | const IDESC * UNUSED idesc = abuf->idesc; | |
3499 | int cycles = 0; | |
3500 | { | |
3501 | int referenced = 0; | |
3502 | int UNUSED insn_referenced = abuf->written; | |
3503 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
3504 | } | |
3505 | return cycles; | |
3506 | #undef FLD | |
3507 | } | |
3508 | ||
3509 | static int | |
3510 | model_i960KA_stt_indirect_index_disp (SIM_CPU *current_cpu, void *sem_arg) | |
3511 | { | |
96baa820 | 3512 | #define FLD(f) abuf->fields.sfmt_stq_indirect_index_disp.f |
c906108c SS |
3513 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
3514 | const IDESC * UNUSED idesc = abuf->idesc; | |
3515 | int cycles = 0; | |
3516 | { | |
3517 | int referenced = 0; | |
3518 | int UNUSED insn_referenced = abuf->written; | |
3519 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
3520 | } | |
3521 | return cycles; | |
3522 | #undef FLD | |
3523 | } | |
3524 | ||
3525 | static int | |
3526 | model_i960KA_stq_offset (SIM_CPU *current_cpu, void *sem_arg) | |
3527 | { | |
96baa820 | 3528 | #define FLD(f) abuf->fields.sfmt_stq_indirect_offset.f |
c906108c SS |
3529 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
3530 | const IDESC * UNUSED idesc = abuf->idesc; | |
3531 | int cycles = 0; | |
3532 | { | |
3533 | int referenced = 0; | |
3534 | int UNUSED insn_referenced = abuf->written; | |
3535 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
3536 | } | |
3537 | return cycles; | |
3538 | #undef FLD | |
3539 | } | |
3540 | ||
3541 | static int | |
3542 | model_i960KA_stq_indirect_offset (SIM_CPU *current_cpu, void *sem_arg) | |
3543 | { | |
96baa820 | 3544 | #define FLD(f) abuf->fields.sfmt_stq_indirect_offset.f |
c906108c SS |
3545 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
3546 | const IDESC * UNUSED idesc = abuf->idesc; | |
3547 | int cycles = 0; | |
3548 | { | |
3549 | int referenced = 0; | |
3550 | int UNUSED insn_referenced = abuf->written; | |
3551 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
3552 | } | |
3553 | return cycles; | |
3554 | #undef FLD | |
3555 | } | |
3556 | ||
3557 | static int | |
3558 | model_i960KA_stq_indirect (SIM_CPU *current_cpu, void *sem_arg) | |
3559 | { | |
96baa820 | 3560 | #define FLD(f) abuf->fields.sfmt_stq_indirect_offset.f |
c906108c SS |
3561 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
3562 | const IDESC * UNUSED idesc = abuf->idesc; | |
3563 | int cycles = 0; | |
3564 | { | |
3565 | int referenced = 0; | |
3566 | int UNUSED insn_referenced = abuf->written; | |
3567 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
3568 | } | |
3569 | return cycles; | |
3570 | #undef FLD | |
3571 | } | |
3572 | ||
3573 | static int | |
3574 | model_i960KA_stq_indirect_index (SIM_CPU *current_cpu, void *sem_arg) | |
3575 | { | |
96baa820 | 3576 | #define FLD(f) abuf->fields.sfmt_stq_indirect_index_disp.f |
c906108c SS |
3577 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
3578 | const IDESC * UNUSED idesc = abuf->idesc; | |
3579 | int cycles = 0; | |
3580 | { | |
3581 | int referenced = 0; | |
3582 | int UNUSED insn_referenced = abuf->written; | |
3583 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
3584 | } | |
3585 | return cycles; | |
3586 | #undef FLD | |
3587 | } | |
3588 | ||
3589 | static int | |
3590 | model_i960KA_stq_disp (SIM_CPU *current_cpu, void *sem_arg) | |
3591 | { | |
96baa820 | 3592 | #define FLD(f) abuf->fields.sfmt_stq_indirect_index_disp.f |
c906108c SS |
3593 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
3594 | const IDESC * UNUSED idesc = abuf->idesc; | |
3595 | int cycles = 0; | |
3596 | { | |
3597 | int referenced = 0; | |
3598 | int UNUSED insn_referenced = abuf->written; | |
3599 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
3600 | } | |
3601 | return cycles; | |
3602 | #undef FLD | |
3603 | } | |
3604 | ||
3605 | static int | |
3606 | model_i960KA_stq_indirect_disp (SIM_CPU *current_cpu, void *sem_arg) | |
3607 | { | |
96baa820 | 3608 | #define FLD(f) abuf->fields.sfmt_stq_indirect_index_disp.f |
c906108c SS |
3609 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
3610 | const IDESC * UNUSED idesc = abuf->idesc; | |
3611 | int cycles = 0; | |
3612 | { | |
3613 | int referenced = 0; | |
3614 | int UNUSED insn_referenced = abuf->written; | |
3615 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
3616 | } | |
3617 | return cycles; | |
3618 | #undef FLD | |
3619 | } | |
3620 | ||
3621 | static int | |
3622 | model_i960KA_stq_index_disp (SIM_CPU *current_cpu, void *sem_arg) | |
3623 | { | |
96baa820 | 3624 | #define FLD(f) abuf->fields.sfmt_stq_indirect_index_disp.f |
c906108c SS |
3625 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
3626 | const IDESC * UNUSED idesc = abuf->idesc; | |
3627 | int cycles = 0; | |
3628 | { | |
3629 | int referenced = 0; | |
3630 | int UNUSED insn_referenced = abuf->written; | |
3631 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
3632 | } | |
3633 | return cycles; | |
3634 | #undef FLD | |
3635 | } | |
3636 | ||
3637 | static int | |
3638 | model_i960KA_stq_indirect_index_disp (SIM_CPU *current_cpu, void *sem_arg) | |
3639 | { | |
96baa820 | 3640 | #define FLD(f) abuf->fields.sfmt_stq_indirect_index_disp.f |
c906108c SS |
3641 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
3642 | const IDESC * UNUSED idesc = abuf->idesc; | |
3643 | int cycles = 0; | |
3644 | { | |
3645 | int referenced = 0; | |
3646 | int UNUSED insn_referenced = abuf->written; | |
3647 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
3648 | } | |
3649 | return cycles; | |
3650 | #undef FLD | |
3651 | } | |
3652 | ||
3653 | static int | |
3654 | model_i960KA_cmpobe_reg (SIM_CPU *current_cpu, void *sem_arg) | |
3655 | { | |
96baa820 | 3656 | #define FLD(f) abuf->fields.sfmt_cmpobe_reg.f |
c906108c SS |
3657 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
3658 | const IDESC * UNUSED idesc = abuf->idesc; | |
3659 | int cycles = 0; | |
3660 | { | |
3661 | int referenced = 0; | |
3662 | int UNUSED insn_referenced = abuf->written; | |
3663 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
3664 | } | |
3665 | return cycles; | |
3666 | #undef FLD | |
3667 | } | |
3668 | ||
3669 | static int | |
3670 | model_i960KA_cmpobe_lit (SIM_CPU *current_cpu, void *sem_arg) | |
3671 | { | |
96baa820 | 3672 | #define FLD(f) abuf->fields.sfmt_cmpobe_lit.f |
c906108c SS |
3673 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
3674 | const IDESC * UNUSED idesc = abuf->idesc; | |
3675 | int cycles = 0; | |
3676 | { | |
3677 | int referenced = 0; | |
3678 | int UNUSED insn_referenced = abuf->written; | |
3679 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
3680 | } | |
3681 | return cycles; | |
3682 | #undef FLD | |
3683 | } | |
3684 | ||
3685 | static int | |
3686 | model_i960KA_cmpobne_reg (SIM_CPU *current_cpu, void *sem_arg) | |
3687 | { | |
96baa820 | 3688 | #define FLD(f) abuf->fields.sfmt_cmpobe_reg.f |
c906108c SS |
3689 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
3690 | const IDESC * UNUSED idesc = abuf->idesc; | |
3691 | int cycles = 0; | |
3692 | { | |
3693 | int referenced = 0; | |
3694 | int UNUSED insn_referenced = abuf->written; | |
3695 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
3696 | } | |
3697 | return cycles; | |
3698 | #undef FLD | |
3699 | } | |
3700 | ||
3701 | static int | |
3702 | model_i960KA_cmpobne_lit (SIM_CPU *current_cpu, void *sem_arg) | |
3703 | { | |
96baa820 | 3704 | #define FLD(f) abuf->fields.sfmt_cmpobe_lit.f |
c906108c SS |
3705 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
3706 | const IDESC * UNUSED idesc = abuf->idesc; | |
3707 | int cycles = 0; | |
3708 | { | |
3709 | int referenced = 0; | |
3710 | int UNUSED insn_referenced = abuf->written; | |
3711 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
3712 | } | |
3713 | return cycles; | |
3714 | #undef FLD | |
3715 | } | |
3716 | ||
3717 | static int | |
3718 | model_i960KA_cmpobl_reg (SIM_CPU *current_cpu, void *sem_arg) | |
3719 | { | |
96baa820 | 3720 | #define FLD(f) abuf->fields.sfmt_cmpobe_reg.f |
c906108c SS |
3721 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
3722 | const IDESC * UNUSED idesc = abuf->idesc; | |
3723 | int cycles = 0; | |
3724 | { | |
3725 | int referenced = 0; | |
3726 | int UNUSED insn_referenced = abuf->written; | |
3727 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
3728 | } | |
3729 | return cycles; | |
3730 | #undef FLD | |
3731 | } | |
3732 | ||
3733 | static int | |
3734 | model_i960KA_cmpobl_lit (SIM_CPU *current_cpu, void *sem_arg) | |
3735 | { | |
96baa820 | 3736 | #define FLD(f) abuf->fields.sfmt_cmpobe_lit.f |
c906108c SS |
3737 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
3738 | const IDESC * UNUSED idesc = abuf->idesc; | |
3739 | int cycles = 0; | |
3740 | { | |
3741 | int referenced = 0; | |
3742 | int UNUSED insn_referenced = abuf->written; | |
3743 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
3744 | } | |
3745 | return cycles; | |
3746 | #undef FLD | |
3747 | } | |
3748 | ||
3749 | static int | |
3750 | model_i960KA_cmpoble_reg (SIM_CPU *current_cpu, void *sem_arg) | |
3751 | { | |
96baa820 | 3752 | #define FLD(f) abuf->fields.sfmt_cmpobe_reg.f |
c906108c SS |
3753 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
3754 | const IDESC * UNUSED idesc = abuf->idesc; | |
3755 | int cycles = 0; | |
3756 | { | |
3757 | int referenced = 0; | |
3758 | int UNUSED insn_referenced = abuf->written; | |
3759 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
3760 | } | |
3761 | return cycles; | |
3762 | #undef FLD | |
3763 | } | |
3764 | ||
3765 | static int | |
3766 | model_i960KA_cmpoble_lit (SIM_CPU *current_cpu, void *sem_arg) | |
3767 | { | |
96baa820 | 3768 | #define FLD(f) abuf->fields.sfmt_cmpobe_lit.f |
c906108c SS |
3769 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
3770 | const IDESC * UNUSED idesc = abuf->idesc; | |
3771 | int cycles = 0; | |
3772 | { | |
3773 | int referenced = 0; | |
3774 | int UNUSED insn_referenced = abuf->written; | |
3775 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
3776 | } | |
3777 | return cycles; | |
3778 | #undef FLD | |
3779 | } | |
3780 | ||
3781 | static int | |
3782 | model_i960KA_cmpobg_reg (SIM_CPU *current_cpu, void *sem_arg) | |
3783 | { | |
96baa820 | 3784 | #define FLD(f) abuf->fields.sfmt_cmpobe_reg.f |
c906108c SS |
3785 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
3786 | const IDESC * UNUSED idesc = abuf->idesc; | |
3787 | int cycles = 0; | |
3788 | { | |
3789 | int referenced = 0; | |
3790 | int UNUSED insn_referenced = abuf->written; | |
3791 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
3792 | } | |
3793 | return cycles; | |
3794 | #undef FLD | |
3795 | } | |
3796 | ||
3797 | static int | |
3798 | model_i960KA_cmpobg_lit (SIM_CPU *current_cpu, void *sem_arg) | |
3799 | { | |
96baa820 | 3800 | #define FLD(f) abuf->fields.sfmt_cmpobe_lit.f |
c906108c SS |
3801 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
3802 | const IDESC * UNUSED idesc = abuf->idesc; | |
3803 | int cycles = 0; | |
3804 | { | |
3805 | int referenced = 0; | |
3806 | int UNUSED insn_referenced = abuf->written; | |
3807 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
3808 | } | |
3809 | return cycles; | |
3810 | #undef FLD | |
3811 | } | |
3812 | ||
3813 | static int | |
3814 | model_i960KA_cmpobge_reg (SIM_CPU *current_cpu, void *sem_arg) | |
3815 | { | |
96baa820 | 3816 | #define FLD(f) abuf->fields.sfmt_cmpobe_reg.f |
c906108c SS |
3817 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
3818 | const IDESC * UNUSED idesc = abuf->idesc; | |
3819 | int cycles = 0; | |
3820 | { | |
3821 | int referenced = 0; | |
3822 | int UNUSED insn_referenced = abuf->written; | |
3823 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
3824 | } | |
3825 | return cycles; | |
3826 | #undef FLD | |
3827 | } | |
3828 | ||
3829 | static int | |
3830 | model_i960KA_cmpobge_lit (SIM_CPU *current_cpu, void *sem_arg) | |
3831 | { | |
96baa820 | 3832 | #define FLD(f) abuf->fields.sfmt_cmpobe_lit.f |
c906108c SS |
3833 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
3834 | const IDESC * UNUSED idesc = abuf->idesc; | |
3835 | int cycles = 0; | |
3836 | { | |
3837 | int referenced = 0; | |
3838 | int UNUSED insn_referenced = abuf->written; | |
3839 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
3840 | } | |
3841 | return cycles; | |
3842 | #undef FLD | |
3843 | } | |
3844 | ||
3845 | static int | |
3846 | model_i960KA_cmpibe_reg (SIM_CPU *current_cpu, void *sem_arg) | |
3847 | { | |
96baa820 | 3848 | #define FLD(f) abuf->fields.sfmt_cmpobe_reg.f |
c906108c SS |
3849 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
3850 | const IDESC * UNUSED idesc = abuf->idesc; | |
3851 | int cycles = 0; | |
3852 | { | |
3853 | int referenced = 0; | |
3854 | int UNUSED insn_referenced = abuf->written; | |
3855 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
3856 | } | |
3857 | return cycles; | |
3858 | #undef FLD | |
3859 | } | |
3860 | ||
3861 | static int | |
3862 | model_i960KA_cmpibe_lit (SIM_CPU *current_cpu, void *sem_arg) | |
3863 | { | |
96baa820 | 3864 | #define FLD(f) abuf->fields.sfmt_cmpobe_lit.f |
c906108c SS |
3865 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
3866 | const IDESC * UNUSED idesc = abuf->idesc; | |
3867 | int cycles = 0; | |
3868 | { | |
3869 | int referenced = 0; | |
3870 | int UNUSED insn_referenced = abuf->written; | |
3871 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
3872 | } | |
3873 | return cycles; | |
3874 | #undef FLD | |
3875 | } | |
3876 | ||
3877 | static int | |
3878 | model_i960KA_cmpibne_reg (SIM_CPU *current_cpu, void *sem_arg) | |
3879 | { | |
96baa820 | 3880 | #define FLD(f) abuf->fields.sfmt_cmpobe_reg.f |
c906108c SS |
3881 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
3882 | const IDESC * UNUSED idesc = abuf->idesc; | |
3883 | int cycles = 0; | |
3884 | { | |
3885 | int referenced = 0; | |
3886 | int UNUSED insn_referenced = abuf->written; | |
3887 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
3888 | } | |
3889 | return cycles; | |
3890 | #undef FLD | |
3891 | } | |
3892 | ||
3893 | static int | |
3894 | model_i960KA_cmpibne_lit (SIM_CPU *current_cpu, void *sem_arg) | |
3895 | { | |
96baa820 | 3896 | #define FLD(f) abuf->fields.sfmt_cmpobe_lit.f |
c906108c SS |
3897 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
3898 | const IDESC * UNUSED idesc = abuf->idesc; | |
3899 | int cycles = 0; | |
3900 | { | |
3901 | int referenced = 0; | |
3902 | int UNUSED insn_referenced = abuf->written; | |
3903 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
3904 | } | |
3905 | return cycles; | |
3906 | #undef FLD | |
3907 | } | |
3908 | ||
3909 | static int | |
3910 | model_i960KA_cmpibl_reg (SIM_CPU *current_cpu, void *sem_arg) | |
3911 | { | |
96baa820 | 3912 | #define FLD(f) abuf->fields.sfmt_cmpobe_reg.f |
c906108c SS |
3913 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
3914 | const IDESC * UNUSED idesc = abuf->idesc; | |
3915 | int cycles = 0; | |
3916 | { | |
3917 | int referenced = 0; | |
3918 | int UNUSED insn_referenced = abuf->written; | |
3919 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
3920 | } | |
3921 | return cycles; | |
3922 | #undef FLD | |
3923 | } | |
3924 | ||
3925 | static int | |
3926 | model_i960KA_cmpibl_lit (SIM_CPU *current_cpu, void *sem_arg) | |
3927 | { | |
96baa820 | 3928 | #define FLD(f) abuf->fields.sfmt_cmpobe_lit.f |
c906108c SS |
3929 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
3930 | const IDESC * UNUSED idesc = abuf->idesc; | |
3931 | int cycles = 0; | |
3932 | { | |
3933 | int referenced = 0; | |
3934 | int UNUSED insn_referenced = abuf->written; | |
3935 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
3936 | } | |
3937 | return cycles; | |
3938 | #undef FLD | |
3939 | } | |
3940 | ||
3941 | static int | |
3942 | model_i960KA_cmpible_reg (SIM_CPU *current_cpu, void *sem_arg) | |
3943 | { | |
96baa820 | 3944 | #define FLD(f) abuf->fields.sfmt_cmpobe_reg.f |
c906108c SS |
3945 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
3946 | const IDESC * UNUSED idesc = abuf->idesc; | |
3947 | int cycles = 0; | |
3948 | { | |
3949 | int referenced = 0; | |
3950 | int UNUSED insn_referenced = abuf->written; | |
3951 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
3952 | } | |
3953 | return cycles; | |
3954 | #undef FLD | |
3955 | } | |
3956 | ||
3957 | static int | |
3958 | model_i960KA_cmpible_lit (SIM_CPU *current_cpu, void *sem_arg) | |
3959 | { | |
96baa820 | 3960 | #define FLD(f) abuf->fields.sfmt_cmpobe_lit.f |
c906108c SS |
3961 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
3962 | const IDESC * UNUSED idesc = abuf->idesc; | |
3963 | int cycles = 0; | |
3964 | { | |
3965 | int referenced = 0; | |
3966 | int UNUSED insn_referenced = abuf->written; | |
3967 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
3968 | } | |
3969 | return cycles; | |
3970 | #undef FLD | |
3971 | } | |
3972 | ||
3973 | static int | |
3974 | model_i960KA_cmpibg_reg (SIM_CPU *current_cpu, void *sem_arg) | |
3975 | { | |
96baa820 | 3976 | #define FLD(f) abuf->fields.sfmt_cmpobe_reg.f |
c906108c SS |
3977 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
3978 | const IDESC * UNUSED idesc = abuf->idesc; | |
3979 | int cycles = 0; | |
3980 | { | |
3981 | int referenced = 0; | |
3982 | int UNUSED insn_referenced = abuf->written; | |
3983 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
3984 | } | |
3985 | return cycles; | |
3986 | #undef FLD | |
3987 | } | |
3988 | ||
3989 | static int | |
3990 | model_i960KA_cmpibg_lit (SIM_CPU *current_cpu, void *sem_arg) | |
3991 | { | |
96baa820 | 3992 | #define FLD(f) abuf->fields.sfmt_cmpobe_lit.f |
c906108c SS |
3993 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
3994 | const IDESC * UNUSED idesc = abuf->idesc; | |
3995 | int cycles = 0; | |
3996 | { | |
3997 | int referenced = 0; | |
3998 | int UNUSED insn_referenced = abuf->written; | |
3999 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
4000 | } | |
4001 | return cycles; | |
4002 | #undef FLD | |
4003 | } | |
4004 | ||
4005 | static int | |
4006 | model_i960KA_cmpibge_reg (SIM_CPU *current_cpu, void *sem_arg) | |
4007 | { | |
96baa820 | 4008 | #define FLD(f) abuf->fields.sfmt_cmpobe_reg.f |
c906108c SS |
4009 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
4010 | const IDESC * UNUSED idesc = abuf->idesc; | |
4011 | int cycles = 0; | |
4012 | { | |
4013 | int referenced = 0; | |
4014 | int UNUSED insn_referenced = abuf->written; | |
4015 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
4016 | } | |
4017 | return cycles; | |
4018 | #undef FLD | |
4019 | } | |
4020 | ||
4021 | static int | |
4022 | model_i960KA_cmpibge_lit (SIM_CPU *current_cpu, void *sem_arg) | |
4023 | { | |
96baa820 | 4024 | #define FLD(f) abuf->fields.sfmt_cmpobe_lit.f |
c906108c SS |
4025 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
4026 | const IDESC * UNUSED idesc = abuf->idesc; | |
4027 | int cycles = 0; | |
4028 | { | |
4029 | int referenced = 0; | |
4030 | int UNUSED insn_referenced = abuf->written; | |
4031 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
4032 | } | |
4033 | return cycles; | |
4034 | #undef FLD | |
4035 | } | |
4036 | ||
4037 | static int | |
4038 | model_i960KA_bbc_reg (SIM_CPU *current_cpu, void *sem_arg) | |
4039 | { | |
96baa820 | 4040 | #define FLD(f) abuf->fields.sfmt_cmpobe_reg.f |
c906108c SS |
4041 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
4042 | const IDESC * UNUSED idesc = abuf->idesc; | |
4043 | int cycles = 0; | |
4044 | { | |
4045 | int referenced = 0; | |
4046 | int UNUSED insn_referenced = abuf->written; | |
4047 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
4048 | } | |
4049 | return cycles; | |
4050 | #undef FLD | |
4051 | } | |
4052 | ||
4053 | static int | |
4054 | model_i960KA_bbc_lit (SIM_CPU *current_cpu, void *sem_arg) | |
4055 | { | |
96baa820 | 4056 | #define FLD(f) abuf->fields.sfmt_cmpobe_lit.f |
c906108c SS |
4057 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
4058 | const IDESC * UNUSED idesc = abuf->idesc; | |
4059 | int cycles = 0; | |
4060 | { | |
4061 | int referenced = 0; | |
4062 | int UNUSED insn_referenced = abuf->written; | |
4063 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
4064 | } | |
4065 | return cycles; | |
4066 | #undef FLD | |
4067 | } | |
4068 | ||
4069 | static int | |
4070 | model_i960KA_bbs_reg (SIM_CPU *current_cpu, void *sem_arg) | |
4071 | { | |
96baa820 | 4072 | #define FLD(f) abuf->fields.sfmt_cmpobe_reg.f |
c906108c SS |
4073 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
4074 | const IDESC * UNUSED idesc = abuf->idesc; | |
4075 | int cycles = 0; | |
4076 | { | |
4077 | int referenced = 0; | |
4078 | int UNUSED insn_referenced = abuf->written; | |
4079 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
4080 | } | |
4081 | return cycles; | |
4082 | #undef FLD | |
4083 | } | |
4084 | ||
4085 | static int | |
4086 | model_i960KA_bbs_lit (SIM_CPU *current_cpu, void *sem_arg) | |
4087 | { | |
96baa820 | 4088 | #define FLD(f) abuf->fields.sfmt_cmpobe_lit.f |
c906108c SS |
4089 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
4090 | const IDESC * UNUSED idesc = abuf->idesc; | |
4091 | int cycles = 0; | |
4092 | { | |
4093 | int referenced = 0; | |
4094 | int UNUSED insn_referenced = abuf->written; | |
4095 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
4096 | } | |
4097 | return cycles; | |
4098 | #undef FLD | |
4099 | } | |
4100 | ||
4101 | static int | |
4102 | model_i960KA_cmpi (SIM_CPU *current_cpu, void *sem_arg) | |
4103 | { | |
96baa820 | 4104 | #define FLD(f) abuf->fields.sfmt_emul.f |
c906108c SS |
4105 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
4106 | const IDESC * UNUSED idesc = abuf->idesc; | |
4107 | int cycles = 0; | |
4108 | { | |
4109 | int referenced = 0; | |
4110 | int UNUSED insn_referenced = abuf->written; | |
4111 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
4112 | } | |
4113 | return cycles; | |
4114 | #undef FLD | |
4115 | } | |
4116 | ||
4117 | static int | |
4118 | model_i960KA_cmpi1 (SIM_CPU *current_cpu, void *sem_arg) | |
4119 | { | |
96baa820 | 4120 | #define FLD(f) abuf->fields.sfmt_emul1.f |
c906108c SS |
4121 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
4122 | const IDESC * UNUSED idesc = abuf->idesc; | |
4123 | int cycles = 0; | |
4124 | { | |
4125 | int referenced = 0; | |
4126 | int UNUSED insn_referenced = abuf->written; | |
4127 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
4128 | } | |
4129 | return cycles; | |
4130 | #undef FLD | |
4131 | } | |
4132 | ||
4133 | static int | |
4134 | model_i960KA_cmpi2 (SIM_CPU *current_cpu, void *sem_arg) | |
4135 | { | |
96baa820 | 4136 | #define FLD(f) abuf->fields.sfmt_emul2.f |
c906108c SS |
4137 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
4138 | const IDESC * UNUSED idesc = abuf->idesc; | |
4139 | int cycles = 0; | |
4140 | { | |
4141 | int referenced = 0; | |
4142 | int UNUSED insn_referenced = abuf->written; | |
4143 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
4144 | } | |
4145 | return cycles; | |
4146 | #undef FLD | |
4147 | } | |
4148 | ||
4149 | static int | |
4150 | model_i960KA_cmpi3 (SIM_CPU *current_cpu, void *sem_arg) | |
4151 | { | |
96baa820 | 4152 | #define FLD(f) abuf->fields.sfmt_emul3.f |
c906108c SS |
4153 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
4154 | const IDESC * UNUSED idesc = abuf->idesc; | |
4155 | int cycles = 0; | |
4156 | { | |
4157 | int referenced = 0; | |
4158 | int UNUSED insn_referenced = abuf->written; | |
4159 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
4160 | } | |
4161 | return cycles; | |
4162 | #undef FLD | |
4163 | } | |
4164 | ||
4165 | static int | |
4166 | model_i960KA_cmpo (SIM_CPU *current_cpu, void *sem_arg) | |
4167 | { | |
96baa820 | 4168 | #define FLD(f) abuf->fields.sfmt_emul.f |
c906108c SS |
4169 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
4170 | const IDESC * UNUSED idesc = abuf->idesc; | |
4171 | int cycles = 0; | |
4172 | { | |
4173 | int referenced = 0; | |
4174 | int UNUSED insn_referenced = abuf->written; | |
4175 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
4176 | } | |
4177 | return cycles; | |
4178 | #undef FLD | |
4179 | } | |
4180 | ||
4181 | static int | |
4182 | model_i960KA_cmpo1 (SIM_CPU *current_cpu, void *sem_arg) | |
4183 | { | |
96baa820 | 4184 | #define FLD(f) abuf->fields.sfmt_emul1.f |
c906108c SS |
4185 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
4186 | const IDESC * UNUSED idesc = abuf->idesc; | |
4187 | int cycles = 0; | |
4188 | { | |
4189 | int referenced = 0; | |
4190 | int UNUSED insn_referenced = abuf->written; | |
4191 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
4192 | } | |
4193 | return cycles; | |
4194 | #undef FLD | |
4195 | } | |
4196 | ||
4197 | static int | |
4198 | model_i960KA_cmpo2 (SIM_CPU *current_cpu, void *sem_arg) | |
4199 | { | |
96baa820 | 4200 | #define FLD(f) abuf->fields.sfmt_emul2.f |
c906108c SS |
4201 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
4202 | const IDESC * UNUSED idesc = abuf->idesc; | |
4203 | int cycles = 0; | |
4204 | { | |
4205 | int referenced = 0; | |
4206 | int UNUSED insn_referenced = abuf->written; | |
4207 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
4208 | } | |
4209 | return cycles; | |
4210 | #undef FLD | |
4211 | } | |
4212 | ||
4213 | static int | |
4214 | model_i960KA_cmpo3 (SIM_CPU *current_cpu, void *sem_arg) | |
4215 | { | |
96baa820 | 4216 | #define FLD(f) abuf->fields.sfmt_emul3.f |
c906108c SS |
4217 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
4218 | const IDESC * UNUSED idesc = abuf->idesc; | |
4219 | int cycles = 0; | |
4220 | { | |
4221 | int referenced = 0; | |
4222 | int UNUSED insn_referenced = abuf->written; | |
4223 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
4224 | } | |
4225 | return cycles; | |
4226 | #undef FLD | |
4227 | } | |
4228 | ||
4229 | static int | |
4230 | model_i960KA_testno_reg (SIM_CPU *current_cpu, void *sem_arg) | |
4231 | { | |
96baa820 | 4232 | #define FLD(f) abuf->fields.sfmt_testno_reg.f |
c906108c SS |
4233 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
4234 | const IDESC * UNUSED idesc = abuf->idesc; | |
4235 | int cycles = 0; | |
4236 | { | |
4237 | int referenced = 0; | |
4238 | int UNUSED insn_referenced = abuf->written; | |
4239 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
4240 | } | |
4241 | return cycles; | |
4242 | #undef FLD | |
4243 | } | |
4244 | ||
4245 | static int | |
4246 | model_i960KA_testg_reg (SIM_CPU *current_cpu, void *sem_arg) | |
4247 | { | |
96baa820 | 4248 | #define FLD(f) abuf->fields.sfmt_testno_reg.f |
c906108c SS |
4249 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
4250 | const IDESC * UNUSED idesc = abuf->idesc; | |
4251 | int cycles = 0; | |
4252 | { | |
4253 | int referenced = 0; | |
4254 | int UNUSED insn_referenced = abuf->written; | |
4255 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
4256 | } | |
4257 | return cycles; | |
4258 | #undef FLD | |
4259 | } | |
4260 | ||
4261 | static int | |
4262 | model_i960KA_teste_reg (SIM_CPU *current_cpu, void *sem_arg) | |
4263 | { | |
96baa820 | 4264 | #define FLD(f) abuf->fields.sfmt_testno_reg.f |
c906108c SS |
4265 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
4266 | const IDESC * UNUSED idesc = abuf->idesc; | |
4267 | int cycles = 0; | |
4268 | { | |
4269 | int referenced = 0; | |
4270 | int UNUSED insn_referenced = abuf->written; | |
4271 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
4272 | } | |
4273 | return cycles; | |
4274 | #undef FLD | |
4275 | } | |
4276 | ||
4277 | static int | |
4278 | model_i960KA_testge_reg (SIM_CPU *current_cpu, void *sem_arg) | |
4279 | { | |
96baa820 | 4280 | #define FLD(f) abuf->fields.sfmt_testno_reg.f |
c906108c SS |
4281 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
4282 | const IDESC * UNUSED idesc = abuf->idesc; | |
4283 | int cycles = 0; | |
4284 | { | |
4285 | int referenced = 0; | |
4286 | int UNUSED insn_referenced = abuf->written; | |
4287 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
4288 | } | |
4289 | return cycles; | |
4290 | #undef FLD | |
4291 | } | |
4292 | ||
4293 | static int | |
4294 | model_i960KA_testl_reg (SIM_CPU *current_cpu, void *sem_arg) | |
4295 | { | |
96baa820 | 4296 | #define FLD(f) abuf->fields.sfmt_testno_reg.f |
c906108c SS |
4297 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
4298 | const IDESC * UNUSED idesc = abuf->idesc; | |
4299 | int cycles = 0; | |
4300 | { | |
4301 | int referenced = 0; | |
4302 | int UNUSED insn_referenced = abuf->written; | |
4303 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
4304 | } | |
4305 | return cycles; | |
4306 | #undef FLD | |
4307 | } | |
4308 | ||
4309 | static int | |
4310 | model_i960KA_testne_reg (SIM_CPU *current_cpu, void *sem_arg) | |
4311 | { | |
96baa820 | 4312 | #define FLD(f) abuf->fields.sfmt_testno_reg.f |
c906108c SS |
4313 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
4314 | const IDESC * UNUSED idesc = abuf->idesc; | |
4315 | int cycles = 0; | |
4316 | { | |
4317 | int referenced = 0; | |
4318 | int UNUSED insn_referenced = abuf->written; | |
4319 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
4320 | } | |
4321 | return cycles; | |
4322 | #undef FLD | |
4323 | } | |
4324 | ||
4325 | static int | |
4326 | model_i960KA_testle_reg (SIM_CPU *current_cpu, void *sem_arg) | |
4327 | { | |
96baa820 | 4328 | #define FLD(f) abuf->fields.sfmt_testno_reg.f |
c906108c SS |
4329 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
4330 | const IDESC * UNUSED idesc = abuf->idesc; | |
4331 | int cycles = 0; | |
4332 | { | |
4333 | int referenced = 0; | |
4334 | int UNUSED insn_referenced = abuf->written; | |
4335 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
4336 | } | |
4337 | return cycles; | |
4338 | #undef FLD | |
4339 | } | |
4340 | ||
4341 | static int | |
4342 | model_i960KA_testo_reg (SIM_CPU *current_cpu, void *sem_arg) | |
4343 | { | |
96baa820 | 4344 | #define FLD(f) abuf->fields.sfmt_testno_reg.f |
c906108c SS |
4345 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
4346 | const IDESC * UNUSED idesc = abuf->idesc; | |
4347 | int cycles = 0; | |
4348 | { | |
4349 | int referenced = 0; | |
4350 | int UNUSED insn_referenced = abuf->written; | |
4351 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
4352 | } | |
4353 | return cycles; | |
4354 | #undef FLD | |
4355 | } | |
4356 | ||
4357 | static int | |
4358 | model_i960KA_bno (SIM_CPU *current_cpu, void *sem_arg) | |
4359 | { | |
96baa820 | 4360 | #define FLD(f) abuf->fields.sfmt_bno.f |
c906108c SS |
4361 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
4362 | const IDESC * UNUSED idesc = abuf->idesc; | |
4363 | int cycles = 0; | |
4364 | { | |
4365 | int referenced = 0; | |
4366 | int UNUSED insn_referenced = abuf->written; | |
4367 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
4368 | } | |
4369 | return cycles; | |
4370 | #undef FLD | |
4371 | } | |
4372 | ||
4373 | static int | |
4374 | model_i960KA_bg (SIM_CPU *current_cpu, void *sem_arg) | |
4375 | { | |
96baa820 | 4376 | #define FLD(f) abuf->fields.sfmt_bno.f |
c906108c SS |
4377 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
4378 | const IDESC * UNUSED idesc = abuf->idesc; | |
4379 | int cycles = 0; | |
4380 | { | |
4381 | int referenced = 0; | |
4382 | int UNUSED insn_referenced = abuf->written; | |
4383 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
4384 | } | |
4385 | return cycles; | |
4386 | #undef FLD | |
4387 | } | |
4388 | ||
4389 | static int | |
4390 | model_i960KA_be (SIM_CPU *current_cpu, void *sem_arg) | |
4391 | { | |
96baa820 | 4392 | #define FLD(f) abuf->fields.sfmt_bno.f |
c906108c SS |
4393 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
4394 | const IDESC * UNUSED idesc = abuf->idesc; | |
4395 | int cycles = 0; | |
4396 | { | |
4397 | int referenced = 0; | |
4398 | int UNUSED insn_referenced = abuf->written; | |
4399 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
4400 | } | |
4401 | return cycles; | |
4402 | #undef FLD | |
4403 | } | |
4404 | ||
4405 | static int | |
4406 | model_i960KA_bge (SIM_CPU *current_cpu, void *sem_arg) | |
4407 | { | |
96baa820 | 4408 | #define FLD(f) abuf->fields.sfmt_bno.f |
c906108c SS |
4409 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
4410 | const IDESC * UNUSED idesc = abuf->idesc; | |
4411 | int cycles = 0; | |
4412 | { | |
4413 | int referenced = 0; | |
4414 | int UNUSED insn_referenced = abuf->written; | |
4415 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
4416 | } | |
4417 | return cycles; | |
4418 | #undef FLD | |
4419 | } | |
4420 | ||
4421 | static int | |
4422 | model_i960KA_bl (SIM_CPU *current_cpu, void *sem_arg) | |
4423 | { | |
96baa820 | 4424 | #define FLD(f) abuf->fields.sfmt_bno.f |
c906108c SS |
4425 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
4426 | const IDESC * UNUSED idesc = abuf->idesc; | |
4427 | int cycles = 0; | |
4428 | { | |
4429 | int referenced = 0; | |
4430 | int UNUSED insn_referenced = abuf->written; | |
4431 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
4432 | } | |
4433 | return cycles; | |
4434 | #undef FLD | |
4435 | } | |
4436 | ||
4437 | static int | |
4438 | model_i960KA_bne (SIM_CPU *current_cpu, void *sem_arg) | |
4439 | { | |
96baa820 | 4440 | #define FLD(f) abuf->fields.sfmt_bno.f |
c906108c SS |
4441 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
4442 | const IDESC * UNUSED idesc = abuf->idesc; | |
4443 | int cycles = 0; | |
4444 | { | |
4445 | int referenced = 0; | |
4446 | int UNUSED insn_referenced = abuf->written; | |
4447 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
4448 | } | |
4449 | return cycles; | |
4450 | #undef FLD | |
4451 | } | |
4452 | ||
4453 | static int | |
4454 | model_i960KA_ble (SIM_CPU *current_cpu, void *sem_arg) | |
4455 | { | |
96baa820 | 4456 | #define FLD(f) abuf->fields.sfmt_bno.f |
c906108c SS |
4457 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
4458 | const IDESC * UNUSED idesc = abuf->idesc; | |
4459 | int cycles = 0; | |
4460 | { | |
4461 | int referenced = 0; | |
4462 | int UNUSED insn_referenced = abuf->written; | |
4463 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
4464 | } | |
4465 | return cycles; | |
4466 | #undef FLD | |
4467 | } | |
4468 | ||
4469 | static int | |
4470 | model_i960KA_bo (SIM_CPU *current_cpu, void *sem_arg) | |
4471 | { | |
96baa820 | 4472 | #define FLD(f) abuf->fields.sfmt_bno.f |
c906108c SS |
4473 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
4474 | const IDESC * UNUSED idesc = abuf->idesc; | |
4475 | int cycles = 0; | |
4476 | { | |
4477 | int referenced = 0; | |
4478 | int UNUSED insn_referenced = abuf->written; | |
4479 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
4480 | } | |
4481 | return cycles; | |
4482 | #undef FLD | |
4483 | } | |
4484 | ||
4485 | static int | |
4486 | model_i960KA_b (SIM_CPU *current_cpu, void *sem_arg) | |
4487 | { | |
96baa820 | 4488 | #define FLD(f) abuf->fields.sfmt_bno.f |
c906108c SS |
4489 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
4490 | const IDESC * UNUSED idesc = abuf->idesc; | |
4491 | int cycles = 0; | |
4492 | { | |
4493 | int referenced = 0; | |
4494 | int UNUSED insn_referenced = abuf->written; | |
4495 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
4496 | } | |
4497 | return cycles; | |
4498 | #undef FLD | |
4499 | } | |
4500 | ||
4501 | static int | |
4502 | model_i960KA_bx_indirect_offset (SIM_CPU *current_cpu, void *sem_arg) | |
4503 | { | |
96baa820 | 4504 | #define FLD(f) abuf->fields.sfmt_stq_indirect_offset.f |
c906108c SS |
4505 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
4506 | const IDESC * UNUSED idesc = abuf->idesc; | |
4507 | int cycles = 0; | |
4508 | { | |
4509 | int referenced = 0; | |
4510 | int UNUSED insn_referenced = abuf->written; | |
4511 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
4512 | } | |
4513 | return cycles; | |
4514 | #undef FLD | |
4515 | } | |
4516 | ||
4517 | static int | |
4518 | model_i960KA_bx_indirect (SIM_CPU *current_cpu, void *sem_arg) | |
4519 | { | |
96baa820 | 4520 | #define FLD(f) abuf->fields.sfmt_stq_indirect_offset.f |
c906108c SS |
4521 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
4522 | const IDESC * UNUSED idesc = abuf->idesc; | |
4523 | int cycles = 0; | |
4524 | { | |
4525 | int referenced = 0; | |
4526 | int UNUSED insn_referenced = abuf->written; | |
4527 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
4528 | } | |
4529 | return cycles; | |
4530 | #undef FLD | |
4531 | } | |
4532 | ||
4533 | static int | |
4534 | model_i960KA_bx_indirect_index (SIM_CPU *current_cpu, void *sem_arg) | |
4535 | { | |
96baa820 | 4536 | #define FLD(f) abuf->fields.sfmt_stq_indirect_index_disp.f |
c906108c SS |
4537 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
4538 | const IDESC * UNUSED idesc = abuf->idesc; | |
4539 | int cycles = 0; | |
4540 | { | |
4541 | int referenced = 0; | |
4542 | int UNUSED insn_referenced = abuf->written; | |
4543 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
4544 | } | |
4545 | return cycles; | |
4546 | #undef FLD | |
4547 | } | |
4548 | ||
4549 | static int | |
4550 | model_i960KA_bx_disp (SIM_CPU *current_cpu, void *sem_arg) | |
4551 | { | |
96baa820 | 4552 | #define FLD(f) abuf->fields.sfmt_stq_indirect_index_disp.f |
c906108c SS |
4553 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
4554 | const IDESC * UNUSED idesc = abuf->idesc; | |
4555 | int cycles = 0; | |
4556 | { | |
4557 | int referenced = 0; | |
4558 | int UNUSED insn_referenced = abuf->written; | |
4559 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
4560 | } | |
4561 | return cycles; | |
4562 | #undef FLD | |
4563 | } | |
4564 | ||
4565 | static int | |
4566 | model_i960KA_bx_indirect_disp (SIM_CPU *current_cpu, void *sem_arg) | |
4567 | { | |
96baa820 | 4568 | #define FLD(f) abuf->fields.sfmt_stq_indirect_index_disp.f |
c906108c SS |
4569 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
4570 | const IDESC * UNUSED idesc = abuf->idesc; | |
4571 | int cycles = 0; | |
4572 | { | |
4573 | int referenced = 0; | |
4574 | int UNUSED insn_referenced = abuf->written; | |
4575 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
4576 | } | |
4577 | return cycles; | |
4578 | #undef FLD | |
4579 | } | |
4580 | ||
4581 | static int | |
4582 | model_i960KA_callx_disp (SIM_CPU *current_cpu, void *sem_arg) | |
4583 | { | |
96baa820 | 4584 | #define FLD(f) abuf->fields.sfmt_callx_disp.f |
c906108c SS |
4585 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
4586 | const IDESC * UNUSED idesc = abuf->idesc; | |
4587 | int cycles = 0; | |
4588 | { | |
4589 | int referenced = 0; | |
4590 | int UNUSED insn_referenced = abuf->written; | |
4591 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
4592 | } | |
4593 | return cycles; | |
4594 | #undef FLD | |
4595 | } | |
4596 | ||
4597 | static int | |
4598 | model_i960KA_callx_indirect (SIM_CPU *current_cpu, void *sem_arg) | |
4599 | { | |
96baa820 | 4600 | #define FLD(f) abuf->fields.sfmt_callx_indirect_offset.f |
c906108c SS |
4601 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
4602 | const IDESC * UNUSED idesc = abuf->idesc; | |
4603 | int cycles = 0; | |
4604 | { | |
4605 | int referenced = 0; | |
4606 | int UNUSED insn_referenced = abuf->written; | |
4607 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
4608 | } | |
4609 | return cycles; | |
4610 | #undef FLD | |
4611 | } | |
4612 | ||
4613 | static int | |
4614 | model_i960KA_callx_indirect_offset (SIM_CPU *current_cpu, void *sem_arg) | |
4615 | { | |
96baa820 | 4616 | #define FLD(f) abuf->fields.sfmt_callx_indirect_offset.f |
c906108c SS |
4617 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
4618 | const IDESC * UNUSED idesc = abuf->idesc; | |
4619 | int cycles = 0; | |
4620 | { | |
4621 | int referenced = 0; | |
4622 | int UNUSED insn_referenced = abuf->written; | |
4623 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
4624 | } | |
4625 | return cycles; | |
4626 | #undef FLD | |
4627 | } | |
4628 | ||
4629 | static int | |
4630 | model_i960KA_ret (SIM_CPU *current_cpu, void *sem_arg) | |
4631 | { | |
96baa820 | 4632 | #define FLD(f) abuf->fields.sfmt_callx_disp.f |
c906108c SS |
4633 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
4634 | const IDESC * UNUSED idesc = abuf->idesc; | |
4635 | int cycles = 0; | |
4636 | { | |
4637 | int referenced = 0; | |
4638 | int UNUSED insn_referenced = abuf->written; | |
4639 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
4640 | } | |
4641 | return cycles; | |
4642 | #undef FLD | |
4643 | } | |
4644 | ||
4645 | static int | |
4646 | model_i960KA_calls (SIM_CPU *current_cpu, void *sem_arg) | |
4647 | { | |
96baa820 | 4648 | #define FLD(f) abuf->fields.sfmt_emul2.f |
c906108c SS |
4649 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
4650 | const IDESC * UNUSED idesc = abuf->idesc; | |
4651 | int cycles = 0; | |
4652 | { | |
4653 | int referenced = 0; | |
4654 | int UNUSED insn_referenced = abuf->written; | |
4655 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
4656 | } | |
4657 | return cycles; | |
4658 | #undef FLD | |
4659 | } | |
4660 | ||
4661 | static int | |
4662 | model_i960KA_fmark (SIM_CPU *current_cpu, void *sem_arg) | |
4663 | { | |
96baa820 | 4664 | #define FLD(f) abuf->fields.fmt_empty.f |
c906108c SS |
4665 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
4666 | const IDESC * UNUSED idesc = abuf->idesc; | |
4667 | int cycles = 0; | |
4668 | { | |
4669 | int referenced = 0; | |
4670 | int UNUSED insn_referenced = abuf->written; | |
4671 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
4672 | } | |
4673 | return cycles; | |
4674 | #undef FLD | |
4675 | } | |
4676 | ||
4677 | static int | |
4678 | model_i960KA_flushreg (SIM_CPU *current_cpu, void *sem_arg) | |
4679 | { | |
96baa820 | 4680 | #define FLD(f) abuf->fields.fmt_empty.f |
c906108c SS |
4681 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
4682 | const IDESC * UNUSED idesc = abuf->idesc; | |
4683 | int cycles = 0; | |
4684 | { | |
4685 | int referenced = 0; | |
4686 | int UNUSED insn_referenced = abuf->written; | |
4687 | cycles += i960base_model_i960KA_u_exec (current_cpu, idesc, 0, referenced); | |
4688 | } | |
4689 | return cycles; | |
4690 | #undef FLD | |
4691 | } | |
4692 | ||
4693 | static int | |
4694 | model_i960CA_mulo (SIM_CPU *current_cpu, void *sem_arg) | |
4695 | { | |
96baa820 | 4696 | #define FLD(f) abuf->fields.sfmt_emul.f |
c906108c SS |
4697 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
4698 | const IDESC * UNUSED idesc = abuf->idesc; | |
4699 | int cycles = 0; | |
4700 | { | |
4701 | int referenced = 0; | |
4702 | int UNUSED insn_referenced = abuf->written; | |
4703 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
4704 | } | |
4705 | return cycles; | |
4706 | #undef FLD | |
4707 | } | |
4708 | ||
4709 | static int | |
4710 | model_i960CA_mulo1 (SIM_CPU *current_cpu, void *sem_arg) | |
4711 | { | |
96baa820 | 4712 | #define FLD(f) abuf->fields.sfmt_emul1.f |
c906108c SS |
4713 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
4714 | const IDESC * UNUSED idesc = abuf->idesc; | |
4715 | int cycles = 0; | |
4716 | { | |
4717 | int referenced = 0; | |
4718 | int UNUSED insn_referenced = abuf->written; | |
4719 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
4720 | } | |
4721 | return cycles; | |
4722 | #undef FLD | |
4723 | } | |
4724 | ||
4725 | static int | |
4726 | model_i960CA_mulo2 (SIM_CPU *current_cpu, void *sem_arg) | |
4727 | { | |
96baa820 | 4728 | #define FLD(f) abuf->fields.sfmt_emul2.f |
c906108c SS |
4729 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
4730 | const IDESC * UNUSED idesc = abuf->idesc; | |
4731 | int cycles = 0; | |
4732 | { | |
4733 | int referenced = 0; | |
4734 | int UNUSED insn_referenced = abuf->written; | |
4735 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
4736 | } | |
4737 | return cycles; | |
4738 | #undef FLD | |
4739 | } | |
4740 | ||
4741 | static int | |
4742 | model_i960CA_mulo3 (SIM_CPU *current_cpu, void *sem_arg) | |
4743 | { | |
96baa820 | 4744 | #define FLD(f) abuf->fields.sfmt_emul3.f |
c906108c SS |
4745 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
4746 | const IDESC * UNUSED idesc = abuf->idesc; | |
4747 | int cycles = 0; | |
4748 | { | |
4749 | int referenced = 0; | |
4750 | int UNUSED insn_referenced = abuf->written; | |
4751 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
4752 | } | |
4753 | return cycles; | |
4754 | #undef FLD | |
4755 | } | |
4756 | ||
4757 | static int | |
4758 | model_i960CA_remo (SIM_CPU *current_cpu, void *sem_arg) | |
4759 | { | |
96baa820 | 4760 | #define FLD(f) abuf->fields.sfmt_emul.f |
c906108c SS |
4761 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
4762 | const IDESC * UNUSED idesc = abuf->idesc; | |
4763 | int cycles = 0; | |
4764 | { | |
4765 | int referenced = 0; | |
4766 | int UNUSED insn_referenced = abuf->written; | |
4767 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
4768 | } | |
4769 | return cycles; | |
4770 | #undef FLD | |
4771 | } | |
4772 | ||
4773 | static int | |
4774 | model_i960CA_remo1 (SIM_CPU *current_cpu, void *sem_arg) | |
4775 | { | |
96baa820 | 4776 | #define FLD(f) abuf->fields.sfmt_emul1.f |
c906108c SS |
4777 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
4778 | const IDESC * UNUSED idesc = abuf->idesc; | |
4779 | int cycles = 0; | |
4780 | { | |
4781 | int referenced = 0; | |
4782 | int UNUSED insn_referenced = abuf->written; | |
4783 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
4784 | } | |
4785 | return cycles; | |
4786 | #undef FLD | |
4787 | } | |
4788 | ||
4789 | static int | |
4790 | model_i960CA_remo2 (SIM_CPU *current_cpu, void *sem_arg) | |
4791 | { | |
96baa820 | 4792 | #define FLD(f) abuf->fields.sfmt_emul2.f |
c906108c SS |
4793 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
4794 | const IDESC * UNUSED idesc = abuf->idesc; | |
4795 | int cycles = 0; | |
4796 | { | |
4797 | int referenced = 0; | |
4798 | int UNUSED insn_referenced = abuf->written; | |
4799 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
4800 | } | |
4801 | return cycles; | |
4802 | #undef FLD | |
4803 | } | |
4804 | ||
4805 | static int | |
4806 | model_i960CA_remo3 (SIM_CPU *current_cpu, void *sem_arg) | |
4807 | { | |
96baa820 | 4808 | #define FLD(f) abuf->fields.sfmt_emul3.f |
c906108c SS |
4809 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
4810 | const IDESC * UNUSED idesc = abuf->idesc; | |
4811 | int cycles = 0; | |
4812 | { | |
4813 | int referenced = 0; | |
4814 | int UNUSED insn_referenced = abuf->written; | |
4815 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
4816 | } | |
4817 | return cycles; | |
4818 | #undef FLD | |
4819 | } | |
4820 | ||
4821 | static int | |
4822 | model_i960CA_divo (SIM_CPU *current_cpu, void *sem_arg) | |
4823 | { | |
96baa820 | 4824 | #define FLD(f) abuf->fields.sfmt_emul.f |
c906108c SS |
4825 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
4826 | const IDESC * UNUSED idesc = abuf->idesc; | |
4827 | int cycles = 0; | |
4828 | { | |
4829 | int referenced = 0; | |
4830 | int UNUSED insn_referenced = abuf->written; | |
4831 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
4832 | } | |
4833 | return cycles; | |
4834 | #undef FLD | |
4835 | } | |
4836 | ||
4837 | static int | |
4838 | model_i960CA_divo1 (SIM_CPU *current_cpu, void *sem_arg) | |
4839 | { | |
96baa820 | 4840 | #define FLD(f) abuf->fields.sfmt_emul1.f |
c906108c SS |
4841 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
4842 | const IDESC * UNUSED idesc = abuf->idesc; | |
4843 | int cycles = 0; | |
4844 | { | |
4845 | int referenced = 0; | |
4846 | int UNUSED insn_referenced = abuf->written; | |
4847 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
4848 | } | |
4849 | return cycles; | |
4850 | #undef FLD | |
4851 | } | |
4852 | ||
4853 | static int | |
4854 | model_i960CA_divo2 (SIM_CPU *current_cpu, void *sem_arg) | |
4855 | { | |
96baa820 | 4856 | #define FLD(f) abuf->fields.sfmt_emul2.f |
c906108c SS |
4857 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
4858 | const IDESC * UNUSED idesc = abuf->idesc; | |
4859 | int cycles = 0; | |
4860 | { | |
4861 | int referenced = 0; | |
4862 | int UNUSED insn_referenced = abuf->written; | |
4863 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
4864 | } | |
4865 | return cycles; | |
4866 | #undef FLD | |
4867 | } | |
4868 | ||
4869 | static int | |
4870 | model_i960CA_divo3 (SIM_CPU *current_cpu, void *sem_arg) | |
4871 | { | |
96baa820 | 4872 | #define FLD(f) abuf->fields.sfmt_emul3.f |
c906108c SS |
4873 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
4874 | const IDESC * UNUSED idesc = abuf->idesc; | |
4875 | int cycles = 0; | |
4876 | { | |
4877 | int referenced = 0; | |
4878 | int UNUSED insn_referenced = abuf->written; | |
4879 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
4880 | } | |
4881 | return cycles; | |
4882 | #undef FLD | |
4883 | } | |
4884 | ||
4885 | static int | |
4886 | model_i960CA_remi (SIM_CPU *current_cpu, void *sem_arg) | |
4887 | { | |
96baa820 | 4888 | #define FLD(f) abuf->fields.sfmt_emul.f |
c906108c SS |
4889 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
4890 | const IDESC * UNUSED idesc = abuf->idesc; | |
4891 | int cycles = 0; | |
4892 | { | |
4893 | int referenced = 0; | |
4894 | int UNUSED insn_referenced = abuf->written; | |
4895 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
4896 | } | |
4897 | return cycles; | |
4898 | #undef FLD | |
4899 | } | |
4900 | ||
4901 | static int | |
4902 | model_i960CA_remi1 (SIM_CPU *current_cpu, void *sem_arg) | |
4903 | { | |
96baa820 | 4904 | #define FLD(f) abuf->fields.sfmt_emul1.f |
c906108c SS |
4905 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
4906 | const IDESC * UNUSED idesc = abuf->idesc; | |
4907 | int cycles = 0; | |
4908 | { | |
4909 | int referenced = 0; | |
4910 | int UNUSED insn_referenced = abuf->written; | |
4911 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
4912 | } | |
4913 | return cycles; | |
4914 | #undef FLD | |
4915 | } | |
4916 | ||
4917 | static int | |
4918 | model_i960CA_remi2 (SIM_CPU *current_cpu, void *sem_arg) | |
4919 | { | |
96baa820 | 4920 | #define FLD(f) abuf->fields.sfmt_emul2.f |
c906108c SS |
4921 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
4922 | const IDESC * UNUSED idesc = abuf->idesc; | |
4923 | int cycles = 0; | |
4924 | { | |
4925 | int referenced = 0; | |
4926 | int UNUSED insn_referenced = abuf->written; | |
4927 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
4928 | } | |
4929 | return cycles; | |
4930 | #undef FLD | |
4931 | } | |
4932 | ||
4933 | static int | |
4934 | model_i960CA_remi3 (SIM_CPU *current_cpu, void *sem_arg) | |
4935 | { | |
96baa820 | 4936 | #define FLD(f) abuf->fields.sfmt_emul3.f |
c906108c SS |
4937 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
4938 | const IDESC * UNUSED idesc = abuf->idesc; | |
4939 | int cycles = 0; | |
4940 | { | |
4941 | int referenced = 0; | |
4942 | int UNUSED insn_referenced = abuf->written; | |
4943 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
4944 | } | |
4945 | return cycles; | |
4946 | #undef FLD | |
4947 | } | |
4948 | ||
4949 | static int | |
4950 | model_i960CA_divi (SIM_CPU *current_cpu, void *sem_arg) | |
4951 | { | |
96baa820 | 4952 | #define FLD(f) abuf->fields.sfmt_emul.f |
c906108c SS |
4953 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
4954 | const IDESC * UNUSED idesc = abuf->idesc; | |
4955 | int cycles = 0; | |
4956 | { | |
4957 | int referenced = 0; | |
4958 | int UNUSED insn_referenced = abuf->written; | |
4959 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
4960 | } | |
4961 | return cycles; | |
4962 | #undef FLD | |
4963 | } | |
4964 | ||
4965 | static int | |
4966 | model_i960CA_divi1 (SIM_CPU *current_cpu, void *sem_arg) | |
4967 | { | |
96baa820 | 4968 | #define FLD(f) abuf->fields.sfmt_emul1.f |
c906108c SS |
4969 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
4970 | const IDESC * UNUSED idesc = abuf->idesc; | |
4971 | int cycles = 0; | |
4972 | { | |
4973 | int referenced = 0; | |
4974 | int UNUSED insn_referenced = abuf->written; | |
4975 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
4976 | } | |
4977 | return cycles; | |
4978 | #undef FLD | |
4979 | } | |
4980 | ||
4981 | static int | |
4982 | model_i960CA_divi2 (SIM_CPU *current_cpu, void *sem_arg) | |
4983 | { | |
96baa820 | 4984 | #define FLD(f) abuf->fields.sfmt_emul2.f |
c906108c SS |
4985 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
4986 | const IDESC * UNUSED idesc = abuf->idesc; | |
4987 | int cycles = 0; | |
4988 | { | |
4989 | int referenced = 0; | |
4990 | int UNUSED insn_referenced = abuf->written; | |
4991 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
4992 | } | |
4993 | return cycles; | |
4994 | #undef FLD | |
4995 | } | |
4996 | ||
4997 | static int | |
4998 | model_i960CA_divi3 (SIM_CPU *current_cpu, void *sem_arg) | |
4999 | { | |
96baa820 | 5000 | #define FLD(f) abuf->fields.sfmt_emul3.f |
c906108c SS |
5001 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
5002 | const IDESC * UNUSED idesc = abuf->idesc; | |
5003 | int cycles = 0; | |
5004 | { | |
5005 | int referenced = 0; | |
5006 | int UNUSED insn_referenced = abuf->written; | |
5007 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
5008 | } | |
5009 | return cycles; | |
5010 | #undef FLD | |
5011 | } | |
5012 | ||
5013 | static int | |
5014 | model_i960CA_addo (SIM_CPU *current_cpu, void *sem_arg) | |
5015 | { | |
96baa820 | 5016 | #define FLD(f) abuf->fields.sfmt_emul.f |
c906108c SS |
5017 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
5018 | const IDESC * UNUSED idesc = abuf->idesc; | |
5019 | int cycles = 0; | |
5020 | { | |
5021 | int referenced = 0; | |
5022 | int UNUSED insn_referenced = abuf->written; | |
5023 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
5024 | } | |
5025 | return cycles; | |
5026 | #undef FLD | |
5027 | } | |
5028 | ||
5029 | static int | |
5030 | model_i960CA_addo1 (SIM_CPU *current_cpu, void *sem_arg) | |
5031 | { | |
96baa820 | 5032 | #define FLD(f) abuf->fields.sfmt_emul1.f |
c906108c SS |
5033 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
5034 | const IDESC * UNUSED idesc = abuf->idesc; | |
5035 | int cycles = 0; | |
5036 | { | |
5037 | int referenced = 0; | |
5038 | int UNUSED insn_referenced = abuf->written; | |
5039 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
5040 | } | |
5041 | return cycles; | |
5042 | #undef FLD | |
5043 | } | |
5044 | ||
5045 | static int | |
5046 | model_i960CA_addo2 (SIM_CPU *current_cpu, void *sem_arg) | |
5047 | { | |
96baa820 | 5048 | #define FLD(f) abuf->fields.sfmt_emul2.f |
c906108c SS |
5049 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
5050 | const IDESC * UNUSED idesc = abuf->idesc; | |
5051 | int cycles = 0; | |
5052 | { | |
5053 | int referenced = 0; | |
5054 | int UNUSED insn_referenced = abuf->written; | |
5055 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
5056 | } | |
5057 | return cycles; | |
5058 | #undef FLD | |
5059 | } | |
5060 | ||
5061 | static int | |
5062 | model_i960CA_addo3 (SIM_CPU *current_cpu, void *sem_arg) | |
5063 | { | |
96baa820 | 5064 | #define FLD(f) abuf->fields.sfmt_emul3.f |
c906108c SS |
5065 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
5066 | const IDESC * UNUSED idesc = abuf->idesc; | |
5067 | int cycles = 0; | |
5068 | { | |
5069 | int referenced = 0; | |
5070 | int UNUSED insn_referenced = abuf->written; | |
5071 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
5072 | } | |
5073 | return cycles; | |
5074 | #undef FLD | |
5075 | } | |
5076 | ||
5077 | static int | |
5078 | model_i960CA_subo (SIM_CPU *current_cpu, void *sem_arg) | |
5079 | { | |
96baa820 | 5080 | #define FLD(f) abuf->fields.sfmt_emul.f |
c906108c SS |
5081 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
5082 | const IDESC * UNUSED idesc = abuf->idesc; | |
5083 | int cycles = 0; | |
5084 | { | |
5085 | int referenced = 0; | |
5086 | int UNUSED insn_referenced = abuf->written; | |
5087 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
5088 | } | |
5089 | return cycles; | |
5090 | #undef FLD | |
5091 | } | |
5092 | ||
5093 | static int | |
5094 | model_i960CA_subo1 (SIM_CPU *current_cpu, void *sem_arg) | |
5095 | { | |
96baa820 | 5096 | #define FLD(f) abuf->fields.sfmt_emul1.f |
c906108c SS |
5097 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
5098 | const IDESC * UNUSED idesc = abuf->idesc; | |
5099 | int cycles = 0; | |
5100 | { | |
5101 | int referenced = 0; | |
5102 | int UNUSED insn_referenced = abuf->written; | |
5103 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
5104 | } | |
5105 | return cycles; | |
5106 | #undef FLD | |
5107 | } | |
5108 | ||
5109 | static int | |
5110 | model_i960CA_subo2 (SIM_CPU *current_cpu, void *sem_arg) | |
5111 | { | |
96baa820 | 5112 | #define FLD(f) abuf->fields.sfmt_emul2.f |
c906108c SS |
5113 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
5114 | const IDESC * UNUSED idesc = abuf->idesc; | |
5115 | int cycles = 0; | |
5116 | { | |
5117 | int referenced = 0; | |
5118 | int UNUSED insn_referenced = abuf->written; | |
5119 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
5120 | } | |
5121 | return cycles; | |
5122 | #undef FLD | |
5123 | } | |
5124 | ||
5125 | static int | |
5126 | model_i960CA_subo3 (SIM_CPU *current_cpu, void *sem_arg) | |
5127 | { | |
96baa820 | 5128 | #define FLD(f) abuf->fields.sfmt_emul3.f |
c906108c SS |
5129 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
5130 | const IDESC * UNUSED idesc = abuf->idesc; | |
5131 | int cycles = 0; | |
5132 | { | |
5133 | int referenced = 0; | |
5134 | int UNUSED insn_referenced = abuf->written; | |
5135 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
5136 | } | |
5137 | return cycles; | |
5138 | #undef FLD | |
5139 | } | |
5140 | ||
5141 | static int | |
5142 | model_i960CA_notbit (SIM_CPU *current_cpu, void *sem_arg) | |
5143 | { | |
96baa820 | 5144 | #define FLD(f) abuf->fields.sfmt_emul.f |
c906108c SS |
5145 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
5146 | const IDESC * UNUSED idesc = abuf->idesc; | |
5147 | int cycles = 0; | |
5148 | { | |
5149 | int referenced = 0; | |
5150 | int UNUSED insn_referenced = abuf->written; | |
5151 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
5152 | } | |
5153 | return cycles; | |
5154 | #undef FLD | |
5155 | } | |
5156 | ||
5157 | static int | |
5158 | model_i960CA_notbit1 (SIM_CPU *current_cpu, void *sem_arg) | |
5159 | { | |
96baa820 | 5160 | #define FLD(f) abuf->fields.sfmt_emul1.f |
c906108c SS |
5161 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
5162 | const IDESC * UNUSED idesc = abuf->idesc; | |
5163 | int cycles = 0; | |
5164 | { | |
5165 | int referenced = 0; | |
5166 | int UNUSED insn_referenced = abuf->written; | |
5167 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
5168 | } | |
5169 | return cycles; | |
5170 | #undef FLD | |
5171 | } | |
5172 | ||
5173 | static int | |
5174 | model_i960CA_notbit2 (SIM_CPU *current_cpu, void *sem_arg) | |
5175 | { | |
96baa820 | 5176 | #define FLD(f) abuf->fields.sfmt_emul2.f |
c906108c SS |
5177 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
5178 | const IDESC * UNUSED idesc = abuf->idesc; | |
5179 | int cycles = 0; | |
5180 | { | |
5181 | int referenced = 0; | |
5182 | int UNUSED insn_referenced = abuf->written; | |
5183 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
5184 | } | |
5185 | return cycles; | |
5186 | #undef FLD | |
5187 | } | |
5188 | ||
5189 | static int | |
5190 | model_i960CA_notbit3 (SIM_CPU *current_cpu, void *sem_arg) | |
5191 | { | |
96baa820 | 5192 | #define FLD(f) abuf->fields.sfmt_emul3.f |
c906108c SS |
5193 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
5194 | const IDESC * UNUSED idesc = abuf->idesc; | |
5195 | int cycles = 0; | |
5196 | { | |
5197 | int referenced = 0; | |
5198 | int UNUSED insn_referenced = abuf->written; | |
5199 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
5200 | } | |
5201 | return cycles; | |
5202 | #undef FLD | |
5203 | } | |
5204 | ||
5205 | static int | |
5206 | model_i960CA_and (SIM_CPU *current_cpu, void *sem_arg) | |
5207 | { | |
96baa820 | 5208 | #define FLD(f) abuf->fields.sfmt_emul.f |
c906108c SS |
5209 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
5210 | const IDESC * UNUSED idesc = abuf->idesc; | |
5211 | int cycles = 0; | |
5212 | { | |
5213 | int referenced = 0; | |
5214 | int UNUSED insn_referenced = abuf->written; | |
5215 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
5216 | } | |
5217 | return cycles; | |
5218 | #undef FLD | |
5219 | } | |
5220 | ||
5221 | static int | |
5222 | model_i960CA_and1 (SIM_CPU *current_cpu, void *sem_arg) | |
5223 | { | |
96baa820 | 5224 | #define FLD(f) abuf->fields.sfmt_emul1.f |
c906108c SS |
5225 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
5226 | const IDESC * UNUSED idesc = abuf->idesc; | |
5227 | int cycles = 0; | |
5228 | { | |
5229 | int referenced = 0; | |
5230 | int UNUSED insn_referenced = abuf->written; | |
5231 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
5232 | } | |
5233 | return cycles; | |
5234 | #undef FLD | |
5235 | } | |
5236 | ||
5237 | static int | |
5238 | model_i960CA_and2 (SIM_CPU *current_cpu, void *sem_arg) | |
5239 | { | |
96baa820 | 5240 | #define FLD(f) abuf->fields.sfmt_emul2.f |
c906108c SS |
5241 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
5242 | const IDESC * UNUSED idesc = abuf->idesc; | |
5243 | int cycles = 0; | |
5244 | { | |
5245 | int referenced = 0; | |
5246 | int UNUSED insn_referenced = abuf->written; | |
5247 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
5248 | } | |
5249 | return cycles; | |
5250 | #undef FLD | |
5251 | } | |
5252 | ||
5253 | static int | |
5254 | model_i960CA_and3 (SIM_CPU *current_cpu, void *sem_arg) | |
5255 | { | |
96baa820 | 5256 | #define FLD(f) abuf->fields.sfmt_emul3.f |
c906108c SS |
5257 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
5258 | const IDESC * UNUSED idesc = abuf->idesc; | |
5259 | int cycles = 0; | |
5260 | { | |
5261 | int referenced = 0; | |
5262 | int UNUSED insn_referenced = abuf->written; | |
5263 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
5264 | } | |
5265 | return cycles; | |
5266 | #undef FLD | |
5267 | } | |
5268 | ||
5269 | static int | |
5270 | model_i960CA_andnot (SIM_CPU *current_cpu, void *sem_arg) | |
5271 | { | |
96baa820 | 5272 | #define FLD(f) abuf->fields.sfmt_emul.f |
c906108c SS |
5273 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
5274 | const IDESC * UNUSED idesc = abuf->idesc; | |
5275 | int cycles = 0; | |
5276 | { | |
5277 | int referenced = 0; | |
5278 | int UNUSED insn_referenced = abuf->written; | |
5279 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
5280 | } | |
5281 | return cycles; | |
5282 | #undef FLD | |
5283 | } | |
5284 | ||
5285 | static int | |
5286 | model_i960CA_andnot1 (SIM_CPU *current_cpu, void *sem_arg) | |
5287 | { | |
96baa820 | 5288 | #define FLD(f) abuf->fields.sfmt_emul1.f |
c906108c SS |
5289 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
5290 | const IDESC * UNUSED idesc = abuf->idesc; | |
5291 | int cycles = 0; | |
5292 | { | |
5293 | int referenced = 0; | |
5294 | int UNUSED insn_referenced = abuf->written; | |
5295 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
5296 | } | |
5297 | return cycles; | |
5298 | #undef FLD | |
5299 | } | |
5300 | ||
5301 | static int | |
5302 | model_i960CA_andnot2 (SIM_CPU *current_cpu, void *sem_arg) | |
5303 | { | |
96baa820 | 5304 | #define FLD(f) abuf->fields.sfmt_emul2.f |
c906108c SS |
5305 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
5306 | const IDESC * UNUSED idesc = abuf->idesc; | |
5307 | int cycles = 0; | |
5308 | { | |
5309 | int referenced = 0; | |
5310 | int UNUSED insn_referenced = abuf->written; | |
5311 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
5312 | } | |
5313 | return cycles; | |
5314 | #undef FLD | |
5315 | } | |
5316 | ||
5317 | static int | |
5318 | model_i960CA_andnot3 (SIM_CPU *current_cpu, void *sem_arg) | |
5319 | { | |
96baa820 | 5320 | #define FLD(f) abuf->fields.sfmt_emul3.f |
c906108c SS |
5321 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
5322 | const IDESC * UNUSED idesc = abuf->idesc; | |
5323 | int cycles = 0; | |
5324 | { | |
5325 | int referenced = 0; | |
5326 | int UNUSED insn_referenced = abuf->written; | |
5327 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
5328 | } | |
5329 | return cycles; | |
5330 | #undef FLD | |
5331 | } | |
5332 | ||
5333 | static int | |
5334 | model_i960CA_setbit (SIM_CPU *current_cpu, void *sem_arg) | |
5335 | { | |
96baa820 | 5336 | #define FLD(f) abuf->fields.sfmt_emul.f |
c906108c SS |
5337 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
5338 | const IDESC * UNUSED idesc = abuf->idesc; | |
5339 | int cycles = 0; | |
5340 | { | |
5341 | int referenced = 0; | |
5342 | int UNUSED insn_referenced = abuf->written; | |
5343 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
5344 | } | |
5345 | return cycles; | |
5346 | #undef FLD | |
5347 | } | |
5348 | ||
5349 | static int | |
5350 | model_i960CA_setbit1 (SIM_CPU *current_cpu, void *sem_arg) | |
5351 | { | |
96baa820 | 5352 | #define FLD(f) abuf->fields.sfmt_emul1.f |
c906108c SS |
5353 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
5354 | const IDESC * UNUSED idesc = abuf->idesc; | |
5355 | int cycles = 0; | |
5356 | { | |
5357 | int referenced = 0; | |
5358 | int UNUSED insn_referenced = abuf->written; | |
5359 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
5360 | } | |
5361 | return cycles; | |
5362 | #undef FLD | |
5363 | } | |
5364 | ||
5365 | static int | |
5366 | model_i960CA_setbit2 (SIM_CPU *current_cpu, void *sem_arg) | |
5367 | { | |
96baa820 | 5368 | #define FLD(f) abuf->fields.sfmt_emul2.f |
c906108c SS |
5369 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
5370 | const IDESC * UNUSED idesc = abuf->idesc; | |
5371 | int cycles = 0; | |
5372 | { | |
5373 | int referenced = 0; | |
5374 | int UNUSED insn_referenced = abuf->written; | |
5375 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
5376 | } | |
5377 | return cycles; | |
5378 | #undef FLD | |
5379 | } | |
5380 | ||
5381 | static int | |
5382 | model_i960CA_setbit3 (SIM_CPU *current_cpu, void *sem_arg) | |
5383 | { | |
96baa820 | 5384 | #define FLD(f) abuf->fields.sfmt_emul3.f |
c906108c SS |
5385 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
5386 | const IDESC * UNUSED idesc = abuf->idesc; | |
5387 | int cycles = 0; | |
5388 | { | |
5389 | int referenced = 0; | |
5390 | int UNUSED insn_referenced = abuf->written; | |
5391 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
5392 | } | |
5393 | return cycles; | |
5394 | #undef FLD | |
5395 | } | |
5396 | ||
5397 | static int | |
5398 | model_i960CA_notand (SIM_CPU *current_cpu, void *sem_arg) | |
5399 | { | |
96baa820 | 5400 | #define FLD(f) abuf->fields.sfmt_emul.f |
c906108c SS |
5401 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
5402 | const IDESC * UNUSED idesc = abuf->idesc; | |
5403 | int cycles = 0; | |
5404 | { | |
5405 | int referenced = 0; | |
5406 | int UNUSED insn_referenced = abuf->written; | |
5407 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
5408 | } | |
5409 | return cycles; | |
5410 | #undef FLD | |
5411 | } | |
5412 | ||
5413 | static int | |
5414 | model_i960CA_notand1 (SIM_CPU *current_cpu, void *sem_arg) | |
5415 | { | |
96baa820 | 5416 | #define FLD(f) abuf->fields.sfmt_emul1.f |
c906108c SS |
5417 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
5418 | const IDESC * UNUSED idesc = abuf->idesc; | |
5419 | int cycles = 0; | |
5420 | { | |
5421 | int referenced = 0; | |
5422 | int UNUSED insn_referenced = abuf->written; | |
5423 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
5424 | } | |
5425 | return cycles; | |
5426 | #undef FLD | |
5427 | } | |
5428 | ||
5429 | static int | |
5430 | model_i960CA_notand2 (SIM_CPU *current_cpu, void *sem_arg) | |
5431 | { | |
96baa820 | 5432 | #define FLD(f) abuf->fields.sfmt_emul2.f |
c906108c SS |
5433 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
5434 | const IDESC * UNUSED idesc = abuf->idesc; | |
5435 | int cycles = 0; | |
5436 | { | |
5437 | int referenced = 0; | |
5438 | int UNUSED insn_referenced = abuf->written; | |
5439 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
5440 | } | |
5441 | return cycles; | |
5442 | #undef FLD | |
5443 | } | |
5444 | ||
5445 | static int | |
5446 | model_i960CA_notand3 (SIM_CPU *current_cpu, void *sem_arg) | |
5447 | { | |
96baa820 | 5448 | #define FLD(f) abuf->fields.sfmt_emul3.f |
c906108c SS |
5449 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
5450 | const IDESC * UNUSED idesc = abuf->idesc; | |
5451 | int cycles = 0; | |
5452 | { | |
5453 | int referenced = 0; | |
5454 | int UNUSED insn_referenced = abuf->written; | |
5455 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
5456 | } | |
5457 | return cycles; | |
5458 | #undef FLD | |
5459 | } | |
5460 | ||
5461 | static int | |
5462 | model_i960CA_xor (SIM_CPU *current_cpu, void *sem_arg) | |
5463 | { | |
96baa820 | 5464 | #define FLD(f) abuf->fields.sfmt_emul.f |
c906108c SS |
5465 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
5466 | const IDESC * UNUSED idesc = abuf->idesc; | |
5467 | int cycles = 0; | |
5468 | { | |
5469 | int referenced = 0; | |
5470 | int UNUSED insn_referenced = abuf->written; | |
5471 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
5472 | } | |
5473 | return cycles; | |
5474 | #undef FLD | |
5475 | } | |
5476 | ||
5477 | static int | |
5478 | model_i960CA_xor1 (SIM_CPU *current_cpu, void *sem_arg) | |
5479 | { | |
96baa820 | 5480 | #define FLD(f) abuf->fields.sfmt_emul1.f |
c906108c SS |
5481 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
5482 | const IDESC * UNUSED idesc = abuf->idesc; | |
5483 | int cycles = 0; | |
5484 | { | |
5485 | int referenced = 0; | |
5486 | int UNUSED insn_referenced = abuf->written; | |
5487 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
5488 | } | |
5489 | return cycles; | |
5490 | #undef FLD | |
5491 | } | |
5492 | ||
5493 | static int | |
5494 | model_i960CA_xor2 (SIM_CPU *current_cpu, void *sem_arg) | |
5495 | { | |
96baa820 | 5496 | #define FLD(f) abuf->fields.sfmt_emul2.f |
c906108c SS |
5497 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
5498 | const IDESC * UNUSED idesc = abuf->idesc; | |
5499 | int cycles = 0; | |
5500 | { | |
5501 | int referenced = 0; | |
5502 | int UNUSED insn_referenced = abuf->written; | |
5503 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
5504 | } | |
5505 | return cycles; | |
5506 | #undef FLD | |
5507 | } | |
5508 | ||
5509 | static int | |
5510 | model_i960CA_xor3 (SIM_CPU *current_cpu, void *sem_arg) | |
5511 | { | |
96baa820 | 5512 | #define FLD(f) abuf->fields.sfmt_emul3.f |
c906108c SS |
5513 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
5514 | const IDESC * UNUSED idesc = abuf->idesc; | |
5515 | int cycles = 0; | |
5516 | { | |
5517 | int referenced = 0; | |
5518 | int UNUSED insn_referenced = abuf->written; | |
5519 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
5520 | } | |
5521 | return cycles; | |
5522 | #undef FLD | |
5523 | } | |
5524 | ||
5525 | static int | |
5526 | model_i960CA_or (SIM_CPU *current_cpu, void *sem_arg) | |
5527 | { | |
96baa820 | 5528 | #define FLD(f) abuf->fields.sfmt_emul.f |
c906108c SS |
5529 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
5530 | const IDESC * UNUSED idesc = abuf->idesc; | |
5531 | int cycles = 0; | |
5532 | { | |
5533 | int referenced = 0; | |
5534 | int UNUSED insn_referenced = abuf->written; | |
5535 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
5536 | } | |
5537 | return cycles; | |
5538 | #undef FLD | |
5539 | } | |
5540 | ||
5541 | static int | |
5542 | model_i960CA_or1 (SIM_CPU *current_cpu, void *sem_arg) | |
5543 | { | |
96baa820 | 5544 | #define FLD(f) abuf->fields.sfmt_emul1.f |
c906108c SS |
5545 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
5546 | const IDESC * UNUSED idesc = abuf->idesc; | |
5547 | int cycles = 0; | |
5548 | { | |
5549 | int referenced = 0; | |
5550 | int UNUSED insn_referenced = abuf->written; | |
5551 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
5552 | } | |
5553 | return cycles; | |
5554 | #undef FLD | |
5555 | } | |
5556 | ||
5557 | static int | |
5558 | model_i960CA_or2 (SIM_CPU *current_cpu, void *sem_arg) | |
5559 | { | |
96baa820 | 5560 | #define FLD(f) abuf->fields.sfmt_emul2.f |
c906108c SS |
5561 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
5562 | const IDESC * UNUSED idesc = abuf->idesc; | |
5563 | int cycles = 0; | |
5564 | { | |
5565 | int referenced = 0; | |
5566 | int UNUSED insn_referenced = abuf->written; | |
5567 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
5568 | } | |
5569 | return cycles; | |
5570 | #undef FLD | |
5571 | } | |
5572 | ||
5573 | static int | |
5574 | model_i960CA_or3 (SIM_CPU *current_cpu, void *sem_arg) | |
5575 | { | |
96baa820 | 5576 | #define FLD(f) abuf->fields.sfmt_emul3.f |
c906108c SS |
5577 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
5578 | const IDESC * UNUSED idesc = abuf->idesc; | |
5579 | int cycles = 0; | |
5580 | { | |
5581 | int referenced = 0; | |
5582 | int UNUSED insn_referenced = abuf->written; | |
5583 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
5584 | } | |
5585 | return cycles; | |
5586 | #undef FLD | |
5587 | } | |
5588 | ||
5589 | static int | |
5590 | model_i960CA_nor (SIM_CPU *current_cpu, void *sem_arg) | |
5591 | { | |
96baa820 | 5592 | #define FLD(f) abuf->fields.sfmt_emul.f |
c906108c SS |
5593 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
5594 | const IDESC * UNUSED idesc = abuf->idesc; | |
5595 | int cycles = 0; | |
5596 | { | |
5597 | int referenced = 0; | |
5598 | int UNUSED insn_referenced = abuf->written; | |
5599 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
5600 | } | |
5601 | return cycles; | |
5602 | #undef FLD | |
5603 | } | |
5604 | ||
5605 | static int | |
5606 | model_i960CA_nor1 (SIM_CPU *current_cpu, void *sem_arg) | |
5607 | { | |
96baa820 | 5608 | #define FLD(f) abuf->fields.sfmt_emul1.f |
c906108c SS |
5609 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
5610 | const IDESC * UNUSED idesc = abuf->idesc; | |
5611 | int cycles = 0; | |
5612 | { | |
5613 | int referenced = 0; | |
5614 | int UNUSED insn_referenced = abuf->written; | |
5615 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
5616 | } | |
5617 | return cycles; | |
5618 | #undef FLD | |
5619 | } | |
5620 | ||
5621 | static int | |
5622 | model_i960CA_nor2 (SIM_CPU *current_cpu, void *sem_arg) | |
5623 | { | |
96baa820 | 5624 | #define FLD(f) abuf->fields.sfmt_emul2.f |
c906108c SS |
5625 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
5626 | const IDESC * UNUSED idesc = abuf->idesc; | |
5627 | int cycles = 0; | |
5628 | { | |
5629 | int referenced = 0; | |
5630 | int UNUSED insn_referenced = abuf->written; | |
5631 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
5632 | } | |
5633 | return cycles; | |
5634 | #undef FLD | |
5635 | } | |
5636 | ||
5637 | static int | |
5638 | model_i960CA_nor3 (SIM_CPU *current_cpu, void *sem_arg) | |
5639 | { | |
96baa820 | 5640 | #define FLD(f) abuf->fields.sfmt_emul3.f |
c906108c SS |
5641 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
5642 | const IDESC * UNUSED idesc = abuf->idesc; | |
5643 | int cycles = 0; | |
5644 | { | |
5645 | int referenced = 0; | |
5646 | int UNUSED insn_referenced = abuf->written; | |
5647 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
5648 | } | |
5649 | return cycles; | |
5650 | #undef FLD | |
5651 | } | |
5652 | ||
7a292a7a SS |
5653 | static int |
5654 | model_i960CA_xnor (SIM_CPU *current_cpu, void *sem_arg) | |
5655 | { | |
96baa820 | 5656 | #define FLD(f) abuf->fields.sfmt_emul.f |
7a292a7a SS |
5657 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
5658 | const IDESC * UNUSED idesc = abuf->idesc; | |
5659 | int cycles = 0; | |
5660 | { | |
5661 | int referenced = 0; | |
5662 | int UNUSED insn_referenced = abuf->written; | |
5663 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
5664 | } | |
5665 | return cycles; | |
5666 | #undef FLD | |
5667 | } | |
5668 | ||
5669 | static int | |
5670 | model_i960CA_xnor1 (SIM_CPU *current_cpu, void *sem_arg) | |
5671 | { | |
96baa820 | 5672 | #define FLD(f) abuf->fields.sfmt_emul1.f |
7a292a7a SS |
5673 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
5674 | const IDESC * UNUSED idesc = abuf->idesc; | |
5675 | int cycles = 0; | |
5676 | { | |
5677 | int referenced = 0; | |
5678 | int UNUSED insn_referenced = abuf->written; | |
5679 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
5680 | } | |
5681 | return cycles; | |
5682 | #undef FLD | |
5683 | } | |
5684 | ||
5685 | static int | |
5686 | model_i960CA_xnor2 (SIM_CPU *current_cpu, void *sem_arg) | |
5687 | { | |
96baa820 | 5688 | #define FLD(f) abuf->fields.sfmt_emul2.f |
7a292a7a SS |
5689 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
5690 | const IDESC * UNUSED idesc = abuf->idesc; | |
5691 | int cycles = 0; | |
5692 | { | |
5693 | int referenced = 0; | |
5694 | int UNUSED insn_referenced = abuf->written; | |
5695 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
5696 | } | |
5697 | return cycles; | |
5698 | #undef FLD | |
5699 | } | |
5700 | ||
5701 | static int | |
5702 | model_i960CA_xnor3 (SIM_CPU *current_cpu, void *sem_arg) | |
5703 | { | |
96baa820 | 5704 | #define FLD(f) abuf->fields.sfmt_emul3.f |
7a292a7a SS |
5705 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
5706 | const IDESC * UNUSED idesc = abuf->idesc; | |
5707 | int cycles = 0; | |
5708 | { | |
5709 | int referenced = 0; | |
5710 | int UNUSED insn_referenced = abuf->written; | |
5711 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
5712 | } | |
5713 | return cycles; | |
5714 | #undef FLD | |
5715 | } | |
5716 | ||
c906108c SS |
5717 | static int |
5718 | model_i960CA_not (SIM_CPU *current_cpu, void *sem_arg) | |
5719 | { | |
96baa820 | 5720 | #define FLD(f) abuf->fields.sfmt_emul2.f |
c906108c SS |
5721 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
5722 | const IDESC * UNUSED idesc = abuf->idesc; | |
5723 | int cycles = 0; | |
5724 | { | |
5725 | int referenced = 0; | |
5726 | int UNUSED insn_referenced = abuf->written; | |
5727 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
5728 | } | |
5729 | return cycles; | |
5730 | #undef FLD | |
5731 | } | |
5732 | ||
5733 | static int | |
5734 | model_i960CA_not1 (SIM_CPU *current_cpu, void *sem_arg) | |
5735 | { | |
96baa820 | 5736 | #define FLD(f) abuf->fields.sfmt_emul3.f |
c906108c SS |
5737 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
5738 | const IDESC * UNUSED idesc = abuf->idesc; | |
5739 | int cycles = 0; | |
5740 | { | |
5741 | int referenced = 0; | |
5742 | int UNUSED insn_referenced = abuf->written; | |
5743 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
5744 | } | |
5745 | return cycles; | |
5746 | #undef FLD | |
5747 | } | |
5748 | ||
5749 | static int | |
5750 | model_i960CA_not2 (SIM_CPU *current_cpu, void *sem_arg) | |
5751 | { | |
96baa820 | 5752 | #define FLD(f) abuf->fields.sfmt_emul2.f |
c906108c SS |
5753 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
5754 | const IDESC * UNUSED idesc = abuf->idesc; | |
5755 | int cycles = 0; | |
5756 | { | |
5757 | int referenced = 0; | |
5758 | int UNUSED insn_referenced = abuf->written; | |
5759 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
5760 | } | |
5761 | return cycles; | |
5762 | #undef FLD | |
5763 | } | |
5764 | ||
5765 | static int | |
5766 | model_i960CA_not3 (SIM_CPU *current_cpu, void *sem_arg) | |
5767 | { | |
96baa820 | 5768 | #define FLD(f) abuf->fields.sfmt_emul3.f |
c906108c SS |
5769 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
5770 | const IDESC * UNUSED idesc = abuf->idesc; | |
5771 | int cycles = 0; | |
5772 | { | |
5773 | int referenced = 0; | |
5774 | int UNUSED insn_referenced = abuf->written; | |
5775 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
5776 | } | |
5777 | return cycles; | |
5778 | #undef FLD | |
5779 | } | |
5780 | ||
7a292a7a SS |
5781 | static int |
5782 | model_i960CA_ornot (SIM_CPU *current_cpu, void *sem_arg) | |
5783 | { | |
96baa820 | 5784 | #define FLD(f) abuf->fields.sfmt_emul.f |
7a292a7a SS |
5785 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
5786 | const IDESC * UNUSED idesc = abuf->idesc; | |
5787 | int cycles = 0; | |
5788 | { | |
5789 | int referenced = 0; | |
5790 | int UNUSED insn_referenced = abuf->written; | |
5791 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
5792 | } | |
5793 | return cycles; | |
5794 | #undef FLD | |
5795 | } | |
5796 | ||
5797 | static int | |
5798 | model_i960CA_ornot1 (SIM_CPU *current_cpu, void *sem_arg) | |
5799 | { | |
96baa820 | 5800 | #define FLD(f) abuf->fields.sfmt_emul1.f |
7a292a7a SS |
5801 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
5802 | const IDESC * UNUSED idesc = abuf->idesc; | |
5803 | int cycles = 0; | |
5804 | { | |
5805 | int referenced = 0; | |
5806 | int UNUSED insn_referenced = abuf->written; | |
5807 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
5808 | } | |
5809 | return cycles; | |
5810 | #undef FLD | |
5811 | } | |
5812 | ||
5813 | static int | |
5814 | model_i960CA_ornot2 (SIM_CPU *current_cpu, void *sem_arg) | |
5815 | { | |
96baa820 | 5816 | #define FLD(f) abuf->fields.sfmt_emul2.f |
7a292a7a SS |
5817 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
5818 | const IDESC * UNUSED idesc = abuf->idesc; | |
5819 | int cycles = 0; | |
5820 | { | |
5821 | int referenced = 0; | |
5822 | int UNUSED insn_referenced = abuf->written; | |
5823 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
5824 | } | |
5825 | return cycles; | |
5826 | #undef FLD | |
5827 | } | |
5828 | ||
5829 | static int | |
5830 | model_i960CA_ornot3 (SIM_CPU *current_cpu, void *sem_arg) | |
5831 | { | |
96baa820 | 5832 | #define FLD(f) abuf->fields.sfmt_emul3.f |
7a292a7a SS |
5833 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
5834 | const IDESC * UNUSED idesc = abuf->idesc; | |
5835 | int cycles = 0; | |
5836 | { | |
5837 | int referenced = 0; | |
5838 | int UNUSED insn_referenced = abuf->written; | |
5839 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
5840 | } | |
5841 | return cycles; | |
5842 | #undef FLD | |
5843 | } | |
5844 | ||
c906108c SS |
5845 | static int |
5846 | model_i960CA_clrbit (SIM_CPU *current_cpu, void *sem_arg) | |
5847 | { | |
96baa820 | 5848 | #define FLD(f) abuf->fields.sfmt_emul.f |
c906108c SS |
5849 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
5850 | const IDESC * UNUSED idesc = abuf->idesc; | |
5851 | int cycles = 0; | |
5852 | { | |
5853 | int referenced = 0; | |
5854 | int UNUSED insn_referenced = abuf->written; | |
5855 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
5856 | } | |
5857 | return cycles; | |
5858 | #undef FLD | |
5859 | } | |
5860 | ||
5861 | static int | |
5862 | model_i960CA_clrbit1 (SIM_CPU *current_cpu, void *sem_arg) | |
5863 | { | |
96baa820 | 5864 | #define FLD(f) abuf->fields.sfmt_emul1.f |
c906108c SS |
5865 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
5866 | const IDESC * UNUSED idesc = abuf->idesc; | |
5867 | int cycles = 0; | |
5868 | { | |
5869 | int referenced = 0; | |
5870 | int UNUSED insn_referenced = abuf->written; | |
5871 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
5872 | } | |
5873 | return cycles; | |
5874 | #undef FLD | |
5875 | } | |
5876 | ||
5877 | static int | |
5878 | model_i960CA_clrbit2 (SIM_CPU *current_cpu, void *sem_arg) | |
5879 | { | |
96baa820 | 5880 | #define FLD(f) abuf->fields.sfmt_emul2.f |
c906108c SS |
5881 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
5882 | const IDESC * UNUSED idesc = abuf->idesc; | |
5883 | int cycles = 0; | |
5884 | { | |
5885 | int referenced = 0; | |
5886 | int UNUSED insn_referenced = abuf->written; | |
5887 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
5888 | } | |
5889 | return cycles; | |
5890 | #undef FLD | |
5891 | } | |
5892 | ||
5893 | static int | |
5894 | model_i960CA_clrbit3 (SIM_CPU *current_cpu, void *sem_arg) | |
5895 | { | |
96baa820 | 5896 | #define FLD(f) abuf->fields.sfmt_emul3.f |
c906108c SS |
5897 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
5898 | const IDESC * UNUSED idesc = abuf->idesc; | |
5899 | int cycles = 0; | |
5900 | { | |
5901 | int referenced = 0; | |
5902 | int UNUSED insn_referenced = abuf->written; | |
5903 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
5904 | } | |
5905 | return cycles; | |
5906 | #undef FLD | |
5907 | } | |
5908 | ||
5909 | static int | |
5910 | model_i960CA_shlo (SIM_CPU *current_cpu, void *sem_arg) | |
5911 | { | |
96baa820 | 5912 | #define FLD(f) abuf->fields.sfmt_emul.f |
c906108c SS |
5913 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
5914 | const IDESC * UNUSED idesc = abuf->idesc; | |
5915 | int cycles = 0; | |
5916 | { | |
5917 | int referenced = 0; | |
5918 | int UNUSED insn_referenced = abuf->written; | |
5919 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
5920 | } | |
5921 | return cycles; | |
5922 | #undef FLD | |
5923 | } | |
5924 | ||
5925 | static int | |
5926 | model_i960CA_shlo1 (SIM_CPU *current_cpu, void *sem_arg) | |
5927 | { | |
96baa820 | 5928 | #define FLD(f) abuf->fields.sfmt_emul1.f |
c906108c SS |
5929 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
5930 | const IDESC * UNUSED idesc = abuf->idesc; | |
5931 | int cycles = 0; | |
5932 | { | |
5933 | int referenced = 0; | |
5934 | int UNUSED insn_referenced = abuf->written; | |
5935 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
5936 | } | |
5937 | return cycles; | |
5938 | #undef FLD | |
5939 | } | |
5940 | ||
5941 | static int | |
5942 | model_i960CA_shlo2 (SIM_CPU *current_cpu, void *sem_arg) | |
5943 | { | |
96baa820 | 5944 | #define FLD(f) abuf->fields.sfmt_emul2.f |
c906108c SS |
5945 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
5946 | const IDESC * UNUSED idesc = abuf->idesc; | |
5947 | int cycles = 0; | |
5948 | { | |
5949 | int referenced = 0; | |
5950 | int UNUSED insn_referenced = abuf->written; | |
5951 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
5952 | } | |
5953 | return cycles; | |
5954 | #undef FLD | |
5955 | } | |
5956 | ||
5957 | static int | |
5958 | model_i960CA_shlo3 (SIM_CPU *current_cpu, void *sem_arg) | |
5959 | { | |
96baa820 | 5960 | #define FLD(f) abuf->fields.sfmt_emul3.f |
c906108c SS |
5961 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
5962 | const IDESC * UNUSED idesc = abuf->idesc; | |
5963 | int cycles = 0; | |
5964 | { | |
5965 | int referenced = 0; | |
5966 | int UNUSED insn_referenced = abuf->written; | |
5967 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
5968 | } | |
5969 | return cycles; | |
5970 | #undef FLD | |
5971 | } | |
5972 | ||
5973 | static int | |
5974 | model_i960CA_shro (SIM_CPU *current_cpu, void *sem_arg) | |
5975 | { | |
96baa820 | 5976 | #define FLD(f) abuf->fields.sfmt_emul.f |
c906108c SS |
5977 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
5978 | const IDESC * UNUSED idesc = abuf->idesc; | |
5979 | int cycles = 0; | |
5980 | { | |
5981 | int referenced = 0; | |
5982 | int UNUSED insn_referenced = abuf->written; | |
5983 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
5984 | } | |
5985 | return cycles; | |
5986 | #undef FLD | |
5987 | } | |
5988 | ||
5989 | static int | |
5990 | model_i960CA_shro1 (SIM_CPU *current_cpu, void *sem_arg) | |
5991 | { | |
96baa820 | 5992 | #define FLD(f) abuf->fields.sfmt_emul1.f |
c906108c SS |
5993 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
5994 | const IDESC * UNUSED idesc = abuf->idesc; | |
5995 | int cycles = 0; | |
5996 | { | |
5997 | int referenced = 0; | |
5998 | int UNUSED insn_referenced = abuf->written; | |
5999 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
6000 | } | |
6001 | return cycles; | |
6002 | #undef FLD | |
6003 | } | |
6004 | ||
6005 | static int | |
6006 | model_i960CA_shro2 (SIM_CPU *current_cpu, void *sem_arg) | |
6007 | { | |
96baa820 | 6008 | #define FLD(f) abuf->fields.sfmt_emul2.f |
c906108c SS |
6009 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
6010 | const IDESC * UNUSED idesc = abuf->idesc; | |
6011 | int cycles = 0; | |
6012 | { | |
6013 | int referenced = 0; | |
6014 | int UNUSED insn_referenced = abuf->written; | |
6015 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
6016 | } | |
6017 | return cycles; | |
6018 | #undef FLD | |
6019 | } | |
6020 | ||
6021 | static int | |
6022 | model_i960CA_shro3 (SIM_CPU *current_cpu, void *sem_arg) | |
6023 | { | |
96baa820 | 6024 | #define FLD(f) abuf->fields.sfmt_emul3.f |
c906108c SS |
6025 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
6026 | const IDESC * UNUSED idesc = abuf->idesc; | |
6027 | int cycles = 0; | |
6028 | { | |
6029 | int referenced = 0; | |
6030 | int UNUSED insn_referenced = abuf->written; | |
6031 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
6032 | } | |
6033 | return cycles; | |
6034 | #undef FLD | |
6035 | } | |
6036 | ||
6037 | static int | |
6038 | model_i960CA_shli (SIM_CPU *current_cpu, void *sem_arg) | |
6039 | { | |
96baa820 | 6040 | #define FLD(f) abuf->fields.sfmt_emul.f |
c906108c SS |
6041 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
6042 | const IDESC * UNUSED idesc = abuf->idesc; | |
6043 | int cycles = 0; | |
6044 | { | |
6045 | int referenced = 0; | |
6046 | int UNUSED insn_referenced = abuf->written; | |
6047 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
6048 | } | |
6049 | return cycles; | |
6050 | #undef FLD | |
6051 | } | |
6052 | ||
6053 | static int | |
6054 | model_i960CA_shli1 (SIM_CPU *current_cpu, void *sem_arg) | |
6055 | { | |
96baa820 | 6056 | #define FLD(f) abuf->fields.sfmt_emul1.f |
c906108c SS |
6057 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
6058 | const IDESC * UNUSED idesc = abuf->idesc; | |
6059 | int cycles = 0; | |
6060 | { | |
6061 | int referenced = 0; | |
6062 | int UNUSED insn_referenced = abuf->written; | |
6063 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
6064 | } | |
6065 | return cycles; | |
6066 | #undef FLD | |
6067 | } | |
6068 | ||
6069 | static int | |
6070 | model_i960CA_shli2 (SIM_CPU *current_cpu, void *sem_arg) | |
6071 | { | |
96baa820 | 6072 | #define FLD(f) abuf->fields.sfmt_emul2.f |
c906108c SS |
6073 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
6074 | const IDESC * UNUSED idesc = abuf->idesc; | |
6075 | int cycles = 0; | |
6076 | { | |
6077 | int referenced = 0; | |
6078 | int UNUSED insn_referenced = abuf->written; | |
6079 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
6080 | } | |
6081 | return cycles; | |
6082 | #undef FLD | |
6083 | } | |
6084 | ||
6085 | static int | |
6086 | model_i960CA_shli3 (SIM_CPU *current_cpu, void *sem_arg) | |
6087 | { | |
96baa820 | 6088 | #define FLD(f) abuf->fields.sfmt_emul3.f |
c906108c SS |
6089 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
6090 | const IDESC * UNUSED idesc = abuf->idesc; | |
6091 | int cycles = 0; | |
6092 | { | |
6093 | int referenced = 0; | |
6094 | int UNUSED insn_referenced = abuf->written; | |
6095 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
6096 | } | |
6097 | return cycles; | |
6098 | #undef FLD | |
6099 | } | |
6100 | ||
6101 | static int | |
6102 | model_i960CA_shri (SIM_CPU *current_cpu, void *sem_arg) | |
6103 | { | |
96baa820 | 6104 | #define FLD(f) abuf->fields.sfmt_emul.f |
c906108c SS |
6105 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
6106 | const IDESC * UNUSED idesc = abuf->idesc; | |
6107 | int cycles = 0; | |
6108 | { | |
6109 | int referenced = 0; | |
6110 | int UNUSED insn_referenced = abuf->written; | |
6111 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
6112 | } | |
6113 | return cycles; | |
6114 | #undef FLD | |
6115 | } | |
6116 | ||
6117 | static int | |
6118 | model_i960CA_shri1 (SIM_CPU *current_cpu, void *sem_arg) | |
6119 | { | |
96baa820 | 6120 | #define FLD(f) abuf->fields.sfmt_emul1.f |
c906108c SS |
6121 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
6122 | const IDESC * UNUSED idesc = abuf->idesc; | |
6123 | int cycles = 0; | |
6124 | { | |
6125 | int referenced = 0; | |
6126 | int UNUSED insn_referenced = abuf->written; | |
6127 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
6128 | } | |
6129 | return cycles; | |
6130 | #undef FLD | |
6131 | } | |
6132 | ||
6133 | static int | |
6134 | model_i960CA_shri2 (SIM_CPU *current_cpu, void *sem_arg) | |
6135 | { | |
96baa820 | 6136 | #define FLD(f) abuf->fields.sfmt_emul2.f |
c906108c SS |
6137 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
6138 | const IDESC * UNUSED idesc = abuf->idesc; | |
6139 | int cycles = 0; | |
6140 | { | |
6141 | int referenced = 0; | |
6142 | int UNUSED insn_referenced = abuf->written; | |
6143 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
6144 | } | |
6145 | return cycles; | |
6146 | #undef FLD | |
6147 | } | |
6148 | ||
6149 | static int | |
6150 | model_i960CA_shri3 (SIM_CPU *current_cpu, void *sem_arg) | |
6151 | { | |
96baa820 | 6152 | #define FLD(f) abuf->fields.sfmt_emul3.f |
c906108c SS |
6153 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
6154 | const IDESC * UNUSED idesc = abuf->idesc; | |
6155 | int cycles = 0; | |
6156 | { | |
6157 | int referenced = 0; | |
6158 | int UNUSED insn_referenced = abuf->written; | |
6159 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
6160 | } | |
6161 | return cycles; | |
6162 | #undef FLD | |
6163 | } | |
6164 | ||
6165 | static int | |
6166 | model_i960CA_emul (SIM_CPU *current_cpu, void *sem_arg) | |
6167 | { | |
96baa820 | 6168 | #define FLD(f) abuf->fields.sfmt_emul.f |
c906108c SS |
6169 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
6170 | const IDESC * UNUSED idesc = abuf->idesc; | |
6171 | int cycles = 0; | |
6172 | { | |
6173 | int referenced = 0; | |
6174 | int UNUSED insn_referenced = abuf->written; | |
6175 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
6176 | } | |
6177 | return cycles; | |
6178 | #undef FLD | |
6179 | } | |
6180 | ||
6181 | static int | |
6182 | model_i960CA_emul1 (SIM_CPU *current_cpu, void *sem_arg) | |
6183 | { | |
96baa820 | 6184 | #define FLD(f) abuf->fields.sfmt_emul1.f |
c906108c SS |
6185 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
6186 | const IDESC * UNUSED idesc = abuf->idesc; | |
6187 | int cycles = 0; | |
6188 | { | |
6189 | int referenced = 0; | |
6190 | int UNUSED insn_referenced = abuf->written; | |
6191 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
6192 | } | |
6193 | return cycles; | |
6194 | #undef FLD | |
6195 | } | |
6196 | ||
6197 | static int | |
6198 | model_i960CA_emul2 (SIM_CPU *current_cpu, void *sem_arg) | |
6199 | { | |
96baa820 | 6200 | #define FLD(f) abuf->fields.sfmt_emul2.f |
c906108c SS |
6201 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
6202 | const IDESC * UNUSED idesc = abuf->idesc; | |
6203 | int cycles = 0; | |
6204 | { | |
6205 | int referenced = 0; | |
6206 | int UNUSED insn_referenced = abuf->written; | |
6207 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
6208 | } | |
6209 | return cycles; | |
6210 | #undef FLD | |
6211 | } | |
6212 | ||
6213 | static int | |
6214 | model_i960CA_emul3 (SIM_CPU *current_cpu, void *sem_arg) | |
6215 | { | |
96baa820 | 6216 | #define FLD(f) abuf->fields.sfmt_emul3.f |
c906108c SS |
6217 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
6218 | const IDESC * UNUSED idesc = abuf->idesc; | |
6219 | int cycles = 0; | |
6220 | { | |
6221 | int referenced = 0; | |
6222 | int UNUSED insn_referenced = abuf->written; | |
6223 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
6224 | } | |
6225 | return cycles; | |
6226 | #undef FLD | |
6227 | } | |
6228 | ||
6229 | static int | |
6230 | model_i960CA_mov (SIM_CPU *current_cpu, void *sem_arg) | |
6231 | { | |
96baa820 | 6232 | #define FLD(f) abuf->fields.sfmt_emul2.f |
c906108c SS |
6233 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
6234 | const IDESC * UNUSED idesc = abuf->idesc; | |
6235 | int cycles = 0; | |
6236 | { | |
6237 | int referenced = 0; | |
6238 | int UNUSED insn_referenced = abuf->written; | |
6239 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
6240 | } | |
6241 | return cycles; | |
6242 | #undef FLD | |
6243 | } | |
6244 | ||
6245 | static int | |
6246 | model_i960CA_mov1 (SIM_CPU *current_cpu, void *sem_arg) | |
6247 | { | |
96baa820 | 6248 | #define FLD(f) abuf->fields.sfmt_emul3.f |
c906108c SS |
6249 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
6250 | const IDESC * UNUSED idesc = abuf->idesc; | |
6251 | int cycles = 0; | |
6252 | { | |
6253 | int referenced = 0; | |
6254 | int UNUSED insn_referenced = abuf->written; | |
6255 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
6256 | } | |
6257 | return cycles; | |
6258 | #undef FLD | |
6259 | } | |
6260 | ||
6261 | static int | |
6262 | model_i960CA_movl (SIM_CPU *current_cpu, void *sem_arg) | |
6263 | { | |
96baa820 | 6264 | #define FLD(f) abuf->fields.sfmt_movq.f |
c906108c SS |
6265 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
6266 | const IDESC * UNUSED idesc = abuf->idesc; | |
6267 | int cycles = 0; | |
6268 | { | |
6269 | int referenced = 0; | |
6270 | int UNUSED insn_referenced = abuf->written; | |
6271 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
6272 | } | |
6273 | return cycles; | |
6274 | #undef FLD | |
6275 | } | |
6276 | ||
6277 | static int | |
6278 | model_i960CA_movl1 (SIM_CPU *current_cpu, void *sem_arg) | |
6279 | { | |
96baa820 | 6280 | #define FLD(f) abuf->fields.sfmt_emul3.f |
c906108c SS |
6281 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
6282 | const IDESC * UNUSED idesc = abuf->idesc; | |
6283 | int cycles = 0; | |
6284 | { | |
6285 | int referenced = 0; | |
6286 | int UNUSED insn_referenced = abuf->written; | |
6287 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
6288 | } | |
6289 | return cycles; | |
6290 | #undef FLD | |
6291 | } | |
6292 | ||
6293 | static int | |
6294 | model_i960CA_movt (SIM_CPU *current_cpu, void *sem_arg) | |
6295 | { | |
96baa820 | 6296 | #define FLD(f) abuf->fields.sfmt_movq.f |
c906108c SS |
6297 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
6298 | const IDESC * UNUSED idesc = abuf->idesc; | |
6299 | int cycles = 0; | |
6300 | { | |
6301 | int referenced = 0; | |
6302 | int UNUSED insn_referenced = abuf->written; | |
6303 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
6304 | } | |
6305 | return cycles; | |
6306 | #undef FLD | |
6307 | } | |
6308 | ||
6309 | static int | |
6310 | model_i960CA_movt1 (SIM_CPU *current_cpu, void *sem_arg) | |
6311 | { | |
96baa820 | 6312 | #define FLD(f) abuf->fields.sfmt_movq.f |
c906108c SS |
6313 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
6314 | const IDESC * UNUSED idesc = abuf->idesc; | |
6315 | int cycles = 0; | |
6316 | { | |
6317 | int referenced = 0; | |
6318 | int UNUSED insn_referenced = abuf->written; | |
6319 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
6320 | } | |
6321 | return cycles; | |
6322 | #undef FLD | |
6323 | } | |
6324 | ||
6325 | static int | |
6326 | model_i960CA_movq (SIM_CPU *current_cpu, void *sem_arg) | |
6327 | { | |
96baa820 | 6328 | #define FLD(f) abuf->fields.sfmt_movq.f |
c906108c SS |
6329 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
6330 | const IDESC * UNUSED idesc = abuf->idesc; | |
6331 | int cycles = 0; | |
6332 | { | |
6333 | int referenced = 0; | |
6334 | int UNUSED insn_referenced = abuf->written; | |
6335 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
6336 | } | |
6337 | return cycles; | |
6338 | #undef FLD | |
6339 | } | |
6340 | ||
6341 | static int | |
6342 | model_i960CA_movq1 (SIM_CPU *current_cpu, void *sem_arg) | |
6343 | { | |
96baa820 | 6344 | #define FLD(f) abuf->fields.sfmt_movq.f |
c906108c SS |
6345 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
6346 | const IDESC * UNUSED idesc = abuf->idesc; | |
6347 | int cycles = 0; | |
6348 | { | |
6349 | int referenced = 0; | |
6350 | int UNUSED insn_referenced = abuf->written; | |
6351 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
6352 | } | |
6353 | return cycles; | |
6354 | #undef FLD | |
6355 | } | |
6356 | ||
6357 | static int | |
6358 | model_i960CA_modpc (SIM_CPU *current_cpu, void *sem_arg) | |
6359 | { | |
96baa820 | 6360 | #define FLD(f) abuf->fields.sfmt_emul1.f |
c906108c SS |
6361 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
6362 | const IDESC * UNUSED idesc = abuf->idesc; | |
6363 | int cycles = 0; | |
6364 | { | |
6365 | int referenced = 0; | |
6366 | int UNUSED insn_referenced = abuf->written; | |
6367 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
6368 | } | |
6369 | return cycles; | |
6370 | #undef FLD | |
6371 | } | |
6372 | ||
6373 | static int | |
6374 | model_i960CA_modac (SIM_CPU *current_cpu, void *sem_arg) | |
6375 | { | |
96baa820 | 6376 | #define FLD(f) abuf->fields.sfmt_emul1.f |
c906108c SS |
6377 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
6378 | const IDESC * UNUSED idesc = abuf->idesc; | |
6379 | int cycles = 0; | |
6380 | { | |
6381 | int referenced = 0; | |
6382 | int UNUSED insn_referenced = abuf->written; | |
6383 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
6384 | } | |
6385 | return cycles; | |
6386 | #undef FLD | |
6387 | } | |
6388 | ||
6389 | static int | |
6390 | model_i960CA_lda_offset (SIM_CPU *current_cpu, void *sem_arg) | |
6391 | { | |
96baa820 | 6392 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_offset.f |
c906108c SS |
6393 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
6394 | const IDESC * UNUSED idesc = abuf->idesc; | |
6395 | int cycles = 0; | |
6396 | { | |
6397 | int referenced = 0; | |
6398 | int UNUSED insn_referenced = abuf->written; | |
6399 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
6400 | } | |
6401 | return cycles; | |
6402 | #undef FLD | |
6403 | } | |
6404 | ||
6405 | static int | |
6406 | model_i960CA_lda_indirect_offset (SIM_CPU *current_cpu, void *sem_arg) | |
6407 | { | |
96baa820 | 6408 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_offset.f |
c906108c SS |
6409 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
6410 | const IDESC * UNUSED idesc = abuf->idesc; | |
6411 | int cycles = 0; | |
6412 | { | |
6413 | int referenced = 0; | |
6414 | int UNUSED insn_referenced = abuf->written; | |
6415 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
6416 | } | |
6417 | return cycles; | |
6418 | #undef FLD | |
6419 | } | |
6420 | ||
6421 | static int | |
6422 | model_i960CA_lda_indirect (SIM_CPU *current_cpu, void *sem_arg) | |
6423 | { | |
96baa820 | 6424 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_offset.f |
c906108c SS |
6425 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
6426 | const IDESC * UNUSED idesc = abuf->idesc; | |
6427 | int cycles = 0; | |
6428 | { | |
6429 | int referenced = 0; | |
6430 | int UNUSED insn_referenced = abuf->written; | |
6431 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
6432 | } | |
6433 | return cycles; | |
6434 | #undef FLD | |
6435 | } | |
6436 | ||
6437 | static int | |
6438 | model_i960CA_lda_indirect_index (SIM_CPU *current_cpu, void *sem_arg) | |
6439 | { | |
96baa820 | 6440 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
6441 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
6442 | const IDESC * UNUSED idesc = abuf->idesc; | |
6443 | int cycles = 0; | |
6444 | { | |
6445 | int referenced = 0; | |
6446 | int UNUSED insn_referenced = abuf->written; | |
6447 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
6448 | } | |
6449 | return cycles; | |
6450 | #undef FLD | |
6451 | } | |
6452 | ||
6453 | static int | |
6454 | model_i960CA_lda_disp (SIM_CPU *current_cpu, void *sem_arg) | |
6455 | { | |
96baa820 | 6456 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
6457 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
6458 | const IDESC * UNUSED idesc = abuf->idesc; | |
6459 | int cycles = 0; | |
6460 | { | |
6461 | int referenced = 0; | |
6462 | int UNUSED insn_referenced = abuf->written; | |
6463 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
6464 | } | |
6465 | return cycles; | |
6466 | #undef FLD | |
6467 | } | |
6468 | ||
6469 | static int | |
6470 | model_i960CA_lda_indirect_disp (SIM_CPU *current_cpu, void *sem_arg) | |
6471 | { | |
96baa820 | 6472 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
6473 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
6474 | const IDESC * UNUSED idesc = abuf->idesc; | |
6475 | int cycles = 0; | |
6476 | { | |
6477 | int referenced = 0; | |
6478 | int UNUSED insn_referenced = abuf->written; | |
6479 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
6480 | } | |
6481 | return cycles; | |
6482 | #undef FLD | |
6483 | } | |
6484 | ||
6485 | static int | |
6486 | model_i960CA_lda_index_disp (SIM_CPU *current_cpu, void *sem_arg) | |
6487 | { | |
96baa820 | 6488 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
6489 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
6490 | const IDESC * UNUSED idesc = abuf->idesc; | |
6491 | int cycles = 0; | |
6492 | { | |
6493 | int referenced = 0; | |
6494 | int UNUSED insn_referenced = abuf->written; | |
6495 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
6496 | } | |
6497 | return cycles; | |
6498 | #undef FLD | |
6499 | } | |
6500 | ||
6501 | static int | |
6502 | model_i960CA_lda_indirect_index_disp (SIM_CPU *current_cpu, void *sem_arg) | |
6503 | { | |
96baa820 | 6504 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
6505 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
6506 | const IDESC * UNUSED idesc = abuf->idesc; | |
6507 | int cycles = 0; | |
6508 | { | |
6509 | int referenced = 0; | |
6510 | int UNUSED insn_referenced = abuf->written; | |
6511 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
6512 | } | |
6513 | return cycles; | |
6514 | #undef FLD | |
6515 | } | |
6516 | ||
6517 | static int | |
6518 | model_i960CA_ld_offset (SIM_CPU *current_cpu, void *sem_arg) | |
6519 | { | |
96baa820 | 6520 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_offset.f |
c906108c SS |
6521 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
6522 | const IDESC * UNUSED idesc = abuf->idesc; | |
6523 | int cycles = 0; | |
6524 | { | |
6525 | int referenced = 0; | |
6526 | int UNUSED insn_referenced = abuf->written; | |
6527 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
6528 | } | |
6529 | return cycles; | |
6530 | #undef FLD | |
6531 | } | |
6532 | ||
6533 | static int | |
6534 | model_i960CA_ld_indirect_offset (SIM_CPU *current_cpu, void *sem_arg) | |
6535 | { | |
96baa820 | 6536 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_offset.f |
c906108c SS |
6537 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
6538 | const IDESC * UNUSED idesc = abuf->idesc; | |
6539 | int cycles = 0; | |
6540 | { | |
6541 | int referenced = 0; | |
6542 | int UNUSED insn_referenced = abuf->written; | |
6543 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
6544 | } | |
6545 | return cycles; | |
6546 | #undef FLD | |
6547 | } | |
6548 | ||
6549 | static int | |
6550 | model_i960CA_ld_indirect (SIM_CPU *current_cpu, void *sem_arg) | |
6551 | { | |
96baa820 | 6552 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_offset.f |
c906108c SS |
6553 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
6554 | const IDESC * UNUSED idesc = abuf->idesc; | |
6555 | int cycles = 0; | |
6556 | { | |
6557 | int referenced = 0; | |
6558 | int UNUSED insn_referenced = abuf->written; | |
6559 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
6560 | } | |
6561 | return cycles; | |
6562 | #undef FLD | |
6563 | } | |
6564 | ||
6565 | static int | |
6566 | model_i960CA_ld_indirect_index (SIM_CPU *current_cpu, void *sem_arg) | |
6567 | { | |
96baa820 | 6568 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
6569 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
6570 | const IDESC * UNUSED idesc = abuf->idesc; | |
6571 | int cycles = 0; | |
6572 | { | |
6573 | int referenced = 0; | |
6574 | int UNUSED insn_referenced = abuf->written; | |
6575 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
6576 | } | |
6577 | return cycles; | |
6578 | #undef FLD | |
6579 | } | |
6580 | ||
6581 | static int | |
6582 | model_i960CA_ld_disp (SIM_CPU *current_cpu, void *sem_arg) | |
6583 | { | |
96baa820 | 6584 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
6585 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
6586 | const IDESC * UNUSED idesc = abuf->idesc; | |
6587 | int cycles = 0; | |
6588 | { | |
6589 | int referenced = 0; | |
6590 | int UNUSED insn_referenced = abuf->written; | |
6591 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
6592 | } | |
6593 | return cycles; | |
6594 | #undef FLD | |
6595 | } | |
6596 | ||
6597 | static int | |
6598 | model_i960CA_ld_indirect_disp (SIM_CPU *current_cpu, void *sem_arg) | |
6599 | { | |
96baa820 | 6600 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
6601 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
6602 | const IDESC * UNUSED idesc = abuf->idesc; | |
6603 | int cycles = 0; | |
6604 | { | |
6605 | int referenced = 0; | |
6606 | int UNUSED insn_referenced = abuf->written; | |
6607 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
6608 | } | |
6609 | return cycles; | |
6610 | #undef FLD | |
6611 | } | |
6612 | ||
6613 | static int | |
6614 | model_i960CA_ld_index_disp (SIM_CPU *current_cpu, void *sem_arg) | |
6615 | { | |
96baa820 | 6616 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
6617 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
6618 | const IDESC * UNUSED idesc = abuf->idesc; | |
6619 | int cycles = 0; | |
6620 | { | |
6621 | int referenced = 0; | |
6622 | int UNUSED insn_referenced = abuf->written; | |
6623 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
6624 | } | |
6625 | return cycles; | |
6626 | #undef FLD | |
6627 | } | |
6628 | ||
6629 | static int | |
6630 | model_i960CA_ld_indirect_index_disp (SIM_CPU *current_cpu, void *sem_arg) | |
6631 | { | |
96baa820 | 6632 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
6633 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
6634 | const IDESC * UNUSED idesc = abuf->idesc; | |
6635 | int cycles = 0; | |
6636 | { | |
6637 | int referenced = 0; | |
6638 | int UNUSED insn_referenced = abuf->written; | |
6639 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
6640 | } | |
6641 | return cycles; | |
6642 | #undef FLD | |
6643 | } | |
6644 | ||
6645 | static int | |
6646 | model_i960CA_ldob_offset (SIM_CPU *current_cpu, void *sem_arg) | |
6647 | { | |
96baa820 | 6648 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_offset.f |
c906108c SS |
6649 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
6650 | const IDESC * UNUSED idesc = abuf->idesc; | |
6651 | int cycles = 0; | |
6652 | { | |
6653 | int referenced = 0; | |
6654 | int UNUSED insn_referenced = abuf->written; | |
6655 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
6656 | } | |
6657 | return cycles; | |
6658 | #undef FLD | |
6659 | } | |
6660 | ||
6661 | static int | |
6662 | model_i960CA_ldob_indirect_offset (SIM_CPU *current_cpu, void *sem_arg) | |
6663 | { | |
96baa820 | 6664 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_offset.f |
c906108c SS |
6665 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
6666 | const IDESC * UNUSED idesc = abuf->idesc; | |
6667 | int cycles = 0; | |
6668 | { | |
6669 | int referenced = 0; | |
6670 | int UNUSED insn_referenced = abuf->written; | |
6671 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
6672 | } | |
6673 | return cycles; | |
6674 | #undef FLD | |
6675 | } | |
6676 | ||
6677 | static int | |
6678 | model_i960CA_ldob_indirect (SIM_CPU *current_cpu, void *sem_arg) | |
6679 | { | |
96baa820 | 6680 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_offset.f |
c906108c SS |
6681 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
6682 | const IDESC * UNUSED idesc = abuf->idesc; | |
6683 | int cycles = 0; | |
6684 | { | |
6685 | int referenced = 0; | |
6686 | int UNUSED insn_referenced = abuf->written; | |
6687 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
6688 | } | |
6689 | return cycles; | |
6690 | #undef FLD | |
6691 | } | |
6692 | ||
6693 | static int | |
6694 | model_i960CA_ldob_indirect_index (SIM_CPU *current_cpu, void *sem_arg) | |
6695 | { | |
96baa820 | 6696 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
6697 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
6698 | const IDESC * UNUSED idesc = abuf->idesc; | |
6699 | int cycles = 0; | |
6700 | { | |
6701 | int referenced = 0; | |
6702 | int UNUSED insn_referenced = abuf->written; | |
6703 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
6704 | } | |
6705 | return cycles; | |
6706 | #undef FLD | |
6707 | } | |
6708 | ||
6709 | static int | |
6710 | model_i960CA_ldob_disp (SIM_CPU *current_cpu, void *sem_arg) | |
6711 | { | |
96baa820 | 6712 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
6713 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
6714 | const IDESC * UNUSED idesc = abuf->idesc; | |
6715 | int cycles = 0; | |
6716 | { | |
6717 | int referenced = 0; | |
6718 | int UNUSED insn_referenced = abuf->written; | |
6719 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
6720 | } | |
6721 | return cycles; | |
6722 | #undef FLD | |
6723 | } | |
6724 | ||
6725 | static int | |
6726 | model_i960CA_ldob_indirect_disp (SIM_CPU *current_cpu, void *sem_arg) | |
6727 | { | |
96baa820 | 6728 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
6729 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
6730 | const IDESC * UNUSED idesc = abuf->idesc; | |
6731 | int cycles = 0; | |
6732 | { | |
6733 | int referenced = 0; | |
6734 | int UNUSED insn_referenced = abuf->written; | |
6735 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
6736 | } | |
6737 | return cycles; | |
6738 | #undef FLD | |
6739 | } | |
6740 | ||
6741 | static int | |
6742 | model_i960CA_ldob_index_disp (SIM_CPU *current_cpu, void *sem_arg) | |
6743 | { | |
96baa820 | 6744 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
6745 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
6746 | const IDESC * UNUSED idesc = abuf->idesc; | |
6747 | int cycles = 0; | |
6748 | { | |
6749 | int referenced = 0; | |
6750 | int UNUSED insn_referenced = abuf->written; | |
6751 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
6752 | } | |
6753 | return cycles; | |
6754 | #undef FLD | |
6755 | } | |
6756 | ||
6757 | static int | |
6758 | model_i960CA_ldob_indirect_index_disp (SIM_CPU *current_cpu, void *sem_arg) | |
6759 | { | |
96baa820 | 6760 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
6761 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
6762 | const IDESC * UNUSED idesc = abuf->idesc; | |
6763 | int cycles = 0; | |
6764 | { | |
6765 | int referenced = 0; | |
6766 | int UNUSED insn_referenced = abuf->written; | |
6767 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
6768 | } | |
6769 | return cycles; | |
6770 | #undef FLD | |
6771 | } | |
6772 | ||
6773 | static int | |
6774 | model_i960CA_ldos_offset (SIM_CPU *current_cpu, void *sem_arg) | |
6775 | { | |
96baa820 | 6776 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_offset.f |
c906108c SS |
6777 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
6778 | const IDESC * UNUSED idesc = abuf->idesc; | |
6779 | int cycles = 0; | |
6780 | { | |
6781 | int referenced = 0; | |
6782 | int UNUSED insn_referenced = abuf->written; | |
6783 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
6784 | } | |
6785 | return cycles; | |
6786 | #undef FLD | |
6787 | } | |
6788 | ||
6789 | static int | |
6790 | model_i960CA_ldos_indirect_offset (SIM_CPU *current_cpu, void *sem_arg) | |
6791 | { | |
96baa820 | 6792 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_offset.f |
c906108c SS |
6793 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
6794 | const IDESC * UNUSED idesc = abuf->idesc; | |
6795 | int cycles = 0; | |
6796 | { | |
6797 | int referenced = 0; | |
6798 | int UNUSED insn_referenced = abuf->written; | |
6799 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
6800 | } | |
6801 | return cycles; | |
6802 | #undef FLD | |
6803 | } | |
6804 | ||
6805 | static int | |
6806 | model_i960CA_ldos_indirect (SIM_CPU *current_cpu, void *sem_arg) | |
6807 | { | |
96baa820 | 6808 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_offset.f |
c906108c SS |
6809 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
6810 | const IDESC * UNUSED idesc = abuf->idesc; | |
6811 | int cycles = 0; | |
6812 | { | |
6813 | int referenced = 0; | |
6814 | int UNUSED insn_referenced = abuf->written; | |
6815 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
6816 | } | |
6817 | return cycles; | |
6818 | #undef FLD | |
6819 | } | |
6820 | ||
6821 | static int | |
6822 | model_i960CA_ldos_indirect_index (SIM_CPU *current_cpu, void *sem_arg) | |
6823 | { | |
96baa820 | 6824 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
6825 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
6826 | const IDESC * UNUSED idesc = abuf->idesc; | |
6827 | int cycles = 0; | |
6828 | { | |
6829 | int referenced = 0; | |
6830 | int UNUSED insn_referenced = abuf->written; | |
6831 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
6832 | } | |
6833 | return cycles; | |
6834 | #undef FLD | |
6835 | } | |
6836 | ||
6837 | static int | |
6838 | model_i960CA_ldos_disp (SIM_CPU *current_cpu, void *sem_arg) | |
6839 | { | |
96baa820 | 6840 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
6841 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
6842 | const IDESC * UNUSED idesc = abuf->idesc; | |
6843 | int cycles = 0; | |
6844 | { | |
6845 | int referenced = 0; | |
6846 | int UNUSED insn_referenced = abuf->written; | |
6847 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
6848 | } | |
6849 | return cycles; | |
6850 | #undef FLD | |
6851 | } | |
6852 | ||
6853 | static int | |
6854 | model_i960CA_ldos_indirect_disp (SIM_CPU *current_cpu, void *sem_arg) | |
6855 | { | |
96baa820 | 6856 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
6857 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
6858 | const IDESC * UNUSED idesc = abuf->idesc; | |
6859 | int cycles = 0; | |
6860 | { | |
6861 | int referenced = 0; | |
6862 | int UNUSED insn_referenced = abuf->written; | |
6863 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
6864 | } | |
6865 | return cycles; | |
6866 | #undef FLD | |
6867 | } | |
6868 | ||
6869 | static int | |
6870 | model_i960CA_ldos_index_disp (SIM_CPU *current_cpu, void *sem_arg) | |
6871 | { | |
96baa820 | 6872 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
6873 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
6874 | const IDESC * UNUSED idesc = abuf->idesc; | |
6875 | int cycles = 0; | |
6876 | { | |
6877 | int referenced = 0; | |
6878 | int UNUSED insn_referenced = abuf->written; | |
6879 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
6880 | } | |
6881 | return cycles; | |
6882 | #undef FLD | |
6883 | } | |
6884 | ||
6885 | static int | |
6886 | model_i960CA_ldos_indirect_index_disp (SIM_CPU *current_cpu, void *sem_arg) | |
6887 | { | |
96baa820 | 6888 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
6889 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
6890 | const IDESC * UNUSED idesc = abuf->idesc; | |
6891 | int cycles = 0; | |
6892 | { | |
6893 | int referenced = 0; | |
6894 | int UNUSED insn_referenced = abuf->written; | |
6895 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
6896 | } | |
6897 | return cycles; | |
6898 | #undef FLD | |
6899 | } | |
6900 | ||
6901 | static int | |
6902 | model_i960CA_ldib_offset (SIM_CPU *current_cpu, void *sem_arg) | |
6903 | { | |
96baa820 | 6904 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_offset.f |
c906108c SS |
6905 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
6906 | const IDESC * UNUSED idesc = abuf->idesc; | |
6907 | int cycles = 0; | |
6908 | { | |
6909 | int referenced = 0; | |
6910 | int UNUSED insn_referenced = abuf->written; | |
6911 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
6912 | } | |
6913 | return cycles; | |
6914 | #undef FLD | |
6915 | } | |
6916 | ||
6917 | static int | |
6918 | model_i960CA_ldib_indirect_offset (SIM_CPU *current_cpu, void *sem_arg) | |
6919 | { | |
96baa820 | 6920 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_offset.f |
c906108c SS |
6921 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
6922 | const IDESC * UNUSED idesc = abuf->idesc; | |
6923 | int cycles = 0; | |
6924 | { | |
6925 | int referenced = 0; | |
6926 | int UNUSED insn_referenced = abuf->written; | |
6927 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
6928 | } | |
6929 | return cycles; | |
6930 | #undef FLD | |
6931 | } | |
6932 | ||
6933 | static int | |
6934 | model_i960CA_ldib_indirect (SIM_CPU *current_cpu, void *sem_arg) | |
6935 | { | |
96baa820 | 6936 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_offset.f |
c906108c SS |
6937 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
6938 | const IDESC * UNUSED idesc = abuf->idesc; | |
6939 | int cycles = 0; | |
6940 | { | |
6941 | int referenced = 0; | |
6942 | int UNUSED insn_referenced = abuf->written; | |
6943 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
6944 | } | |
6945 | return cycles; | |
6946 | #undef FLD | |
6947 | } | |
6948 | ||
6949 | static int | |
6950 | model_i960CA_ldib_indirect_index (SIM_CPU *current_cpu, void *sem_arg) | |
6951 | { | |
96baa820 | 6952 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
6953 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
6954 | const IDESC * UNUSED idesc = abuf->idesc; | |
6955 | int cycles = 0; | |
6956 | { | |
6957 | int referenced = 0; | |
6958 | int UNUSED insn_referenced = abuf->written; | |
6959 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
6960 | } | |
6961 | return cycles; | |
6962 | #undef FLD | |
6963 | } | |
6964 | ||
6965 | static int | |
6966 | model_i960CA_ldib_disp (SIM_CPU *current_cpu, void *sem_arg) | |
6967 | { | |
96baa820 | 6968 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
6969 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
6970 | const IDESC * UNUSED idesc = abuf->idesc; | |
6971 | int cycles = 0; | |
6972 | { | |
6973 | int referenced = 0; | |
6974 | int UNUSED insn_referenced = abuf->written; | |
6975 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
6976 | } | |
6977 | return cycles; | |
6978 | #undef FLD | |
6979 | } | |
6980 | ||
6981 | static int | |
6982 | model_i960CA_ldib_indirect_disp (SIM_CPU *current_cpu, void *sem_arg) | |
6983 | { | |
96baa820 | 6984 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
6985 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
6986 | const IDESC * UNUSED idesc = abuf->idesc; | |
6987 | int cycles = 0; | |
6988 | { | |
6989 | int referenced = 0; | |
6990 | int UNUSED insn_referenced = abuf->written; | |
6991 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
6992 | } | |
6993 | return cycles; | |
6994 | #undef FLD | |
6995 | } | |
6996 | ||
6997 | static int | |
6998 | model_i960CA_ldib_index_disp (SIM_CPU *current_cpu, void *sem_arg) | |
6999 | { | |
96baa820 | 7000 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
7001 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
7002 | const IDESC * UNUSED idesc = abuf->idesc; | |
7003 | int cycles = 0; | |
7004 | { | |
7005 | int referenced = 0; | |
7006 | int UNUSED insn_referenced = abuf->written; | |
7007 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
7008 | } | |
7009 | return cycles; | |
7010 | #undef FLD | |
7011 | } | |
7012 | ||
7013 | static int | |
7014 | model_i960CA_ldib_indirect_index_disp (SIM_CPU *current_cpu, void *sem_arg) | |
7015 | { | |
96baa820 | 7016 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
7017 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
7018 | const IDESC * UNUSED idesc = abuf->idesc; | |
7019 | int cycles = 0; | |
7020 | { | |
7021 | int referenced = 0; | |
7022 | int UNUSED insn_referenced = abuf->written; | |
7023 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
7024 | } | |
7025 | return cycles; | |
7026 | #undef FLD | |
7027 | } | |
7028 | ||
7029 | static int | |
7030 | model_i960CA_ldis_offset (SIM_CPU *current_cpu, void *sem_arg) | |
7031 | { | |
96baa820 | 7032 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_offset.f |
c906108c SS |
7033 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
7034 | const IDESC * UNUSED idesc = abuf->idesc; | |
7035 | int cycles = 0; | |
7036 | { | |
7037 | int referenced = 0; | |
7038 | int UNUSED insn_referenced = abuf->written; | |
7039 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
7040 | } | |
7041 | return cycles; | |
7042 | #undef FLD | |
7043 | } | |
7044 | ||
7045 | static int | |
7046 | model_i960CA_ldis_indirect_offset (SIM_CPU *current_cpu, void *sem_arg) | |
7047 | { | |
96baa820 | 7048 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_offset.f |
c906108c SS |
7049 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
7050 | const IDESC * UNUSED idesc = abuf->idesc; | |
7051 | int cycles = 0; | |
7052 | { | |
7053 | int referenced = 0; | |
7054 | int UNUSED insn_referenced = abuf->written; | |
7055 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
7056 | } | |
7057 | return cycles; | |
7058 | #undef FLD | |
7059 | } | |
7060 | ||
7061 | static int | |
7062 | model_i960CA_ldis_indirect (SIM_CPU *current_cpu, void *sem_arg) | |
7063 | { | |
96baa820 | 7064 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_offset.f |
c906108c SS |
7065 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
7066 | const IDESC * UNUSED idesc = abuf->idesc; | |
7067 | int cycles = 0; | |
7068 | { | |
7069 | int referenced = 0; | |
7070 | int UNUSED insn_referenced = abuf->written; | |
7071 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
7072 | } | |
7073 | return cycles; | |
7074 | #undef FLD | |
7075 | } | |
7076 | ||
7077 | static int | |
7078 | model_i960CA_ldis_indirect_index (SIM_CPU *current_cpu, void *sem_arg) | |
7079 | { | |
96baa820 | 7080 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
7081 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
7082 | const IDESC * UNUSED idesc = abuf->idesc; | |
7083 | int cycles = 0; | |
7084 | { | |
7085 | int referenced = 0; | |
7086 | int UNUSED insn_referenced = abuf->written; | |
7087 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
7088 | } | |
7089 | return cycles; | |
7090 | #undef FLD | |
7091 | } | |
7092 | ||
7093 | static int | |
7094 | model_i960CA_ldis_disp (SIM_CPU *current_cpu, void *sem_arg) | |
7095 | { | |
96baa820 | 7096 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
7097 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
7098 | const IDESC * UNUSED idesc = abuf->idesc; | |
7099 | int cycles = 0; | |
7100 | { | |
7101 | int referenced = 0; | |
7102 | int UNUSED insn_referenced = abuf->written; | |
7103 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
7104 | } | |
7105 | return cycles; | |
7106 | #undef FLD | |
7107 | } | |
7108 | ||
7109 | static int | |
7110 | model_i960CA_ldis_indirect_disp (SIM_CPU *current_cpu, void *sem_arg) | |
7111 | { | |
96baa820 | 7112 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
7113 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
7114 | const IDESC * UNUSED idesc = abuf->idesc; | |
7115 | int cycles = 0; | |
7116 | { | |
7117 | int referenced = 0; | |
7118 | int UNUSED insn_referenced = abuf->written; | |
7119 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
7120 | } | |
7121 | return cycles; | |
7122 | #undef FLD | |
7123 | } | |
7124 | ||
7125 | static int | |
7126 | model_i960CA_ldis_index_disp (SIM_CPU *current_cpu, void *sem_arg) | |
7127 | { | |
96baa820 | 7128 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
7129 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
7130 | const IDESC * UNUSED idesc = abuf->idesc; | |
7131 | int cycles = 0; | |
7132 | { | |
7133 | int referenced = 0; | |
7134 | int UNUSED insn_referenced = abuf->written; | |
7135 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
7136 | } | |
7137 | return cycles; | |
7138 | #undef FLD | |
7139 | } | |
7140 | ||
7141 | static int | |
7142 | model_i960CA_ldis_indirect_index_disp (SIM_CPU *current_cpu, void *sem_arg) | |
7143 | { | |
96baa820 | 7144 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
7145 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
7146 | const IDESC * UNUSED idesc = abuf->idesc; | |
7147 | int cycles = 0; | |
7148 | { | |
7149 | int referenced = 0; | |
7150 | int UNUSED insn_referenced = abuf->written; | |
7151 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
7152 | } | |
7153 | return cycles; | |
7154 | #undef FLD | |
7155 | } | |
7156 | ||
7157 | static int | |
7158 | model_i960CA_ldl_offset (SIM_CPU *current_cpu, void *sem_arg) | |
7159 | { | |
96baa820 | 7160 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_offset.f |
c906108c SS |
7161 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
7162 | const IDESC * UNUSED idesc = abuf->idesc; | |
7163 | int cycles = 0; | |
7164 | { | |
7165 | int referenced = 0; | |
7166 | int UNUSED insn_referenced = abuf->written; | |
7167 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
7168 | } | |
7169 | return cycles; | |
7170 | #undef FLD | |
7171 | } | |
7172 | ||
7173 | static int | |
7174 | model_i960CA_ldl_indirect_offset (SIM_CPU *current_cpu, void *sem_arg) | |
7175 | { | |
96baa820 | 7176 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_offset.f |
c906108c SS |
7177 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
7178 | const IDESC * UNUSED idesc = abuf->idesc; | |
7179 | int cycles = 0; | |
7180 | { | |
7181 | int referenced = 0; | |
7182 | int UNUSED insn_referenced = abuf->written; | |
7183 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
7184 | } | |
7185 | return cycles; | |
7186 | #undef FLD | |
7187 | } | |
7188 | ||
7189 | static int | |
7190 | model_i960CA_ldl_indirect (SIM_CPU *current_cpu, void *sem_arg) | |
7191 | { | |
96baa820 | 7192 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_offset.f |
c906108c SS |
7193 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
7194 | const IDESC * UNUSED idesc = abuf->idesc; | |
7195 | int cycles = 0; | |
7196 | { | |
7197 | int referenced = 0; | |
7198 | int UNUSED insn_referenced = abuf->written; | |
7199 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
7200 | } | |
7201 | return cycles; | |
7202 | #undef FLD | |
7203 | } | |
7204 | ||
7205 | static int | |
7206 | model_i960CA_ldl_indirect_index (SIM_CPU *current_cpu, void *sem_arg) | |
7207 | { | |
96baa820 | 7208 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
7209 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
7210 | const IDESC * UNUSED idesc = abuf->idesc; | |
7211 | int cycles = 0; | |
7212 | { | |
7213 | int referenced = 0; | |
7214 | int UNUSED insn_referenced = abuf->written; | |
7215 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
7216 | } | |
7217 | return cycles; | |
7218 | #undef FLD | |
7219 | } | |
7220 | ||
7221 | static int | |
7222 | model_i960CA_ldl_disp (SIM_CPU *current_cpu, void *sem_arg) | |
7223 | { | |
96baa820 | 7224 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
7225 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
7226 | const IDESC * UNUSED idesc = abuf->idesc; | |
7227 | int cycles = 0; | |
7228 | { | |
7229 | int referenced = 0; | |
7230 | int UNUSED insn_referenced = abuf->written; | |
7231 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
7232 | } | |
7233 | return cycles; | |
7234 | #undef FLD | |
7235 | } | |
7236 | ||
7237 | static int | |
7238 | model_i960CA_ldl_indirect_disp (SIM_CPU *current_cpu, void *sem_arg) | |
7239 | { | |
96baa820 | 7240 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
7241 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
7242 | const IDESC * UNUSED idesc = abuf->idesc; | |
7243 | int cycles = 0; | |
7244 | { | |
7245 | int referenced = 0; | |
7246 | int UNUSED insn_referenced = abuf->written; | |
7247 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
7248 | } | |
7249 | return cycles; | |
7250 | #undef FLD | |
7251 | } | |
7252 | ||
7253 | static int | |
7254 | model_i960CA_ldl_index_disp (SIM_CPU *current_cpu, void *sem_arg) | |
7255 | { | |
96baa820 | 7256 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
7257 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
7258 | const IDESC * UNUSED idesc = abuf->idesc; | |
7259 | int cycles = 0; | |
7260 | { | |
7261 | int referenced = 0; | |
7262 | int UNUSED insn_referenced = abuf->written; | |
7263 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
7264 | } | |
7265 | return cycles; | |
7266 | #undef FLD | |
7267 | } | |
7268 | ||
7269 | static int | |
7270 | model_i960CA_ldl_indirect_index_disp (SIM_CPU *current_cpu, void *sem_arg) | |
7271 | { | |
96baa820 | 7272 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
7273 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
7274 | const IDESC * UNUSED idesc = abuf->idesc; | |
7275 | int cycles = 0; | |
7276 | { | |
7277 | int referenced = 0; | |
7278 | int UNUSED insn_referenced = abuf->written; | |
7279 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
7280 | } | |
7281 | return cycles; | |
7282 | #undef FLD | |
7283 | } | |
7284 | ||
7285 | static int | |
7286 | model_i960CA_ldt_offset (SIM_CPU *current_cpu, void *sem_arg) | |
7287 | { | |
96baa820 | 7288 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_offset.f |
c906108c SS |
7289 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
7290 | const IDESC * UNUSED idesc = abuf->idesc; | |
7291 | int cycles = 0; | |
7292 | { | |
7293 | int referenced = 0; | |
7294 | int UNUSED insn_referenced = abuf->written; | |
7295 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
7296 | } | |
7297 | return cycles; | |
7298 | #undef FLD | |
7299 | } | |
7300 | ||
7301 | static int | |
7302 | model_i960CA_ldt_indirect_offset (SIM_CPU *current_cpu, void *sem_arg) | |
7303 | { | |
96baa820 | 7304 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_offset.f |
c906108c SS |
7305 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
7306 | const IDESC * UNUSED idesc = abuf->idesc; | |
7307 | int cycles = 0; | |
7308 | { | |
7309 | int referenced = 0; | |
7310 | int UNUSED insn_referenced = abuf->written; | |
7311 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
7312 | } | |
7313 | return cycles; | |
7314 | #undef FLD | |
7315 | } | |
7316 | ||
7317 | static int | |
7318 | model_i960CA_ldt_indirect (SIM_CPU *current_cpu, void *sem_arg) | |
7319 | { | |
96baa820 | 7320 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_offset.f |
c906108c SS |
7321 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
7322 | const IDESC * UNUSED idesc = abuf->idesc; | |
7323 | int cycles = 0; | |
7324 | { | |
7325 | int referenced = 0; | |
7326 | int UNUSED insn_referenced = abuf->written; | |
7327 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
7328 | } | |
7329 | return cycles; | |
7330 | #undef FLD | |
7331 | } | |
7332 | ||
7333 | static int | |
7334 | model_i960CA_ldt_indirect_index (SIM_CPU *current_cpu, void *sem_arg) | |
7335 | { | |
96baa820 | 7336 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
7337 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
7338 | const IDESC * UNUSED idesc = abuf->idesc; | |
7339 | int cycles = 0; | |
7340 | { | |
7341 | int referenced = 0; | |
7342 | int UNUSED insn_referenced = abuf->written; | |
7343 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
7344 | } | |
7345 | return cycles; | |
7346 | #undef FLD | |
7347 | } | |
7348 | ||
7349 | static int | |
7350 | model_i960CA_ldt_disp (SIM_CPU *current_cpu, void *sem_arg) | |
7351 | { | |
96baa820 | 7352 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
7353 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
7354 | const IDESC * UNUSED idesc = abuf->idesc; | |
7355 | int cycles = 0; | |
7356 | { | |
7357 | int referenced = 0; | |
7358 | int UNUSED insn_referenced = abuf->written; | |
7359 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
7360 | } | |
7361 | return cycles; | |
7362 | #undef FLD | |
7363 | } | |
7364 | ||
7365 | static int | |
7366 | model_i960CA_ldt_indirect_disp (SIM_CPU *current_cpu, void *sem_arg) | |
7367 | { | |
96baa820 | 7368 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
7369 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
7370 | const IDESC * UNUSED idesc = abuf->idesc; | |
7371 | int cycles = 0; | |
7372 | { | |
7373 | int referenced = 0; | |
7374 | int UNUSED insn_referenced = abuf->written; | |
7375 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
7376 | } | |
7377 | return cycles; | |
7378 | #undef FLD | |
7379 | } | |
7380 | ||
7381 | static int | |
7382 | model_i960CA_ldt_index_disp (SIM_CPU *current_cpu, void *sem_arg) | |
7383 | { | |
96baa820 | 7384 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
7385 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
7386 | const IDESC * UNUSED idesc = abuf->idesc; | |
7387 | int cycles = 0; | |
7388 | { | |
7389 | int referenced = 0; | |
7390 | int UNUSED insn_referenced = abuf->written; | |
7391 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
7392 | } | |
7393 | return cycles; | |
7394 | #undef FLD | |
7395 | } | |
7396 | ||
7397 | static int | |
7398 | model_i960CA_ldt_indirect_index_disp (SIM_CPU *current_cpu, void *sem_arg) | |
7399 | { | |
96baa820 | 7400 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
7401 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
7402 | const IDESC * UNUSED idesc = abuf->idesc; | |
7403 | int cycles = 0; | |
7404 | { | |
7405 | int referenced = 0; | |
7406 | int UNUSED insn_referenced = abuf->written; | |
7407 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
7408 | } | |
7409 | return cycles; | |
7410 | #undef FLD | |
7411 | } | |
7412 | ||
7413 | static int | |
7414 | model_i960CA_ldq_offset (SIM_CPU *current_cpu, void *sem_arg) | |
7415 | { | |
96baa820 | 7416 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_offset.f |
c906108c SS |
7417 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
7418 | const IDESC * UNUSED idesc = abuf->idesc; | |
7419 | int cycles = 0; | |
7420 | { | |
7421 | int referenced = 0; | |
7422 | int UNUSED insn_referenced = abuf->written; | |
7423 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
7424 | } | |
7425 | return cycles; | |
7426 | #undef FLD | |
7427 | } | |
7428 | ||
7429 | static int | |
7430 | model_i960CA_ldq_indirect_offset (SIM_CPU *current_cpu, void *sem_arg) | |
7431 | { | |
96baa820 | 7432 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_offset.f |
c906108c SS |
7433 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
7434 | const IDESC * UNUSED idesc = abuf->idesc; | |
7435 | int cycles = 0; | |
7436 | { | |
7437 | int referenced = 0; | |
7438 | int UNUSED insn_referenced = abuf->written; | |
7439 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
7440 | } | |
7441 | return cycles; | |
7442 | #undef FLD | |
7443 | } | |
7444 | ||
7445 | static int | |
7446 | model_i960CA_ldq_indirect (SIM_CPU *current_cpu, void *sem_arg) | |
7447 | { | |
96baa820 | 7448 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_offset.f |
c906108c SS |
7449 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
7450 | const IDESC * UNUSED idesc = abuf->idesc; | |
7451 | int cycles = 0; | |
7452 | { | |
7453 | int referenced = 0; | |
7454 | int UNUSED insn_referenced = abuf->written; | |
7455 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
7456 | } | |
7457 | return cycles; | |
7458 | #undef FLD | |
7459 | } | |
7460 | ||
7461 | static int | |
7462 | model_i960CA_ldq_indirect_index (SIM_CPU *current_cpu, void *sem_arg) | |
7463 | { | |
96baa820 | 7464 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
7465 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
7466 | const IDESC * UNUSED idesc = abuf->idesc; | |
7467 | int cycles = 0; | |
7468 | { | |
7469 | int referenced = 0; | |
7470 | int UNUSED insn_referenced = abuf->written; | |
7471 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
7472 | } | |
7473 | return cycles; | |
7474 | #undef FLD | |
7475 | } | |
7476 | ||
7477 | static int | |
7478 | model_i960CA_ldq_disp (SIM_CPU *current_cpu, void *sem_arg) | |
7479 | { | |
96baa820 | 7480 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
7481 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
7482 | const IDESC * UNUSED idesc = abuf->idesc; | |
7483 | int cycles = 0; | |
7484 | { | |
7485 | int referenced = 0; | |
7486 | int UNUSED insn_referenced = abuf->written; | |
7487 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
7488 | } | |
7489 | return cycles; | |
7490 | #undef FLD | |
7491 | } | |
7492 | ||
7493 | static int | |
7494 | model_i960CA_ldq_indirect_disp (SIM_CPU *current_cpu, void *sem_arg) | |
7495 | { | |
96baa820 | 7496 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
7497 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
7498 | const IDESC * UNUSED idesc = abuf->idesc; | |
7499 | int cycles = 0; | |
7500 | { | |
7501 | int referenced = 0; | |
7502 | int UNUSED insn_referenced = abuf->written; | |
7503 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
7504 | } | |
7505 | return cycles; | |
7506 | #undef FLD | |
7507 | } | |
7508 | ||
7509 | static int | |
7510 | model_i960CA_ldq_index_disp (SIM_CPU *current_cpu, void *sem_arg) | |
7511 | { | |
96baa820 | 7512 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
7513 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
7514 | const IDESC * UNUSED idesc = abuf->idesc; | |
7515 | int cycles = 0; | |
7516 | { | |
7517 | int referenced = 0; | |
7518 | int UNUSED insn_referenced = abuf->written; | |
7519 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
7520 | } | |
7521 | return cycles; | |
7522 | #undef FLD | |
7523 | } | |
7524 | ||
7525 | static int | |
7526 | model_i960CA_ldq_indirect_index_disp (SIM_CPU *current_cpu, void *sem_arg) | |
7527 | { | |
96baa820 | 7528 | #define FLD(f) abuf->fields.sfmt_ldq_indirect_index_disp.f |
c906108c SS |
7529 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
7530 | const IDESC * UNUSED idesc = abuf->idesc; | |
7531 | int cycles = 0; | |
7532 | { | |
7533 | int referenced = 0; | |
7534 | int UNUSED insn_referenced = abuf->written; | |
7535 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
7536 | } | |
7537 | return cycles; | |
7538 | #undef FLD | |
7539 | } | |
7540 | ||
7541 | static int | |
7542 | model_i960CA_st_offset (SIM_CPU *current_cpu, void *sem_arg) | |
7543 | { | |
96baa820 | 7544 | #define FLD(f) abuf->fields.sfmt_stq_indirect_offset.f |
c906108c SS |
7545 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
7546 | const IDESC * UNUSED idesc = abuf->idesc; | |
7547 | int cycles = 0; | |
7548 | { | |
7549 | int referenced = 0; | |
7550 | int UNUSED insn_referenced = abuf->written; | |
7551 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
7552 | } | |
7553 | return cycles; | |
7554 | #undef FLD | |
7555 | } | |
7556 | ||
7557 | static int | |
7558 | model_i960CA_st_indirect_offset (SIM_CPU *current_cpu, void *sem_arg) | |
7559 | { | |
96baa820 | 7560 | #define FLD(f) abuf->fields.sfmt_stq_indirect_offset.f |
c906108c SS |
7561 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
7562 | const IDESC * UNUSED idesc = abuf->idesc; | |
7563 | int cycles = 0; | |
7564 | { | |
7565 | int referenced = 0; | |
7566 | int UNUSED insn_referenced = abuf->written; | |
7567 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
7568 | } | |
7569 | return cycles; | |
7570 | #undef FLD | |
7571 | } | |
7572 | ||
7573 | static int | |
7574 | model_i960CA_st_indirect (SIM_CPU *current_cpu, void *sem_arg) | |
7575 | { | |
96baa820 | 7576 | #define FLD(f) abuf->fields.sfmt_stq_indirect_offset.f |
c906108c SS |
7577 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
7578 | const IDESC * UNUSED idesc = abuf->idesc; | |
7579 | int cycles = 0; | |
7580 | { | |
7581 | int referenced = 0; | |
7582 | int UNUSED insn_referenced = abuf->written; | |
7583 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
7584 | } | |
7585 | return cycles; | |
7586 | #undef FLD | |
7587 | } | |
7588 | ||
7589 | static int | |
7590 | model_i960CA_st_indirect_index (SIM_CPU *current_cpu, void *sem_arg) | |
7591 | { | |
96baa820 | 7592 | #define FLD(f) abuf->fields.sfmt_stq_indirect_index_disp.f |
c906108c SS |
7593 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
7594 | const IDESC * UNUSED idesc = abuf->idesc; | |
7595 | int cycles = 0; | |
7596 | { | |
7597 | int referenced = 0; | |
7598 | int UNUSED insn_referenced = abuf->written; | |
7599 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
7600 | } | |
7601 | return cycles; | |
7602 | #undef FLD | |
7603 | } | |
7604 | ||
7605 | static int | |
7606 | model_i960CA_st_disp (SIM_CPU *current_cpu, void *sem_arg) | |
7607 | { | |
96baa820 | 7608 | #define FLD(f) abuf->fields.sfmt_stq_indirect_index_disp.f |
c906108c SS |
7609 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
7610 | const IDESC * UNUSED idesc = abuf->idesc; | |
7611 | int cycles = 0; | |
7612 | { | |
7613 | int referenced = 0; | |
7614 | int UNUSED insn_referenced = abuf->written; | |
7615 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
7616 | } | |
7617 | return cycles; | |
7618 | #undef FLD | |
7619 | } | |
7620 | ||
7621 | static int | |
7622 | model_i960CA_st_indirect_disp (SIM_CPU *current_cpu, void *sem_arg) | |
7623 | { | |
96baa820 | 7624 | #define FLD(f) abuf->fields.sfmt_stq_indirect_index_disp.f |
c906108c SS |
7625 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
7626 | const IDESC * UNUSED idesc = abuf->idesc; | |
7627 | int cycles = 0; | |
7628 | { | |
7629 | int referenced = 0; | |
7630 | int UNUSED insn_referenced = abuf->written; | |
7631 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
7632 | } | |
7633 | return cycles; | |
7634 | #undef FLD | |
7635 | } | |
7636 | ||
7637 | static int | |
7638 | model_i960CA_st_index_disp (SIM_CPU *current_cpu, void *sem_arg) | |
7639 | { | |
96baa820 | 7640 | #define FLD(f) abuf->fields.sfmt_stq_indirect_index_disp.f |
c906108c SS |
7641 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
7642 | const IDESC * UNUSED idesc = abuf->idesc; | |
7643 | int cycles = 0; | |
7644 | { | |
7645 | int referenced = 0; | |
7646 | int UNUSED insn_referenced = abuf->written; | |
7647 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
7648 | } | |
7649 | return cycles; | |
7650 | #undef FLD | |
7651 | } | |
7652 | ||
7653 | static int | |
7654 | model_i960CA_st_indirect_index_disp (SIM_CPU *current_cpu, void *sem_arg) | |
7655 | { | |
96baa820 | 7656 | #define FLD(f) abuf->fields.sfmt_stq_indirect_index_disp.f |
c906108c SS |
7657 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
7658 | const IDESC * UNUSED idesc = abuf->idesc; | |
7659 | int cycles = 0; | |
7660 | { | |
7661 | int referenced = 0; | |
7662 | int UNUSED insn_referenced = abuf->written; | |
7663 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
7664 | } | |
7665 | return cycles; | |
7666 | #undef FLD | |
7667 | } | |
7668 | ||
7669 | static int | |
7670 | model_i960CA_stob_offset (SIM_CPU *current_cpu, void *sem_arg) | |
7671 | { | |
96baa820 | 7672 | #define FLD(f) abuf->fields.sfmt_stq_indirect_offset.f |
c906108c SS |
7673 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
7674 | const IDESC * UNUSED idesc = abuf->idesc; | |
7675 | int cycles = 0; | |
7676 | { | |
7677 | int referenced = 0; | |
7678 | int UNUSED insn_referenced = abuf->written; | |
7679 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
7680 | } | |
7681 | return cycles; | |
7682 | #undef FLD | |
7683 | } | |
7684 | ||
7685 | static int | |
7686 | model_i960CA_stob_indirect_offset (SIM_CPU *current_cpu, void *sem_arg) | |
7687 | { | |
96baa820 | 7688 | #define FLD(f) abuf->fields.sfmt_stq_indirect_offset.f |
c906108c SS |
7689 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
7690 | const IDESC * UNUSED idesc = abuf->idesc; | |
7691 | int cycles = 0; | |
7692 | { | |
7693 | int referenced = 0; | |
7694 | int UNUSED insn_referenced = abuf->written; | |
7695 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
7696 | } | |
7697 | return cycles; | |
7698 | #undef FLD | |
7699 | } | |
7700 | ||
7701 | static int | |
7702 | model_i960CA_stob_indirect (SIM_CPU *current_cpu, void *sem_arg) | |
7703 | { | |
96baa820 | 7704 | #define FLD(f) abuf->fields.sfmt_stq_indirect_offset.f |
c906108c SS |
7705 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
7706 | const IDESC * UNUSED idesc = abuf->idesc; | |
7707 | int cycles = 0; | |
7708 | { | |
7709 | int referenced = 0; | |
7710 | int UNUSED insn_referenced = abuf->written; | |
7711 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
7712 | } | |
7713 | return cycles; | |
7714 | #undef FLD | |
7715 | } | |
7716 | ||
7717 | static int | |
7718 | model_i960CA_stob_indirect_index (SIM_CPU *current_cpu, void *sem_arg) | |
7719 | { | |
96baa820 | 7720 | #define FLD(f) abuf->fields.sfmt_stq_indirect_index_disp.f |
c906108c SS |
7721 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
7722 | const IDESC * UNUSED idesc = abuf->idesc; | |
7723 | int cycles = 0; | |
7724 | { | |
7725 | int referenced = 0; | |
7726 | int UNUSED insn_referenced = abuf->written; | |
7727 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
7728 | } | |
7729 | return cycles; | |
7730 | #undef FLD | |
7731 | } | |
7732 | ||
7733 | static int | |
7734 | model_i960CA_stob_disp (SIM_CPU *current_cpu, void *sem_arg) | |
7735 | { | |
96baa820 | 7736 | #define FLD(f) abuf->fields.sfmt_stq_indirect_index_disp.f |
c906108c SS |
7737 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
7738 | const IDESC * UNUSED idesc = abuf->idesc; | |
7739 | int cycles = 0; | |
7740 | { | |
7741 | int referenced = 0; | |
7742 | int UNUSED insn_referenced = abuf->written; | |
7743 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
7744 | } | |
7745 | return cycles; | |
7746 | #undef FLD | |
7747 | } | |
7748 | ||
7749 | static int | |
7750 | model_i960CA_stob_indirect_disp (SIM_CPU *current_cpu, void *sem_arg) | |
7751 | { | |
96baa820 | 7752 | #define FLD(f) abuf->fields.sfmt_stq_indirect_index_disp.f |
c906108c SS |
7753 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
7754 | const IDESC * UNUSED idesc = abuf->idesc; | |
7755 | int cycles = 0; | |
7756 | { | |
7757 | int referenced = 0; | |
7758 | int UNUSED insn_referenced = abuf->written; | |
7759 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
7760 | } | |
7761 | return cycles; | |
7762 | #undef FLD | |
7763 | } | |
7764 | ||
7765 | static int | |
7766 | model_i960CA_stob_index_disp (SIM_CPU *current_cpu, void *sem_arg) | |
7767 | { | |
96baa820 | 7768 | #define FLD(f) abuf->fields.sfmt_stq_indirect_index_disp.f |
c906108c SS |
7769 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
7770 | const IDESC * UNUSED idesc = abuf->idesc; | |
7771 | int cycles = 0; | |
7772 | { | |
7773 | int referenced = 0; | |
7774 | int UNUSED insn_referenced = abuf->written; | |
7775 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
7776 | } | |
7777 | return cycles; | |
7778 | #undef FLD | |
7779 | } | |
7780 | ||
7781 | static int | |
7782 | model_i960CA_stob_indirect_index_disp (SIM_CPU *current_cpu, void *sem_arg) | |
7783 | { | |
96baa820 | 7784 | #define FLD(f) abuf->fields.sfmt_stq_indirect_index_disp.f |
c906108c SS |
7785 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
7786 | const IDESC * UNUSED idesc = abuf->idesc; | |
7787 | int cycles = 0; | |
7788 | { | |
7789 | int referenced = 0; | |
7790 | int UNUSED insn_referenced = abuf->written; | |
7791 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
7792 | } | |
7793 | return cycles; | |
7794 | #undef FLD | |
7795 | } | |
7796 | ||
7797 | static int | |
7798 | model_i960CA_stos_offset (SIM_CPU *current_cpu, void *sem_arg) | |
7799 | { | |
96baa820 | 7800 | #define FLD(f) abuf->fields.sfmt_stq_indirect_offset.f |
c906108c SS |
7801 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
7802 | const IDESC * UNUSED idesc = abuf->idesc; | |
7803 | int cycles = 0; | |
7804 | { | |
7805 | int referenced = 0; | |
7806 | int UNUSED insn_referenced = abuf->written; | |
7807 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
7808 | } | |
7809 | return cycles; | |
7810 | #undef FLD | |
7811 | } | |
7812 | ||
7813 | static int | |
7814 | model_i960CA_stos_indirect_offset (SIM_CPU *current_cpu, void *sem_arg) | |
7815 | { | |
96baa820 | 7816 | #define FLD(f) abuf->fields.sfmt_stq_indirect_offset.f |
c906108c SS |
7817 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
7818 | const IDESC * UNUSED idesc = abuf->idesc; | |
7819 | int cycles = 0; | |
7820 | { | |
7821 | int referenced = 0; | |
7822 | int UNUSED insn_referenced = abuf->written; | |
7823 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
7824 | } | |
7825 | return cycles; | |
7826 | #undef FLD | |
7827 | } | |
7828 | ||
7829 | static int | |
7830 | model_i960CA_stos_indirect (SIM_CPU *current_cpu, void *sem_arg) | |
7831 | { | |
96baa820 | 7832 | #define FLD(f) abuf->fields.sfmt_stq_indirect_offset.f |
c906108c SS |
7833 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
7834 | const IDESC * UNUSED idesc = abuf->idesc; | |
7835 | int cycles = 0; | |
7836 | { | |
7837 | int referenced = 0; | |
7838 | int UNUSED insn_referenced = abuf->written; | |
7839 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
7840 | } | |
7841 | return cycles; | |
7842 | #undef FLD | |
7843 | } | |
7844 | ||
7845 | static int | |
7846 | model_i960CA_stos_indirect_index (SIM_CPU *current_cpu, void *sem_arg) | |
7847 | { | |
96baa820 | 7848 | #define FLD(f) abuf->fields.sfmt_stq_indirect_index_disp.f |
c906108c SS |
7849 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
7850 | const IDESC * UNUSED idesc = abuf->idesc; | |
7851 | int cycles = 0; | |
7852 | { | |
7853 | int referenced = 0; | |
7854 | int UNUSED insn_referenced = abuf->written; | |
7855 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
7856 | } | |
7857 | return cycles; | |
7858 | #undef FLD | |
7859 | } | |
7860 | ||
7861 | static int | |
7862 | model_i960CA_stos_disp (SIM_CPU *current_cpu, void *sem_arg) | |
7863 | { | |
96baa820 | 7864 | #define FLD(f) abuf->fields.sfmt_stq_indirect_index_disp.f |
c906108c SS |
7865 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
7866 | const IDESC * UNUSED idesc = abuf->idesc; | |
7867 | int cycles = 0; | |
7868 | { | |
7869 | int referenced = 0; | |
7870 | int UNUSED insn_referenced = abuf->written; | |
7871 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
7872 | } | |
7873 | return cycles; | |
7874 | #undef FLD | |
7875 | } | |
7876 | ||
7877 | static int | |
7878 | model_i960CA_stos_indirect_disp (SIM_CPU *current_cpu, void *sem_arg) | |
7879 | { | |
96baa820 | 7880 | #define FLD(f) abuf->fields.sfmt_stq_indirect_index_disp.f |
c906108c SS |
7881 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
7882 | const IDESC * UNUSED idesc = abuf->idesc; | |
7883 | int cycles = 0; | |
7884 | { | |
7885 | int referenced = 0; | |
7886 | int UNUSED insn_referenced = abuf->written; | |
7887 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
7888 | } | |
7889 | return cycles; | |
7890 | #undef FLD | |
7891 | } | |
7892 | ||
7893 | static int | |
7894 | model_i960CA_stos_index_disp (SIM_CPU *current_cpu, void *sem_arg) | |
7895 | { | |
96baa820 | 7896 | #define FLD(f) abuf->fields.sfmt_stq_indirect_index_disp.f |
c906108c SS |
7897 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
7898 | const IDESC * UNUSED idesc = abuf->idesc; | |
7899 | int cycles = 0; | |
7900 | { | |
7901 | int referenced = 0; | |
7902 | int UNUSED insn_referenced = abuf->written; | |
7903 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
7904 | } | |
7905 | return cycles; | |
7906 | #undef FLD | |
7907 | } | |
7908 | ||
7909 | static int | |
7910 | model_i960CA_stos_indirect_index_disp (SIM_CPU *current_cpu, void *sem_arg) | |
7911 | { | |
96baa820 | 7912 | #define FLD(f) abuf->fields.sfmt_stq_indirect_index_disp.f |
c906108c SS |
7913 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
7914 | const IDESC * UNUSED idesc = abuf->idesc; | |
7915 | int cycles = 0; | |
7916 | { | |
7917 | int referenced = 0; | |
7918 | int UNUSED insn_referenced = abuf->written; | |
7919 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
7920 | } | |
7921 | return cycles; | |
7922 | #undef FLD | |
7923 | } | |
7924 | ||
7925 | static int | |
7926 | model_i960CA_stl_offset (SIM_CPU *current_cpu, void *sem_arg) | |
7927 | { | |
96baa820 | 7928 | #define FLD(f) abuf->fields.sfmt_stq_indirect_offset.f |
c906108c SS |
7929 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
7930 | const IDESC * UNUSED idesc = abuf->idesc; | |
7931 | int cycles = 0; | |
7932 | { | |
7933 | int referenced = 0; | |
7934 | int UNUSED insn_referenced = abuf->written; | |
7935 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
7936 | } | |
7937 | return cycles; | |
7938 | #undef FLD | |
7939 | } | |
7940 | ||
7941 | static int | |
7942 | model_i960CA_stl_indirect_offset (SIM_CPU *current_cpu, void *sem_arg) | |
7943 | { | |
96baa820 | 7944 | #define FLD(f) abuf->fields.sfmt_stq_indirect_offset.f |
c906108c SS |
7945 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
7946 | const IDESC * UNUSED idesc = abuf->idesc; | |
7947 | int cycles = 0; | |
7948 | { | |
7949 | int referenced = 0; | |
7950 | int UNUSED insn_referenced = abuf->written; | |
7951 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
7952 | } | |
7953 | return cycles; | |
7954 | #undef FLD | |
7955 | } | |
7956 | ||
7957 | static int | |
7958 | model_i960CA_stl_indirect (SIM_CPU *current_cpu, void *sem_arg) | |
7959 | { | |
96baa820 | 7960 | #define FLD(f) abuf->fields.sfmt_stq_indirect_offset.f |
c906108c SS |
7961 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
7962 | const IDESC * UNUSED idesc = abuf->idesc; | |
7963 | int cycles = 0; | |
7964 | { | |
7965 | int referenced = 0; | |
7966 | int UNUSED insn_referenced = abuf->written; | |
7967 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
7968 | } | |
7969 | return cycles; | |
7970 | #undef FLD | |
7971 | } | |
7972 | ||
7973 | static int | |
7974 | model_i960CA_stl_indirect_index (SIM_CPU *current_cpu, void *sem_arg) | |
7975 | { | |
96baa820 | 7976 | #define FLD(f) abuf->fields.sfmt_stq_indirect_index_disp.f |
c906108c SS |
7977 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
7978 | const IDESC * UNUSED idesc = abuf->idesc; | |
7979 | int cycles = 0; | |
7980 | { | |
7981 | int referenced = 0; | |
7982 | int UNUSED insn_referenced = abuf->written; | |
7983 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
7984 | } | |
7985 | return cycles; | |
7986 | #undef FLD | |
7987 | } | |
7988 | ||
7989 | static int | |
7990 | model_i960CA_stl_disp (SIM_CPU *current_cpu, void *sem_arg) | |
7991 | { | |
96baa820 | 7992 | #define FLD(f) abuf->fields.sfmt_stq_indirect_index_disp.f |
c906108c SS |
7993 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
7994 | const IDESC * UNUSED idesc = abuf->idesc; | |
7995 | int cycles = 0; | |
7996 | { | |
7997 | int referenced = 0; | |
7998 | int UNUSED insn_referenced = abuf->written; | |
7999 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
8000 | } | |
8001 | return cycles; | |
8002 | #undef FLD | |
8003 | } | |
8004 | ||
8005 | static int | |
8006 | model_i960CA_stl_indirect_disp (SIM_CPU *current_cpu, void *sem_arg) | |
8007 | { | |
96baa820 | 8008 | #define FLD(f) abuf->fields.sfmt_stq_indirect_index_disp.f |
c906108c SS |
8009 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
8010 | const IDESC * UNUSED idesc = abuf->idesc; | |
8011 | int cycles = 0; | |
8012 | { | |
8013 | int referenced = 0; | |
8014 | int UNUSED insn_referenced = abuf->written; | |
8015 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
8016 | } | |
8017 | return cycles; | |
8018 | #undef FLD | |
8019 | } | |
8020 | ||
8021 | static int | |
8022 | model_i960CA_stl_index_disp (SIM_CPU *current_cpu, void *sem_arg) | |
8023 | { | |
96baa820 | 8024 | #define FLD(f) abuf->fields.sfmt_stq_indirect_index_disp.f |
c906108c SS |
8025 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
8026 | const IDESC * UNUSED idesc = abuf->idesc; | |
8027 | int cycles = 0; | |
8028 | { | |
8029 | int referenced = 0; | |
8030 | int UNUSED insn_referenced = abuf->written; | |
8031 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
8032 | } | |
8033 | return cycles; | |
8034 | #undef FLD | |
8035 | } | |
8036 | ||
8037 | static int | |
8038 | model_i960CA_stl_indirect_index_disp (SIM_CPU *current_cpu, void *sem_arg) | |
8039 | { | |
96baa820 | 8040 | #define FLD(f) abuf->fields.sfmt_stq_indirect_index_disp.f |
c906108c SS |
8041 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
8042 | const IDESC * UNUSED idesc = abuf->idesc; | |
8043 | int cycles = 0; | |
8044 | { | |
8045 | int referenced = 0; | |
8046 | int UNUSED insn_referenced = abuf->written; | |
8047 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
8048 | } | |
8049 | return cycles; | |
8050 | #undef FLD | |
8051 | } | |
8052 | ||
8053 | static int | |
8054 | model_i960CA_stt_offset (SIM_CPU *current_cpu, void *sem_arg) | |
8055 | { | |
96baa820 | 8056 | #define FLD(f) abuf->fields.sfmt_stq_indirect_offset.f |
c906108c SS |
8057 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
8058 | const IDESC * UNUSED idesc = abuf->idesc; | |
8059 | int cycles = 0; | |
8060 | { | |
8061 | int referenced = 0; | |
8062 | int UNUSED insn_referenced = abuf->written; | |
8063 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
8064 | } | |
8065 | return cycles; | |
8066 | #undef FLD | |
8067 | } | |
8068 | ||
8069 | static int | |
8070 | model_i960CA_stt_indirect_offset (SIM_CPU *current_cpu, void *sem_arg) | |
8071 | { | |
96baa820 | 8072 | #define FLD(f) abuf->fields.sfmt_stq_indirect_offset.f |
c906108c SS |
8073 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
8074 | const IDESC * UNUSED idesc = abuf->idesc; | |
8075 | int cycles = 0; | |
8076 | { | |
8077 | int referenced = 0; | |
8078 | int UNUSED insn_referenced = abuf->written; | |
8079 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
8080 | } | |
8081 | return cycles; | |
8082 | #undef FLD | |
8083 | } | |
8084 | ||
8085 | static int | |
8086 | model_i960CA_stt_indirect (SIM_CPU *current_cpu, void *sem_arg) | |
8087 | { | |
96baa820 | 8088 | #define FLD(f) abuf->fields.sfmt_stq_indirect_offset.f |
c906108c SS |
8089 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
8090 | const IDESC * UNUSED idesc = abuf->idesc; | |
8091 | int cycles = 0; | |
8092 | { | |
8093 | int referenced = 0; | |
8094 | int UNUSED insn_referenced = abuf->written; | |
8095 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
8096 | } | |
8097 | return cycles; | |
8098 | #undef FLD | |
8099 | } | |
8100 | ||
8101 | static int | |
8102 | model_i960CA_stt_indirect_index (SIM_CPU *current_cpu, void *sem_arg) | |
8103 | { | |
96baa820 | 8104 | #define FLD(f) abuf->fields.sfmt_stq_indirect_index_disp.f |
c906108c SS |
8105 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
8106 | const IDESC * UNUSED idesc = abuf->idesc; | |
8107 | int cycles = 0; | |
8108 | { | |
8109 | int referenced = 0; | |
8110 | int UNUSED insn_referenced = abuf->written; | |
8111 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
8112 | } | |
8113 | return cycles; | |
8114 | #undef FLD | |
8115 | } | |
8116 | ||
8117 | static int | |
8118 | model_i960CA_stt_disp (SIM_CPU *current_cpu, void *sem_arg) | |
8119 | { | |
96baa820 | 8120 | #define FLD(f) abuf->fields.sfmt_stq_indirect_index_disp.f |
c906108c SS |
8121 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
8122 | const IDESC * UNUSED idesc = abuf->idesc; | |
8123 | int cycles = 0; | |
8124 | { | |
8125 | int referenced = 0; | |
8126 | int UNUSED insn_referenced = abuf->written; | |
8127 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
8128 | } | |
8129 | return cycles; | |
8130 | #undef FLD | |
8131 | } | |
8132 | ||
8133 | static int | |
8134 | model_i960CA_stt_indirect_disp (SIM_CPU *current_cpu, void *sem_arg) | |
8135 | { | |
96baa820 | 8136 | #define FLD(f) abuf->fields.sfmt_stq_indirect_index_disp.f |
c906108c SS |
8137 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
8138 | const IDESC * UNUSED idesc = abuf->idesc; | |
8139 | int cycles = 0; | |
8140 | { | |
8141 | int referenced = 0; | |
8142 | int UNUSED insn_referenced = abuf->written; | |
8143 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
8144 | } | |
8145 | return cycles; | |
8146 | #undef FLD | |
8147 | } | |
8148 | ||
8149 | static int | |
8150 | model_i960CA_stt_index_disp (SIM_CPU *current_cpu, void *sem_arg) | |
8151 | { | |
96baa820 | 8152 | #define FLD(f) abuf->fields.sfmt_stq_indirect_index_disp.f |
c906108c SS |
8153 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
8154 | const IDESC * UNUSED idesc = abuf->idesc; | |
8155 | int cycles = 0; | |
8156 | { | |
8157 | int referenced = 0; | |
8158 | int UNUSED insn_referenced = abuf->written; | |
8159 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
8160 | } | |
8161 | return cycles; | |
8162 | #undef FLD | |
8163 | } | |
8164 | ||
8165 | static int | |
8166 | model_i960CA_stt_indirect_index_disp (SIM_CPU *current_cpu, void *sem_arg) | |
8167 | { | |
96baa820 | 8168 | #define FLD(f) abuf->fields.sfmt_stq_indirect_index_disp.f |
c906108c SS |
8169 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
8170 | const IDESC * UNUSED idesc = abuf->idesc; | |
8171 | int cycles = 0; | |
8172 | { | |
8173 | int referenced = 0; | |
8174 | int UNUSED insn_referenced = abuf->written; | |
8175 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
8176 | } | |
8177 | return cycles; | |
8178 | #undef FLD | |
8179 | } | |
8180 | ||
8181 | static int | |
8182 | model_i960CA_stq_offset (SIM_CPU *current_cpu, void *sem_arg) | |
8183 | { | |
96baa820 | 8184 | #define FLD(f) abuf->fields.sfmt_stq_indirect_offset.f |
c906108c SS |
8185 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
8186 | const IDESC * UNUSED idesc = abuf->idesc; | |
8187 | int cycles = 0; | |
8188 | { | |
8189 | int referenced = 0; | |
8190 | int UNUSED insn_referenced = abuf->written; | |
8191 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
8192 | } | |
8193 | return cycles; | |
8194 | #undef FLD | |
8195 | } | |
8196 | ||
8197 | static int | |
8198 | model_i960CA_stq_indirect_offset (SIM_CPU *current_cpu, void *sem_arg) | |
8199 | { | |
96baa820 | 8200 | #define FLD(f) abuf->fields.sfmt_stq_indirect_offset.f |
c906108c SS |
8201 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
8202 | const IDESC * UNUSED idesc = abuf->idesc; | |
8203 | int cycles = 0; | |
8204 | { | |
8205 | int referenced = 0; | |
8206 | int UNUSED insn_referenced = abuf->written; | |
8207 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
8208 | } | |
8209 | return cycles; | |
8210 | #undef FLD | |
8211 | } | |
8212 | ||
8213 | static int | |
8214 | model_i960CA_stq_indirect (SIM_CPU *current_cpu, void *sem_arg) | |
8215 | { | |
96baa820 | 8216 | #define FLD(f) abuf->fields.sfmt_stq_indirect_offset.f |
c906108c SS |
8217 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
8218 | const IDESC * UNUSED idesc = abuf->idesc; | |
8219 | int cycles = 0; | |
8220 | { | |
8221 | int referenced = 0; | |
8222 | int UNUSED insn_referenced = abuf->written; | |
8223 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
8224 | } | |
8225 | return cycles; | |
8226 | #undef FLD | |
8227 | } | |
8228 | ||
8229 | static int | |
8230 | model_i960CA_stq_indirect_index (SIM_CPU *current_cpu, void *sem_arg) | |
8231 | { | |
96baa820 | 8232 | #define FLD(f) abuf->fields.sfmt_stq_indirect_index_disp.f |
c906108c SS |
8233 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
8234 | const IDESC * UNUSED idesc = abuf->idesc; | |
8235 | int cycles = 0; | |
8236 | { | |
8237 | int referenced = 0; | |
8238 | int UNUSED insn_referenced = abuf->written; | |
8239 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
8240 | } | |
8241 | return cycles; | |
8242 | #undef FLD | |
8243 | } | |
8244 | ||
8245 | static int | |
8246 | model_i960CA_stq_disp (SIM_CPU *current_cpu, void *sem_arg) | |
8247 | { | |
96baa820 | 8248 | #define FLD(f) abuf->fields.sfmt_stq_indirect_index_disp.f |
c906108c SS |
8249 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
8250 | const IDESC * UNUSED idesc = abuf->idesc; | |
8251 | int cycles = 0; | |
8252 | { | |
8253 | int referenced = 0; | |
8254 | int UNUSED insn_referenced = abuf->written; | |
8255 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
8256 | } | |
8257 | return cycles; | |
8258 | #undef FLD | |
8259 | } | |
8260 | ||
8261 | static int | |
8262 | model_i960CA_stq_indirect_disp (SIM_CPU *current_cpu, void *sem_arg) | |
8263 | { | |
96baa820 | 8264 | #define FLD(f) abuf->fields.sfmt_stq_indirect_index_disp.f |
c906108c SS |
8265 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
8266 | const IDESC * UNUSED idesc = abuf->idesc; | |
8267 | int cycles = 0; | |
8268 | { | |
8269 | int referenced = 0; | |
8270 | int UNUSED insn_referenced = abuf->written; | |
8271 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
8272 | } | |
8273 | return cycles; | |
8274 | #undef FLD | |
8275 | } | |
8276 | ||
8277 | static int | |
8278 | model_i960CA_stq_index_disp (SIM_CPU *current_cpu, void *sem_arg) | |
8279 | { | |
96baa820 | 8280 | #define FLD(f) abuf->fields.sfmt_stq_indirect_index_disp.f |
c906108c SS |
8281 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
8282 | const IDESC * UNUSED idesc = abuf->idesc; | |
8283 | int cycles = 0; | |
8284 | { | |
8285 | int referenced = 0; | |
8286 | int UNUSED insn_referenced = abuf->written; | |
8287 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
8288 | } | |
8289 | return cycles; | |
8290 | #undef FLD | |
8291 | } | |
8292 | ||
8293 | static int | |
8294 | model_i960CA_stq_indirect_index_disp (SIM_CPU *current_cpu, void *sem_arg) | |
8295 | { | |
96baa820 | 8296 | #define FLD(f) abuf->fields.sfmt_stq_indirect_index_disp.f |
c906108c SS |
8297 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
8298 | const IDESC * UNUSED idesc = abuf->idesc; | |
8299 | int cycles = 0; | |
8300 | { | |
8301 | int referenced = 0; | |
8302 | int UNUSED insn_referenced = abuf->written; | |
8303 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
8304 | } | |
8305 | return cycles; | |
8306 | #undef FLD | |
8307 | } | |
8308 | ||
8309 | static int | |
8310 | model_i960CA_cmpobe_reg (SIM_CPU *current_cpu, void *sem_arg) | |
8311 | { | |
96baa820 | 8312 | #define FLD(f) abuf->fields.sfmt_cmpobe_reg.f |
c906108c SS |
8313 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
8314 | const IDESC * UNUSED idesc = abuf->idesc; | |
8315 | int cycles = 0; | |
8316 | { | |
8317 | int referenced = 0; | |
8318 | int UNUSED insn_referenced = abuf->written; | |
8319 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
8320 | } | |
8321 | return cycles; | |
8322 | #undef FLD | |
8323 | } | |
8324 | ||
8325 | static int | |
8326 | model_i960CA_cmpobe_lit (SIM_CPU *current_cpu, void *sem_arg) | |
8327 | { | |
96baa820 | 8328 | #define FLD(f) abuf->fields.sfmt_cmpobe_lit.f |
c906108c SS |
8329 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
8330 | const IDESC * UNUSED idesc = abuf->idesc; | |
8331 | int cycles = 0; | |
8332 | { | |
8333 | int referenced = 0; | |
8334 | int UNUSED insn_referenced = abuf->written; | |
8335 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
8336 | } | |
8337 | return cycles; | |
8338 | #undef FLD | |
8339 | } | |
8340 | ||
8341 | static int | |
8342 | model_i960CA_cmpobne_reg (SIM_CPU *current_cpu, void *sem_arg) | |
8343 | { | |
96baa820 | 8344 | #define FLD(f) abuf->fields.sfmt_cmpobe_reg.f |
c906108c SS |
8345 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
8346 | const IDESC * UNUSED idesc = abuf->idesc; | |
8347 | int cycles = 0; | |
8348 | { | |
8349 | int referenced = 0; | |
8350 | int UNUSED insn_referenced = abuf->written; | |
8351 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
8352 | } | |
8353 | return cycles; | |
8354 | #undef FLD | |
8355 | } | |
8356 | ||
8357 | static int | |
8358 | model_i960CA_cmpobne_lit (SIM_CPU *current_cpu, void *sem_arg) | |
8359 | { | |
96baa820 | 8360 | #define FLD(f) abuf->fields.sfmt_cmpobe_lit.f |
c906108c SS |
8361 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
8362 | const IDESC * UNUSED idesc = abuf->idesc; | |
8363 | int cycles = 0; | |
8364 | { | |
8365 | int referenced = 0; | |
8366 | int UNUSED insn_referenced = abuf->written; | |
8367 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
8368 | } | |
8369 | return cycles; | |
8370 | #undef FLD | |
8371 | } | |
8372 | ||
8373 | static int | |
8374 | model_i960CA_cmpobl_reg (SIM_CPU *current_cpu, void *sem_arg) | |
8375 | { | |
96baa820 | 8376 | #define FLD(f) abuf->fields.sfmt_cmpobe_reg.f |
c906108c SS |
8377 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
8378 | const IDESC * UNUSED idesc = abuf->idesc; | |
8379 | int cycles = 0; | |
8380 | { | |
8381 | int referenced = 0; | |
8382 | int UNUSED insn_referenced = abuf->written; | |
8383 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
8384 | } | |
8385 | return cycles; | |
8386 | #undef FLD | |
8387 | } | |
8388 | ||
8389 | static int | |
8390 | model_i960CA_cmpobl_lit (SIM_CPU *current_cpu, void *sem_arg) | |
8391 | { | |
96baa820 | 8392 | #define FLD(f) abuf->fields.sfmt_cmpobe_lit.f |
c906108c SS |
8393 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
8394 | const IDESC * UNUSED idesc = abuf->idesc; | |
8395 | int cycles = 0; | |
8396 | { | |
8397 | int referenced = 0; | |
8398 | int UNUSED insn_referenced = abuf->written; | |
8399 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
8400 | } | |
8401 | return cycles; | |
8402 | #undef FLD | |
8403 | } | |
8404 | ||
8405 | static int | |
8406 | model_i960CA_cmpoble_reg (SIM_CPU *current_cpu, void *sem_arg) | |
8407 | { | |
96baa820 | 8408 | #define FLD(f) abuf->fields.sfmt_cmpobe_reg.f |
c906108c SS |
8409 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
8410 | const IDESC * UNUSED idesc = abuf->idesc; | |
8411 | int cycles = 0; | |
8412 | { | |
8413 | int referenced = 0; | |
8414 | int UNUSED insn_referenced = abuf->written; | |
8415 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
8416 | } | |
8417 | return cycles; | |
8418 | #undef FLD | |
8419 | } | |
8420 | ||
8421 | static int | |
8422 | model_i960CA_cmpoble_lit (SIM_CPU *current_cpu, void *sem_arg) | |
8423 | { | |
96baa820 | 8424 | #define FLD(f) abuf->fields.sfmt_cmpobe_lit.f |
c906108c SS |
8425 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
8426 | const IDESC * UNUSED idesc = abuf->idesc; | |
8427 | int cycles = 0; | |
8428 | { | |
8429 | int referenced = 0; | |
8430 | int UNUSED insn_referenced = abuf->written; | |
8431 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
8432 | } | |
8433 | return cycles; | |
8434 | #undef FLD | |
8435 | } | |
8436 | ||
8437 | static int | |
8438 | model_i960CA_cmpobg_reg (SIM_CPU *current_cpu, void *sem_arg) | |
8439 | { | |
96baa820 | 8440 | #define FLD(f) abuf->fields.sfmt_cmpobe_reg.f |
c906108c SS |
8441 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
8442 | const IDESC * UNUSED idesc = abuf->idesc; | |
8443 | int cycles = 0; | |
8444 | { | |
8445 | int referenced = 0; | |
8446 | int UNUSED insn_referenced = abuf->written; | |
8447 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
8448 | } | |
8449 | return cycles; | |
8450 | #undef FLD | |
8451 | } | |
8452 | ||
8453 | static int | |
8454 | model_i960CA_cmpobg_lit (SIM_CPU *current_cpu, void *sem_arg) | |
8455 | { | |
96baa820 | 8456 | #define FLD(f) abuf->fields.sfmt_cmpobe_lit.f |
c906108c SS |
8457 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
8458 | const IDESC * UNUSED idesc = abuf->idesc; | |
8459 | int cycles = 0; | |
8460 | { | |
8461 | int referenced = 0; | |
8462 | int UNUSED insn_referenced = abuf->written; | |
8463 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
8464 | } | |
8465 | return cycles; | |
8466 | #undef FLD | |
8467 | } | |
8468 | ||
8469 | static int | |
8470 | model_i960CA_cmpobge_reg (SIM_CPU *current_cpu, void *sem_arg) | |
8471 | { | |
96baa820 | 8472 | #define FLD(f) abuf->fields.sfmt_cmpobe_reg.f |
c906108c SS |
8473 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
8474 | const IDESC * UNUSED idesc = abuf->idesc; | |
8475 | int cycles = 0; | |
8476 | { | |
8477 | int referenced = 0; | |
8478 | int UNUSED insn_referenced = abuf->written; | |
8479 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
8480 | } | |
8481 | return cycles; | |
8482 | #undef FLD | |
8483 | } | |
8484 | ||
8485 | static int | |
8486 | model_i960CA_cmpobge_lit (SIM_CPU *current_cpu, void *sem_arg) | |
8487 | { | |
96baa820 | 8488 | #define FLD(f) abuf->fields.sfmt_cmpobe_lit.f |
c906108c SS |
8489 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
8490 | const IDESC * UNUSED idesc = abuf->idesc; | |
8491 | int cycles = 0; | |
8492 | { | |
8493 | int referenced = 0; | |
8494 | int UNUSED insn_referenced = abuf->written; | |
8495 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
8496 | } | |
8497 | return cycles; | |
8498 | #undef FLD | |
8499 | } | |
8500 | ||
8501 | static int | |
8502 | model_i960CA_cmpibe_reg (SIM_CPU *current_cpu, void *sem_arg) | |
8503 | { | |
96baa820 | 8504 | #define FLD(f) abuf->fields.sfmt_cmpobe_reg.f |
c906108c SS |
8505 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
8506 | const IDESC * UNUSED idesc = abuf->idesc; | |
8507 | int cycles = 0; | |
8508 | { | |
8509 | int referenced = 0; | |
8510 | int UNUSED insn_referenced = abuf->written; | |
8511 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
8512 | } | |
8513 | return cycles; | |
8514 | #undef FLD | |
8515 | } | |
8516 | ||
8517 | static int | |
8518 | model_i960CA_cmpibe_lit (SIM_CPU *current_cpu, void *sem_arg) | |
8519 | { | |
96baa820 | 8520 | #define FLD(f) abuf->fields.sfmt_cmpobe_lit.f |
c906108c SS |
8521 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
8522 | const IDESC * UNUSED idesc = abuf->idesc; | |
8523 | int cycles = 0; | |
8524 | { | |
8525 | int referenced = 0; | |
8526 | int UNUSED insn_referenced = abuf->written; | |
8527 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
8528 | } | |
8529 | return cycles; | |
8530 | #undef FLD | |
8531 | } | |
8532 | ||
8533 | static int | |
8534 | model_i960CA_cmpibne_reg (SIM_CPU *current_cpu, void *sem_arg) | |
8535 | { | |
96baa820 | 8536 | #define FLD(f) abuf->fields.sfmt_cmpobe_reg.f |
c906108c SS |
8537 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
8538 | const IDESC * UNUSED idesc = abuf->idesc; | |
8539 | int cycles = 0; | |
8540 | { | |
8541 | int referenced = 0; | |
8542 | int UNUSED insn_referenced = abuf->written; | |
8543 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
8544 | } | |
8545 | return cycles; | |
8546 | #undef FLD | |
8547 | } | |
8548 | ||
8549 | static int | |
8550 | model_i960CA_cmpibne_lit (SIM_CPU *current_cpu, void *sem_arg) | |
8551 | { | |
96baa820 | 8552 | #define FLD(f) abuf->fields.sfmt_cmpobe_lit.f |
c906108c SS |
8553 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
8554 | const IDESC * UNUSED idesc = abuf->idesc; | |
8555 | int cycles = 0; | |
8556 | { | |
8557 | int referenced = 0; | |
8558 | int UNUSED insn_referenced = abuf->written; | |
8559 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
8560 | } | |
8561 | return cycles; | |
8562 | #undef FLD | |
8563 | } | |
8564 | ||
8565 | static int | |
8566 | model_i960CA_cmpibl_reg (SIM_CPU *current_cpu, void *sem_arg) | |
8567 | { | |
96baa820 | 8568 | #define FLD(f) abuf->fields.sfmt_cmpobe_reg.f |
c906108c SS |
8569 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
8570 | const IDESC * UNUSED idesc = abuf->idesc; | |
8571 | int cycles = 0; | |
8572 | { | |
8573 | int referenced = 0; | |
8574 | int UNUSED insn_referenced = abuf->written; | |
8575 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
8576 | } | |
8577 | return cycles; | |
8578 | #undef FLD | |
8579 | } | |
8580 | ||
8581 | static int | |
8582 | model_i960CA_cmpibl_lit (SIM_CPU *current_cpu, void *sem_arg) | |
8583 | { | |
96baa820 | 8584 | #define FLD(f) abuf->fields.sfmt_cmpobe_lit.f |
c906108c SS |
8585 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
8586 | const IDESC * UNUSED idesc = abuf->idesc; | |
8587 | int cycles = 0; | |
8588 | { | |
8589 | int referenced = 0; | |
8590 | int UNUSED insn_referenced = abuf->written; | |
8591 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
8592 | } | |
8593 | return cycles; | |
8594 | #undef FLD | |
8595 | } | |
8596 | ||
8597 | static int | |
8598 | model_i960CA_cmpible_reg (SIM_CPU *current_cpu, void *sem_arg) | |
8599 | { | |
96baa820 | 8600 | #define FLD(f) abuf->fields.sfmt_cmpobe_reg.f |
c906108c SS |
8601 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
8602 | const IDESC * UNUSED idesc = abuf->idesc; | |
8603 | int cycles = 0; | |
8604 | { | |
8605 | int referenced = 0; | |
8606 | int UNUSED insn_referenced = abuf->written; | |
8607 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
8608 | } | |
8609 | return cycles; | |
8610 | #undef FLD | |
8611 | } | |
8612 | ||
8613 | static int | |
8614 | model_i960CA_cmpible_lit (SIM_CPU *current_cpu, void *sem_arg) | |
8615 | { | |
96baa820 | 8616 | #define FLD(f) abuf->fields.sfmt_cmpobe_lit.f |
c906108c SS |
8617 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
8618 | const IDESC * UNUSED idesc = abuf->idesc; | |
8619 | int cycles = 0; | |
8620 | { | |
8621 | int referenced = 0; | |
8622 | int UNUSED insn_referenced = abuf->written; | |
8623 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
8624 | } | |
8625 | return cycles; | |
8626 | #undef FLD | |
8627 | } | |
8628 | ||
8629 | static int | |
8630 | model_i960CA_cmpibg_reg (SIM_CPU *current_cpu, void *sem_arg) | |
8631 | { | |
96baa820 | 8632 | #define FLD(f) abuf->fields.sfmt_cmpobe_reg.f |
c906108c SS |
8633 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
8634 | const IDESC * UNUSED idesc = abuf->idesc; | |
8635 | int cycles = 0; | |
8636 | { | |
8637 | int referenced = 0; | |
8638 | int UNUSED insn_referenced = abuf->written; | |
8639 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
8640 | } | |
8641 | return cycles; | |
8642 | #undef FLD | |
8643 | } | |
8644 | ||
8645 | static int | |
8646 | model_i960CA_cmpibg_lit (SIM_CPU *current_cpu, void *sem_arg) | |
8647 | { | |
96baa820 | 8648 | #define FLD(f) abuf->fields.sfmt_cmpobe_lit.f |
c906108c SS |
8649 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
8650 | const IDESC * UNUSED idesc = abuf->idesc; | |
8651 | int cycles = 0; | |
8652 | { | |
8653 | int referenced = 0; | |
8654 | int UNUSED insn_referenced = abuf->written; | |
8655 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
8656 | } | |
8657 | return cycles; | |
8658 | #undef FLD | |
8659 | } | |
8660 | ||
8661 | static int | |
8662 | model_i960CA_cmpibge_reg (SIM_CPU *current_cpu, void *sem_arg) | |
8663 | { | |
96baa820 | 8664 | #define FLD(f) abuf->fields.sfmt_cmpobe_reg.f |
c906108c SS |
8665 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
8666 | const IDESC * UNUSED idesc = abuf->idesc; | |
8667 | int cycles = 0; | |
8668 | { | |
8669 | int referenced = 0; | |
8670 | int UNUSED insn_referenced = abuf->written; | |
8671 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
8672 | } | |
8673 | return cycles; | |
8674 | #undef FLD | |
8675 | } | |
8676 | ||
8677 | static int | |
8678 | model_i960CA_cmpibge_lit (SIM_CPU *current_cpu, void *sem_arg) | |
8679 | { | |
96baa820 | 8680 | #define FLD(f) abuf->fields.sfmt_cmpobe_lit.f |
c906108c SS |
8681 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
8682 | const IDESC * UNUSED idesc = abuf->idesc; | |
8683 | int cycles = 0; | |
8684 | { | |
8685 | int referenced = 0; | |
8686 | int UNUSED insn_referenced = abuf->written; | |
8687 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
8688 | } | |
8689 | return cycles; | |
8690 | #undef FLD | |
8691 | } | |
8692 | ||
8693 | static int | |
8694 | model_i960CA_bbc_reg (SIM_CPU *current_cpu, void *sem_arg) | |
8695 | { | |
96baa820 | 8696 | #define FLD(f) abuf->fields.sfmt_cmpobe_reg.f |
c906108c SS |
8697 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
8698 | const IDESC * UNUSED idesc = abuf->idesc; | |
8699 | int cycles = 0; | |
8700 | { | |
8701 | int referenced = 0; | |
8702 | int UNUSED insn_referenced = abuf->written; | |
8703 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
8704 | } | |
8705 | return cycles; | |
8706 | #undef FLD | |
8707 | } | |
8708 | ||
8709 | static int | |
8710 | model_i960CA_bbc_lit (SIM_CPU *current_cpu, void *sem_arg) | |
8711 | { | |
96baa820 | 8712 | #define FLD(f) abuf->fields.sfmt_cmpobe_lit.f |
c906108c SS |
8713 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
8714 | const IDESC * UNUSED idesc = abuf->idesc; | |
8715 | int cycles = 0; | |
8716 | { | |
8717 | int referenced = 0; | |
8718 | int UNUSED insn_referenced = abuf->written; | |
8719 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
8720 | } | |
8721 | return cycles; | |
8722 | #undef FLD | |
8723 | } | |
8724 | ||
8725 | static int | |
8726 | model_i960CA_bbs_reg (SIM_CPU *current_cpu, void *sem_arg) | |
8727 | { | |
96baa820 | 8728 | #define FLD(f) abuf->fields.sfmt_cmpobe_reg.f |
c906108c SS |
8729 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
8730 | const IDESC * UNUSED idesc = abuf->idesc; | |
8731 | int cycles = 0; | |
8732 | { | |
8733 | int referenced = 0; | |
8734 | int UNUSED insn_referenced = abuf->written; | |
8735 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
8736 | } | |
8737 | return cycles; | |
8738 | #undef FLD | |
8739 | } | |
8740 | ||
8741 | static int | |
8742 | model_i960CA_bbs_lit (SIM_CPU *current_cpu, void *sem_arg) | |
8743 | { | |
96baa820 | 8744 | #define FLD(f) abuf->fields.sfmt_cmpobe_lit.f |
c906108c SS |
8745 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
8746 | const IDESC * UNUSED idesc = abuf->idesc; | |
8747 | int cycles = 0; | |
8748 | { | |
8749 | int referenced = 0; | |
8750 | int UNUSED insn_referenced = abuf->written; | |
8751 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
8752 | } | |
8753 | return cycles; | |
8754 | #undef FLD | |
8755 | } | |
8756 | ||
8757 | static int | |
8758 | model_i960CA_cmpi (SIM_CPU *current_cpu, void *sem_arg) | |
8759 | { | |
96baa820 | 8760 | #define FLD(f) abuf->fields.sfmt_emul.f |
c906108c SS |
8761 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
8762 | const IDESC * UNUSED idesc = abuf->idesc; | |
8763 | int cycles = 0; | |
8764 | { | |
8765 | int referenced = 0; | |
8766 | int UNUSED insn_referenced = abuf->written; | |
8767 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
8768 | } | |
8769 | return cycles; | |
8770 | #undef FLD | |
8771 | } | |
8772 | ||
8773 | static int | |
8774 | model_i960CA_cmpi1 (SIM_CPU *current_cpu, void *sem_arg) | |
8775 | { | |
96baa820 | 8776 | #define FLD(f) abuf->fields.sfmt_emul1.f |
c906108c SS |
8777 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
8778 | const IDESC * UNUSED idesc = abuf->idesc; | |
8779 | int cycles = 0; | |
8780 | { | |
8781 | int referenced = 0; | |
8782 | int UNUSED insn_referenced = abuf->written; | |
8783 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
8784 | } | |
8785 | return cycles; | |
8786 | #undef FLD | |
8787 | } | |
8788 | ||
8789 | static int | |
8790 | model_i960CA_cmpi2 (SIM_CPU *current_cpu, void *sem_arg) | |
8791 | { | |
96baa820 | 8792 | #define FLD(f) abuf->fields.sfmt_emul2.f |
c906108c SS |
8793 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
8794 | const IDESC * UNUSED idesc = abuf->idesc; | |
8795 | int cycles = 0; | |
8796 | { | |
8797 | int referenced = 0; | |
8798 | int UNUSED insn_referenced = abuf->written; | |
8799 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
8800 | } | |
8801 | return cycles; | |
8802 | #undef FLD | |
8803 | } | |
8804 | ||
8805 | static int | |
8806 | model_i960CA_cmpi3 (SIM_CPU *current_cpu, void *sem_arg) | |
8807 | { | |
96baa820 | 8808 | #define FLD(f) abuf->fields.sfmt_emul3.f |
c906108c SS |
8809 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
8810 | const IDESC * UNUSED idesc = abuf->idesc; | |
8811 | int cycles = 0; | |
8812 | { | |
8813 | int referenced = 0; | |
8814 | int UNUSED insn_referenced = abuf->written; | |
8815 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
8816 | } | |
8817 | return cycles; | |
8818 | #undef FLD | |
8819 | } | |
8820 | ||
8821 | static int | |
8822 | model_i960CA_cmpo (SIM_CPU *current_cpu, void *sem_arg) | |
8823 | { | |
96baa820 | 8824 | #define FLD(f) abuf->fields.sfmt_emul.f |
c906108c SS |
8825 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
8826 | const IDESC * UNUSED idesc = abuf->idesc; | |
8827 | int cycles = 0; | |
8828 | { | |
8829 | int referenced = 0; | |
8830 | int UNUSED insn_referenced = abuf->written; | |
8831 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
8832 | } | |
8833 | return cycles; | |
8834 | #undef FLD | |
8835 | } | |
8836 | ||
8837 | static int | |
8838 | model_i960CA_cmpo1 (SIM_CPU *current_cpu, void *sem_arg) | |
8839 | { | |
96baa820 | 8840 | #define FLD(f) abuf->fields.sfmt_emul1.f |
c906108c SS |
8841 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
8842 | const IDESC * UNUSED idesc = abuf->idesc; | |
8843 | int cycles = 0; | |
8844 | { | |
8845 | int referenced = 0; | |
8846 | int UNUSED insn_referenced = abuf->written; | |
8847 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
8848 | } | |
8849 | return cycles; | |
8850 | #undef FLD | |
8851 | } | |
8852 | ||
8853 | static int | |
8854 | model_i960CA_cmpo2 (SIM_CPU *current_cpu, void *sem_arg) | |
8855 | { | |
96baa820 | 8856 | #define FLD(f) abuf->fields.sfmt_emul2.f |
c906108c SS |
8857 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
8858 | const IDESC * UNUSED idesc = abuf->idesc; | |
8859 | int cycles = 0; | |
8860 | { | |
8861 | int referenced = 0; | |
8862 | int UNUSED insn_referenced = abuf->written; | |
8863 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
8864 | } | |
8865 | return cycles; | |
8866 | #undef FLD | |
8867 | } | |
8868 | ||
8869 | static int | |
8870 | model_i960CA_cmpo3 (SIM_CPU *current_cpu, void *sem_arg) | |
8871 | { | |
96baa820 | 8872 | #define FLD(f) abuf->fields.sfmt_emul3.f |
c906108c SS |
8873 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
8874 | const IDESC * UNUSED idesc = abuf->idesc; | |
8875 | int cycles = 0; | |
8876 | { | |
8877 | int referenced = 0; | |
8878 | int UNUSED insn_referenced = abuf->written; | |
8879 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
8880 | } | |
8881 | return cycles; | |
8882 | #undef FLD | |
8883 | } | |
8884 | ||
8885 | static int | |
8886 | model_i960CA_testno_reg (SIM_CPU *current_cpu, void *sem_arg) | |
8887 | { | |
96baa820 | 8888 | #define FLD(f) abuf->fields.sfmt_testno_reg.f |
c906108c SS |
8889 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
8890 | const IDESC * UNUSED idesc = abuf->idesc; | |
8891 | int cycles = 0; | |
8892 | { | |
8893 | int referenced = 0; | |
8894 | int UNUSED insn_referenced = abuf->written; | |
8895 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
8896 | } | |
8897 | return cycles; | |
8898 | #undef FLD | |
8899 | } | |
8900 | ||
8901 | static int | |
8902 | model_i960CA_testg_reg (SIM_CPU *current_cpu, void *sem_arg) | |
8903 | { | |
96baa820 | 8904 | #define FLD(f) abuf->fields.sfmt_testno_reg.f |
c906108c SS |
8905 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
8906 | const IDESC * UNUSED idesc = abuf->idesc; | |
8907 | int cycles = 0; | |
8908 | { | |
8909 | int referenced = 0; | |
8910 | int UNUSED insn_referenced = abuf->written; | |
8911 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
8912 | } | |
8913 | return cycles; | |
8914 | #undef FLD | |
8915 | } | |
8916 | ||
8917 | static int | |
8918 | model_i960CA_teste_reg (SIM_CPU *current_cpu, void *sem_arg) | |
8919 | { | |
96baa820 | 8920 | #define FLD(f) abuf->fields.sfmt_testno_reg.f |
c906108c SS |
8921 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
8922 | const IDESC * UNUSED idesc = abuf->idesc; | |
8923 | int cycles = 0; | |
8924 | { | |
8925 | int referenced = 0; | |
8926 | int UNUSED insn_referenced = abuf->written; | |
8927 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
8928 | } | |
8929 | return cycles; | |
8930 | #undef FLD | |
8931 | } | |
8932 | ||
8933 | static int | |
8934 | model_i960CA_testge_reg (SIM_CPU *current_cpu, void *sem_arg) | |
8935 | { | |
96baa820 | 8936 | #define FLD(f) abuf->fields.sfmt_testno_reg.f |
c906108c SS |
8937 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
8938 | const IDESC * UNUSED idesc = abuf->idesc; | |
8939 | int cycles = 0; | |
8940 | { | |
8941 | int referenced = 0; | |
8942 | int UNUSED insn_referenced = abuf->written; | |
8943 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
8944 | } | |
8945 | return cycles; | |
8946 | #undef FLD | |
8947 | } | |
8948 | ||
8949 | static int | |
8950 | model_i960CA_testl_reg (SIM_CPU *current_cpu, void *sem_arg) | |
8951 | { | |
96baa820 | 8952 | #define FLD(f) abuf->fields.sfmt_testno_reg.f |
c906108c SS |
8953 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
8954 | const IDESC * UNUSED idesc = abuf->idesc; | |
8955 | int cycles = 0; | |
8956 | { | |
8957 | int referenced = 0; | |
8958 | int UNUSED insn_referenced = abuf->written; | |
8959 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
8960 | } | |
8961 | return cycles; | |
8962 | #undef FLD | |
8963 | } | |
8964 | ||
8965 | static int | |
8966 | model_i960CA_testne_reg (SIM_CPU *current_cpu, void *sem_arg) | |
8967 | { | |
96baa820 | 8968 | #define FLD(f) abuf->fields.sfmt_testno_reg.f |
c906108c SS |
8969 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
8970 | const IDESC * UNUSED idesc = abuf->idesc; | |
8971 | int cycles = 0; | |
8972 | { | |
8973 | int referenced = 0; | |
8974 | int UNUSED insn_referenced = abuf->written; | |
8975 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
8976 | } | |
8977 | return cycles; | |
8978 | #undef FLD | |
8979 | } | |
8980 | ||
8981 | static int | |
8982 | model_i960CA_testle_reg (SIM_CPU *current_cpu, void *sem_arg) | |
8983 | { | |
96baa820 | 8984 | #define FLD(f) abuf->fields.sfmt_testno_reg.f |
c906108c SS |
8985 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
8986 | const IDESC * UNUSED idesc = abuf->idesc; | |
8987 | int cycles = 0; | |
8988 | { | |
8989 | int referenced = 0; | |
8990 | int UNUSED insn_referenced = abuf->written; | |
8991 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
8992 | } | |
8993 | return cycles; | |
8994 | #undef FLD | |
8995 | } | |
8996 | ||
8997 | static int | |
8998 | model_i960CA_testo_reg (SIM_CPU *current_cpu, void *sem_arg) | |
8999 | { | |
96baa820 | 9000 | #define FLD(f) abuf->fields.sfmt_testno_reg.f |
c906108c SS |
9001 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
9002 | const IDESC * UNUSED idesc = abuf->idesc; | |
9003 | int cycles = 0; | |
9004 | { | |
9005 | int referenced = 0; | |
9006 | int UNUSED insn_referenced = abuf->written; | |
9007 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
9008 | } | |
9009 | return cycles; | |
9010 | #undef FLD | |
9011 | } | |
9012 | ||
9013 | static int | |
9014 | model_i960CA_bno (SIM_CPU *current_cpu, void *sem_arg) | |
9015 | { | |
96baa820 | 9016 | #define FLD(f) abuf->fields.sfmt_bno.f |
c906108c SS |
9017 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
9018 | const IDESC * UNUSED idesc = abuf->idesc; | |
9019 | int cycles = 0; | |
9020 | { | |
9021 | int referenced = 0; | |
9022 | int UNUSED insn_referenced = abuf->written; | |
9023 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
9024 | } | |
9025 | return cycles; | |
9026 | #undef FLD | |
9027 | } | |
9028 | ||
9029 | static int | |
9030 | model_i960CA_bg (SIM_CPU *current_cpu, void *sem_arg) | |
9031 | { | |
96baa820 | 9032 | #define FLD(f) abuf->fields.sfmt_bno.f |
c906108c SS |
9033 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
9034 | const IDESC * UNUSED idesc = abuf->idesc; | |
9035 | int cycles = 0; | |
9036 | { | |
9037 | int referenced = 0; | |
9038 | int UNUSED insn_referenced = abuf->written; | |
9039 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
9040 | } | |
9041 | return cycles; | |
9042 | #undef FLD | |
9043 | } | |
9044 | ||
9045 | static int | |
9046 | model_i960CA_be (SIM_CPU *current_cpu, void *sem_arg) | |
9047 | { | |
96baa820 | 9048 | #define FLD(f) abuf->fields.sfmt_bno.f |
c906108c SS |
9049 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
9050 | const IDESC * UNUSED idesc = abuf->idesc; | |
9051 | int cycles = 0; | |
9052 | { | |
9053 | int referenced = 0; | |
9054 | int UNUSED insn_referenced = abuf->written; | |
9055 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
9056 | } | |
9057 | return cycles; | |
9058 | #undef FLD | |
9059 | } | |
9060 | ||
9061 | static int | |
9062 | model_i960CA_bge (SIM_CPU *current_cpu, void *sem_arg) | |
9063 | { | |
96baa820 | 9064 | #define FLD(f) abuf->fields.sfmt_bno.f |
c906108c SS |
9065 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
9066 | const IDESC * UNUSED idesc = abuf->idesc; | |
9067 | int cycles = 0; | |
9068 | { | |
9069 | int referenced = 0; | |
9070 | int UNUSED insn_referenced = abuf->written; | |
9071 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
9072 | } | |
9073 | return cycles; | |
9074 | #undef FLD | |
9075 | } | |
9076 | ||
9077 | static int | |
9078 | model_i960CA_bl (SIM_CPU *current_cpu, void *sem_arg) | |
9079 | { | |
96baa820 | 9080 | #define FLD(f) abuf->fields.sfmt_bno.f |
c906108c SS |
9081 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
9082 | const IDESC * UNUSED idesc = abuf->idesc; | |
9083 | int cycles = 0; | |
9084 | { | |
9085 | int referenced = 0; | |
9086 | int UNUSED insn_referenced = abuf->written; | |
9087 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
9088 | } | |
9089 | return cycles; | |
9090 | #undef FLD | |
9091 | } | |
9092 | ||
9093 | static int | |
9094 | model_i960CA_bne (SIM_CPU *current_cpu, void *sem_arg) | |
9095 | { | |
96baa820 | 9096 | #define FLD(f) abuf->fields.sfmt_bno.f |
c906108c SS |
9097 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
9098 | const IDESC * UNUSED idesc = abuf->idesc; | |
9099 | int cycles = 0; | |
9100 | { | |
9101 | int referenced = 0; | |
9102 | int UNUSED insn_referenced = abuf->written; | |
9103 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
9104 | } | |
9105 | return cycles; | |
9106 | #undef FLD | |
9107 | } | |
9108 | ||
9109 | static int | |
9110 | model_i960CA_ble (SIM_CPU *current_cpu, void *sem_arg) | |
9111 | { | |
96baa820 | 9112 | #define FLD(f) abuf->fields.sfmt_bno.f |
c906108c SS |
9113 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
9114 | const IDESC * UNUSED idesc = abuf->idesc; | |
9115 | int cycles = 0; | |
9116 | { | |
9117 | int referenced = 0; | |
9118 | int UNUSED insn_referenced = abuf->written; | |
9119 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
9120 | } | |
9121 | return cycles; | |
9122 | #undef FLD | |
9123 | } | |
9124 | ||
9125 | static int | |
9126 | model_i960CA_bo (SIM_CPU *current_cpu, void *sem_arg) | |
9127 | { | |
96baa820 | 9128 | #define FLD(f) abuf->fields.sfmt_bno.f |
c906108c SS |
9129 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
9130 | const IDESC * UNUSED idesc = abuf->idesc; | |
9131 | int cycles = 0; | |
9132 | { | |
9133 | int referenced = 0; | |
9134 | int UNUSED insn_referenced = abuf->written; | |
9135 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
9136 | } | |
9137 | return cycles; | |
9138 | #undef FLD | |
9139 | } | |
9140 | ||
9141 | static int | |
9142 | model_i960CA_b (SIM_CPU *current_cpu, void *sem_arg) | |
9143 | { | |
96baa820 | 9144 | #define FLD(f) abuf->fields.sfmt_bno.f |
c906108c SS |
9145 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
9146 | const IDESC * UNUSED idesc = abuf->idesc; | |
9147 | int cycles = 0; | |
9148 | { | |
9149 | int referenced = 0; | |
9150 | int UNUSED insn_referenced = abuf->written; | |
9151 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
9152 | } | |
9153 | return cycles; | |
9154 | #undef FLD | |
9155 | } | |
9156 | ||
9157 | static int | |
9158 | model_i960CA_bx_indirect_offset (SIM_CPU *current_cpu, void *sem_arg) | |
9159 | { | |
96baa820 | 9160 | #define FLD(f) abuf->fields.sfmt_stq_indirect_offset.f |
c906108c SS |
9161 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
9162 | const IDESC * UNUSED idesc = abuf->idesc; | |
9163 | int cycles = 0; | |
9164 | { | |
9165 | int referenced = 0; | |
9166 | int UNUSED insn_referenced = abuf->written; | |
9167 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
9168 | } | |
9169 | return cycles; | |
9170 | #undef FLD | |
9171 | } | |
9172 | ||
9173 | static int | |
9174 | model_i960CA_bx_indirect (SIM_CPU *current_cpu, void *sem_arg) | |
9175 | { | |
96baa820 | 9176 | #define FLD(f) abuf->fields.sfmt_stq_indirect_offset.f |
c906108c SS |
9177 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
9178 | const IDESC * UNUSED idesc = abuf->idesc; | |
9179 | int cycles = 0; | |
9180 | { | |
9181 | int referenced = 0; | |
9182 | int UNUSED insn_referenced = abuf->written; | |
9183 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
9184 | } | |
9185 | return cycles; | |
9186 | #undef FLD | |
9187 | } | |
9188 | ||
9189 | static int | |
9190 | model_i960CA_bx_indirect_index (SIM_CPU *current_cpu, void *sem_arg) | |
9191 | { | |
96baa820 | 9192 | #define FLD(f) abuf->fields.sfmt_stq_indirect_index_disp.f |
c906108c SS |
9193 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
9194 | const IDESC * UNUSED idesc = abuf->idesc; | |
9195 | int cycles = 0; | |
9196 | { | |
9197 | int referenced = 0; | |
9198 | int UNUSED insn_referenced = abuf->written; | |
9199 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
9200 | } | |
9201 | return cycles; | |
9202 | #undef FLD | |
9203 | } | |
9204 | ||
9205 | static int | |
9206 | model_i960CA_bx_disp (SIM_CPU *current_cpu, void *sem_arg) | |
9207 | { | |
96baa820 | 9208 | #define FLD(f) abuf->fields.sfmt_stq_indirect_index_disp.f |
c906108c SS |
9209 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
9210 | const IDESC * UNUSED idesc = abuf->idesc; | |
9211 | int cycles = 0; | |
9212 | { | |
9213 | int referenced = 0; | |
9214 | int UNUSED insn_referenced = abuf->written; | |
9215 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
9216 | } | |
9217 | return cycles; | |
9218 | #undef FLD | |
9219 | } | |
9220 | ||
9221 | static int | |
9222 | model_i960CA_bx_indirect_disp (SIM_CPU *current_cpu, void *sem_arg) | |
9223 | { | |
96baa820 | 9224 | #define FLD(f) abuf->fields.sfmt_stq_indirect_index_disp.f |
c906108c SS |
9225 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
9226 | const IDESC * UNUSED idesc = abuf->idesc; | |
9227 | int cycles = 0; | |
9228 | { | |
9229 | int referenced = 0; | |
9230 | int UNUSED insn_referenced = abuf->written; | |
9231 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
9232 | } | |
9233 | return cycles; | |
9234 | #undef FLD | |
9235 | } | |
9236 | ||
9237 | static int | |
9238 | model_i960CA_callx_disp (SIM_CPU *current_cpu, void *sem_arg) | |
9239 | { | |
96baa820 | 9240 | #define FLD(f) abuf->fields.sfmt_callx_disp.f |
c906108c SS |
9241 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
9242 | const IDESC * UNUSED idesc = abuf->idesc; | |
9243 | int cycles = 0; | |
9244 | { | |
9245 | int referenced = 0; | |
9246 | int UNUSED insn_referenced = abuf->written; | |
9247 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
9248 | } | |
9249 | return cycles; | |
9250 | #undef FLD | |
9251 | } | |
9252 | ||
9253 | static int | |
9254 | model_i960CA_callx_indirect (SIM_CPU *current_cpu, void *sem_arg) | |
9255 | { | |
96baa820 | 9256 | #define FLD(f) abuf->fields.sfmt_callx_indirect_offset.f |
c906108c SS |
9257 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
9258 | const IDESC * UNUSED idesc = abuf->idesc; | |
9259 | int cycles = 0; | |
9260 | { | |
9261 | int referenced = 0; | |
9262 | int UNUSED insn_referenced = abuf->written; | |
9263 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
9264 | } | |
9265 | return cycles; | |
9266 | #undef FLD | |
9267 | } | |
9268 | ||
9269 | static int | |
9270 | model_i960CA_callx_indirect_offset (SIM_CPU *current_cpu, void *sem_arg) | |
9271 | { | |
96baa820 | 9272 | #define FLD(f) abuf->fields.sfmt_callx_indirect_offset.f |
c906108c SS |
9273 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
9274 | const IDESC * UNUSED idesc = abuf->idesc; | |
9275 | int cycles = 0; | |
9276 | { | |
9277 | int referenced = 0; | |
9278 | int UNUSED insn_referenced = abuf->written; | |
9279 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
9280 | } | |
9281 | return cycles; | |
9282 | #undef FLD | |
9283 | } | |
9284 | ||
9285 | static int | |
9286 | model_i960CA_ret (SIM_CPU *current_cpu, void *sem_arg) | |
9287 | { | |
96baa820 | 9288 | #define FLD(f) abuf->fields.sfmt_callx_disp.f |
c906108c SS |
9289 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
9290 | const IDESC * UNUSED idesc = abuf->idesc; | |
9291 | int cycles = 0; | |
9292 | { | |
9293 | int referenced = 0; | |
9294 | int UNUSED insn_referenced = abuf->written; | |
9295 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
9296 | } | |
9297 | return cycles; | |
9298 | #undef FLD | |
9299 | } | |
9300 | ||
9301 | static int | |
9302 | model_i960CA_calls (SIM_CPU *current_cpu, void *sem_arg) | |
9303 | { | |
96baa820 | 9304 | #define FLD(f) abuf->fields.sfmt_emul2.f |
c906108c SS |
9305 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
9306 | const IDESC * UNUSED idesc = abuf->idesc; | |
9307 | int cycles = 0; | |
9308 | { | |
9309 | int referenced = 0; | |
9310 | int UNUSED insn_referenced = abuf->written; | |
9311 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
9312 | } | |
9313 | return cycles; | |
9314 | #undef FLD | |
9315 | } | |
9316 | ||
9317 | static int | |
9318 | model_i960CA_fmark (SIM_CPU *current_cpu, void *sem_arg) | |
9319 | { | |
96baa820 | 9320 | #define FLD(f) abuf->fields.fmt_empty.f |
c906108c SS |
9321 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
9322 | const IDESC * UNUSED idesc = abuf->idesc; | |
9323 | int cycles = 0; | |
9324 | { | |
9325 | int referenced = 0; | |
9326 | int UNUSED insn_referenced = abuf->written; | |
9327 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
9328 | } | |
9329 | return cycles; | |
9330 | #undef FLD | |
9331 | } | |
9332 | ||
9333 | static int | |
9334 | model_i960CA_flushreg (SIM_CPU *current_cpu, void *sem_arg) | |
9335 | { | |
96baa820 | 9336 | #define FLD(f) abuf->fields.fmt_empty.f |
c906108c SS |
9337 | const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg); |
9338 | const IDESC * UNUSED idesc = abuf->idesc; | |
9339 | int cycles = 0; | |
9340 | { | |
9341 | int referenced = 0; | |
9342 | int UNUSED insn_referenced = abuf->written; | |
9343 | cycles += i960base_model_i960CA_u_exec (current_cpu, idesc, 0, referenced); | |
9344 | } | |
9345 | return cycles; | |
9346 | #undef FLD | |
9347 | } | |
9348 | ||
9349 | /* We assume UNIT_NONE == 0 because the tables don't always terminate | |
9350 | entries with it. */ | |
9351 | ||
9352 | /* Model timing data for `i960KA'. */ | |
9353 | ||
9354 | static const INSN_TIMING i960KA_timing[] = { | |
9355 | { I960BASE_INSN_X_INVALID, 0, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9356 | { I960BASE_INSN_X_AFTER, 0, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9357 | { I960BASE_INSN_X_BEFORE, 0, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9358 | { I960BASE_INSN_X_CTI_CHAIN, 0, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9359 | { I960BASE_INSN_X_CHAIN, 0, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9360 | { I960BASE_INSN_X_BEGIN, 0, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9361 | { I960BASE_INSN_MULO, model_i960KA_mulo, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9362 | { I960BASE_INSN_MULO1, model_i960KA_mulo1, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9363 | { I960BASE_INSN_MULO2, model_i960KA_mulo2, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9364 | { I960BASE_INSN_MULO3, model_i960KA_mulo3, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9365 | { I960BASE_INSN_REMO, model_i960KA_remo, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9366 | { I960BASE_INSN_REMO1, model_i960KA_remo1, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9367 | { I960BASE_INSN_REMO2, model_i960KA_remo2, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9368 | { I960BASE_INSN_REMO3, model_i960KA_remo3, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9369 | { I960BASE_INSN_DIVO, model_i960KA_divo, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9370 | { I960BASE_INSN_DIVO1, model_i960KA_divo1, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9371 | { I960BASE_INSN_DIVO2, model_i960KA_divo2, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9372 | { I960BASE_INSN_DIVO3, model_i960KA_divo3, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9373 | { I960BASE_INSN_REMI, model_i960KA_remi, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9374 | { I960BASE_INSN_REMI1, model_i960KA_remi1, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9375 | { I960BASE_INSN_REMI2, model_i960KA_remi2, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9376 | { I960BASE_INSN_REMI3, model_i960KA_remi3, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9377 | { I960BASE_INSN_DIVI, model_i960KA_divi, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9378 | { I960BASE_INSN_DIVI1, model_i960KA_divi1, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9379 | { I960BASE_INSN_DIVI2, model_i960KA_divi2, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9380 | { I960BASE_INSN_DIVI3, model_i960KA_divi3, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9381 | { I960BASE_INSN_ADDO, model_i960KA_addo, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9382 | { I960BASE_INSN_ADDO1, model_i960KA_addo1, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9383 | { I960BASE_INSN_ADDO2, model_i960KA_addo2, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9384 | { I960BASE_INSN_ADDO3, model_i960KA_addo3, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9385 | { I960BASE_INSN_SUBO, model_i960KA_subo, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9386 | { I960BASE_INSN_SUBO1, model_i960KA_subo1, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9387 | { I960BASE_INSN_SUBO2, model_i960KA_subo2, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9388 | { I960BASE_INSN_SUBO3, model_i960KA_subo3, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9389 | { I960BASE_INSN_NOTBIT, model_i960KA_notbit, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9390 | { I960BASE_INSN_NOTBIT1, model_i960KA_notbit1, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9391 | { I960BASE_INSN_NOTBIT2, model_i960KA_notbit2, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9392 | { I960BASE_INSN_NOTBIT3, model_i960KA_notbit3, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9393 | { I960BASE_INSN_AND, model_i960KA_and, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9394 | { I960BASE_INSN_AND1, model_i960KA_and1, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9395 | { I960BASE_INSN_AND2, model_i960KA_and2, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9396 | { I960BASE_INSN_AND3, model_i960KA_and3, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9397 | { I960BASE_INSN_ANDNOT, model_i960KA_andnot, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9398 | { I960BASE_INSN_ANDNOT1, model_i960KA_andnot1, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9399 | { I960BASE_INSN_ANDNOT2, model_i960KA_andnot2, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9400 | { I960BASE_INSN_ANDNOT3, model_i960KA_andnot3, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9401 | { I960BASE_INSN_SETBIT, model_i960KA_setbit, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9402 | { I960BASE_INSN_SETBIT1, model_i960KA_setbit1, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9403 | { I960BASE_INSN_SETBIT2, model_i960KA_setbit2, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9404 | { I960BASE_INSN_SETBIT3, model_i960KA_setbit3, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9405 | { I960BASE_INSN_NOTAND, model_i960KA_notand, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9406 | { I960BASE_INSN_NOTAND1, model_i960KA_notand1, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9407 | { I960BASE_INSN_NOTAND2, model_i960KA_notand2, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9408 | { I960BASE_INSN_NOTAND3, model_i960KA_notand3, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9409 | { I960BASE_INSN_XOR, model_i960KA_xor, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9410 | { I960BASE_INSN_XOR1, model_i960KA_xor1, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9411 | { I960BASE_INSN_XOR2, model_i960KA_xor2, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9412 | { I960BASE_INSN_XOR3, model_i960KA_xor3, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9413 | { I960BASE_INSN_OR, model_i960KA_or, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9414 | { I960BASE_INSN_OR1, model_i960KA_or1, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9415 | { I960BASE_INSN_OR2, model_i960KA_or2, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9416 | { I960BASE_INSN_OR3, model_i960KA_or3, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9417 | { I960BASE_INSN_NOR, model_i960KA_nor, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9418 | { I960BASE_INSN_NOR1, model_i960KA_nor1, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9419 | { I960BASE_INSN_NOR2, model_i960KA_nor2, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9420 | { I960BASE_INSN_NOR3, model_i960KA_nor3, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
7a292a7a SS |
9421 | { I960BASE_INSN_XNOR, model_i960KA_xnor, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, |
9422 | { I960BASE_INSN_XNOR1, model_i960KA_xnor1, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9423 | { I960BASE_INSN_XNOR2, model_i960KA_xnor2, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9424 | { I960BASE_INSN_XNOR3, model_i960KA_xnor3, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
c906108c SS |
9425 | { I960BASE_INSN_NOT, model_i960KA_not, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, |
9426 | { I960BASE_INSN_NOT1, model_i960KA_not1, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9427 | { I960BASE_INSN_NOT2, model_i960KA_not2, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9428 | { I960BASE_INSN_NOT3, model_i960KA_not3, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
7a292a7a SS |
9429 | { I960BASE_INSN_ORNOT, model_i960KA_ornot, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, |
9430 | { I960BASE_INSN_ORNOT1, model_i960KA_ornot1, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9431 | { I960BASE_INSN_ORNOT2, model_i960KA_ornot2, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9432 | { I960BASE_INSN_ORNOT3, model_i960KA_ornot3, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
c906108c SS |
9433 | { I960BASE_INSN_CLRBIT, model_i960KA_clrbit, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, |
9434 | { I960BASE_INSN_CLRBIT1, model_i960KA_clrbit1, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9435 | { I960BASE_INSN_CLRBIT2, model_i960KA_clrbit2, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9436 | { I960BASE_INSN_CLRBIT3, model_i960KA_clrbit3, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9437 | { I960BASE_INSN_SHLO, model_i960KA_shlo, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9438 | { I960BASE_INSN_SHLO1, model_i960KA_shlo1, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9439 | { I960BASE_INSN_SHLO2, model_i960KA_shlo2, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9440 | { I960BASE_INSN_SHLO3, model_i960KA_shlo3, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9441 | { I960BASE_INSN_SHRO, model_i960KA_shro, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9442 | { I960BASE_INSN_SHRO1, model_i960KA_shro1, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9443 | { I960BASE_INSN_SHRO2, model_i960KA_shro2, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9444 | { I960BASE_INSN_SHRO3, model_i960KA_shro3, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9445 | { I960BASE_INSN_SHLI, model_i960KA_shli, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9446 | { I960BASE_INSN_SHLI1, model_i960KA_shli1, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9447 | { I960BASE_INSN_SHLI2, model_i960KA_shli2, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9448 | { I960BASE_INSN_SHLI3, model_i960KA_shli3, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9449 | { I960BASE_INSN_SHRI, model_i960KA_shri, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9450 | { I960BASE_INSN_SHRI1, model_i960KA_shri1, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9451 | { I960BASE_INSN_SHRI2, model_i960KA_shri2, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9452 | { I960BASE_INSN_SHRI3, model_i960KA_shri3, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9453 | { I960BASE_INSN_EMUL, model_i960KA_emul, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9454 | { I960BASE_INSN_EMUL1, model_i960KA_emul1, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9455 | { I960BASE_INSN_EMUL2, model_i960KA_emul2, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9456 | { I960BASE_INSN_EMUL3, model_i960KA_emul3, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9457 | { I960BASE_INSN_MOV, model_i960KA_mov, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9458 | { I960BASE_INSN_MOV1, model_i960KA_mov1, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9459 | { I960BASE_INSN_MOVL, model_i960KA_movl, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9460 | { I960BASE_INSN_MOVL1, model_i960KA_movl1, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9461 | { I960BASE_INSN_MOVT, model_i960KA_movt, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9462 | { I960BASE_INSN_MOVT1, model_i960KA_movt1, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9463 | { I960BASE_INSN_MOVQ, model_i960KA_movq, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9464 | { I960BASE_INSN_MOVQ1, model_i960KA_movq1, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9465 | { I960BASE_INSN_MODPC, model_i960KA_modpc, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9466 | { I960BASE_INSN_MODAC, model_i960KA_modac, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9467 | { I960BASE_INSN_LDA_OFFSET, model_i960KA_lda_offset, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9468 | { I960BASE_INSN_LDA_INDIRECT_OFFSET, model_i960KA_lda_indirect_offset, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9469 | { I960BASE_INSN_LDA_INDIRECT, model_i960KA_lda_indirect, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9470 | { I960BASE_INSN_LDA_INDIRECT_INDEX, model_i960KA_lda_indirect_index, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9471 | { I960BASE_INSN_LDA_DISP, model_i960KA_lda_disp, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9472 | { I960BASE_INSN_LDA_INDIRECT_DISP, model_i960KA_lda_indirect_disp, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9473 | { I960BASE_INSN_LDA_INDEX_DISP, model_i960KA_lda_index_disp, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9474 | { I960BASE_INSN_LDA_INDIRECT_INDEX_DISP, model_i960KA_lda_indirect_index_disp, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9475 | { I960BASE_INSN_LD_OFFSET, model_i960KA_ld_offset, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9476 | { I960BASE_INSN_LD_INDIRECT_OFFSET, model_i960KA_ld_indirect_offset, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9477 | { I960BASE_INSN_LD_INDIRECT, model_i960KA_ld_indirect, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9478 | { I960BASE_INSN_LD_INDIRECT_INDEX, model_i960KA_ld_indirect_index, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9479 | { I960BASE_INSN_LD_DISP, model_i960KA_ld_disp, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9480 | { I960BASE_INSN_LD_INDIRECT_DISP, model_i960KA_ld_indirect_disp, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9481 | { I960BASE_INSN_LD_INDEX_DISP, model_i960KA_ld_index_disp, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9482 | { I960BASE_INSN_LD_INDIRECT_INDEX_DISP, model_i960KA_ld_indirect_index_disp, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9483 | { I960BASE_INSN_LDOB_OFFSET, model_i960KA_ldob_offset, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9484 | { I960BASE_INSN_LDOB_INDIRECT_OFFSET, model_i960KA_ldob_indirect_offset, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9485 | { I960BASE_INSN_LDOB_INDIRECT, model_i960KA_ldob_indirect, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9486 | { I960BASE_INSN_LDOB_INDIRECT_INDEX, model_i960KA_ldob_indirect_index, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9487 | { I960BASE_INSN_LDOB_DISP, model_i960KA_ldob_disp, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9488 | { I960BASE_INSN_LDOB_INDIRECT_DISP, model_i960KA_ldob_indirect_disp, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9489 | { I960BASE_INSN_LDOB_INDEX_DISP, model_i960KA_ldob_index_disp, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9490 | { I960BASE_INSN_LDOB_INDIRECT_INDEX_DISP, model_i960KA_ldob_indirect_index_disp, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9491 | { I960BASE_INSN_LDOS_OFFSET, model_i960KA_ldos_offset, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9492 | { I960BASE_INSN_LDOS_INDIRECT_OFFSET, model_i960KA_ldos_indirect_offset, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9493 | { I960BASE_INSN_LDOS_INDIRECT, model_i960KA_ldos_indirect, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9494 | { I960BASE_INSN_LDOS_INDIRECT_INDEX, model_i960KA_ldos_indirect_index, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9495 | { I960BASE_INSN_LDOS_DISP, model_i960KA_ldos_disp, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9496 | { I960BASE_INSN_LDOS_INDIRECT_DISP, model_i960KA_ldos_indirect_disp, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9497 | { I960BASE_INSN_LDOS_INDEX_DISP, model_i960KA_ldos_index_disp, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9498 | { I960BASE_INSN_LDOS_INDIRECT_INDEX_DISP, model_i960KA_ldos_indirect_index_disp, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9499 | { I960BASE_INSN_LDIB_OFFSET, model_i960KA_ldib_offset, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9500 | { I960BASE_INSN_LDIB_INDIRECT_OFFSET, model_i960KA_ldib_indirect_offset, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9501 | { I960BASE_INSN_LDIB_INDIRECT, model_i960KA_ldib_indirect, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9502 | { I960BASE_INSN_LDIB_INDIRECT_INDEX, model_i960KA_ldib_indirect_index, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9503 | { I960BASE_INSN_LDIB_DISP, model_i960KA_ldib_disp, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9504 | { I960BASE_INSN_LDIB_INDIRECT_DISP, model_i960KA_ldib_indirect_disp, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9505 | { I960BASE_INSN_LDIB_INDEX_DISP, model_i960KA_ldib_index_disp, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9506 | { I960BASE_INSN_LDIB_INDIRECT_INDEX_DISP, model_i960KA_ldib_indirect_index_disp, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9507 | { I960BASE_INSN_LDIS_OFFSET, model_i960KA_ldis_offset, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9508 | { I960BASE_INSN_LDIS_INDIRECT_OFFSET, model_i960KA_ldis_indirect_offset, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9509 | { I960BASE_INSN_LDIS_INDIRECT, model_i960KA_ldis_indirect, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9510 | { I960BASE_INSN_LDIS_INDIRECT_INDEX, model_i960KA_ldis_indirect_index, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9511 | { I960BASE_INSN_LDIS_DISP, model_i960KA_ldis_disp, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9512 | { I960BASE_INSN_LDIS_INDIRECT_DISP, model_i960KA_ldis_indirect_disp, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9513 | { I960BASE_INSN_LDIS_INDEX_DISP, model_i960KA_ldis_index_disp, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9514 | { I960BASE_INSN_LDIS_INDIRECT_INDEX_DISP, model_i960KA_ldis_indirect_index_disp, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9515 | { I960BASE_INSN_LDL_OFFSET, model_i960KA_ldl_offset, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9516 | { I960BASE_INSN_LDL_INDIRECT_OFFSET, model_i960KA_ldl_indirect_offset, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9517 | { I960BASE_INSN_LDL_INDIRECT, model_i960KA_ldl_indirect, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9518 | { I960BASE_INSN_LDL_INDIRECT_INDEX, model_i960KA_ldl_indirect_index, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9519 | { I960BASE_INSN_LDL_DISP, model_i960KA_ldl_disp, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9520 | { I960BASE_INSN_LDL_INDIRECT_DISP, model_i960KA_ldl_indirect_disp, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9521 | { I960BASE_INSN_LDL_INDEX_DISP, model_i960KA_ldl_index_disp, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9522 | { I960BASE_INSN_LDL_INDIRECT_INDEX_DISP, model_i960KA_ldl_indirect_index_disp, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9523 | { I960BASE_INSN_LDT_OFFSET, model_i960KA_ldt_offset, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9524 | { I960BASE_INSN_LDT_INDIRECT_OFFSET, model_i960KA_ldt_indirect_offset, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9525 | { I960BASE_INSN_LDT_INDIRECT, model_i960KA_ldt_indirect, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9526 | { I960BASE_INSN_LDT_INDIRECT_INDEX, model_i960KA_ldt_indirect_index, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9527 | { I960BASE_INSN_LDT_DISP, model_i960KA_ldt_disp, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9528 | { I960BASE_INSN_LDT_INDIRECT_DISP, model_i960KA_ldt_indirect_disp, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9529 | { I960BASE_INSN_LDT_INDEX_DISP, model_i960KA_ldt_index_disp, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9530 | { I960BASE_INSN_LDT_INDIRECT_INDEX_DISP, model_i960KA_ldt_indirect_index_disp, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9531 | { I960BASE_INSN_LDQ_OFFSET, model_i960KA_ldq_offset, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9532 | { I960BASE_INSN_LDQ_INDIRECT_OFFSET, model_i960KA_ldq_indirect_offset, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9533 | { I960BASE_INSN_LDQ_INDIRECT, model_i960KA_ldq_indirect, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9534 | { I960BASE_INSN_LDQ_INDIRECT_INDEX, model_i960KA_ldq_indirect_index, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9535 | { I960BASE_INSN_LDQ_DISP, model_i960KA_ldq_disp, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9536 | { I960BASE_INSN_LDQ_INDIRECT_DISP, model_i960KA_ldq_indirect_disp, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9537 | { I960BASE_INSN_LDQ_INDEX_DISP, model_i960KA_ldq_index_disp, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9538 | { I960BASE_INSN_LDQ_INDIRECT_INDEX_DISP, model_i960KA_ldq_indirect_index_disp, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9539 | { I960BASE_INSN_ST_OFFSET, model_i960KA_st_offset, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9540 | { I960BASE_INSN_ST_INDIRECT_OFFSET, model_i960KA_st_indirect_offset, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9541 | { I960BASE_INSN_ST_INDIRECT, model_i960KA_st_indirect, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9542 | { I960BASE_INSN_ST_INDIRECT_INDEX, model_i960KA_st_indirect_index, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9543 | { I960BASE_INSN_ST_DISP, model_i960KA_st_disp, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9544 | { I960BASE_INSN_ST_INDIRECT_DISP, model_i960KA_st_indirect_disp, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9545 | { I960BASE_INSN_ST_INDEX_DISP, model_i960KA_st_index_disp, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9546 | { I960BASE_INSN_ST_INDIRECT_INDEX_DISP, model_i960KA_st_indirect_index_disp, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9547 | { I960BASE_INSN_STOB_OFFSET, model_i960KA_stob_offset, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9548 | { I960BASE_INSN_STOB_INDIRECT_OFFSET, model_i960KA_stob_indirect_offset, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9549 | { I960BASE_INSN_STOB_INDIRECT, model_i960KA_stob_indirect, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9550 | { I960BASE_INSN_STOB_INDIRECT_INDEX, model_i960KA_stob_indirect_index, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9551 | { I960BASE_INSN_STOB_DISP, model_i960KA_stob_disp, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9552 | { I960BASE_INSN_STOB_INDIRECT_DISP, model_i960KA_stob_indirect_disp, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9553 | { I960BASE_INSN_STOB_INDEX_DISP, model_i960KA_stob_index_disp, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9554 | { I960BASE_INSN_STOB_INDIRECT_INDEX_DISP, model_i960KA_stob_indirect_index_disp, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9555 | { I960BASE_INSN_STOS_OFFSET, model_i960KA_stos_offset, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9556 | { I960BASE_INSN_STOS_INDIRECT_OFFSET, model_i960KA_stos_indirect_offset, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9557 | { I960BASE_INSN_STOS_INDIRECT, model_i960KA_stos_indirect, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9558 | { I960BASE_INSN_STOS_INDIRECT_INDEX, model_i960KA_stos_indirect_index, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9559 | { I960BASE_INSN_STOS_DISP, model_i960KA_stos_disp, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9560 | { I960BASE_INSN_STOS_INDIRECT_DISP, model_i960KA_stos_indirect_disp, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9561 | { I960BASE_INSN_STOS_INDEX_DISP, model_i960KA_stos_index_disp, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9562 | { I960BASE_INSN_STOS_INDIRECT_INDEX_DISP, model_i960KA_stos_indirect_index_disp, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9563 | { I960BASE_INSN_STL_OFFSET, model_i960KA_stl_offset, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9564 | { I960BASE_INSN_STL_INDIRECT_OFFSET, model_i960KA_stl_indirect_offset, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9565 | { I960BASE_INSN_STL_INDIRECT, model_i960KA_stl_indirect, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9566 | { I960BASE_INSN_STL_INDIRECT_INDEX, model_i960KA_stl_indirect_index, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9567 | { I960BASE_INSN_STL_DISP, model_i960KA_stl_disp, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9568 | { I960BASE_INSN_STL_INDIRECT_DISP, model_i960KA_stl_indirect_disp, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9569 | { I960BASE_INSN_STL_INDEX_DISP, model_i960KA_stl_index_disp, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9570 | { I960BASE_INSN_STL_INDIRECT_INDEX_DISP, model_i960KA_stl_indirect_index_disp, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9571 | { I960BASE_INSN_STT_OFFSET, model_i960KA_stt_offset, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9572 | { I960BASE_INSN_STT_INDIRECT_OFFSET, model_i960KA_stt_indirect_offset, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9573 | { I960BASE_INSN_STT_INDIRECT, model_i960KA_stt_indirect, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9574 | { I960BASE_INSN_STT_INDIRECT_INDEX, model_i960KA_stt_indirect_index, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9575 | { I960BASE_INSN_STT_DISP, model_i960KA_stt_disp, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9576 | { I960BASE_INSN_STT_INDIRECT_DISP, model_i960KA_stt_indirect_disp, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9577 | { I960BASE_INSN_STT_INDEX_DISP, model_i960KA_stt_index_disp, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9578 | { I960BASE_INSN_STT_INDIRECT_INDEX_DISP, model_i960KA_stt_indirect_index_disp, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9579 | { I960BASE_INSN_STQ_OFFSET, model_i960KA_stq_offset, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9580 | { I960BASE_INSN_STQ_INDIRECT_OFFSET, model_i960KA_stq_indirect_offset, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9581 | { I960BASE_INSN_STQ_INDIRECT, model_i960KA_stq_indirect, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9582 | { I960BASE_INSN_STQ_INDIRECT_INDEX, model_i960KA_stq_indirect_index, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9583 | { I960BASE_INSN_STQ_DISP, model_i960KA_stq_disp, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9584 | { I960BASE_INSN_STQ_INDIRECT_DISP, model_i960KA_stq_indirect_disp, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9585 | { I960BASE_INSN_STQ_INDEX_DISP, model_i960KA_stq_index_disp, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9586 | { I960BASE_INSN_STQ_INDIRECT_INDEX_DISP, model_i960KA_stq_indirect_index_disp, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9587 | { I960BASE_INSN_CMPOBE_REG, model_i960KA_cmpobe_reg, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9588 | { I960BASE_INSN_CMPOBE_LIT, model_i960KA_cmpobe_lit, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9589 | { I960BASE_INSN_CMPOBNE_REG, model_i960KA_cmpobne_reg, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9590 | { I960BASE_INSN_CMPOBNE_LIT, model_i960KA_cmpobne_lit, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9591 | { I960BASE_INSN_CMPOBL_REG, model_i960KA_cmpobl_reg, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9592 | { I960BASE_INSN_CMPOBL_LIT, model_i960KA_cmpobl_lit, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9593 | { I960BASE_INSN_CMPOBLE_REG, model_i960KA_cmpoble_reg, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9594 | { I960BASE_INSN_CMPOBLE_LIT, model_i960KA_cmpoble_lit, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9595 | { I960BASE_INSN_CMPOBG_REG, model_i960KA_cmpobg_reg, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9596 | { I960BASE_INSN_CMPOBG_LIT, model_i960KA_cmpobg_lit, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9597 | { I960BASE_INSN_CMPOBGE_REG, model_i960KA_cmpobge_reg, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9598 | { I960BASE_INSN_CMPOBGE_LIT, model_i960KA_cmpobge_lit, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9599 | { I960BASE_INSN_CMPIBE_REG, model_i960KA_cmpibe_reg, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9600 | { I960BASE_INSN_CMPIBE_LIT, model_i960KA_cmpibe_lit, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9601 | { I960BASE_INSN_CMPIBNE_REG, model_i960KA_cmpibne_reg, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9602 | { I960BASE_INSN_CMPIBNE_LIT, model_i960KA_cmpibne_lit, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9603 | { I960BASE_INSN_CMPIBL_REG, model_i960KA_cmpibl_reg, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9604 | { I960BASE_INSN_CMPIBL_LIT, model_i960KA_cmpibl_lit, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9605 | { I960BASE_INSN_CMPIBLE_REG, model_i960KA_cmpible_reg, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9606 | { I960BASE_INSN_CMPIBLE_LIT, model_i960KA_cmpible_lit, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9607 | { I960BASE_INSN_CMPIBG_REG, model_i960KA_cmpibg_reg, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9608 | { I960BASE_INSN_CMPIBG_LIT, model_i960KA_cmpibg_lit, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9609 | { I960BASE_INSN_CMPIBGE_REG, model_i960KA_cmpibge_reg, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9610 | { I960BASE_INSN_CMPIBGE_LIT, model_i960KA_cmpibge_lit, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9611 | { I960BASE_INSN_BBC_REG, model_i960KA_bbc_reg, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9612 | { I960BASE_INSN_BBC_LIT, model_i960KA_bbc_lit, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9613 | { I960BASE_INSN_BBS_REG, model_i960KA_bbs_reg, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9614 | { I960BASE_INSN_BBS_LIT, model_i960KA_bbs_lit, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9615 | { I960BASE_INSN_CMPI, model_i960KA_cmpi, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9616 | { I960BASE_INSN_CMPI1, model_i960KA_cmpi1, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9617 | { I960BASE_INSN_CMPI2, model_i960KA_cmpi2, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9618 | { I960BASE_INSN_CMPI3, model_i960KA_cmpi3, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9619 | { I960BASE_INSN_CMPO, model_i960KA_cmpo, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9620 | { I960BASE_INSN_CMPO1, model_i960KA_cmpo1, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9621 | { I960BASE_INSN_CMPO2, model_i960KA_cmpo2, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9622 | { I960BASE_INSN_CMPO3, model_i960KA_cmpo3, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9623 | { I960BASE_INSN_TESTNO_REG, model_i960KA_testno_reg, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9624 | { I960BASE_INSN_TESTG_REG, model_i960KA_testg_reg, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9625 | { I960BASE_INSN_TESTE_REG, model_i960KA_teste_reg, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9626 | { I960BASE_INSN_TESTGE_REG, model_i960KA_testge_reg, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9627 | { I960BASE_INSN_TESTL_REG, model_i960KA_testl_reg, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9628 | { I960BASE_INSN_TESTNE_REG, model_i960KA_testne_reg, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9629 | { I960BASE_INSN_TESTLE_REG, model_i960KA_testle_reg, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9630 | { I960BASE_INSN_TESTO_REG, model_i960KA_testo_reg, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9631 | { I960BASE_INSN_BNO, model_i960KA_bno, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9632 | { I960BASE_INSN_BG, model_i960KA_bg, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9633 | { I960BASE_INSN_BE, model_i960KA_be, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9634 | { I960BASE_INSN_BGE, model_i960KA_bge, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9635 | { I960BASE_INSN_BL, model_i960KA_bl, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9636 | { I960BASE_INSN_BNE, model_i960KA_bne, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9637 | { I960BASE_INSN_BLE, model_i960KA_ble, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9638 | { I960BASE_INSN_BO, model_i960KA_bo, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9639 | { I960BASE_INSN_B, model_i960KA_b, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9640 | { I960BASE_INSN_BX_INDIRECT_OFFSET, model_i960KA_bx_indirect_offset, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9641 | { I960BASE_INSN_BX_INDIRECT, model_i960KA_bx_indirect, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9642 | { I960BASE_INSN_BX_INDIRECT_INDEX, model_i960KA_bx_indirect_index, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9643 | { I960BASE_INSN_BX_DISP, model_i960KA_bx_disp, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9644 | { I960BASE_INSN_BX_INDIRECT_DISP, model_i960KA_bx_indirect_disp, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9645 | { I960BASE_INSN_CALLX_DISP, model_i960KA_callx_disp, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9646 | { I960BASE_INSN_CALLX_INDIRECT, model_i960KA_callx_indirect, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9647 | { I960BASE_INSN_CALLX_INDIRECT_OFFSET, model_i960KA_callx_indirect_offset, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9648 | { I960BASE_INSN_RET, model_i960KA_ret, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9649 | { I960BASE_INSN_CALLS, model_i960KA_calls, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9650 | { I960BASE_INSN_FMARK, model_i960KA_fmark, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9651 | { I960BASE_INSN_FLUSHREG, model_i960KA_flushreg, { { (int) UNIT_I960KA_U_EXEC, 1, 1 } } }, | |
9652 | }; | |
9653 | ||
9654 | /* Model timing data for `i960CA'. */ | |
9655 | ||
9656 | static const INSN_TIMING i960CA_timing[] = { | |
9657 | { I960BASE_INSN_X_INVALID, 0, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9658 | { I960BASE_INSN_X_AFTER, 0, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9659 | { I960BASE_INSN_X_BEFORE, 0, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9660 | { I960BASE_INSN_X_CTI_CHAIN, 0, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9661 | { I960BASE_INSN_X_CHAIN, 0, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9662 | { I960BASE_INSN_X_BEGIN, 0, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9663 | { I960BASE_INSN_MULO, model_i960CA_mulo, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9664 | { I960BASE_INSN_MULO1, model_i960CA_mulo1, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9665 | { I960BASE_INSN_MULO2, model_i960CA_mulo2, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9666 | { I960BASE_INSN_MULO3, model_i960CA_mulo3, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9667 | { I960BASE_INSN_REMO, model_i960CA_remo, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9668 | { I960BASE_INSN_REMO1, model_i960CA_remo1, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9669 | { I960BASE_INSN_REMO2, model_i960CA_remo2, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9670 | { I960BASE_INSN_REMO3, model_i960CA_remo3, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9671 | { I960BASE_INSN_DIVO, model_i960CA_divo, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9672 | { I960BASE_INSN_DIVO1, model_i960CA_divo1, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9673 | { I960BASE_INSN_DIVO2, model_i960CA_divo2, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9674 | { I960BASE_INSN_DIVO3, model_i960CA_divo3, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9675 | { I960BASE_INSN_REMI, model_i960CA_remi, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9676 | { I960BASE_INSN_REMI1, model_i960CA_remi1, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9677 | { I960BASE_INSN_REMI2, model_i960CA_remi2, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9678 | { I960BASE_INSN_REMI3, model_i960CA_remi3, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9679 | { I960BASE_INSN_DIVI, model_i960CA_divi, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9680 | { I960BASE_INSN_DIVI1, model_i960CA_divi1, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9681 | { I960BASE_INSN_DIVI2, model_i960CA_divi2, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9682 | { I960BASE_INSN_DIVI3, model_i960CA_divi3, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9683 | { I960BASE_INSN_ADDO, model_i960CA_addo, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9684 | { I960BASE_INSN_ADDO1, model_i960CA_addo1, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9685 | { I960BASE_INSN_ADDO2, model_i960CA_addo2, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9686 | { I960BASE_INSN_ADDO3, model_i960CA_addo3, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9687 | { I960BASE_INSN_SUBO, model_i960CA_subo, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9688 | { I960BASE_INSN_SUBO1, model_i960CA_subo1, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9689 | { I960BASE_INSN_SUBO2, model_i960CA_subo2, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9690 | { I960BASE_INSN_SUBO3, model_i960CA_subo3, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9691 | { I960BASE_INSN_NOTBIT, model_i960CA_notbit, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9692 | { I960BASE_INSN_NOTBIT1, model_i960CA_notbit1, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9693 | { I960BASE_INSN_NOTBIT2, model_i960CA_notbit2, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9694 | { I960BASE_INSN_NOTBIT3, model_i960CA_notbit3, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9695 | { I960BASE_INSN_AND, model_i960CA_and, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9696 | { I960BASE_INSN_AND1, model_i960CA_and1, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9697 | { I960BASE_INSN_AND2, model_i960CA_and2, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9698 | { I960BASE_INSN_AND3, model_i960CA_and3, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9699 | { I960BASE_INSN_ANDNOT, model_i960CA_andnot, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9700 | { I960BASE_INSN_ANDNOT1, model_i960CA_andnot1, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9701 | { I960BASE_INSN_ANDNOT2, model_i960CA_andnot2, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9702 | { I960BASE_INSN_ANDNOT3, model_i960CA_andnot3, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9703 | { I960BASE_INSN_SETBIT, model_i960CA_setbit, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9704 | { I960BASE_INSN_SETBIT1, model_i960CA_setbit1, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9705 | { I960BASE_INSN_SETBIT2, model_i960CA_setbit2, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9706 | { I960BASE_INSN_SETBIT3, model_i960CA_setbit3, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9707 | { I960BASE_INSN_NOTAND, model_i960CA_notand, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9708 | { I960BASE_INSN_NOTAND1, model_i960CA_notand1, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9709 | { I960BASE_INSN_NOTAND2, model_i960CA_notand2, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9710 | { I960BASE_INSN_NOTAND3, model_i960CA_notand3, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9711 | { I960BASE_INSN_XOR, model_i960CA_xor, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9712 | { I960BASE_INSN_XOR1, model_i960CA_xor1, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9713 | { I960BASE_INSN_XOR2, model_i960CA_xor2, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9714 | { I960BASE_INSN_XOR3, model_i960CA_xor3, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9715 | { I960BASE_INSN_OR, model_i960CA_or, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9716 | { I960BASE_INSN_OR1, model_i960CA_or1, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9717 | { I960BASE_INSN_OR2, model_i960CA_or2, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9718 | { I960BASE_INSN_OR3, model_i960CA_or3, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9719 | { I960BASE_INSN_NOR, model_i960CA_nor, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9720 | { I960BASE_INSN_NOR1, model_i960CA_nor1, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9721 | { I960BASE_INSN_NOR2, model_i960CA_nor2, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9722 | { I960BASE_INSN_NOR3, model_i960CA_nor3, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
7a292a7a SS |
9723 | { I960BASE_INSN_XNOR, model_i960CA_xnor, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, |
9724 | { I960BASE_INSN_XNOR1, model_i960CA_xnor1, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9725 | { I960BASE_INSN_XNOR2, model_i960CA_xnor2, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9726 | { I960BASE_INSN_XNOR3, model_i960CA_xnor3, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
c906108c SS |
9727 | { I960BASE_INSN_NOT, model_i960CA_not, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, |
9728 | { I960BASE_INSN_NOT1, model_i960CA_not1, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9729 | { I960BASE_INSN_NOT2, model_i960CA_not2, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9730 | { I960BASE_INSN_NOT3, model_i960CA_not3, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
7a292a7a SS |
9731 | { I960BASE_INSN_ORNOT, model_i960CA_ornot, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, |
9732 | { I960BASE_INSN_ORNOT1, model_i960CA_ornot1, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9733 | { I960BASE_INSN_ORNOT2, model_i960CA_ornot2, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9734 | { I960BASE_INSN_ORNOT3, model_i960CA_ornot3, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
c906108c SS |
9735 | { I960BASE_INSN_CLRBIT, model_i960CA_clrbit, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, |
9736 | { I960BASE_INSN_CLRBIT1, model_i960CA_clrbit1, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9737 | { I960BASE_INSN_CLRBIT2, model_i960CA_clrbit2, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9738 | { I960BASE_INSN_CLRBIT3, model_i960CA_clrbit3, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9739 | { I960BASE_INSN_SHLO, model_i960CA_shlo, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9740 | { I960BASE_INSN_SHLO1, model_i960CA_shlo1, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9741 | { I960BASE_INSN_SHLO2, model_i960CA_shlo2, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9742 | { I960BASE_INSN_SHLO3, model_i960CA_shlo3, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9743 | { I960BASE_INSN_SHRO, model_i960CA_shro, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9744 | { I960BASE_INSN_SHRO1, model_i960CA_shro1, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9745 | { I960BASE_INSN_SHRO2, model_i960CA_shro2, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9746 | { I960BASE_INSN_SHRO3, model_i960CA_shro3, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9747 | { I960BASE_INSN_SHLI, model_i960CA_shli, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9748 | { I960BASE_INSN_SHLI1, model_i960CA_shli1, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9749 | { I960BASE_INSN_SHLI2, model_i960CA_shli2, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9750 | { I960BASE_INSN_SHLI3, model_i960CA_shli3, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9751 | { I960BASE_INSN_SHRI, model_i960CA_shri, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9752 | { I960BASE_INSN_SHRI1, model_i960CA_shri1, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9753 | { I960BASE_INSN_SHRI2, model_i960CA_shri2, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9754 | { I960BASE_INSN_SHRI3, model_i960CA_shri3, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9755 | { I960BASE_INSN_EMUL, model_i960CA_emul, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9756 | { I960BASE_INSN_EMUL1, model_i960CA_emul1, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9757 | { I960BASE_INSN_EMUL2, model_i960CA_emul2, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9758 | { I960BASE_INSN_EMUL3, model_i960CA_emul3, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9759 | { I960BASE_INSN_MOV, model_i960CA_mov, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9760 | { I960BASE_INSN_MOV1, model_i960CA_mov1, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9761 | { I960BASE_INSN_MOVL, model_i960CA_movl, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9762 | { I960BASE_INSN_MOVL1, model_i960CA_movl1, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9763 | { I960BASE_INSN_MOVT, model_i960CA_movt, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9764 | { I960BASE_INSN_MOVT1, model_i960CA_movt1, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9765 | { I960BASE_INSN_MOVQ, model_i960CA_movq, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9766 | { I960BASE_INSN_MOVQ1, model_i960CA_movq1, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9767 | { I960BASE_INSN_MODPC, model_i960CA_modpc, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9768 | { I960BASE_INSN_MODAC, model_i960CA_modac, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9769 | { I960BASE_INSN_LDA_OFFSET, model_i960CA_lda_offset, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9770 | { I960BASE_INSN_LDA_INDIRECT_OFFSET, model_i960CA_lda_indirect_offset, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9771 | { I960BASE_INSN_LDA_INDIRECT, model_i960CA_lda_indirect, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9772 | { I960BASE_INSN_LDA_INDIRECT_INDEX, model_i960CA_lda_indirect_index, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9773 | { I960BASE_INSN_LDA_DISP, model_i960CA_lda_disp, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9774 | { I960BASE_INSN_LDA_INDIRECT_DISP, model_i960CA_lda_indirect_disp, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9775 | { I960BASE_INSN_LDA_INDEX_DISP, model_i960CA_lda_index_disp, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9776 | { I960BASE_INSN_LDA_INDIRECT_INDEX_DISP, model_i960CA_lda_indirect_index_disp, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9777 | { I960BASE_INSN_LD_OFFSET, model_i960CA_ld_offset, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9778 | { I960BASE_INSN_LD_INDIRECT_OFFSET, model_i960CA_ld_indirect_offset, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9779 | { I960BASE_INSN_LD_INDIRECT, model_i960CA_ld_indirect, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9780 | { I960BASE_INSN_LD_INDIRECT_INDEX, model_i960CA_ld_indirect_index, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9781 | { I960BASE_INSN_LD_DISP, model_i960CA_ld_disp, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9782 | { I960BASE_INSN_LD_INDIRECT_DISP, model_i960CA_ld_indirect_disp, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9783 | { I960BASE_INSN_LD_INDEX_DISP, model_i960CA_ld_index_disp, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9784 | { I960BASE_INSN_LD_INDIRECT_INDEX_DISP, model_i960CA_ld_indirect_index_disp, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9785 | { I960BASE_INSN_LDOB_OFFSET, model_i960CA_ldob_offset, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9786 | { I960BASE_INSN_LDOB_INDIRECT_OFFSET, model_i960CA_ldob_indirect_offset, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9787 | { I960BASE_INSN_LDOB_INDIRECT, model_i960CA_ldob_indirect, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9788 | { I960BASE_INSN_LDOB_INDIRECT_INDEX, model_i960CA_ldob_indirect_index, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9789 | { I960BASE_INSN_LDOB_DISP, model_i960CA_ldob_disp, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9790 | { I960BASE_INSN_LDOB_INDIRECT_DISP, model_i960CA_ldob_indirect_disp, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9791 | { I960BASE_INSN_LDOB_INDEX_DISP, model_i960CA_ldob_index_disp, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9792 | { I960BASE_INSN_LDOB_INDIRECT_INDEX_DISP, model_i960CA_ldob_indirect_index_disp, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9793 | { I960BASE_INSN_LDOS_OFFSET, model_i960CA_ldos_offset, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9794 | { I960BASE_INSN_LDOS_INDIRECT_OFFSET, model_i960CA_ldos_indirect_offset, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9795 | { I960BASE_INSN_LDOS_INDIRECT, model_i960CA_ldos_indirect, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9796 | { I960BASE_INSN_LDOS_INDIRECT_INDEX, model_i960CA_ldos_indirect_index, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9797 | { I960BASE_INSN_LDOS_DISP, model_i960CA_ldos_disp, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9798 | { I960BASE_INSN_LDOS_INDIRECT_DISP, model_i960CA_ldos_indirect_disp, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9799 | { I960BASE_INSN_LDOS_INDEX_DISP, model_i960CA_ldos_index_disp, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9800 | { I960BASE_INSN_LDOS_INDIRECT_INDEX_DISP, model_i960CA_ldos_indirect_index_disp, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9801 | { I960BASE_INSN_LDIB_OFFSET, model_i960CA_ldib_offset, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9802 | { I960BASE_INSN_LDIB_INDIRECT_OFFSET, model_i960CA_ldib_indirect_offset, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9803 | { I960BASE_INSN_LDIB_INDIRECT, model_i960CA_ldib_indirect, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9804 | { I960BASE_INSN_LDIB_INDIRECT_INDEX, model_i960CA_ldib_indirect_index, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9805 | { I960BASE_INSN_LDIB_DISP, model_i960CA_ldib_disp, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9806 | { I960BASE_INSN_LDIB_INDIRECT_DISP, model_i960CA_ldib_indirect_disp, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9807 | { I960BASE_INSN_LDIB_INDEX_DISP, model_i960CA_ldib_index_disp, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9808 | { I960BASE_INSN_LDIB_INDIRECT_INDEX_DISP, model_i960CA_ldib_indirect_index_disp, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9809 | { I960BASE_INSN_LDIS_OFFSET, model_i960CA_ldis_offset, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9810 | { I960BASE_INSN_LDIS_INDIRECT_OFFSET, model_i960CA_ldis_indirect_offset, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9811 | { I960BASE_INSN_LDIS_INDIRECT, model_i960CA_ldis_indirect, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9812 | { I960BASE_INSN_LDIS_INDIRECT_INDEX, model_i960CA_ldis_indirect_index, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9813 | { I960BASE_INSN_LDIS_DISP, model_i960CA_ldis_disp, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9814 | { I960BASE_INSN_LDIS_INDIRECT_DISP, model_i960CA_ldis_indirect_disp, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9815 | { I960BASE_INSN_LDIS_INDEX_DISP, model_i960CA_ldis_index_disp, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9816 | { I960BASE_INSN_LDIS_INDIRECT_INDEX_DISP, model_i960CA_ldis_indirect_index_disp, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9817 | { I960BASE_INSN_LDL_OFFSET, model_i960CA_ldl_offset, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9818 | { I960BASE_INSN_LDL_INDIRECT_OFFSET, model_i960CA_ldl_indirect_offset, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9819 | { I960BASE_INSN_LDL_INDIRECT, model_i960CA_ldl_indirect, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9820 | { I960BASE_INSN_LDL_INDIRECT_INDEX, model_i960CA_ldl_indirect_index, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9821 | { I960BASE_INSN_LDL_DISP, model_i960CA_ldl_disp, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9822 | { I960BASE_INSN_LDL_INDIRECT_DISP, model_i960CA_ldl_indirect_disp, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9823 | { I960BASE_INSN_LDL_INDEX_DISP, model_i960CA_ldl_index_disp, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9824 | { I960BASE_INSN_LDL_INDIRECT_INDEX_DISP, model_i960CA_ldl_indirect_index_disp, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9825 | { I960BASE_INSN_LDT_OFFSET, model_i960CA_ldt_offset, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9826 | { I960BASE_INSN_LDT_INDIRECT_OFFSET, model_i960CA_ldt_indirect_offset, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9827 | { I960BASE_INSN_LDT_INDIRECT, model_i960CA_ldt_indirect, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9828 | { I960BASE_INSN_LDT_INDIRECT_INDEX, model_i960CA_ldt_indirect_index, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9829 | { I960BASE_INSN_LDT_DISP, model_i960CA_ldt_disp, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9830 | { I960BASE_INSN_LDT_INDIRECT_DISP, model_i960CA_ldt_indirect_disp, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9831 | { I960BASE_INSN_LDT_INDEX_DISP, model_i960CA_ldt_index_disp, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9832 | { I960BASE_INSN_LDT_INDIRECT_INDEX_DISP, model_i960CA_ldt_indirect_index_disp, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9833 | { I960BASE_INSN_LDQ_OFFSET, model_i960CA_ldq_offset, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9834 | { I960BASE_INSN_LDQ_INDIRECT_OFFSET, model_i960CA_ldq_indirect_offset, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9835 | { I960BASE_INSN_LDQ_INDIRECT, model_i960CA_ldq_indirect, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9836 | { I960BASE_INSN_LDQ_INDIRECT_INDEX, model_i960CA_ldq_indirect_index, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9837 | { I960BASE_INSN_LDQ_DISP, model_i960CA_ldq_disp, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9838 | { I960BASE_INSN_LDQ_INDIRECT_DISP, model_i960CA_ldq_indirect_disp, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9839 | { I960BASE_INSN_LDQ_INDEX_DISP, model_i960CA_ldq_index_disp, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9840 | { I960BASE_INSN_LDQ_INDIRECT_INDEX_DISP, model_i960CA_ldq_indirect_index_disp, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9841 | { I960BASE_INSN_ST_OFFSET, model_i960CA_st_offset, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9842 | { I960BASE_INSN_ST_INDIRECT_OFFSET, model_i960CA_st_indirect_offset, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9843 | { I960BASE_INSN_ST_INDIRECT, model_i960CA_st_indirect, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9844 | { I960BASE_INSN_ST_INDIRECT_INDEX, model_i960CA_st_indirect_index, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9845 | { I960BASE_INSN_ST_DISP, model_i960CA_st_disp, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9846 | { I960BASE_INSN_ST_INDIRECT_DISP, model_i960CA_st_indirect_disp, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9847 | { I960BASE_INSN_ST_INDEX_DISP, model_i960CA_st_index_disp, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9848 | { I960BASE_INSN_ST_INDIRECT_INDEX_DISP, model_i960CA_st_indirect_index_disp, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9849 | { I960BASE_INSN_STOB_OFFSET, model_i960CA_stob_offset, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9850 | { I960BASE_INSN_STOB_INDIRECT_OFFSET, model_i960CA_stob_indirect_offset, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9851 | { I960BASE_INSN_STOB_INDIRECT, model_i960CA_stob_indirect, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9852 | { I960BASE_INSN_STOB_INDIRECT_INDEX, model_i960CA_stob_indirect_index, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9853 | { I960BASE_INSN_STOB_DISP, model_i960CA_stob_disp, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9854 | { I960BASE_INSN_STOB_INDIRECT_DISP, model_i960CA_stob_indirect_disp, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9855 | { I960BASE_INSN_STOB_INDEX_DISP, model_i960CA_stob_index_disp, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9856 | { I960BASE_INSN_STOB_INDIRECT_INDEX_DISP, model_i960CA_stob_indirect_index_disp, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9857 | { I960BASE_INSN_STOS_OFFSET, model_i960CA_stos_offset, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9858 | { I960BASE_INSN_STOS_INDIRECT_OFFSET, model_i960CA_stos_indirect_offset, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9859 | { I960BASE_INSN_STOS_INDIRECT, model_i960CA_stos_indirect, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9860 | { I960BASE_INSN_STOS_INDIRECT_INDEX, model_i960CA_stos_indirect_index, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9861 | { I960BASE_INSN_STOS_DISP, model_i960CA_stos_disp, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9862 | { I960BASE_INSN_STOS_INDIRECT_DISP, model_i960CA_stos_indirect_disp, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9863 | { I960BASE_INSN_STOS_INDEX_DISP, model_i960CA_stos_index_disp, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9864 | { I960BASE_INSN_STOS_INDIRECT_INDEX_DISP, model_i960CA_stos_indirect_index_disp, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9865 | { I960BASE_INSN_STL_OFFSET, model_i960CA_stl_offset, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9866 | { I960BASE_INSN_STL_INDIRECT_OFFSET, model_i960CA_stl_indirect_offset, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9867 | { I960BASE_INSN_STL_INDIRECT, model_i960CA_stl_indirect, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9868 | { I960BASE_INSN_STL_INDIRECT_INDEX, model_i960CA_stl_indirect_index, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9869 | { I960BASE_INSN_STL_DISP, model_i960CA_stl_disp, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9870 | { I960BASE_INSN_STL_INDIRECT_DISP, model_i960CA_stl_indirect_disp, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9871 | { I960BASE_INSN_STL_INDEX_DISP, model_i960CA_stl_index_disp, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9872 | { I960BASE_INSN_STL_INDIRECT_INDEX_DISP, model_i960CA_stl_indirect_index_disp, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9873 | { I960BASE_INSN_STT_OFFSET, model_i960CA_stt_offset, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9874 | { I960BASE_INSN_STT_INDIRECT_OFFSET, model_i960CA_stt_indirect_offset, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9875 | { I960BASE_INSN_STT_INDIRECT, model_i960CA_stt_indirect, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9876 | { I960BASE_INSN_STT_INDIRECT_INDEX, model_i960CA_stt_indirect_index, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9877 | { I960BASE_INSN_STT_DISP, model_i960CA_stt_disp, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9878 | { I960BASE_INSN_STT_INDIRECT_DISP, model_i960CA_stt_indirect_disp, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9879 | { I960BASE_INSN_STT_INDEX_DISP, model_i960CA_stt_index_disp, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9880 | { I960BASE_INSN_STT_INDIRECT_INDEX_DISP, model_i960CA_stt_indirect_index_disp, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9881 | { I960BASE_INSN_STQ_OFFSET, model_i960CA_stq_offset, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9882 | { I960BASE_INSN_STQ_INDIRECT_OFFSET, model_i960CA_stq_indirect_offset, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9883 | { I960BASE_INSN_STQ_INDIRECT, model_i960CA_stq_indirect, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9884 | { I960BASE_INSN_STQ_INDIRECT_INDEX, model_i960CA_stq_indirect_index, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9885 | { I960BASE_INSN_STQ_DISP, model_i960CA_stq_disp, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9886 | { I960BASE_INSN_STQ_INDIRECT_DISP, model_i960CA_stq_indirect_disp, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9887 | { I960BASE_INSN_STQ_INDEX_DISP, model_i960CA_stq_index_disp, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9888 | { I960BASE_INSN_STQ_INDIRECT_INDEX_DISP, model_i960CA_stq_indirect_index_disp, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9889 | { I960BASE_INSN_CMPOBE_REG, model_i960CA_cmpobe_reg, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9890 | { I960BASE_INSN_CMPOBE_LIT, model_i960CA_cmpobe_lit, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9891 | { I960BASE_INSN_CMPOBNE_REG, model_i960CA_cmpobne_reg, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9892 | { I960BASE_INSN_CMPOBNE_LIT, model_i960CA_cmpobne_lit, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9893 | { I960BASE_INSN_CMPOBL_REG, model_i960CA_cmpobl_reg, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9894 | { I960BASE_INSN_CMPOBL_LIT, model_i960CA_cmpobl_lit, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9895 | { I960BASE_INSN_CMPOBLE_REG, model_i960CA_cmpoble_reg, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9896 | { I960BASE_INSN_CMPOBLE_LIT, model_i960CA_cmpoble_lit, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9897 | { I960BASE_INSN_CMPOBG_REG, model_i960CA_cmpobg_reg, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9898 | { I960BASE_INSN_CMPOBG_LIT, model_i960CA_cmpobg_lit, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9899 | { I960BASE_INSN_CMPOBGE_REG, model_i960CA_cmpobge_reg, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9900 | { I960BASE_INSN_CMPOBGE_LIT, model_i960CA_cmpobge_lit, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9901 | { I960BASE_INSN_CMPIBE_REG, model_i960CA_cmpibe_reg, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9902 | { I960BASE_INSN_CMPIBE_LIT, model_i960CA_cmpibe_lit, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9903 | { I960BASE_INSN_CMPIBNE_REG, model_i960CA_cmpibne_reg, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9904 | { I960BASE_INSN_CMPIBNE_LIT, model_i960CA_cmpibne_lit, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9905 | { I960BASE_INSN_CMPIBL_REG, model_i960CA_cmpibl_reg, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9906 | { I960BASE_INSN_CMPIBL_LIT, model_i960CA_cmpibl_lit, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9907 | { I960BASE_INSN_CMPIBLE_REG, model_i960CA_cmpible_reg, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9908 | { I960BASE_INSN_CMPIBLE_LIT, model_i960CA_cmpible_lit, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9909 | { I960BASE_INSN_CMPIBG_REG, model_i960CA_cmpibg_reg, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9910 | { I960BASE_INSN_CMPIBG_LIT, model_i960CA_cmpibg_lit, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9911 | { I960BASE_INSN_CMPIBGE_REG, model_i960CA_cmpibge_reg, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9912 | { I960BASE_INSN_CMPIBGE_LIT, model_i960CA_cmpibge_lit, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9913 | { I960BASE_INSN_BBC_REG, model_i960CA_bbc_reg, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9914 | { I960BASE_INSN_BBC_LIT, model_i960CA_bbc_lit, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9915 | { I960BASE_INSN_BBS_REG, model_i960CA_bbs_reg, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9916 | { I960BASE_INSN_BBS_LIT, model_i960CA_bbs_lit, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9917 | { I960BASE_INSN_CMPI, model_i960CA_cmpi, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9918 | { I960BASE_INSN_CMPI1, model_i960CA_cmpi1, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9919 | { I960BASE_INSN_CMPI2, model_i960CA_cmpi2, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9920 | { I960BASE_INSN_CMPI3, model_i960CA_cmpi3, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9921 | { I960BASE_INSN_CMPO, model_i960CA_cmpo, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9922 | { I960BASE_INSN_CMPO1, model_i960CA_cmpo1, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9923 | { I960BASE_INSN_CMPO2, model_i960CA_cmpo2, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9924 | { I960BASE_INSN_CMPO3, model_i960CA_cmpo3, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9925 | { I960BASE_INSN_TESTNO_REG, model_i960CA_testno_reg, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9926 | { I960BASE_INSN_TESTG_REG, model_i960CA_testg_reg, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9927 | { I960BASE_INSN_TESTE_REG, model_i960CA_teste_reg, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9928 | { I960BASE_INSN_TESTGE_REG, model_i960CA_testge_reg, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9929 | { I960BASE_INSN_TESTL_REG, model_i960CA_testl_reg, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9930 | { I960BASE_INSN_TESTNE_REG, model_i960CA_testne_reg, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9931 | { I960BASE_INSN_TESTLE_REG, model_i960CA_testle_reg, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9932 | { I960BASE_INSN_TESTO_REG, model_i960CA_testo_reg, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9933 | { I960BASE_INSN_BNO, model_i960CA_bno, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9934 | { I960BASE_INSN_BG, model_i960CA_bg, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9935 | { I960BASE_INSN_BE, model_i960CA_be, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9936 | { I960BASE_INSN_BGE, model_i960CA_bge, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9937 | { I960BASE_INSN_BL, model_i960CA_bl, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9938 | { I960BASE_INSN_BNE, model_i960CA_bne, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9939 | { I960BASE_INSN_BLE, model_i960CA_ble, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9940 | { I960BASE_INSN_BO, model_i960CA_bo, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9941 | { I960BASE_INSN_B, model_i960CA_b, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9942 | { I960BASE_INSN_BX_INDIRECT_OFFSET, model_i960CA_bx_indirect_offset, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9943 | { I960BASE_INSN_BX_INDIRECT, model_i960CA_bx_indirect, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9944 | { I960BASE_INSN_BX_INDIRECT_INDEX, model_i960CA_bx_indirect_index, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9945 | { I960BASE_INSN_BX_DISP, model_i960CA_bx_disp, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9946 | { I960BASE_INSN_BX_INDIRECT_DISP, model_i960CA_bx_indirect_disp, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9947 | { I960BASE_INSN_CALLX_DISP, model_i960CA_callx_disp, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9948 | { I960BASE_INSN_CALLX_INDIRECT, model_i960CA_callx_indirect, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9949 | { I960BASE_INSN_CALLX_INDIRECT_OFFSET, model_i960CA_callx_indirect_offset, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9950 | { I960BASE_INSN_RET, model_i960CA_ret, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9951 | { I960BASE_INSN_CALLS, model_i960CA_calls, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9952 | { I960BASE_INSN_FMARK, model_i960CA_fmark, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9953 | { I960BASE_INSN_FLUSHREG, model_i960CA_flushreg, { { (int) UNIT_I960CA_U_EXEC, 1, 1 } } }, | |
9954 | }; | |
9955 | ||
9956 | #endif /* WITH_PROFILE_MODEL_P */ | |
9957 | ||
9958 | static void | |
9959 | i960KA_model_init (SIM_CPU *cpu) | |
9960 | { | |
9961 | CPU_MODEL_DATA (cpu) = (void *) zalloc (sizeof (MODEL_I960KA_DATA)); | |
9962 | } | |
9963 | ||
9964 | static void | |
9965 | i960CA_model_init (SIM_CPU *cpu) | |
9966 | { | |
9967 | CPU_MODEL_DATA (cpu) = (void *) zalloc (sizeof (MODEL_I960CA_DATA)); | |
9968 | } | |
9969 | ||
9970 | #if WITH_PROFILE_MODEL_P | |
9971 | #define TIMING_DATA(td) td | |
9972 | #else | |
9973 | #define TIMING_DATA(td) 0 | |
9974 | #endif | |
9975 | ||
9976 | static const MODEL i960_ka_sa_models[] = | |
9977 | { | |
9978 | { "i960KA", & i960_ka_sa_mach, MODEL_I960KA, TIMING_DATA (& i960KA_timing[0]), i960KA_model_init }, | |
9979 | { 0 } | |
9980 | }; | |
9981 | ||
9982 | static const MODEL i960_ca_models[] = | |
9983 | { | |
9984 | { "i960CA", & i960_ca_mach, MODEL_I960CA, TIMING_DATA (& i960CA_timing[0]), i960CA_model_init }, | |
9985 | { 0 } | |
9986 | }; | |
9987 | ||
9988 | /* The properties of this cpu's implementation. */ | |
9989 | ||
9990 | static const MACH_IMP_PROPERTIES i960base_imp_properties = | |
9991 | { | |
9992 | sizeof (SIM_CPU), | |
9993 | #if WITH_SCACHE | |
9994 | sizeof (SCACHE) | |
9995 | #else | |
9996 | 0 | |
9997 | #endif | |
9998 | }; | |
9999 | ||
10000 | ||
10001 | static void | |
10002 | i960base_prepare_run (SIM_CPU *cpu) | |
10003 | { | |
10004 | if (CPU_IDESC (cpu) == NULL) | |
10005 | i960base_init_idesc_table (cpu); | |
10006 | } | |
10007 | ||
10008 | static const CGEN_INSN * | |
10009 | i960base_get_idata (SIM_CPU *cpu, int inum) | |
10010 | { | |
10011 | return CPU_IDESC (cpu) [inum].idata; | |
10012 | } | |
10013 | ||
10014 | static void | |
10015 | i960_ka_sa_init_cpu (SIM_CPU *cpu) | |
10016 | { | |
10017 | CPU_REG_FETCH (cpu) = i960base_fetch_register; | |
10018 | CPU_REG_STORE (cpu) = i960base_store_register; | |
10019 | CPU_PC_FETCH (cpu) = i960base_h_pc_get; | |
10020 | CPU_PC_STORE (cpu) = i960base_h_pc_set; | |
10021 | CPU_GET_IDATA (cpu) = i960base_get_idata; | |
10022 | CPU_MAX_INSNS (cpu) = I960BASE_INSN_MAX; | |
10023 | CPU_INSN_NAME (cpu) = cgen_insn_name; | |
10024 | CPU_FULL_ENGINE_FN (cpu) = i960base_engine_run_full; | |
10025 | #if WITH_FAST | |
10026 | CPU_FAST_ENGINE_FN (cpu) = i960base_engine_run_fast; | |
10027 | #else | |
10028 | CPU_FAST_ENGINE_FN (cpu) = i960base_engine_run_full; | |
10029 | #endif | |
10030 | } | |
10031 | ||
10032 | const MACH i960_ka_sa_mach = | |
10033 | { | |
7a292a7a | 10034 | "i960:ka_sa", "i960:ka_sa", MACH_I960_KA_SA, |
c906108c SS |
10035 | 32, 32, & i960_ka_sa_models[0], & i960base_imp_properties, |
10036 | i960_ka_sa_init_cpu, | |
10037 | i960base_prepare_run | |
10038 | }; | |
10039 | ||
10040 | static void | |
10041 | i960_ca_init_cpu (SIM_CPU *cpu) | |
10042 | { | |
10043 | CPU_REG_FETCH (cpu) = i960base_fetch_register; | |
10044 | CPU_REG_STORE (cpu) = i960base_store_register; | |
10045 | CPU_PC_FETCH (cpu) = i960base_h_pc_get; | |
10046 | CPU_PC_STORE (cpu) = i960base_h_pc_set; | |
10047 | CPU_GET_IDATA (cpu) = i960base_get_idata; | |
10048 | CPU_MAX_INSNS (cpu) = I960BASE_INSN_MAX; | |
10049 | CPU_INSN_NAME (cpu) = cgen_insn_name; | |
10050 | CPU_FULL_ENGINE_FN (cpu) = i960base_engine_run_full; | |
10051 | #if WITH_FAST | |
10052 | CPU_FAST_ENGINE_FN (cpu) = i960base_engine_run_fast; | |
10053 | #else | |
10054 | CPU_FAST_ENGINE_FN (cpu) = i960base_engine_run_full; | |
10055 | #endif | |
10056 | } | |
10057 | ||
10058 | const MACH i960_ca_mach = | |
10059 | { | |
7a292a7a | 10060 | "i960:ca", "i960:ca", MACH_I960_CA, |
c906108c SS |
10061 | 32, 32, & i960_ca_models[0], & i960base_imp_properties, |
10062 | i960_ca_init_cpu, | |
10063 | i960base_prepare_run | |
10064 | }; | |
10065 |